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
joris
d55f0acadd
Implement lua wrapper CheckDependency. Inspired from Mikko Merikivi's patch.
2013-10-18 12:12:48 +02:00
joris
ad3212a069
Remove useless virtual for luacallback.
2013-10-14 13:57:11 +02:00
joris
cdc311b209
Use "full path" for hash to avoid conflict in main-menu when changing data root.
2013-10-13 20:11:21 +02:00
joris
51cc01ab45
Remove useless typedef.
2013-10-13 19:34:45 +02:00
joris
300fa70d92
Some clean up
2013-10-11 20:53:25 +02:00
joris
d33119e0e4
Change prototype of LibraryFileName.
2013-10-11 11:59:49 +02:00
joris
75f857f60b
Fix gcc warnings.
2013-10-11 11:58:17 +02:00
cybermind
83a45a79b1
[+] Reuse Key field for AddButton
2013-10-06 16:57:33 +06:00
cybermind
5bef8f555c
[+] Support UTF-8 in ShowLoadProgress
...
[*] Increase message buffer to 256
2013-10-06 16:51:04 +06:00
cybermind
a92eea4fec
[*] Show upgrade name in notify if available
2013-10-06 16:06:59 +06:00
cybermind
640789ff24
[*] Always clamp variables between 0 and Max
2013-10-06 15:42:40 +06:00
cybermind
c92fdc304e
[+] Allow user to modify unt's stats using Get/SetUnitVariable
2013-10-06 15:40:38 +06:00
cybermind
2fb6a51d63
[-] Fix crash when UnitUnderCursor is NULL
2013-10-06 15:38:02 +06:00
cybermind
ded4cc7a7e
[+] Allow placing NonSolid units everywhere
2013-10-06 15:34:36 +06:00
cybermind
de0962bf75
[-] Fix BuildFromOutside
2013-10-06 15:31:48 +06:00
cybermind
8325e2b3fc
[*] Apply MissileType::ChangeVariable and MissileType::OnImpact effects before unit death
2013-10-06 15:28:45 +06:00
cybermind
2d4b995575
[+] Changed MissileType::Damage to NumberDesc, so you can now define uour own damage formula for missile.
2013-10-06 15:24:33 +06:00
Tim Felgentreff
7340710df0
fixes to CMakeLists to compile on OS X
2013-10-02 16:28:16 +02:00
joris
841246e72b
[AStyle]
2013-09-05 17:02:22 +02:00
joris
fab20659a0
Draw some more icons with playerColor.
2013-09-05 12:15:30 +02:00
joris
b34f0c86b3
[AStyle]
2013-09-01 17:07:03 +02:00
cybermind
2e7fb1375b
[*] Increased maximum of animations to 4096
2013-09-01 12:33:59 +06:00
cybermind
65e321446e
[-] Fixed clamp in CAnimation_SetVar
2013-09-01 12:31:50 +06:00
cybermind
77a504c708
[+] Adeed second parameter in CclFilteredListDirectory, which allows to use relative paths instead of absolute
2013-09-01 12:27:53 +06:00
cybermind
5afe3b6a1b
[-] Don't show any information for units with IsNotSelectable flag
2013-09-01 12:23:38 +06:00
cybermind
f2f780d729
[+] Ability to get unittype "Name" in CclGetUnitVariable
...
[*] Update unit variables before getting variable in CclGetUnitVariable
2013-09-01 12:12:38 +06:00
cybermind
777d8a3467
[*] Update all unit stats for new unittypes, not variables only
2013-09-01 12:03:58 +06:00
cybermind
b3313b28ae
[-] Missing file in previous commit
2013-09-01 12:00:26 +06:00
cybermind
210369b752
[+] Added new MissileStraightFly, which flies straightly, until it reaches terrain tile field flags mask specified in MissileType::MissileStopFlags. You can use KillFirstUnit property, so missile will explode on first unit.
...
[*] More correct missile handling in MissileHandleBlocking
[*] Missile with KillFirstUnit can't kill dead or non-solid units
2013-09-01 11:44:48 +06:00
joris
c64a14b05c
Fixx gcc warnings.
2013-08-31 19:01:14 +02:00
cybermind
d3de1ee103
[+] Added MissileType::KillFirstUnit flag, hich tells missile to kill first unit on it's way, rather than on destination point
...
[-] Fixed incorrect condition in MissileHandlePierce
2013-08-26 22:05:10 +06:00
cybermind
5740720319
[-] Fixed crash when trying to load a map with new unittypes
2013-08-26 21:33:57 +06:00