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
RoosterDragon
3a30748f05
Reduce working set by releasing buffers for sheets.
...
Sheets carry a managed buffer of data that allows updates to be made without having to constantly fetch and set data to the texture memory of the video card. This is useful for things like SheetBuilder which make small progressive changes to sheets.
However these buffers are often large and are kept alive because sheets are referenced by the sprites that use them. If this buffer is explicitly null'ed when it is no longer needed then the GC can reclaim it. Sometimes a buffer need not even be created because the object using the sheet only works on the texture directly anyway.
In practise, this reduced memory consumed by such buffers from ~165 MiB to ~112 MiB (at the start of a new RA skirmish mission).
2014-07-02 17:25:56 +01:00
Pavlos Touboulidis
e19dae8eec
Properly save replay even when the game crashes ( fixes #5610 )
2014-06-24 22:40:20 +03:00
Paul Chote
bc92bc1774
Merge pull request #5649 from Mailaender/upnp-polish
...
Made the Mono.NAT integration more robust
2014-06-21 01:31:33 +12:00
RoosterDragon
52b09bdfe8
If changed settings require a restart, offer the user to do it now.
...
Add a dialog when closing the settings screen asking the user if they would like to restart the game now in order to apply any settings that are only applied after restarting the game. The game is reloaded in-process by spinning up a new AppDomain in order to reset state.
2014-06-18 21:36:56 +01:00
Matthias Mailänder
4d2412f4b8
this can't throw
2014-06-16 16:34:44 +02:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Paul Chote
b8cdb224d1
Merge pull request #5540 from RoosterDragon/begin-frame-cache-viewport
...
Avoid redundancy in BeginFrame.
2014-06-12 18:15:47 +12:00
RoosterDragon
a2ed4fd5f9
Avoid redundantly setting viewport parameters in BeginFrame.
...
- Cache the old resolution, scroll and zoom in BeginFrame, and don't bother updating the viewport parameters again until they change.
- Pass around scroll as an int2 to reduce the number of back-and-forth casts.
2014-06-10 17:06:25 +01:00
RoosterDragon
a598a01108
Fixed IDisposable implementation and usage.
...
- Implement IDisposable interface correctly, with sealed classes where possible for simplicity.
- Add using statement around undisposed local variables.
2014-06-10 11:23:55 +01:00
Paul Chote
910db14ee8
Save the replay metadata block when quitting.
2014-05-24 23:13:19 +12:00
Matthias Mailänder
187362e80e
rename OpenRA.Support.Random aka XRandom to MersenneTwister
2014-05-18 21:53:21 +02:00
Pavlos Touboulidis
6f3d9e9c97
Remove unused "Manifest" argument from World constructor
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
10b8093d5a
Rename ModInformation to ModMetadata
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
48d1dde8a7
Change comment about delayed actions
2014-05-17 14:32:03 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Paul Chote
03c3c3ae9b
Remove legacy renderers.
2014-05-02 23:38:47 +12:00
Pavlos Touboulidis
c28faffa45
Remove custom Stopwatch wrapper
...
Remove the redirection (that doesn't offer any new functionality)
and replace it with the familiar System.Diagnostics.Stopwatch.
2014-04-26 23:58:18 +03:00
Pavlos Touboulidis
603dd1d866
Style fixes
2014-04-24 13:46:06 +03:00
Pavlos Touboulidis
2d8cd8299f
Add more perf measurements
2014-04-23 03:43:46 +03:00
Pavlos Touboulidis
60732bd9bd
Repurpose unused Timer.cs and add some loading perf metrics
2014-04-23 01:58:30 +03:00
Pavlos Touboulidis
035834978d
Make Stopwatch.ElapsedTime() a property and TimeSpan
2014-04-23 00:56:07 +03:00
Matthias Mailänder
a8a3036bc4
moved StartGameNotification into its own trait
2014-04-20 15:25:43 +02:00
ScottNZ
22dd2b0a92
Add singleplayer mission menu to ra/td
2014-04-19 15:54:55 +12:00
Matthias Mailänder
9099e987d3
update to GeoIP2 and parse the database only once
...
closes #4227
2014-04-18 07:48:13 +02:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
8694698a1a
Fix tooltips not displaying in the pre-shellmap environment.
2014-04-03 07:15:03 +13:00
Paul Chote
f5f84244eb
Remove map download support.
2014-03-21 23:33:14 +13:00
Paul Chote
e4ca66ab31
Fix start-game UI acceleration.
2014-03-19 20:01:56 +13:00
Igor Popov
9145ef0ad3
dedicated fix: do not restart anymore with 1 client
2014-03-18 11:31:44 +04:00
Paul Chote
c30b18a9d6
Introduce MapCache and MapPreview for improved UI map previews.
2014-03-16 21:45:59 +13:00
Paul Chote
5daef851e8
Merge pull request #4822 from Mailaender/map-test
...
Added checks for all map.yaml with Travis
2014-03-14 23:01:26 +13:00
Paul Chote
7e9793fa90
Fix the timestep jank threshold.
2014-03-14 10:07:54 +01:00
Paul Chote
c21b27cddb
Add some more robustness against UI-introduced desyncs.
2014-03-14 10:07:54 +01:00
Matthias Mailänder
0d6517ec25
keep the catch up for small delays and truncate larger ones
2014-03-14 10:07:54 +01:00
Matthias Mailänder
3b78d6f343
use relative tick time intervals
2014-03-14 10:07:54 +01:00
Matthias Mailänder
212cf93ca4
separate World and Ui LastTickTime
2014-03-14 10:07:54 +01:00
Matthias Mailänder
0c20e38443
add a pause/slowdown/play/fastforward button for replays
...
closes #4633
2014-03-14 10:07:54 +01:00
Matthias Mailänder
c5ef9cbfb2
moved internal time step setting to Game
...
player should not be able change it as it is not synced yet
2014-03-14 10:07:32 +01:00
Matthias Mailänder
4ce31f39c6
lint check maps, too
...
closes #4187
2014-03-12 19:05:55 +01:00
Paul Chote
a7d6f717c4
Overhaul ingame timer displays. Fixes #3062 .
2014-03-12 17:19:06 +13:00
Igor Popov
ec50906296
map api: use new site and fallbacks
2014-03-06 00:39:49 +04:00
Igor Popov
9b7233ebd1
fix #3877 ;
2014-01-30 15:50:27 +04:00
Matthias Mailänder
14b264e553
Merge pull request #4432 from ihptru/download-map-with-name
...
closes #4405
2014-01-11 02:54:04 -08:00