Commit Graph

621 Commits

Author SHA1 Message Date
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
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