Commit Graph

4116 Commits

Author SHA1 Message Date
Oliver Brakmann
bf9a63ff95 Rename widgets 2014-09-06 11:18:47 +02:00
Oliver Brakmann
c61516c55e Add stats button to end game dialog
Also adds the statistics window to TD.  There is no button for it in
observer mode, though, but it is available from the end game dialog.

Fixes #6312.
2014-09-06 11:18:47 +02:00
Oliver Brakmann
49adf023bb Remove unused usings and arguments 2014-09-03 22:05:06 +02:00
Paul Chote
f9255ecc49 Merge pull request #6360 from huwpascoe/clientstatus
Player connection status report.
2014-09-03 19:20:23 +12:00
Paul Chote
674998c0ee Merge pull request #6335 from obrakmann/fix6311
Fix end game window conflicting with ingame menu
2014-09-03 18:54:51 +12:00
huwpascoe
ffd17af363 Disconnected clients now listed as '(Gone)'. 2014-08-31 18:25:23 +01:00
obrakmann
a23cdc6178 Merge pull request #6369 from Mailaender/nickname-change-message
Added a server message about nickname changes
2014-08-31 11:40:17 +02:00
Matthias Mailänder
c867d04986 inform players about nickname changes in the lobby 2014-08-31 09:11:24 +02:00
reaperrr
3725ce4f7b InfDeath -> DeathType renaming. 2014-08-30 18:06:05 +02:00
Matthias Mailänder
c1ca55b303 Merge pull request #6208 from atlimit8/FixUnloadCargo
Fixed UnloadCargo stacking using new subcell API exposure
2014-08-30 14:38:17 +02:00
reaperrr
0cd244641a Merge pull request #6368 from Mailaender/squishy-unhardcode
Removed hard-coded squishy sounds to avoid confusion
2014-08-30 12:53:51 +02:00
obrakmann
0181347141 Merge pull request #6304 from pchote/fix-laser-vis
Don’t display LaserZap if source and dest are hidden.
2014-08-30 12:02:49 +02:00
atlimit8
8ad1140921 Reduce ICrushable trait lookup & drop -SubCell suffix.
Replace `a.HasTrait<ICrushable>()` with a.TraitsImplementing<ICrushable>().Any() or equivalent.
2014-08-30 04:43:57 -05:00
Matthias Mailänder
db1e9b9c24 don't hard-code sounds for one mod to avoid confusion 2014-08-30 10:32:57 +02:00
Matthias Mailänder
fb1a33da1d Merge pull request #6366 from reaperrr/sound-cleanup
Minor sound fixes for RA and TS
2014-08-30 10:13:23 +02:00
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