Commit Graph

4551 Commits

Author SHA1 Message Date
atlimit8
e29b9edfc1 Changes to map.cs, rename IPositionable.IsLeaving{ => Cell}, add IPositionable.GetValidSubCell 2014-08-29 23:30:16 -05:00
atlimit8
63c28ee4d7 Refactored in new enum SubCell 2014-08-29 23:00:53 -05:00
atlimit8
27ad5208fb Fixed Mobile.SetPosition & other FixUnloadCargo touch-ups
Fixed Mobile.SetPosition
Finally removed old SubCell enum
Folded MobileInfo.CanEnterCell overloads into one
Renamed IPositionable.{IsMovingFrom => IsLeaving}
Changed Crate.IsLeaving to use crate lifetime
2014-08-29 23:00:53 -05:00
atlimit8
b2c9064545 Refactored [sub-]cell availability logic in IPositionable & ActorMap
Moved the logic from IPositionable.CanEnterCell & integrated sub-cell selection.
Added IPositionable.IsMovingFrom(CPos location, int subCell = -1) - to detect transient actors
Renamed IPositionable.{GetDesiredSubcell => GetAvailableSubcell} - since it checks for available sub-cells
Reduced IPositionable.CanEnterCell to one method that usually uses IPositionable.GetAvailableSubcell
Added actor checking to ActorMap.{HasFreeSubCell, FreeSubCell, AnyUnitsAt} - used by [sub-]cell availability logic
2014-08-29 23:00:53 -05:00
atlimit8
ff7ad53dee Fixed UnloadCargo stacking using new subcell API exposure 2014-08-29 23:00:53 -05:00
atlimit8
9efcf231e1 Refactor MobileInfo.CanEnterCell 2014-08-29 23:00:53 -05:00
atlimit8
fe57417aa8 Added int subCell = -1 to IMove.MoveIntoWorld & IPositionable.SetPosition(Actor self, CPos cell) 2014-08-29 23:00:53 -05:00
Tiago Sousa
ce68d67f0b Disallow same/similar colors (fixes #2820) 2014-08-30 01:53:38 +01:00
reaperrr
498b2dd028 Fix Parachutable GroundImpactSound.
squishy2.aud only exists in ts.
2014-08-30 02:27:04 +02:00
Paul Chote
921d77f825 Merge pull request #6202 from ScottNZ/spyabilities
Add power sabotage ability to spy
2014-08-30 10:26:09 +12:00
huwpascoe
330cb0c488 UncloakOnUnload is now on by default. 2014-08-29 19:57:45 +01:00
Paul Chote
0db079ea94 Merge pull request #6321 from Mailaender/less-nervous-clicksounds
Fixed double click sound on Tiberian Dawn production tabs
2014-08-27 18:45:51 +12:00
ScottNZ
cc15d859e2 Have AI account for power outages 2014-08-27 18:45:09 +12:00
ScottNZ
b70395e27c Refactor more power and infiltration stuff. Create new power sabotage ability for spies in ra and ts. 2014-08-27 18:45:09 +12:00
reaperrr
4fa199fb10 Merge pull request #6320 from Mailaender/smudge-offset
Unhardcoded and self-documented more resource/smudge parameters
2014-08-26 22:25:32 +02:00
Curtis Shmyr
02a6c6ab77 Add missing INotifyRemovedFromWorld impl to GlobalUpgradable 2014-08-24 13:18:30 -06:00
Oliver Brakmann
2f4c81b7c9 Fix end game window conflicting with ingame menu
Fixes #6311
2014-08-24 17:00:18 +02:00
Matthias Mailänder
97b97a4dd2 bring back click sound for TAB and PageUp/Down 2014-08-24 08:29:19 +02:00
Matthias Mailänder
8649475b91 document engine limitations 2014-08-24 08:16:59 +02:00
Matthias Mailänder
5b4f8d1446 unhardcode and self-document more resource/smudge parameters 2014-08-24 08:13:40 +02:00
Paul Chote
944cfd83e2 Merge pull request #6281 from mizipzor/tab-completion
Added tab completion to in-game and lobby chat.
2014-08-24 17:29:38 +12:00
Paul Chote
e4b9872f82 Merge pull request #6291 from UberWaffe/ImpactTarget
Changes Weapon.Impact() to use Target (from WPos).
2014-08-24 09:38:15 +12:00
Curtis Shmyr
fa8229d53b Implement IRenderInfantrySequenceModifier for ScaredyCat and TakeCover 2014-08-23 14:42:55 -06:00
Matthias Mailänder
ac1544e8bd remove double click sound when switching production tabs
closes #5863
2014-08-23 21:45:55 +02:00
Alexander Fast
af0efda6f5 Changes how the playerNames collection is created.
It's now extracted from the orderManager, like it's done in LobbyLogic.
This is to increase consistency.
2014-08-23 21:18:54 +02:00
abcdefg30
a3928bfcf0 Fixed displaying false stats 2014-08-23 18:04:24 +02:00
Matthias Mailänder
bc4c344cb0 Merge pull request #6284 from obrakmann/gdi01-touchup
More Lua API enhancements
2014-08-23 16:28:36 +02:00
Oliver Brakmann
d85b5d5a4f Replace explicit Dispose() calls with using statements in ScriptTrigger.cs 2014-08-23 16:21:40 +02:00
Oliver Brakmann
74c45d5d21 Add reinforcements functions to Lua API 2014-08-23 16:21:40 +02:00
Oliver Brakmann
882f3f34c2 Add a number of small helper functions to Lua API 2014-08-23 16:21:40 +02:00
Oliver Brakmann
d23707b5f7 Add OnCapture, OnAddedToWorld and OnRemovedFromWorld triggers to Lua API
This brings the new Lua API up to feature-parity with the old API in the
trigger department.
2014-08-23 16:21:40 +02:00
Oliver Brakmann
1c8a56d197 Make ScriptContext available in Actor- and PlayerProperty classes
Needed to return non-native types to Lua
2014-08-23 16:21:40 +02:00
Oliver Brakmann
1e7f04105d Fix OnObjective(Completed|Failed) not being called for secondary objectives 2014-08-23 16:21:39 +02:00
Oliver Brakmann
56466e312f Ensure that all combatants have a defined WinState at the end of the game 2014-08-23 16:21:39 +02:00
Oliver Brakmann
e6887503af Remove unused method 2014-08-23 16:21:39 +02:00
Matthias Mailänder
7cb7685d62 Merge pull request #6266 from huwpascoe/uiscaling
Cursor Doubling
2014-08-23 16:14:13 +02:00
Matthias Mailänder
8e56b527b3 Merge pull request #6309 from pchote/fix-minelayer-exploit
Don’t leak information about hidden actors.
2014-08-23 14:46:50 +02:00
UberWaffe
a1e51b71d6 AI Support Power Meta Data implemented.
Changes included:
Decision can be defined for the AI support powers, governing their targeting.
Each decision can be made up of multiple considerations.
2014-08-23 12:01:30 +02:00
UberWaffe
76ccb0cf00 Changes Weapon.Impact() to use Target (from WPos). 2014-08-23 11:23:34 +02:00
Matthias Mailänder
6bb392be11 Merge pull request #6303 from obrakmann/fix6263
Fixed invulnerable infantry
2014-08-23 10:28:15 +02:00
Paul Chote
32e099d60a Fix inner range filtering in HealthPercentageDamageWarhead. 2014-08-23 17:14:12 +12:00
Paul Chote
50fea12a80 Remove now-redundant AbsoluteSpreadDamageWarhead. 2014-08-23 17:14:11 +12:00
Paul Chote
97c28e1353 Remove fp calculations from SpreadDamageWarhead. 2014-08-23 17:14:11 +12:00
Paul Chote
227a523878 Further warhead streamlining. 2014-08-23 17:14:10 +12:00
Paul Chote
57ba1b54b4 Convert weapon plumbing to use integer damage modifiers. 2014-08-23 17:14:10 +12:00
Paul Chote
8e8e02dae8 Move warheads into mod code. 2014-08-23 17:14:10 +12:00
Paul Chote
34ca30c9f1 Remove more unnecessary plumbing. 2014-08-23 17:14:10 +12:00
Paul Chote
a781e44509 Don’t leak information about hidden actors. Fixes #6125. 2014-08-23 11:19:49 +12:00
Christopher Grant
774c8121c2 Fixed invulnerable infantry
Closes #6263
2014-08-23 00:04:16 +02:00
Paul Chote
fc6d266278 Don’t display LaserZap if source and dest are hidden.
Closes #6146.
2014-08-23 09:47:46 +12:00