sheepluva [Thu, 12 Jun 2014 05:40:58 +0200] rev 10281
make enums crash-safe. and other fixes
sheepluva [Thu, 12 Jun 2014 00:37:52 +0200] rev 10280
WIP: PlaceSprite for lua API. also changed PlaceGirder so that it will return true/false for whether placing was successful too
sheepluva [Wed, 11 Jun 2014 19:46:37 +0200] rev 10279
fix possible engine crash that a lua script could cause by passing an invalid geartype to addgear
sheepluva [Wed, 11 Jun 2014 13:45:44 +0200] rev 10278
tiny lua documentation fix
sheepluva [Wed, 11 Jun 2014 13:07:46 +0200] rev 10277
uWorld does not require uMatrix anymore
sheepluva [Wed, 11 Jun 2014 12:55:24 +0200] rev 10276
fix hint and gl2 build. NOTE: this does not change that GL2 segfaults right away. that is an issue that dates back at least 50 commits, but most likely even back to the webgl merge. I guess nobody actually tried to run hedgewars in GL2 since back then :P
sheepluva [Tue, 10 Jun 2014 23:21:22 +0200] rev 10275
RAR: cleaning up a bit of the IFDEF-clusterf*ck
unc0rr [Wed, 11 Jun 2014 00:35:23 +0400] rev 10274
Fallback to old heuristic if not pit position
sheepluva [Tue, 10 Jun 2014 22:35:44 +0200] rev 10273
update viewlimits after screen/window resize
unc0rr [Wed, 11 Jun 2014 00:28:17 +0400] rev 10272
Allow barrels to spawn in U-shaped pits in stable position
sheepluva [Tue, 10 Jun 2014 19:38:37 +0200] rev 10271
whoops, forgot to include this file in commt
sheepluva [Tue, 10 Jun 2014 19:30:06 +0200] rev 10270
superminor tweaks
sheepluva [Tue, 10 Jun 2014 17:41:27 +0200] rev 10269
<koda> wut, chats as commit mesages?
sheepluva [Tue, 10 Jun 2014 17:34:32 +0200] rev 10268
"<unC0Rr> could also refuse to update textures when land changes if the tile isn't visible"
You had me at "refuse" <3
sheepluva [Tue, 10 Jun 2014 13:26:58 +0200] rev 10267
figure out visible land tiles in advance
sheepluva [Tue, 10 Jun 2014 08:47:03 +0200] rev 10266
some minor tweaks and stuff
sheepluva [Tue, 10 Jun 2014 08:19:59 +0200] rev 10265
darken wrapped areas, which was a very nice suggestion by nemo
sheepluva [Tue, 10 Jun 2014 07:48:08 +0200] rev 10264
use cScaleFactor where I incorrectly used the variable zoom in the past. i was young and needed the money
sheepluva [Tue, 10 Jun 2014 01:15:48 +0200] rev 10263
here a personal experimental mockup of how I imagine wrapping world edges should look like. bouncing one could be similar just with mirrored stuff. please test and share opinion. note: you might wanna disable auto-cam
sheepluva [Mon, 09 Jun 2014 23:32:26 +0200] rev 10262
small hat loading tweak
sheepluva [Mon, 09 Jun 2014 20:45:02 +0200] rev 10261
load the girder.png of a theme a maximum of 1 times (minimum of 0), instead of once per generated bridge
sheepluva [Mon, 09 Jun 2014 20:14:11 +0200] rev 10260
clean up image loading a bit. gets rid of useless "Passed NULL data source" or PhysFS file not found errors
sheepluva [Sat, 07 Jun 2014 16:25:40 +0200] rev 10259
committing patch from
issue #798, as requested by unC0Rr
sheepluva [Sat, 07 Jun 2014 16:23:12 +0200] rev 10258
fix cabal build (on linux)
sheepluva [Sat, 07 Jun 2014 16:21:21 +0200] rev 10257
fix for "Unexpected semi-colons in conditional" issue, as reported by YuGiOhJCJ
(see http://www.hedgewars.org/node/5860 )
big thanks to burp for helping to identify and fix this issue
unc0rr [Thu, 05 Jun 2014 23:42:46 +0400] rev 10256
Some further work on map optimizer
sheepluva [Wed, 04 Jun 2014 19:39:54 +0200] rev 10255
tweak untint a little (especially in connection with GrayScale)
nemo [Tue, 03 Jun 2014 11:09:18 -0400] rev 10254
theme configurable sudden death music. untested
nemo [Sun, 01 Jun 2014 16:13:47 -0400] rev 10253
allow teleporting outside Land[]
sheepluva [Sun, 01 Jun 2014 15:26:03 +0200] rev 10252
escape info message arguments, fixes
issue #801: Frontend parses INFO command output as html
sheepluva [Sun, 01 Jun 2014 04:17:27 +0200] rev 10251
collision indicator on failed girder placement (especially useful with rubberband I guess). still needs some tweaks but I am going to bed now :P
nemo [Sat, 31 May 2014 15:04:26 -0400] rev 10250
disable these weaponset flags. they bug up highlander and otherwise have no useful impact on the script.
sheepluva [Sat, 31 May 2014 00:33:51 +0200] rev 10249
get rid of fpc warnings/hints
unc0rr [Wed, 28 May 2014 09:05:36 +0400] rev 10248
Fix some of issues found by coverity
unc0rr [Fri, 23 May 2014 13:37:34 +0400] rev 10247
Official racer challenge map #8
unc0rr [Mon, 19 May 2014 22:46:02 +0400] rev 10246
Inform frontend of lines which didn't change anything on the map in advanced drawn maps mode
unc0rr [Thu, 15 May 2014 21:58:37 +0400] rev 10245
Fix some pas2c engine warnings
unc0rr [Wed, 14 May 2014 22:50:07 +0400] rev 10244
Count number of pixels changed during draw
unc0rr [Wed, 14 May 2014 21:41:42 +0400] rev 10243
Small optimization (no need to draw last point of the path)
unc0rr [Wed, 14 May 2014 01:12:21 +0400] rev 10242
Oops, should stop coding at night
unc0rr [Wed, 14 May 2014 01:07:43 +0400] rev 10241
Fix fpcrtl_strncompareA, also replace strncmp with memcmp for more efficiency
unc0rr [Fri, 09 May 2014 22:36:15 +0400] rev 10240
Support OR operator in $IFDEF. Fixes pas2c builds.
sheepluva [Wed, 07 May 2014 22:47:54 +0200] rev 10239
rolling back the rest
sheepluva [Wed, 07 May 2014 19:26:05 +0200] rev 10238
rolling back (most of) lua 5.2 compatibility patches. hopefully that will unbreak unC0Rr's lua issues for now.
unc0rr [Wed, 07 May 2014 00:04:02 +0400] rev 10237
sekret feature (test commit)
unc0rr [Tue, 06 May 2014 23:16:35 +0400] rev 10236
- Increase limits on number of mines and explosives in game scheme
- Stop trying to place mines/explosives after 4 fails to place in row
unc0rr [Wed, 30 Apr 2014 15:26:50 +0400] rev 10235
Drawn maps optimizer - first steps:
- Break paths into segments
unc0rr [Wed, 30 Apr 2014 14:17:06 +0400] rev 10234
Fix crashers in rc plane code
unc0rr [Tue, 29 Apr 2014 10:20:45 +0400] rev 10233
Merge
sheepluva [Mon, 28 Apr 2014 21:01:39 +0200] rev 10232
don't search for lua 5.1 anymore
unc0rr [Mon, 28 Apr 2014 19:01:08 +0400] rev 10231
Don't activate invulnerability/vampirism between shots of multiattack weapon
sheepluva [Mon, 28 Apr 2014 16:52:00 +0200] rev 10230
minimal changes for compatibility with lua 5.2, thanks to v4hn for fixing standard library loads. note: ALSO compatibile with (internal) lua 5.1, until something bothers to upgrade bundled lua version
unc0rr [Fri, 25 Apr 2014 23:17:49 +0400] rev 10229
Fix typo leading to crashes
unc0rr [Fri, 25 Apr 2014 16:52:04 +0400] rev 10228
Add race type detection
unc0rr [Fri, 25 Apr 2014 14:22:59 +0400] rev 10227
- Fix bug with infinite rounds in racer when a team quits mid-game
- Don't allow placing waypoint right on top of previous one, prevents accidental double waypoints
- Don't limit maps on number of embedded waypoints
unc0rr [Wed, 16 Apr 2014 11:18:39 +0400] rev 10226
Fix new generator on 32 bit arch
unc0rr [Tue, 15 Apr 2014 22:36:44 +0400] rev 10225
No more occasional long straight edges
tomasstraupis [Mon, 28 Apr 2014 16:49:29 -0400] rev 10224
Spelling corrections
unc0rr [Tue, 15 Apr 2014 21:46:08 +0400] rev 10223
Optimize out path closing point for one point paths
unc0rr [Mon, 14 Apr 2014 13:46:46 +0400] rev 10222
Racer challenge map #7
unc0rr [Fri, 04 Apr 2014 12:32:15 +0400] rev 10221
Official racer challenge map #6
nemo [Sat, 29 Mar 2014 14:02:05 -0400] rev 10220
merge
nemo [Sat, 29 Mar 2014 13:57:46 -0400] rev 10219
param for original highlander mode - right now just allows getting another copy of a weapon you already had, but had used that turn.
unc0rr [Fri, 28 Mar 2014 23:04:23 +0400] rev 10218
Send updated info on map switched by voting
unc0rr [Fri, 28 Mar 2014 21:20:25 +0400] rev 10217
Fix condition
unc0rr [Fri, 28 Mar 2014 11:02:06 +0400] rev 10216
Fix build
unc0rr [Thu, 27 Mar 2014 23:25:31 +0400] rev 10215
- Fix applying vote result
- Votes expiring (I'm sure it doesn't even build, but my ghc is broken for now, hoping for the best)
unc0rr [Mon, 24 Mar 2014 21:32:24 +0400] rev 10214
Fix script
unc0rr [Mon, 24 Mar 2014 16:51:39 +0400] rev 10213
Racer challenge #5
unc0rr [Sun, 23 Mar 2014 23:35:33 +0400] rev 10212
Some fixes to voting + small refactoring
unc0rr [Thu, 20 Mar 2014 22:14:30 +0400] rev 10211
Better detection
nemo [Thu, 20 Mar 2014 13:12:05 -0400] rev 10210
hm. I think I forgot to commit this when adding speech bubble change
unc0rr [Thu, 20 Mar 2014 17:14:25 +0400] rev 10209
Fix warnings
unc0rr [Thu, 20 Mar 2014 17:04:49 +0400] rev 10208
- Limit outline to leftX/rightX/topY instead of LAND_WIDTH/LAND_HEIGHT
- Fix most of templates which could produce self-intersecting polyline as a start for distortion
- Fix parsing in templates editor
unc0rr [Thu, 20 Mar 2014 00:59:15 +0400] rev 10207
- Make sure distortion doesn't move fill point to other side of segment, this prevents corrupted maps
- Some adjustments/comments
unc0rr [Wed, 19 Mar 2014 18:45:20 +0400] rev 10206
Process segments from last to first point too
unc0rr [Wed, 19 Mar 2014 12:53:07 +0400] rev 10205
Prevent intersections with segment from last to first point, adjust size of details
unc0rr [Wed, 19 Mar 2014 11:54:09 +0400] rev 10204
Fix div by zero error in new generator
unc0rr [Wed, 19 Mar 2014 00:34:14 +0400] rev 10203
Greedy approach: divide while it divides
unc0rr [Wed, 19 Mar 2014 00:28:52 +0400] rev 10202
No self intersections, except for weirdness between first and last point
unc0rr [Tue, 18 Mar 2014 00:01:52 +0400] rev 10201
Fix detection of intersections, still need to check if passing any point in move, but result is already okayish
unc0rr [Mon, 17 Mar 2014 00:41:45 +0400] rev 10200
More math, implementation is nearly complete, just still have an issue to resolve
unc0rr [Sun, 16 Mar 2014 00:47:18 +0400] rev 10199
Some progress on new generator
unc0rr [Fri, 14 Mar 2014 19:59:34 +0400] rev 10198
Move template-based generator into its own file
unc0rr [Fri, 14 Mar 2014 16:00:36 +0400] rev 10197
Some optimizations
unc0rr [Fri, 14 Mar 2014 13:59:39 +0400] rev 10196
Fix perlin gen on 32 bit arch
unc0rr [Fri, 14 Mar 2014 00:42:04 +0400] rev 10195
- Room save/load into/from file
- Vote on map (not complete implementation, also voting itself is still buggy)
unc0rr [Thu, 13 Mar 2014 23:25:31 +0400] rev 10194
Allow to save and delete room config in room
nemo [Wed, 12 Mar 2014 22:40:49 -0400] rev 10193
By request. Allow lua to make random things "talk". I'm not sure if this is a good idea, buuuut.
nemo [Tue, 11 Mar 2014 22:49:01 -0400] rev 10192
Feel free to revert this one, was just screwing around with stuff from before. I kinda like it and figured committing it was the easiest way for you to look at it. http://m8y.org/hw/perlin.png
nemo [Tue, 11 Mar 2014 22:32:48 -0400] rev 10191
this is fine right?
unc0rr [Tue, 11 Mar 2014 00:59:42 +0400] rev 10190
Tweaks and tweaks
unc0rr [Mon, 10 Mar 2014 22:47:29 +0400] rev 10189
- Rework FillLand
- Optimize fade() function a bit, don't call min() function
- Only leave parts of land which touch bottom border in perlin mapgen
nemo [Sun, 09 Mar 2014 20:53:11 -0400] rev 10188
as suggested, precompute to avoid use of double
unc0rr [Sat, 08 Mar 2014 23:51:50 +0400] rev 10187
Experiment: enforce a plate at bottom so the map generated is more connected
unc0rr [Sat, 08 Mar 2014 23:00:03 +0400] rev 10186
Some optimizations
unc0rr [Sat, 08 Mar 2014 22:49:13 +0400] rev 10185
Strip Z axis from calculations
unc0rr [Sat, 08 Mar 2014 13:50:50 +0400] rev 10184
Setup leftX, rightX and topY
unc0rr [Sat, 08 Mar 2014 00:19:24 +0400] rev 10183
Some tweaks to perlin generator
unc0rr [Fri, 07 Mar 2014 23:59:04 +0400] rev 10182
Add randomness
unc0rr [Fri, 07 Mar 2014 23:36:56 +0400] rev 10181
Perlin noise generator untweaked, temporarily replacing maze generator
unc0rr [Thu, 06 Mar 2014 14:17:44 +0400] rev 10180
Racer challenge map #4
unc0rr [Thu, 06 Mar 2014 00:19:50 +0400] rev 10179
merge
sheepluva [Wed, 05 Mar 2014 12:38:01 +0100] rev 10178
don't stack bye/teleport sounds of hogs (when a team is gone)
unc0rr [Thu, 06 Mar 2014 00:18:51 +0400] rev 10177
Don't run two engine threads simultaneously
unc0rr [Wed, 05 Mar 2014 00:53:08 +0400] rev 10176
Don't call halt()
unc0rr [Tue, 04 Mar 2014 00:40:23 +0400] rev 10175
Remove game/preview functions split in library mode, just let normal procedure run instead:
- Remove tons of HWLIBRARY ifdefs
- Override ParamCount and ParamStr to let GetParams work
- Small fixes here and there
unc0rr [Mon, 03 Mar 2014 22:36:30 +0400] rev 10174
- Fix crasher in doStepSniperRifleShot
- Fix hwLibrary.pas dependencies list
unc0rr [Sun, 02 Mar 2014 00:34:18 +0400] rev 10173
Make it build as library
nemo [Sat, 01 Mar 2014 15:04:38 -0500] rev 10172
Only draw border for solid land
nemo [Sat, 01 Mar 2014 14:52:36 -0500] rev 10171
Script might well override a static map, but can't risk it not doing it, and preview completely failing. Better to just not try it for static maps. Some script cfg might help. Could also avoid unnnecessary preview regenerations even if the script was doing nothing at all.
unc0rr [Sat, 01 Mar 2014 23:37:59 +0400] rev 10170
merge
nemo [Sat, 01 Mar 2014 14:37:06 -0500] rev 10169
always update. a bit inefficient, but scripts do weird things.
unc0rr [Sat, 01 Mar 2014 23:37:01 +0400] rev 10168
Fix "don't know how to make hwengine.pas" error
nemo [Sat, 01 Mar 2014 13:59:12 -0500] rev 10167
no idea what happened to this image... it seems like I'm reverting to most recent revision O_o
nemo [Sat, 01 Mar 2014 13:41:19 -0500] rev 10166
pass --prefix to previews too
unc0rr [Fri, 28 Feb 2014 14:03:21 +0400] rev 10165
Use all pixels, not only 8x8 areas
unc0rr [Fri, 28 Feb 2014 13:55:16 +0400] rev 10164
AI doesn't skip till action on the map stops (mostly dedicated to highlander) + various small tweaks
unc0rr [Thu, 27 Feb 2014 12:48:27 +0400] rev 10163
Oops, remove debug stuff which hid the feature
unc0rr [Wed, 26 Feb 2014 23:43:42 +0400] rev 10162
Add alpha channel to preview