Commit graph

7856 commits

Author SHA1 Message Date
Tim Felgentreff
56ad4c7eda Merge branch 'master' of https://github.com/Wargus/stratagus.git 2015-12-13 23:25:58 +01:00
Tim Felgentreff
558ad55bb0 fix a potential bug when requesting supplies for queued AI things caused by re-arranging the queue 2015-12-13 23:20:07 +01:00
Tim Felgentreff
fca4f039ce For incomplete wall tilesets, keep the current directionality if the new direction is missing 2015-12-10 14:17:48 +01:00
Tim Felgentreff
705ba176b7 update man page with current options 2015-12-08 11:10:57 +01:00
Tim Felgentreff
5345a4cdeb update genversion to use GitRev 2015-12-08 10:29:13 +01:00
Andrettin
86bb1e22c2 Added missing include 2015-12-04 18:44:45 +01:00
Andrettin
c17cf49fb6 Fixed quotation marks 2015-12-04 18:31:05 +01:00
Andrettin
b5d66547f7 Added autosave support, updated changelog, updated version to 2.4.0 2015-12-04 18:13:53 +01:00
Andrettin
bf514a2027 Merge pull request #157 from Wargus/tim/lua-args
Allow passing a string as argument to the Lua startup file
2015-12-04 17:43:54 +01:00
Tim Felgentreff
38ac614359 use default args instead of overloading 2015-12-04 15:38:33 +01:00
KroArtem
9c29a2dd63 removed all maemo stuff 2015-12-04 13:49:11 +03:00
Tim Felgentreff
13db0d48c9 be a bit more clever trying to find a custom lua startup file 2015-12-04 10:44:12 +01:00
Tim Felgentreff
6739208bbe allow passing arguments to lua scripts 2015-12-03 23:02:02 +01:00
Andrettin
e518509305 Updated Debian changelog and made some spelling fixes 2015-12-02 13:33:57 +01:00
Tim Felgentreff
889cecc674 bump version and update urls for debian package 2015-12-02 12:52:12 +01:00
Tim Felgentreff
3ab44693d8 build nsis installer on appveyor and release to github 2015-12-01 17:43:36 +01:00
Tim Felgentreff
9e43d695d2 updates to make compilation with vs 2015 work 2015-12-01 17:43:27 +01:00
Tim Felgentreff
fdd3fc232f fix a possible uninitialized variable return 2015-12-01 17:43:27 +01:00
Andrettin
142368e9ce Added support for semi-transparent unit type shadows 2015-11-28 23:32:30 +01:00
Andrettin
a0f9926091 Fixed copyright notices as indicated by Kyran 2015-11-27 23:28:25 +01:00
Andrettin
2d8f1cfd29 Removed code referring to UnitTypeFlyLow, since the piece of code defining it hasn't been merged with mainline Stratagus yet 2015-11-27 22:23:37 +01:00
Andrettin
d6347f9be8 Added missing include 2015-11-27 22:07:17 +01:00
Andrettin
d459c66406 A unit's direction can now be gotten in the animation code 2015-11-27 21:36:25 +01:00
Andrettin
6a8d24a4f3 Miscellaneous editor improvements 2015-11-27 21:23:01 +01:00
Andrettin
0a49a81c09 ImproveIncomes is now a part of CUnitState instead of the unit type itself, allowing for it to be changed by upgrades 2015-11-27 21:10:05 +01:00
Andrettin
44eaed239a Added support for map-specific unit stats and sounds; added GetUnitTypeData lua function 2015-11-27 20:44:53 +01:00
Andrettin
09ba628e10 Eliminated more boolflag redundancies and boolflags can now accept number values from Lua 2015-11-27 19:06:57 +01:00
Andrettin
4b73710366 More boolflag code improvements 2015-11-27 17:56:25 +01:00
Andrettin
3d9d465874 Some new assets for PathFinderInput::SetGoal 2015-11-27 16:10:57 +01:00
Andrettin
2986a14e33 A unit type's (food) demand and supply can now change with upgrades 2015-11-27 15:28:45 +01:00
Andrettin
fe65af5acf Merged code for IsNotSelectable boolflag and value 2015-11-26 23:31:55 +01:00
Andrettin
0945f0f7fe Replaced SelectableByRectangle references to ones for the corresponding boolflag 2015-11-26 18:28:51 +01:00
Andrettin
e1959d7e09 Replaced code referring to the BuilderOutside, Harvester and CanHarvest values with their respective boolflags 2015-11-26 17:42:23 +01:00
Andrettin
87e84666d3 Removed superfluous "ShoreBuilding" unit type value (there's no need to have both that value and a BoolFlag for it) 2015-11-26 16:23:15 +01:00
Andrettin
6ad3e9bc93 Updated link given by crash dump error message to this repository 2015-11-26 15:30:31 +01:00
Andrettin
2024c7b052 Changed some variables to their respective boolflags 2015-11-26 15:25:31 +01:00
Andrettin
5c23e796be Fix to previous commit 2015-11-26 13:29:35 +01:00
Andrettin
bf841969a7 Units can now (optionally) have a RangedAttack animation specified 2015-11-26 13:04:35 +01:00
Andrettin
27c2433851 The editor now saves whether a unit's AI is active 2015-11-24 23:21:27 +01:00
Andrettin
dc4391b8c3 The AI now only uses units which have their AI set to active (as intended) 2015-11-24 23:06:07 +01:00
Tim Felgentreff
0225a2db50 update stratagus.nsi to download SDL.dll and work with VS 2015-11-24 22:09:22 +01:00
Andrettin
51d150e0ec Further fixes 2015-11-24 21:45:35 +01:00
Andrettin
2bc741b7b2 Fix to previous commit 2015-11-24 21:17:43 +01:00
Andrettin
b664bcceff SetUnitVariable can now add individual upgrades to units, and GetUnitVariable can now get whether they have an individual upgrade
GetUnitVariable can now also check whether a unit is idle or not
2015-11-24 20:25:27 +01:00
Andrettin
6adaccfd9f Added CGraphic::Get and CPlayerColorGraphic::Get functions (both exposed to Lua) 2015-11-24 18:11:27 +01:00
Tim Felgentreff
e47cf541c1 fix compilation on mac os x 2015-11-24 17:30:27 +01:00
Tim Felgentreff
7c7b92b6d9 Revert "no shaders on apple"
This reverts commit 7f7541a039.
2015-11-24 17:27:56 +01:00
Tim Felgentreff
7f7541a039 no shaders on apple 2015-11-24 16:43:41 +01:00
Tim Felgentreff
4e24067ad2 Revert "on mac os x, don't use sdl_glext"
This reverts commit 3ea087b270.
2015-11-24 16:08:35 +01:00
Tim Felgentreff
3ea087b270 on mac os x, don't use sdl_glext 2015-11-24 16:03:37 +01:00