Commit graph

16406 commits

Author SHA1 Message Date
Andrettin
2ac852775d Fix to issue 2015-11-21 23:33:41 +01:00
Andrettin
40117f5cf4 Fix to issue 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
Tim Felgentreff
9b15602578 only load shaders if we're using opengl 2015-10-16 12:32:52 +02:00
Tim Felgentreff
3a29810853 add shaders for fullscreen pixel scaling algorithms 2015-10-16 12:28:08 +02:00
Tim Felgentreff
2a0073c9d5 allow specifying owner type in building restriction has-unit 2015-09-17 11:18:30 +02:00
Tim Felgentreff
94ec3ca1ae allow getting the PlayerType via GetUnitVariable 2015-09-17 11:07:11 +02:00
Tim Felgentreff
e052eb38b5 fix a potential crash when building rule is checked without builder 2015-09-09 10:33:10 +02:00
Tim Felgentreff
78094054bd allow changing unit player via SetUnitVariable command 2015-09-08 18:40:00 +02:00
Tim Felgentreff
49dc97cdc6 include missing header 2015-09-07 13:41:42 +02:00
Tim Felgentreff
926e64502c - option for Distance building rule to not count diagonally. - add surrounded-by distance rule 2015-09-06 17:14:32 +02:00
Tim Felgentreff
6a1f22268f support building external buildings from workers with infinite range (like walls and roads built from the town hall in warcraft1) 2015-09-06 12:41:41 +02:00
Tim Felgentreff
d9fa95118f check the RestrictOwnerType building rules against the player that is building, not against ThisPlayer 2015-09-06 12:33:27 +02:00
Tim Felgentreff
b8a4a7c43d expose a function to trigger a unit transformation from a script 2015-09-02 14:27:00 +02:00
Tim Felgentreff
b9ac622b74 add a script function to remove a unit from the map 2015-09-02 12:09:26 +02:00
Tim Felgentreff
817cfb64f6 fix compiler warnings 2015-09-02 12:08:38 +02:00
Tim Felgentreff
d78078888a allow using the builder itself in distance building restrictions 2015-08-31 11:01:36 +02:00
Tim Felgentreff
b8a8a453d9 Add a build restriction based on the count of types of units a player has (i.e. you can only build this building if you have 0 of this other building) 2015-08-31 09:14:36 +02:00
Tim Felgentreff
255195c499 Fix a potential crash (exposed in war1gus orc lvl 6) that could leave CPlayer->FreeWorkers in an invalid state 2015-08-28 16:35:50 +02:00
cybermind
a2ef204b23 [-] Fixed crash when AI player tried to build a resource depot
[-] Fixed polymorph spell for air units
[-] Fixed rescued unit ucon drawing
2015-05-20 11:58:47 +05:00
Kyran Jackson
a44030db6f [-] Fix bug in KillUnitAt (from Ant's Wyrmgus). 2015-05-19 14:51:04 +10:00
Pali Rohár
0c4ef0c400 Fix compiling metaserver on WIN32 2015-04-12 11:55:12 +02:00
Pali Rohár
04e6ebcc12 Add new version of WINAPI code for attaching console 2015-04-12 11:54:50 +02:00
Pali Rohár
3a6107b267 debian - depends on libfluidsynth-dev package 2015-04-12 10:59:47 +02:00
Pali Rohár
3c2366248b Fix compile warnings, cast size_t to long unsigned int for printf 2015-04-12 10:59:07 +02:00
cybermind
0259e68eb9 Released version 2.3 2015-03-19 18:35:28 +05:00
cybermind
c0807df223 [-] Fixed NSIS scripts 2015-03-19 17:43:24 +05:00
cybermind
ec72682a0e [-] Some clean-up 2015-03-18 20:35:51 +05:00
cybermind
1656d2c66b [-] Removed SideAttack if-case 2015-03-18 18:53:04 +05:00
cybermind
bb2b5a5d68 [+] Added SideAttack flag, which alters the attacking behavior and turns unit on 90 degrees before attack 2015-03-18 17:50:16 +05:00
cybermind
2776073cb5 [*] Write AIScript to replay file to prevent desync
[*] Do not deselect units under fog in replay mode
2015-03-18 15:15:55 +05:00
cybermind
0fe0f99ba1 [-] Fixed soundfont loading 2015-03-18 14:58:47 +05:00
cybermind
4573b4ed13 [-] Fixed FluidSynth library search 2015-03-17 23:17:30 +05:00
android@localhost
27752f0be0 [*] Updated debian changelog and copyrights 2015-03-17 11:30:22 +05:00
android@localhost
2487dc4e20 [*] Changelog and debian scripts update 2015-03-17 11:09:25 +05:00
android@localhost
72e441fe14 [-] Merge local branch 2015-03-17 10:28:54 +05:00
android@localhost
d07a22df0f [-] Transporter bug patch from Andrettin 2015-03-17 10:25:19 +05:00
cybermind
0fdb44054b [-] Fixed bug with air units 2015-03-15 23:21:47 +05:00
cybermind
917ef457a3 [-] Transporters shouldn't run if if they are on mission 2015-03-15 23:03:59 +05:00
cybermind
46f7162c2f [+] Introduced crash dump writing for win32
[-] Fixed crash if engine is tried to play unloaded sound
2015-03-15 22:56:45 +05:00
joris
ce26c1da78 Fix gcc warnings. 2015-03-15 16:57:16 +01:00
cybermind
979914e20c [-] Fixed worker freeze bug 2015-03-14 10:39:52 +05:00