Commit graph

7856 commits

Author SHA1 Message Date
Andrettin
4ffc265cc5 Fixed error message in font.cpp 2015-11-23 14:50:56 +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
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
04e6ebcc12 Add new version of WINAPI code for attaching console 2015-04-12 11:54:50 +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
android@localhost
27752f0be0 [*] Updated debian changelog and copyrights 2015-03-17 11:30:22 +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
cybermind
c6a31c7a80 [*] Applied Andrettin's patch 2015-03-13 23:47:28 +05:00
cybermind
47ca183ee7 [-] Fixed bug with forest regeneration
[-] Fixed bug when ordering an order to worker if it have done its work near depot
2015-03-13 23:39:49 +05:00
cybermind
6837d4d02c [-] Fixed bug when building on top of building could get units stuck in it 2015-03-13 00:01:26 +05:00
cybermind
59bc1dba07 [+] Added ImageDropDownWidget 2015-03-12 22:52:47 +05:00
cybermind
ad8cf65e4b [+] Added ImageTextField 2015-03-12 11:08:56 +05:00
cybermind
3d7052c9b3 [+] Ability to get info about active unit 2015-03-12 10:27:17 +05:00
cybermind
615bf481a0 [+] Added ImageListBox 2015-03-12 00:07:07 +05:00
cybermind
757d724302 [*] Applied Andrettin's patch (https://bugs.launchpad.net/stratagus/+bug/1429533) 2015-03-11 00:00:25 +05:00
cybermind
4382085b4f [*] Applien Andrettin's patch (https://bugs.launchpad.net/stratagus/+bug/1429536) 2015-03-10 23:55:35 +05:00
cybermind
fb09101b86 [*] Applied Andrettin's patch (https://bugs.launchpad.net/stratagus/+bug/1430288) 2015-03-10 23:31:36 +05:00
cybermind
696d3cfaca [*] Applied patch from Andrettin (https://bugs.launchpad.net/stratagus/+bug/1430435) 2015-03-10 23:28:26 +05:00
cybermind
1e60d3689f [-] Fixed network error 2015-03-09 14:46:11 +05:00
cybermind
9d5069537f [+] Added ability to select required field for TypeVar
[-] Fixed upgrade-to stats update
2015-03-09 01:00:56 +05:00
cybermind
bbcecfc5a2 [-] Fixed bug with WaitBackup animation 2015-03-08 00:19:35 +05:00
cybermind
d3c6d53a4e [*] Applied patch from Andrettin to GetPlayerData 2015-03-07 13:13:24 +05:00
cybermind
6c3452f8c4 [-] Fixed compilation on gcc 2015-03-07 10:13:43 +05:00
cybermind
738641270a [+] Added AIScript for GameSettings to specify the AI script to use 2015-03-06 23:59:39 +05:00
cybermind
f7f00ed4fa [*] Some version change
[-] Fixed bug with non-shifted icon
2015-03-06 21:03:32 +05:00
cybermind
154d05406f [+] Added Preferences.DeselectInMine, to control deselecting in mines 2015-03-05 22:47:31 +05:00
cybermind
6bf8030875 [-] Fixed crash with game saving 2015-03-05 22:21:10 +05:00
cybermind
c29dbfa6a1 [+] SetNewViewportMode function to choose viewport from Lua
[-] Fix fancy buildings
[-] Fix unit not deselected when going under fog
2015-03-05 22:12:52 +05:00
cybermind
e853677ddf [-] Fixed CStatusLine::DrawCosts(), thanks to Andrettin 2015-03-04 14:51:23 +05:00
cybermind
00aaa5d844 [+] Added AiSetBuildDepots function, to control depot auto-building for AI 2015-03-04 14:50:07 +05:00
cybermind
56092051f2 [+] Added function for key scroll speed 2015-03-03 17:08:27 +05:00
cybermind
dbf38df98d [-] Fixed mine bug when building on top of unit 2015-03-02 23:22:36 +05:00
cybermind
545f92d102 [-] Fix for Wyrmsun 2015-03-02 21:25:46 +05:00
cybermind
eb4dbbeba2 [*] Improved network stability 2015-03-02 18:00:35 +05:00
cybermind
b18139827c [-] Fixed bug with string saving, thanks to Andrettin 2015-03-01 20:51:56 +05:00
cybermind
b759845ea3 [-] Fixed bug with minimap, thanks to Andrettin 2015-03-01 14:43:18 +05:00
cybermind
ece63c1f0d [-] Another fix for bug 1424945 2015-02-26 23:46:27 +05:00
cybermind
7cb2a8f9a4 [-] Transporters don't attack inagressive air units 2015-02-26 17:50:55 +05:00
cybermind
7c28912489 [-] Fixed bug with attacking from transporter 2015-02-25 17:52:42 +05:00
cybermind
57244d7e53 [+] Added CPreference::MineNotifications, to show notifications when player-controlled mine is running low (as in Warcraft 3) 2015-02-23 13:26:33 +05:00
cybermind
a25d28c04d [+] Support for player color changing 2015-02-22 23:27:27 +05:00
cybermind
59430f91a2 [-] Fixed mine resource displaying decoration 2015-02-22 17:36:05 +05:00
cybermind
1781674279 [*] Several enhancements for AI spell autocasting 2015-02-22 17:26:49 +05:00
cybermind
dc6c645230 [*] When right-clicking on mine, selected miners will go to depot if they are full of resources 2015-02-20 14:26:43 +05:00
cybermind
bbb48a8bb8 [*] Some more checks for AI pathfinder 2015-02-19 23:00:57 +05:00
cybermind
cfbfca0cd4 [+] Added support for StackTrace library to log call stack into stderr in case of crash 2015-02-19 18:47:55 +05:00
cybermind
fafcad4518 [+] Add ability to get unit reference and CUnitType::TileWidth and CUnitType::TileHeight in Lua
[*] GetUnitsAroundUnit now supports 3 parameter for getting all units in range
2015-02-19 14:28:14 +05:00
cybermind
8d9874a330 [-] Fix incorrect map save in editor 2015-02-18 22:58:38 +05:00
cybermind
d75ee25a90 [+] Added ability to keep selected harvester when it enters mine 2015-02-18 21:21:12 +05:00
cybermind
ec7c277249 [*] Improved auto-cast animation 2015-02-17 23:08:44 +05:00
cybermind
cb5b7d32bc [-] Fixed assert for transformaed units 2015-02-17 21:34:39 +05:00
cybermind
16ab7b89f4 [-] Fixed collision detection for oil tankers 2015-02-17 20:37:30 +05:00
cybermind
4dafa76a97 [*] Improved AI collision detection
[-] Correcting transporting
2015-02-16 23:14:37 +05:00
cybermind
f80feaecf7 [*] Improved AI collision detection for bigger units
[*] AI tries to reach the goal pos when unloading units
2015-02-16 18:01:12 +05:00
cybermind
7e83a31e76 [*] Moved DrawCosts, SetCosts and ClearCosts to CStatusLine
[*] Print spell costs in status line
2015-02-15 23:14:23 +05:00
cybermind
53ed03e055 [-] Correct explosion for critters 2015-02-15 15:00:38 +05:00
cybermind
951f59e4c5 [*] Research all upgrades which were already researched on the map beginning 2015-02-15 12:10:04 +05:00
cybermind
28c49d7370 [-] Fixed crash in Fluidsynth when no soundfont is loaded 2015-02-14 23:28:44 +05:00
cybermind
84f9fc0f7b [+] Added CPreference.StereoSound, to control stereo effects
[-] Some fixes to icon lifebars display
2015-02-14 23:20:40 +05:00