Oliver Brakmann
6093398de3
Merge pull request #10543 from whinis/RestartSkirmish
...
Restart skirmish matches
2016-02-09 20:42:02 +01:00
Paul Chote
6c6826c3f3
Fix mod assembly loading on Windows.
2016-02-07 23:38:12 +00:00
Paul Chote
62402e0e2e
Unify static mod metadata collections.
2016-02-07 16:28:04 +00:00
Oliver Brakmann
02f25b0692
Merge pull request #10704 from pchote/filesystem-fonts
...
Loads fonts via the virtual filesystem.
2016-02-07 16:41:34 +01:00
Whinis
f2260174f0
Changes to allow restarting of skirmish match
2016-02-07 10:22:54 -05:00
Paul Chote
7a5678ec39
Move MapVisibility to MapPreview.
2016-02-06 22:28:35 +00:00
Paul Chote
844e1a1770
Loads fonts via the virtual filesystem.
2016-02-06 21:24:43 +00:00
Paul Chote
45bae7e9b3
Mount the mod filesystem context in the ModData ctor.
2016-02-06 16:30:23 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00: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
Pavel Penev
0e53312a1d
Add a package-oriented Platform.ResolvePath() method
2016-01-10 23:19:28 +02:00
Matthias Mailänder
f8161300ed
Merge pull request #10304 from whinis/ReplayReworkPR
...
Reworking ReplayRecorderConnection to be not be a Connection
2015-12-31 12:40:51 +01:00
Matthias Mailänder
6a555a7a8d
Merge pull request #10089 from abcdefg30/shellmapCPU
...
Try to win a small amount of performance when the shellmap is disabled
2015-12-31 12:22:14 +01:00
Whinis
155c74fc5f
Reworking ReplayRecorderConnection to no longer be an IConnection but rather attached to IConnection
2015-12-30 22:17:13 -05:00
abcdefg30
d2b75d780d
Merge pull request #9856 from atlimit8/FilterInstalledModsFromNeededMods
...
Show only missing required "mod (version)"s
2015-12-30 15:38:07 +01:00
abcdefg30
64f57ac9a5
Try to win a small amount of performance when the shellmap is disabled
2015-12-29 14:54:21 +01:00
Matthias Mailänder
d4e842e643
add a benchmark mode
2015-12-25 19:30:15 +01:00
Pavel Penev
8d56de80ca
Add ISoundLoader
...
The interface is to be implemented by all sound loaders, just like ISpriteLoader. All loading goes through the interface. This would allow mods to create their own sound loaders outside the engine.
Also add a SoundFormats property to mod.yaml, where mods can define what sound loaders they will need.
This requires Game.Sound to be initialized after the ModData is loaded.
2015-12-20 19:17:48 +02:00
Pavel Penev
4ce1444c6b
Fix shader loading
...
Also remove now redundant mounting of the game directory
2015-12-14 03:42:24 +02:00
Pavel Penev
1b88d24cfa
Unstatic GlobalFileSystem and rename it to FileSystem
...
Add a ModFiles field on ModData and move all access to the file system to go through that.
2015-12-14 03:42:22 +02:00
RoosterDragon
679cff004e
When hardware cursors fail, retry next session.
2015-12-08 22:53:21 +00:00
RoosterDragon
bfe1804bf6
Fix some spellings.
2015-11-27 16:19:59 +00:00
Thehx
6bd3195c3d
Changed ServerSettings cloning to a more reliable approach
2015-11-17 05:27:42 +03:00
atlimit8
74c63812eb
Show only missing required "mod (version)"s
2015-11-01 17:14:46 -06:00
Pavel Penev
9748b556dc
Add RequiresMods tag to the mod Manifest
...
List required mods and their versions to enable mod dependencies on another mods.
Also used for identifying the engine version by `modchooser`'s version.
2015-11-01 22:22:03 +02: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
a3fe2b3d35
Overhaul the IRC implementation.
...
* Simplified UI plumbing.
* Improves handling of errors and kicks.
* Persists chat history between session.
* Fixes leaks of the old widget tree when exiting.
* A few small UI polish improvements.
2015-10-17 22:13:22 +01:00
Pavel Penev
6e1f461e9b
Move mod asset validation from BlankLoadScreen.StartGame() to Game.InitializeMod()
...
This fixes a crash that happens when you try to launch a mod directly while its assets aren't installed.
Additionally should reduce the overhead for dedicated servers (in theory).
2015-10-09 12:34:58 +03:00
reaperrr
95709f1157
Remove obsolete mount hack
2015-09-30 01:56:10 +02:00
RoosterDragon
7decfc83ea
Fix ActionQueue ordering.
...
This enforces a well defined ordering for ActionQueue to ensure it runs actions in the the order one would expect.
2015-09-20 23:20:51 +01:00
Paul Chote
d112083c44
Clean up sound devices on game exit.
2015-09-20 22:46:07 +01:00
Paul Chote
ef55d646f7
Unstatic the Sound class.
2015-09-20 14:11:06 +01:00
Paul Chote
257c043e58
Add Timestep property to GlobalSettings.
2015-09-06 17:48:26 +01:00
Paul Chote
886d489766
Don’t create multiple sound contexts.
2015-09-05 18:29:14 +01:00
Pavel Penev
49e9ad2c7c
Make lower-level Sound not require the server state directly
2015-08-24 01:36:56 +03:00
Matthias Mailänder
f7b0454b9e
avoid an unnecessary overload
2015-08-23 07:58:07 +02:00
Matthias Mailänder
17f3466451
untie the engine from SDL2 and MiniTK
2015-08-23 07:58:03 +02:00
Zimmermann Gyula
60fafaa5a7
Refactors the music player.
2015-07-12 17:27:02 +02:00
penev92
d2058fbcbc
Dispose of the old world before creating a new one
2015-06-30 14:49:47 +03:00
Matthias Mailänder
2763e26d23
add a take screenshot hotkey
2015-06-27 16:29:33 +02:00
Matthias Mailänder
8e919d3215
move GeoIP functions into it's own class
...
extract the geoip database .gz in-game
2015-05-23 16:00:46 +02:00
Matthias Mailänder
1f024a8695
Add menu plumbing for the new map editor.
2015-05-15 17:08:33 +01:00
RoosterDragon
c963806dae
Prevent leaking of hardware cursors.
...
Added the lacking finialization machinery, ensured disposal under exceptional circumstances and also ensure the game calls dispose on old cursors before creating new ones.
2015-04-21 20:46:21 +01:00
Paul Chote
49624e335c
Remove legacy DIY view -> world conversions.
2015-03-31 20:59:52 +01:00
Pavel Penev
293bb78a3c
Merge pull request #7457 from pchote/actorpreviews
...
Introduce ActorPreviewWidget (and other related changes).
2015-02-21 01:35:03 +02:00
ScottNZ
582b6635ff
Brace style fixes
2015-02-13 02:32:49 +13:00
Paul Chote
268ca94dc1
Introduce ActorPreviewWidget.
2015-02-10 15:22:42 +00:00
abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Matthias Mailänder
89b2f4d5d3
Merge pull request #7217 from Mailaender/chrome-init-cleanup
...
Cleaned up the ingame widget initialization
2015-01-08 07:40:36 +01:00