Commit graph

7856 commits

Author SHA1 Message Date
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
cybermind
15c177ef90 [-] Removed obsolete CclSetMetaServer
[-] Fixed button popup line color
2015-02-14 20:23:35 +05:00
cybermind
881a3dd830 [-] Another fix for fluidsynth 2015-02-14 16:47:22 +05:00
cybermind
a0f150241c [-] Fixed bug with alpha in DrawFrameClipTransX, thanks to Andrettin 2015-02-14 10:16:37 +05:00
cybermind
f4b21b6282 [-] Correct FluidSynth player cleanup 2015-02-14 00:18:32 +05:00
cybermind
0b50a9d88a [-] Fixed bug with IsNotSelectable units and InfoPanel 2015-02-13 19:54:34 +05:00
cybermind
65487e9e2a [+] Applied Andrettin's patch for SetPlayerData, https://bugs.launchpad.net/stratagus/+bug/1331628 2015-02-12 22:27:37 +05:00
cybermind
51647d9be9 [+] Implemented Andrettin's patch for GetPlayerData: https://bugs.launchpad.net/stratagus/+bug/1331788 2015-02-12 21:47:54 +05:00
cybermind
800c6ef6d1 [-] Fixed bug with incorrect race name display. 2015-02-12 21:30:41 +05:00
cybermind
a8da7073dd [-] Fixed bug with IsNotSelectable flag showing info about units 2015-02-12 21:22:39 +05:00
cybermind
fcf4752d0a [-] Fixed bug with AI pathfinding on shorelines. 2015-02-12 20:54:53 +05:00
cybermind
2ef346636f [-] Fixed savegame bug. 2015-02-12 16:24:39 +05:00
cybermind
3b0cb65893 [-] Fixed crash with construction shadows. 2015-02-12 16:23:15 +05:00
cybermind
2e91d391f3 [+] Added special "~|" formatting symbol to specify the position symbol (useful for making translations with different string length) 2014-11-04 14:26:50 +05:00
cybermind
f3765d485d [*] More strings to translate 2014-10-31 22:35:02 +05:00
cybermind
3378f3d08a [-] Reduce sound lags 2014-10-31 21:53:42 +05:00
cybermind
18a82e0e3e [*] Generic AI collision detection for blocked units
[-] Fixed AI transporter attack
2014-10-28 18:05:43 +05:00
cybermind
c560b02922 [+] Added Fluidsynth support for MIDI playback
[*] Increased sound channel count to reduce sound lags
[*] SetDefaultTextColors is available from Lua
2014-10-20 23:58:56 +06:00
cybermind
aff4a094bc [-] Fixed colored text 2014-09-24 22:15:59 +06:00
joris
49c60110f9 Fix typo for tileset. thanks to Andre Novellino Gouvêa 2014-08-16 20:54:20 +02:00
Tim Felgentreff
f57e7edf11 Add missing include for VS2013 2014-07-20 20:18:45 +02:00
cybermind
b8a682ac25 [-] Fixed spell sound distance calculation 2014-06-12 15:21:14 +06:00
cybermind
8c5ec2dae0 [*] Fire animation for flame shield spell 2014-06-12 13:27:21 +06:00
cybermind
e68a4a291a [*] Applied Dinky's patch to icons.cpp
[-] EOL fix in script_map.cpp
2014-06-12 12:31:54 +06:00
cybermind
2e0652a04e [-] Fixed bug with "corpse" autocast condition check 2014-06-11 17:49:38 +06:00
cybermind
10996157dd [+] Applied Andrettin's patch to map scripting: https://bugs.launchpad.net/stratagus/+bug/1328664 2014-06-11 16:24:50 +06:00
cybermind
3020cf9453 [+] Applied Andrettin's patch to editor: https://bugs.launchpad.net/stratagus/+bug/1328326 2014-06-11 16:18:44 +06:00
cybermind
3d5fb9cf9e [-] Fix for mana cost displaying 2014-06-10 00:01:41 +06:00
cybermind
f6481c538c [-] Fixed incorrect disabled slider bar marker drawing 2014-06-09 17:23:42 +06:00
cybermind
9c365ee68d [-] Fixed bug with rescued units icon drawing 2014-06-09 17:00:27 +06:00
cybermind
9cfdae4f6a [-] Fixed crash when unit tries to find another resource 2014-06-09 16:34:12 +06:00
cybermind
519d39f922 [+] Apply Dinky's icons patch 2014-06-09 15:16:14 +06:00
cybermind
df3f239226 [-] Fixed another issue with player colors 2014-06-08 20:01:44 +06:00
cybermind
2a3bfff15f [+] Support for saving subtables in tables 2014-06-06 00:08:55 +06:00
cybermind
12e52ab172 [-] Fixed crash when autocasting spells without sound 2014-06-04 00:08:16 +06:00
cybermind
1bfbd56f92 [-] Fixed workers resource give up, now they are trying to find another resource 2014-06-03 01:02:44 +06:00
cybermind
2966a41c14 [-] Fixed compilation on OS Mavericks 2014-06-03 00:02:02 +06:00
cybermind
a57f91ed56 [-] Fixed bug with map clipping on 32x32 maps 2014-06-02 22:19:38 +06:00
cybermind
de38684435 [+] Added disabled graphics for ImageCheckBox, ImageRadioButton, ImageSlider 2014-06-02 00:34:05 +06:00
cybermind
a635af92b6 [-] Fixed savegame loading issue 2014-06-01 20:02:05 +06:00
cybermind
476ee0d05e [-] Fix for sound distance calculation for spells 2014-06-01 17:39:28 +06:00
cybermind
7a2afec8db [+] Added "corpse" check for autocast spells (no more blizzard on corpses) 2014-06-01 16:32:48 +06:00
joris
8c0c15db03 - fix gcc warning (and so some memleak). 2014-05-31 18:16:12 +02:00
cybermind
49fdea25f9 [-] Fixed bug with construction outline 2014-05-31 22:01:33 +06:00
cybermind
1761d0d0a2 [-] Fixed bug with icons shift 2014-05-31 21:46:46 +06:00
cybermind
d4924e8c3b [+] Added "position-autocast" field for "autocast" spell section, allowing to set up autocast for position spells 2014-05-31 18:41:18 +06:00
cybermind
cacc4ce874 [*] Added CPreference::IconsShift, to shift icons slightly when you press on them 2014-05-30 22:59:30 +06:00
cybermind
c5a56f0b7b [+] Added AiReleaseForce(force) Lua function, to release "force" 's units to be able to use them in another force 2014-05-30 19:10:04 +06:00
cybermind
6dc6dbf29e [+] Added support for new NumberDesc field, PlayerData, to get player's data 2014-05-29 17:35:30 +06:00
cybermind
7e02a25714 [-] Another fix for infopanel 2014-05-26 18:13:47 +06:00
cybermind
80ad72bcd4 [-] Fixed incorrect update for Kill and XP variables when upgrading-to 2014-05-26 17:29:11 +06:00
cybermind
b21dc46d49 [*] Now editor correctly uses randomized mixed tile types 2014-05-26 17:07:31 +06:00
cybermind
00972d1aa2 [+] Added CPreference::GrayscaleIcons, to enable and disable support for grayscale icons\n[-] Fixed bug with incorrect unit icons display 2014-05-26 15:56:59 +06:00
cybermind
57391a45cf [-] Fixed crash when using tabs in text 2014-05-25 13:47:53 +06:00
cybermind
e4c357c1d9 [-] Fixed crash when blowing up dwarves/sappers 2014-05-25 13:37:58 +06:00
cybermind
f38afb7703 [-] Fixed infopanel displaying when holding mouse over a unit without selecting
[-] Fixed crash with unit tracking
2014-05-25 11:20:25 +06:00
cybermind
d47fdf52bd [*] Correct Death Coil spell casting 2014-05-25 10:40:56 +06:00
cybermind
446a0a9454 [*] Lua access to UI.Infopanel.G, required for correct infopanel displaying. 2014-05-23 20:18:58 +06:00
cybermind
27691dce45 [-] Fixed a bug with scoreboard (non-colored player labels) 2014-05-19 20:23:24 +06:00
cybermind
1d374a6afa [-] Fixed some network bugs 2014-03-17 20:21:56 +06:00
cybermind
c54cd1bf9d [-] Fixed some crashes while loading a saved game 2014-03-16 12:45:36 +06:00
cybermind
6bd2a7f206 [+] Added Preference.AiExplores, to control AI exploration requests for resources 2014-03-12 19:11:38 +06:00
cybermind
69cceb0486 [*] Update button popup after all buttons were drawn 2014-03-09 13:34:23 +06:00
cybermind
131aceeeb4 [+] Added new function SaveMapPNG to save whole terrain as png file 2014-03-09 13:33:09 +06:00
joris
d42b58d1d2 [AStyle] 2014-03-08 17:12:33 +01:00
cybermind
ab720b4508 [-] Fixed CclGetUnitsAroundUnit 2014-03-07 19:57:20 +06:00
cybermind
a4df831f4b [+] Added "min-range" parameter to autocast settings, to set minimal distance for autocast to work 2014-03-07 19:53:46 +06:00
cybermind
37d0772785 [+] Correct support for interrior tilesets. Now units aren't able to shoot through "rock" and "forest" tilesets. Use GameSettings.Inside = true
[+] DamageUnit lua function to damage unit through Lua code
[+] Support for unit's build sound
[+] IsAlive variable, allows to check if unit is alive through Lua
[-] Fixes in unit voice code
2014-03-02 17:41:47 +06:00
cybermind
41652c2518 [+] Support for &, |, ^, ! operations in CAnimation_IfVar 2014-02-26 17:06:56 +06:00
cybermind
d4ecd6327d [+] Enhanced spell casting:
-ability to define user conditions for spell using Lua scripts. Just use "callback" keyword in conditions, followed by function name after comma. If function returns true, the condition pass and vice versa.
-ability to define user actions for spell using Lua scripts. Use "lua-callback" action type, followed by function name after comma.
2014-02-25 22:30:32 +06:00
cybermind
435283a69d [+] Enhanced teleporting feature:
-TeleportMissile replaced to lua callbacks TeleportEffectIn and TeleportEffectOut, allowing more flexible effects
-Ability to set the teleporter's destination using SetTeleportDestination function
-Now player can use neutral teleporters
2014-02-21 23:00:39 +06:00
cybermind
81a00d6163 [-] Fixed assert in debug mode 2014-02-20 18:42:36 +06:00
cybermind
a8ed6b7f9a [+] Added GameEstablishing flag to control player's interaction to game 2014-02-13 23:11:00 +06:00
cybermind
a8448d0c97 [+] Ability play unit's still animation while waiting 2014-02-04 22:45:27 +06:00
joris
f7ef97a7df [AStyle] 2014-01-06 22:49:57 +01:00
cybermind
19176cbe1d [*] Another AI target priority fixing
[*] Slightly improved AI forces behavior
[*] Removed FrameFraction, FrameRemainder, NextFrameTicks now is double instead of unsigned long
[-] Fixed crash when loading a savegame with spell casting units
2013-12-29 23:56:56 +06:00
cybermind
229f2cbdfa [-] Fixed missile blocking by Wall units 2013-12-24 13:48:05 +06:00
cybermind
fa37c4d4a3 [+] Added second parameter to PlaySound to play sound even if it's currently playing 2013-12-24 13:47:24 +06:00
cybermind
8c0f644642 [*] Correctly handle unit annoyed voices 2013-12-21 17:07:15 +06:00
joris
4fc21f085c Add missing include for gcc. 2013-12-20 02:26:00 +01:00
cybermind
8cac9b3e70 [-] Fixed bug when selecting an enemy unit under counstrction would emit building sound 2013-12-17 14:31:38 +06:00
cybermind
d58ebc9572 [-] Fixed bug when unit with stand-ground action could attack enemies but without shooting a missile 2013-12-17 14:10:03 +06:00
cybermind
f8daf90b32 [*] Ability to automatically return goods in newly constructed depot 2013-12-17 14:07:40 +06:00
cybermind
4559c0050d [-] Fixed bug when piercing missile is outside of map 2013-12-16 19:22:10 +06:00
cybermind
bc16a6c6eb [+] Metaserver client code rewritten: now using class CMetaClient available through Lua 2013-12-05 21:03:34 +06:00
cybermind
45441a848a [*] If unit is being attack by MissileClipToTarget and it is removed from the map(transport,...), no damage is inflicted 2013-12-04 21:07:11 +06:00
cybermind
262b1571f9 [-] Don't update buttonpanel on every variable change to prevent slowdown 2013-12-04 21:05:45 +06:00
cybermind
5b7ca4f014 [-] Fixed hotkey assignment(now use Key = "ESC" for escape button in DefineButton) 2013-12-04 21:04:32 +06:00
cybermind
4f852dee9d [-] Fixed bug when unit tries to launch missile in stand ground mode 2013-12-04 21:02:42 +06:00
cybermind
51e9ed142e missed changes for mouse.cpp 2013-12-04 21:01:25 +06:00
cybermind
1498d28480 [+] Some enhacements to the small(unit) AI
-use Damage formula to calculate damage when searching for targets
-don't auto attack invulnerable units
-attack wall only if unit is near to it
-units controlled by player now are able to switch targets when attacked
-fixed casting spells on attacking units
-increased priority for targets that are able to retalliate
[+] Ability to return goods to allied depots
[+] Added FiredSound property for MissileType
[-] Fixed possible crash when trying to place units in editor
2013-12-04 20:59:46 +06:00
cybermind
eab83bf933 [-] When upgrading-to a unit, AI didn't take into account the unit limits 2013-11-16 15:13:29 +06:00
cybermind
d735b730ab [-] Fixed desync caused by triggers in custom maps 2013-11-16 14:04:47 +06:00
joris
c911d001d0 Some clean up. 2013-11-02 16:54:21 +01:00
joris
0f29012a23 Some clean up.
remove dead code.
2013-10-29 19:09:51 +01:00
joris
81570d6ea1 should fix compilation on *nix. 2013-10-29 14:24:42 +01:00
joris
7ee02a9b1f Replace raw pointer ::Selected by std::vector. 2013-10-29 10:38:04 +01:00
joris
489ddc943f Remove unused GetNumberUnitsOfGroup. 2013-10-26 11:39:38 +02:00
joris
27f83021d7 Files not commited in previous commit. 2013-10-26 11:36:43 +02:00
joris
49a615cf50 Clean up groups.cpp 2013-10-26 10:55:29 +02:00
joris
a0ed13735b Clean up selection.cpp
- Replace raw array by std::vector.
- use unsigned int instead of int.
2013-10-25 12:56:46 +02:00