Commit Graph

416 Commits

Author SHA1 Message Date
Pavlos Touboulidis
98a05b61b3 Add metadata block to replays
The replay files are just streams all network communication so to
get any info out of them it is necessary to play back the stream
until the wanted information is reached.

This introduces a new metadata block placed at the end of the
replay files and logic to read the new block, or fall back to
playing back the stream for older files.

The replay browser is also updated to use the metadata information
instead of reading the replay stream directly.
2014-05-22 21:54:14 +03: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
Matthias Mailänder
589f5297d9 optimized frame limit sleep
* calculate idealFrameTime only when needed
* only create a new Stopwatch when needed
* disallow wait times > 1 second
2014-01-11 09:14:31 +01:00
Igor Popov
ca61536c15 map-downloading: use filename served by content-disposition as saving location 2014-01-06 13:41:12 +04:00
Matthias Mailänder
c2df142df4 don't hardcode the default mod here 2014-01-04 09:20:08 +01:00
Matthias Mailänder
3bf385b485 added a new Launch.Replay=$FilePath parameter
that does not persist in settings.yaml
2014-01-04 09:19:20 +01:00
Paul Chote
0143e8bfb8 Support rectangular tiles. 2013-12-29 14:16:20 +13:00
Igor Popov
12199da97f re-InitializeLoaders on Dedicated server restart, will fresh list of maps too 2013-12-24 22:23:57 +04:00
Paul Chote
b96c36f38f Fix most of the style violations in Game.cs. 2013-12-18 21:45:04 +13:00
Paul Chote
ff5cbc65c5 Throw a sensible exception when no renderers are available. Fixes #4322. 2013-12-18 21:42:45 +13:00
Matthias Mailänder
173b99c76a don't crash if max framerate is 0
fixes #4221
2013-12-06 14:48:32 +01:00
Paul Chote
6d6d1e230b Remove runtime mod merging. Closes #3421. 2013-11-15 09:54:42 +13:00
ScottNZ
1394c1dcee Remove some misc redundancies 2013-11-12 19:39:39 +13:00
Matthias Mailänder
bc133d199e StyleCop cleanup 2013-11-10 07:34:52 +01:00
Matthias Mailänder
0f17b03d7e try all available renderers from a prioritized list 2013-11-09 11:06:16 +01:00
Matthias Mailänder
eed38b3da4 fallback to defaults when something goes wrong 2013-11-09 11:06:16 +01:00
Paul Chote
6aee253c94 Fix a NRE in the exception handler. 2013-11-09 15:24:58 +13:00
Matthias Mailänder
f21f314bfe avoid magic number for replay duration calculation 2013-10-16 21:09:45 +02:00