Commit Graph

13956 Commits

Author SHA1 Message Date
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
Paul Chote
921d77f825 Merge pull request #6202 from ScottNZ/spyabilities
Add power sabotage ability to spy
2014-08-30 10:26:09 +12:00
obrakmann
d9933e9be0 Merge pull request #6358 from huwpascoe/bleed
Cloaked APCs are no longer unstoppable harrassment machines.
2014-08-29 21:05:38 +02: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
Paul Chote
84cb5f14f5 Merge pull request #6318 from Mailaender/log-session-deserialize-exception
Fixed Session.Deserialize exceptions not throwing properly
2014-08-27 18:39:56 +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
obrakmann
e1eb5a0927 Merge pull request #6340 from cjshmyr/fix6214
Add missing INotifyRemovedFromWorld impl to GlobalUpgradable
2014-08-26 16:42:47 +02:00
Curtis Shmyr
02a6c6ab77 Add missing INotifyRemovedFromWorld impl to GlobalUpgradable 2014-08-24 13:18:30 -06:00
Matthias Mailänder
8ebe6345aa Merge pull request #6323 from pchote/tib-craters
Render smudges beneath resources.
2014-08-24 16:50:28 +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
ef7d198ca8 Merge pull request #6244 from havok13888/PalaceStarPortBib
Fixes #6013 D2K - Tiles that should unmoveable at Palaces bib
2014-08-24 11:51:52 +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
Paul Chote
966c933cd3 Render smudges beneath resources. Fixes #6270. 2014-08-24 09:15:41 +12:00
Paul Chote
ae0e456565 Merge pull request #6224 from cjshmyr/renderinfantry
RenderInfantry refactoring
2014-08-24 08:59:34 +12:00
Curtis Shmyr
083592e194 Add an update rule to replace RenderInfantryProne and RenderInfantryPanic with RenderInfantry 2014-08-23 14:44:05 -06:00
Curtis Shmyr
fa8229d53b Implement IRenderInfantrySequenceModifier for ScaredyCat and TakeCover 2014-08-23 14:42:55 -06:00
Curtis Shmyr
345e88d75a Add IRenderInfantrySequenceModifier 2014-08-23 14:42:16 -06:00
Matthias Mailänder
ac1544e8bd remove double click sound when switching production tabs
closes #5863
2014-08-23 21:45:55 +02:00
Matthias Mailänder
749314d04e tab to space 2014-08-23 21:44:57 +02:00
Matthias Mailänder
093fe1776f missing tab 2014-08-23 21:44:50 +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
Matthias Mailänder
12876c23a2 fix tried logging to non-existant channel exception
closes #6168
2014-08-23 19:15:46 +02:00
Matthias Mailänder
f0fc63b15d Merge pull request #6274 from abcdefg30/falsekillstats
Fixes #6223
2014-08-23 18:50:44 +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
e434011487 Adjust gdi01 to use new functions 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
08adfcd855 Merge pull request #6300 from pchote/fix-font-freeze
Disable fontconfig in packaged OSX build.
2014-08-23 15:29:18 +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
Matthias Mailänder
086d8704d2 Merge pull request #5867 from UberWaffe/AI-MetaData
Closes #2926
Closes #5830
Closes #6207
2014-08-23 14:29:58 +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