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
cybermind
a31a435412
[+] Added ability to use clrl+alt+right click to attack ground
2013-08-26 21:32:00 +06:00
cybermind
e6fa44c583
[-] Fixed crash on map load when Map.Info.Filename was empty
2013-08-25 21:02:22 +06:00
cybermind
ade21bb402
[+] Added "attacker" property in spell autocast parameters, to control, if spell will be casted only on attacking units
2013-08-25 20:56:48 +06:00
cybermind
b48ee5b4a1
[+] Added ability to block missiles with Wall units, if missile was launched from land unit to land unit. Added MissileType::IgnoreWalls flag to ignore walls.
2013-08-25 15:03:30 +06:00
cybermind
2fd9864207
[+] Enhanced CclCreateMissile by addind 7th bool parameter, to make all position calculations relative to map coordinates.
2013-08-24 21:16:44 +06:00
cybermind
9481b65058
[*] Position spells doesn't use information about UnitUnderCursor
2013-08-24 21:06:41 +06:00
cybermind
e185e25aa2
[+] Added unittype variables TargetPosX and TargetPosY, to hold information about unit's current goal position
2013-08-24 21:04:41 +06:00
cybermind
bc32d48359
[+] Allow to get info about spell autocast in animation
...
[*] CUnitType::Priority is now the main property in AI threaat calculation.
[-] Fixed DrawInformations in replay mode.
2013-08-24 12:44:29 +06:00
cybermind
4734d1fd8e
[-] Fixed bug when unit trying to hide himself with a spell unhides itself again.
2013-08-20 23:22:56 +06:00
cybermind
fe6cb121c7
[+] Enhanced transporters:
...
-ability to specify unit "size" in transporter using BoardSize unit property.
-ability to specify button level for transporting buttons using ButtonLevelForTransporter unit property.
-fixed bug: unit is deselected when it's trying to unload his passengers.
2013-08-20 22:51:48 +06:00
cybermind
a1e8b56830
[-] Fixed crash in replay mode when showing unit without graphics (revealer)
2013-08-20 19:18:25 +06:00
cybermind
3b95b6ad2d
[+] Ability to build several units in row (useful for walls). Just hold mouse left button and SHIFT/ALT and move your mouse to build more units of the same type
2013-08-20 19:16:53 +06:00
cybermind
ea187aff06
[+] Ability to specify setup file for map(useful for scenario maps). Just change Map.Info.Filename while in editor.
2013-08-20 19:14:22 +06:00
cybermind
b4586744db
[+] Added CclGetUnitsAroundUnit function to get all units around specified unit into table
2013-08-16 00:34:32 +06:00
cybermind
aaf2bc1559
[*] Enhancements in editor:
...
-tile mode labels now colored in reverse color if selected.
-fit unit icons in UI.ButtonPanel.Buttons cells.
2013-08-15 19:17:46 +06:00
cybermind
e39a925942
[+] Implemented spell cooldown timer ability, like in modern RTS (WC3). To use it, define "cooldown" property in DefineSpell with integer argument.
2013-08-15 16:08:01 +06:00
cybermind
7d944e5b1d
[*] Invincible units now have the lowest priority for AI
2013-08-14 19:41:47 +06:00
cybermind
9521969aeb
[+] Added MissileType::ParabolCoefficient, to control curve coefficient in MissileParabolic
...
[*] All calculations in MissileParabolic now use doubles instead of ints
2013-08-14 19:23:54 +06:00