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
Igor Popov
40c9d0a47d
Merge pull request #7275 from RoosterDragon/formatting
...
Formatted all files.
2015-01-07 13:56:04 +03:00
RoosterDragon
a6cda967c2
Formatted all files.
...
Automatically formatted all files via VS. This generally corrects indentation, removes trailing whitespace and corrects misplaced tabs or spaces. Manually tweaked a few files where required.
2015-01-06 21:28:50 +00:00
RoosterDragon
2c34358372
Avoid initialization of graphical elements for a server.
...
Avoid allocating memory and resources for graphical elements that will never be drawn when starting a dedicated server. This reduces the server memory footprint by approx 17 MiB.
2015-01-04 19:22:41 +00:00
Matthias Mailänder
9d2f33d42c
add a World type
2015-01-04 17:57:38 +01:00
Matthias Mailänder
bc3acfeee7
StyleCop clean OpenRA.Game
2015-01-04 15:38:54 +01:00
Matthias Mailänder
44cd174a8d
StyleCop clean OpenRA.Game
2015-01-03 19:00:48 +01:00
Hellhake
5a97a4b63b
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:11:01 +01:00
Oliver Brakmann
39d13dc654
Merge pull request #7121 from pchote/switchmods
...
Add Launch.Connect command and on-connect mod switching.
2014-12-24 16:06:00 +01:00
Paul Chote
6923046564
Expose the cursor mode setting.
2014-12-23 22:09:22 +13:00
Paul Chote
75b046ae2a
Reorganize cursor plumbing in preparation for hardware cursors.
2014-12-23 22:09:22 +13:00
Paul Chote
660f6682ff
Add Launch.Connect parameter for launching directly to a server.
2014-12-23 09:20:21 +13:00
Paul Chote
ec7a32184e
Move the mod-level initialisation code back into the load screen.
2014-12-23 09:20:19 +13:00
Paul Chote
2ed594fd86
Introduce map Visibility field.
...
This replaces the Selectable, UseAsShellmap, and special-cased Type = "Mission" fields.
2014-12-23 09:08:00 +13:00
RoosterDragon
b28d999131
Made SheetBuilder rely on global settings rather than global renderer.
...
Additionally exposed an InitializeSettings method on game to initialize the global settings so that other classes can set up all the secret dependencies on the global settings required.
2014-12-22 17:39:19 +00:00
RoosterDragon
f0f02dff5c
Dispose of graphics resources deterministically.
...
Textures, FrameBuffers and VertexBuffers allocated by the Sdl2 Renderer were only being released via finalizers. This could lead to OpenGL out of memory errors since resources may not be cleaned up in a timely manner. To avoid this, IDisposable has been implemented and transitively applied to classes that use these resources.
As a side-effect some static state is no longer static, particularly in Renderer, in order to facilitate this change and just for nicer design in general.
Also dispose some bitmaps.
2014-12-22 17:34:01 +00:00
Guido L.
0806cca133
Prevent the creation of Logfiles in the Game Directory
2014-11-20 12:59:02 +01:00
Paul Chote
f5c09121ad
Remove buggy classic mouse orders. Closes #3153 .
2014-11-15 09:40:25 +13:00
Paul Chote
55d9e71ff3
Force at least one render per tick during regular gameplay.
...
Partially reverts #5850 , as this feature is a serious usability regression when controlling units. Fixes #6867 .
2014-11-07 18:58:56 +13:00
Matthias Mailänder
95a4248419
StyleCop clean OrderManager
2014-11-01 21:46:19 +01:00
Paul Chote
4f44cc1969
Load assets using absolute paths. Fixes #6717 .
2014-10-11 11:02:30 +13:00
Oliver Brakmann
36b5097fa0
Cache chat conversations in the lobby and in-game
...
This preserves the chat content from the lobby and makes it available
in-game, and also makes all chat content available to the end-game
dialog.
2014-09-26 07:18:33 +02:00
Paul Chote
b1de14bc70
Disable replay saving for campaign missions.
2014-09-13 18:08:14 +12:00
Pavlos Touboulidis
b88b87b899
Improve game loop
...
Environment.TickCount was replaced with Game.RunTime that's based on
Stopwatch for increased accuracy.
2014-07-10 04:06:29 +03:00
Matthias Mailänder
fe41ac7fa3
@pchote breaks all the things
2014-07-06 14:45:05 +02:00
Paul Chote
3f7293b206
Let FieldLoader do the hard work of loading fields.
2014-07-06 14:04:26 +02:00
Matthias Mailänder
a67e2290d1
fix the music list not being populated after CD asset install
2014-07-06 14:04:26 +02:00
Matthias Mailänder
2f55768c1b
restart the game instead of unmounting on the fly
...
avoid more redundancy between the load screens
2014-07-06 14:04:26 +02:00