Paul Chote
99ba155a16
Fix a crash if an order generator is active when a game ends.
2016-01-15 21:13:22 +00:00
Oliver Brakmann
8ebee425ab
Merge pull request #10264 from whinis/bleed
...
Restart button for missions
2016-01-15 21:55:02 +01:00
Whinis
9059e3e2c8
Changes to the RestartGame function to make it more streamlined
...
Removal of PromptAbortAction and inclusion into PromptConfirmAction
Changes to prevent a restart button being required for all mods
ConfirmAction
Addtion of named parameters to PromptConfirmAction
Moved StartGame from MissionBrowserLogic.cs to Game.cs
2016-01-15 15:34:00 -05:00
Alexander Heinz
e0c033fe99
restart button added for singleplayer in cnc, ra, d2k
2016-01-14 11:53:31 -05:00
Paul Chote
06678ecc0d
Cancel custom input modes when opening the menu.
2016-01-13 23:28:51 +00:00
Doruk Turak
5436319406
Observer Shroud Options listing polish #10263
...
Pretty self explanatory: Now "All Players" and "Disable Shroud" options come before
2015-12-27 16:32:32 +02:00
Oliver Brakmann
01d3bbb12c
Merge pull request #10067 from Mailaender/ingame-client-tooltip
...
Added an in-game client tooltip with IP and country
2015-12-11 21:09:05 +01:00
Matthias Mailänder
79dc26c978
add an in-game client tooltip without latency indicator
2015-12-11 07:29:54 +01:00
Pavel Penev
6217ec0360
Add a ShowActorTags property to DeveloperMode
2015-12-07 01:41:15 +02:00
Oliver Brakmann
fd2bd7c9d3
Merge pull request #9639 from abcdefg30/specchat
...
Add team chat for spectators
2015-12-01 22:32:57 +01:00
Paul Chote
dcc21aea41
Truncate player name in ingame menu stats.
2015-11-09 18:50:58 +00:00
atlimit8
b6f17df260
Add ActorsHavingTrait<TTrait>([Func<TTrait, bool])
2015-10-28 16:36:45 -05:00
RoosterDragon
7c889c5ef0
Fix TOCTOU issues when calling Game.RunAfterDelay.
...
Since the action runs after a delay, the state of the game may no longer be the same and it may no longer be valid to run the action. Anything that references the world now calls IsCurrentWorld to ensure the world hasn't changed or been disposed.
2015-10-25 19:44:21 +00:00
Paul Chote
b6f463729b
Add a ChromeLogic base class for chrome logic.
2015-10-21 19:35:35 +01:00
Paul Chote
83949b250a
Add a visualisation mode for depth sprites.
...
For now this displays the raw sprites. It will
eventually be repurposed for rendering the proper
depth data.
2015-10-17 22:35:47 +01:00
abcdefg30
cd62873003
Add team chat for spectators
2015-10-15 16:20:17 +02:00
abcdefg30
db37b14392
Minor code (style) cleanup
2015-10-15 15:05:17 +02:00
atlimit8
9acf121eb1
Replace ActorInfo.Traits.WithInterface with ActorInfo.TraitInfos<T>()
2015-09-21 15:50:57 -05:00
atlimit8
6e39a5e264
Replace .WithInterface<T>().Any() => .HasTraitInfo<T>()
2015-09-21 15:50:57 -05:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
atlimit8
09984683a7
Add ActorInfo.TraitInfo[OrDefault]<T>() requiring ITraitIfo types
2015-09-19 09:56:14 -05:00
atlimit8
6970959ef1
.Trait[OrDefault]<Trait> => .Info.Traits.Get[OrDefault]<TraitInfo> where applicable
2015-09-19 09:49:24 -05:00
atlimit8
8162fa27ab
Add ActorInfo.HasTraitInfo<T>() requiring ITraitInfo types
2015-09-19 09:49:24 -05:00
atlimit8
85fab45451
Remove Actor.HasTrait<T>()
2015-09-19 09:49:23 -05:00
Paul Chote
1109ec53d1
Update UI timers for variable game speed.
2015-09-06 17:48:42 +01:00
Paul Chote
301b698c81
Add game speed dropdown to the lobby.
2015-09-06 17:48:41 +01:00
Pavel Penev
09f67d18bb
Some internal "race" to "faction" renaming
2015-08-22 23:34:36 +03:00
Matthias Mailänder
9a861bdfba
Merge pull request #8700 from deniz1a/rename-disable-shroud
...
Renames "Disable Shroud & Fog" debug option to "Observer view".
2015-08-20 20:41:01 +02:00
deniz1a
e59cd78322
Fixes observer widgets being loaded multiple times at game end.
2015-08-11 12:31:23 +03:00
Matthias Mailänder
7a466890e5
hide tabs when script errors occur
2015-08-06 12:51:07 +02:00
Matthias Mailänder
d4a0bfe2a5
disable menu buttons when script errors occur
2015-08-06 12:49:35 +02:00
Matthias Mailänder
f1b9b31f07
remove duplicated line
2015-08-06 12:49:35 +02:00
Matthias Mailänder
bbb186d9c8
fix marking player as spectator going through unsynced code
2015-08-03 10:28:32 +02:00
Paul Chote
a0c256173b
Merge pull request #8851 from penev92/bleed_rename
...
Some more renaming from "race" to "faction"
2015-08-02 15:34:41 +01:00
deniz1a
2abd1b5350
Renames "Disable Shroud & Fog" debug option to "Disable visibility checks".
2015-08-02 00:30:42 +03:00
Pavel Penev
6379ee9394
Clean ObserverShroudSelectorLogic.cs of "race"
2015-07-31 05:38:27 +03:00
deniz1a
e3c2dced36
Removes unnecessary code from IngameChatLogic.cs.
...
Cleanup after #8105 .
2015-07-27 23:22:30 +03:00
Oliver Brakmann
4de03e991c
Remove revealing views from observer mode in missions
2015-07-25 20:51:39 +02:00
Oliver Brakmann
a77e9c0d87
Delay loading the observer UI until the game is actually over
2015-07-25 18:56:25 +03:00
Oliver Brakmann
a725d63b0c
Remove World.ObserveAfterWinOrLose
...
Fixes RenderPlayer for "All Players" view.
2015-07-25 18:56:24 +03:00
deniz1a
5546298866
Merges LeaveMapLogic into GameInfoLogic.
...
Opens options menu when game ends.
Closes settings or music window before opening options menu.
Moves game end video playback logic from GameInfoLogic to
LoadIngamePlayerOrObserverUILogic.
Improves menu buttons.
Stop video from playing on fatal lua script error
2015-07-25 18:56:24 +03:00
penev92
b34810c1d3
Rename AddRaceSuffixLogic to AddFactionSuffixLogic
2015-07-25 00:39:29 +03:00
penev92
b8aa92c4be
Rename Player.DisplayCountry to Player.DisplayFaction
2015-07-15 04:10:13 +03:00
penev92
bb648decc3
Rename Player.Country to Player.Faction
2015-07-15 04:06:52 +03:00
penev92
2e04fb5ddd
Rename Faction trait members
...
Rename Faction.Race to Faction.InternalName
2015-07-14 18:50:39 +03:00
Oliver Brakmann
c899606a6f
Merge pull request #7872 from Mailaender/storm-effects
...
Unified FlashPaletteEffect and exposed it to Lua
2015-07-05 21:08:04 +02:00
Matthias Mailänder
5378b6225c
unhardcode and increase the exit delay
2015-07-05 20:50:31 +02:00
abcdefg30
cc03e64b37
Fix Team set in PlayerReference being ignored for unplayable players
2015-07-05 19:32:48 +02:00
Oliver Brakmann
4e010bd6e6
Change *VictoryConditions to use customizable objective descriptions
2015-06-28 19:08:37 +02:00
Oliver Brakmann
34f382ec57
Prevent unnecessary blinking of the options button in non-mission type games
...
The options button starts blinking when a new objective is added, which happens in all game modes, even skirmish and koth. This change prevents the button from blinking in the latter two cases.
This prevents 1) confusion on part of the players, and 2) an unnecessary announcement of the objective since in skirmish and koth it is always the same.
2015-06-28 17:58:32 +02:00