Commit graph

16495 commits

Author SHA1 Message Date
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
Tim Felgentreff
79d93b7500 use TITLE_PNG for both unix and win32 2015-11-25 16:47:30 +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
415d839b58 allow game launchers to define TITLE_PNG as a path for their data 2015-11-24 22:19:35 +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
9968d614e1 Merge pull request #151 from Wargus/tim/travis-build
Fix Travis Build
2015-11-24 17:46:23 +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
Tim Felgentreff
fa2fbc065d cleanup 2015-11-24 15:46:39 +01:00
Tim Felgentreff
b53fc7d9e3 forgot to exit directory 2015-11-24 15:41:53 +01:00
Tim Felgentreff
c101ca9074 install toluapp on osx 2015-11-24 15:40:49 +01:00
Tim Felgentreff
85bb9f8bec install sdl on osx 2015-11-24 15:33:01 +01:00
Tim Felgentreff
81156e35de fix travis.yml 2015-11-24 15:29:31 +01:00
Tim Felgentreff
27a300fe5c switch to sudo: required for now 2015-11-24 15:26:05 +01:00
Tim Felgentreff
e7e3e4bd78 make game launcher work without gtk, and with windows subsystem 2015-11-24 14:55:25 +01:00
Tim Felgentreff
5e993830be Update and rename README to README.md 2015-11-23 19:22:28 +01:00
Tim Felgentreff
cee9e396c8 enable appveyor builds 2015-11-23 18:52:02 +01:00
Andrettin
4ffc265cc5 Fixed error message in font.cpp 2015-11-23 14:50:56 +01:00
Tim Felgentreff
7ca9428b8d Merge branch 'master' of github.com:Wargus/stratagus 2015-11-23 14:08:06 +01:00
Tim Felgentreff
7d9e670edc add travis.yml 2015-11-23 14:07:25 +01:00
Andrettin
cbe17ce7af Improvement to multiplayer race selection fix, to not require Lua changes to the Stratagus games 2015-11-23 12:34:52 +01:00
Andrettin
87d4a68c27 Fix to multiplayer out of sync issue
The fix works, but if someone could review it, that would be great!
2015-11-23 11:37:08 +01:00
Andrettin
b84bb69423 Fix to issue which prevented multiplayer race selection from working properly 2015-11-23 11:32:32 +01:00
Andrettin
2ac852775d Fix to issue #139 2015-11-21 23:33:41 +01:00
Andrettin
40117f5cf4 Fix to issue #140 2015-11-21 23:31:37 +01:00
Andrettin
b34799e07c CclGetNumUnitsAt now gets units only if they are alive 2015-11-21 23:20:45 +01:00
Andrettin
2139f049d9 When applying a variable's Increase, if the variable is HP and increase is negative, unit dies if HP reached 0 2015-11-21 23:09:21 +01:00
Tim Felgentreff
18fa1c9cde fix a name collision on Ubuntu, allow forcing shaders off by passing -1 as shader 2015-11-17 14:39:27 +01:00
Tim Felgentreff
4f4452dcc2 allow buttons to be defined with arbitrary lua callbacks 2015-10-28 14:24:09 +01:00
Tim Felgentreff
d819adf949 expose selecting a single unit to lua 2015-10-28 14:23:23 +01:00
Tim Felgentreff
c8b935b322 be more forgiving in opengl mode when a font color isn't available and use the default font 2015-10-25 18:25:27 +01:00
Tim Felgentreff
ccdd49042f add cmdline switches for shaders, add ctrl+alt+/ as hard cycle keybinding, remove debug prints 2015-10-19 18:16:19 +02:00
Tim Felgentreff
bcd55c2b02 add scale2x (aka advmame2x) as scaling shader 2015-10-19 10:32:48 +02:00
Tim Felgentreff
62d310f29a only add VS2013 flags if we need them 2015-10-16 12:33:41 +02:00