Commit Graph

113 Commits

Author SHA1 Message Date
Matthias Mailänder
9b6e15ea78 Add a CustomTerrain debug overlay. 2016-06-06 19:25:37 +02:00
Paul Chote
a8350783fc Fix game timer when adjusting replay speed. 2016-04-21 17:52:47 +01:00
reaperrr
6239aad070 Merge pull request #11017 from Mailaender/radar-refactor
Grouped the radar traits together
2016-04-12 17:07:01 +02:00
Oliver Brakmann
fe02bea521 Fix several NREs during setup of client tooltips in GameInfoStatsLogic 2016-04-09 15:21:17 +02:00
Matthias Mailänder
a78d67a60c Put radar traits into their own namespace. 2016-04-02 14:36:26 +02:00
Pavel Penev
c74ecd0794 Merge pull request #10898 from pchote/map-format-eleven
Add support for multiple map categories.
2016-03-27 18:16:51 +03:00
Paul Chote
10738b0c77 Remove dead space when viewing the observer menu stats. 2016-03-27 13:59:46 +02:00
Oliver Brakmann
2490e4d67e Make objectives panel visible to spectators/observers
It also allows switching the context of the panel by selecting a certain player's view in the player view spectator drop down.
2016-03-27 13:43:23 +02:00
Paul Chote
96eda08677 Replace map type with a category list. 2016-03-27 12:16:55 +01:00
Honza Vrátník
1728f9d662 Added support for pause/play/speed hotkeys in replays 2016-03-20 12:39:16 +01:00
Paul Chote
9c4dd54fa3 Generate map previews on save. 2016-03-08 21:13:38 +00:00
Paul Chote
01a14d9ae5 Move mission briefing to rules. 2016-03-07 21:41:14 +00:00
Paul Chote
668e13b849 Move mission videos to rules. 2016-03-07 21:41:13 +00:00
Paul Chote
a6c4eb330a Remove modRules widget logic argument. 2016-02-23 23:34:36 +00:00
Paul Chote
84b470017f Remove static Game.ModData references from widget logic. 2016-02-23 23:34:34 +00:00
Paul Chote
e71225496b Clarify GPL version. 2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9 Update licence header year. 2016-02-21 16:27:31 +00:00
Whinis
f2260174f0 Changes to allow restarting of skirmish match 2016-02-07 10:22:54 -05:00
Paul Chote
73b3f20921 Remove fragile alliances feature. 2016-01-30 20:47:50 +00:00
abcdefg30
ed3f3706f9 Reduce trait lookups further by adding a BuildableInfo parameter to GetBuildTime 2016-01-21 22:29:01 +01:00
abcdefg30
17daac11a1 Avoid unnecessary lookups in the production logic
by improving the GetBuildTime method and moving lookups around.
2016-01-21 22:24:49 +01:00
abcdefg30
d416138cec Merge pull request #10542 from RoosterDragon/simplify
General Cleanup
2016-01-18 11:37:30 +01:00
Matthias Mailänder
40debbde28 Merge pull request #10508 from pchote/cancel-tooltip-on-menu
Cancel tooltips when opening the ingame menu.
2016-01-18 07:30:11 +01:00
RoosterDragon
8e89a6a696 Simplify names, remove unused usings, remove redundant casts. 2016-01-17 21:35:36 +00:00
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
244fb582fb Cancel tooltips when opening the ingame menu. 2016-01-13 23:32:45 +00: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