Commit Graph

3038 Commits

Author SHA1 Message Date
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
Paul Chote
393b1bbc0a Remove ContrailFader when complete. Fixes #4302. 2013-12-13 22:36:30 +13:00
Paul Chote
45ccf0035e Only render the frozen actors that are visible. Fixes #4300. 2013-12-13 22:36:25 +13:00
Matthias Mailänder
0c199126cc Merge pull request #4289 from pchote/ore-spawn-fix
Don't spawn resources at maximum density.
2013-12-11 09:09:34 -08:00
Paul Chote
8c7f77d2c7 Convert SmudgeLayer to sequences. 2013-12-11 22:53:33 +13:00
Paul Chote
439d800f03 Don't spawn resources at maximum density. Fixes #4278. 2013-12-11 22:20:17 +13:00
Paul Chote
4d70996012 New shroud renderer. Fixes #2162. Fixes #3024. Fixes #4034.
Uses the original tile sprites in C&C and D2K and uses a smoother transition in all mods.
2013-12-11 20:51:49 +13:00
Paul Chote
4e814a8c2e Move ShroudRenderer into a trait. 2013-12-11 19:22:55 +13:00
ScottNZ
06a26e19ab Merge pull request #4277 from pchote/ore-fix
Remove custom terrain when clearing resources.
2013-12-10 01:01:51 -08:00
Paul Chote
fa067fa905 Remove custom terrain when clearing resources. Fixes #4272. 2013-12-10 16:52:41 +13:00
Paul Chote
b8e492eda6 Attempt to pick a more sensible starting map. Fixes #4273. 2013-12-10 09:15:56 +13:00
Paul Chote
18ccb50054 Merge pull request #4147 from Mailaender/cycle-hotkeys
Fixed and improved cycle hotkeys
2013-12-08 11:15:10 -08:00
Matthias Mailänder
5794e69d52 enforce Map.RequiresMod so we don't get suprised by breakages 2013-12-08 10:46:55 +01:00
Paul Chote
73f4f880cc Fix map Options serialisation. Fixes #4107. 2013-12-08 11:18:58 +13:00
Paul Chote
510e812c02 Bump the map format 5 -> 6.
Version 6 ensures that maps define RequiresMod.
2013-12-08 11:18:58 +13:00
Paul Chote
f5f6f1e7aa Allow maps to be saved during initialisation. 2013-12-08 10:38:35 +13:00
Matthias Mailänder
b72ea8c227 added a new hotkey to cycle production buildings except conyards 2013-12-07 12:20:10 +01:00
Matthias Mailänder
bcba26a04e don't hardcode SHIFT modifier for backwards tab cycle
closes #4144
2013-12-07 12:19:32 +01:00
Paul Chote
af17cb2c0c Merge pull request #4234 from Mailaender/minimap-utility
Added a minimap renderer to OpenRA.Utility.exe
2013-12-06 11:52:19 -08:00
Matthias Mailänder
173b99c76a don't crash if max framerate is 0
fixes #4221
2013-12-06 14:48:32 +01:00
Matthias Mailänder
afb83e3007 Merge pull request #4241 from pchote/spice
Polish D2K spice rendering.
2013-12-06 02:43:23 -08:00
Matthias Mailänder
4b70448823 reorder hotkeys
the way they appear in the GUI and similiar ones together
2013-12-06 11:26:54 +01:00
Matthias Mailänder
08166c0a64 added a new hotkey to select all units on screen
closes #4182
2013-12-06 11:26:52 +01:00
Paul Chote
410cd1c7b1 Reorganise ResourceLayer implementation. 2013-12-06 22:24:07 +13:00
Matthias Mailänder
8d9282811b fixed System.IO.InvalidDataException`: Non-power-of-two array 2013-12-05 19:31:24 +01:00
Matthias Mailänder
5a4fc712a9 added --minimap to OpenRA Utility
closes #4195
2013-12-05 17:41:03 +01:00
Paul Chote
701e9e2684 Remove TextField focus when becoming disabled. Fixes #4153. 2013-12-04 08:53:29 +13:00
Matthias Mailänder
7fac962c09 Merge pull request #4185 from pchote/frame-rework
Rewrite sprite handling.
2013-11-30 14:46:54 -08:00
Paul Chote
6881dcc710 Fix UI rendering of offset sprites. 2013-12-01 09:49:27 +13:00
Paul Chote
314f819940 Load terrain from any SpriteSource. 2013-12-01 09:49:25 +13:00
Paul Chote
e4fe2b49f4 Make terrain tiles ISpriteSources. 2013-12-01 09:48:42 +13:00
Paul Chote
f92ce8bf51 Define a consistent interface for sprite loading. Fixes #4176. 2013-12-01 09:47:49 +13:00
Paul Chote
20a6c75ba4 Rewrite ShpTSReader. Closes #3746. 2013-12-01 09:47:49 +13:00
Paul Chote
5b947090f4 Use the normal extension checking rules for .r8. 2013-12-01 09:47:49 +13:00
Paul Chote
f153516151 Introduce proper support for non-shp sprites in cursors and ShpImageWidget. 2013-12-01 09:47:48 +13:00
Paul Chote
01155a655a Allow empty sprites to be allocated. 2013-12-01 09:47:48 +13:00
Paul Chote
0fe839add0 Move HealthExts.IsDead and Kill to Actor. 2013-12-01 00:14:47 +13:00
Paul Chote
925d53484f Merge pull request #4179 from ScottNZ/lua
Lua stuffs
2013-11-29 14:17:17 -08:00
ScottNZ
6a14434cff Add a CenterPosition helper to Viewport 2013-11-29 23:01:50 +13:00
ScottNZ
e4e6169f7f Add a function to World for setting just the local pause state, and add a lock variable to prevent further pause state changes 2013-11-29 23:01:18 +13:00
Paul Chote
54c81eb2c7 Merge pull request #4156 from reaperrr/widgets04
Improved Widget text customizability rev.2
2013-11-27 00:47:00 -08:00
Curtis Shmyr
d30f60809b Added 2 settings for unit health bars: always show unit health, and team health bar colors 2013-11-24 12:12:52 -07:00
reaperrr
1f789b4296 var instead of SpriteFont on TimerWidget. 2013-11-22 13:49:18 +01:00
reaperrr
09606e8ffd Moved duplicate float2 before if as suggested. 2013-11-22 13:36:22 +01:00
reaperrr
4c92280b7e Moved duplicated int2 in ButtonWidget before if as suggested. 2013-11-22 13:34:46 +01:00
Paul Chote
7777a3673e Merge pull request #4148 from Mailaender/rank-hardening
Hardened the new Rank effect against crashes
2013-11-21 23:53:21 -08:00
reaperrr
f9c2e90c6b Moves TextFieldWidget defaults to metrics.yaml. 2013-11-19 01:42:16 +01:00
reaperrr
e73b3705c6 Moves defaults for HotkeyEntryWidget to global settings in metrics.yaml. 2013-11-19 01:41:32 +01:00
reaperrr
394a2b5166 Makes ButtonWidget and Widgets based on it more customizable, sets defaults in metrics.yaml. 2013-11-19 01:39:57 +01:00