Chris Forbes
3ab4112631
Merge remote-tracking branch 'pchote/cleanup'
2013-02-28 08:45:47 +13:00
Paul Chote
3a11aeb434
Cache PaletteReference in RenderSimple.
2013-02-26 09:35:41 +13:00
Paul Chote
dddec1ec61
Add INotifyOwnerChanged interface
2013-02-26 09:35:41 +13:00
Paul Chote
82426e0e45
Move Palette from ModData to WorldRenderer.
2013-02-26 09:35:41 +13:00
Paul Chote
3033eb8be0
Die with a helpful error if a palette doesn't exist.
2013-02-26 09:35:41 +13:00
Paul Chote
e9665cf9f3
Remove WorldRenderer.GetPaletteIndex.
2013-02-26 09:35:41 +13:00
Paul Chote
9bc743068a
Remove WorldRenderer.GetPalette.
2013-02-26 09:35:41 +13:00
Paul Chote
72a9954491
Simplify PaletteReference interface.
2013-02-26 09:35:40 +13:00
Paul Chote
f890ea010e
Pass WorldRenderer to RenderAsTerrain for palette lookup.
2013-02-26 09:24:43 +13:00
Paul Chote
5b360a7fe2
Use PaletteReferences in ShroudRenderer.
2013-02-26 09:24:43 +13:00
Paul Chote
55efd53ef7
Make RenderSimple.Palette protected.
2013-02-26 09:24:43 +13:00
Scott_NZ
b5bd6191c2
Don't crash (due to replay file being in use) if we have two instances of the game playing
2013-02-25 21:24:17 +13:00
Scott_NZ
3bc9e7d2e4
Fix some playerstatistics related crashes for other mods
2013-02-25 21:24:17 +13:00
Scott_NZ
026a86ba75
Add 'Crates' lobby checkbox and setting for enabling/disabling crate drops
2013-02-25 21:24:17 +13:00
Paul Chote
3380817865
Pass WorldRenderer to Render().
2013-02-25 21:11:33 +13:00
Paul Chote
0703f3f164
Extract auto-selection-size into its own interface.
2013-02-25 21:10:08 +13:00
Paul Chote
000a5eaa56
Pass WorldRenderer to IRenderModifiers and replace more palette lookups.
2013-02-24 15:45:03 +13:00
Paul Chote
48d713aafd
Pass a PaletteReference to RenderPreview.
2013-02-24 15:43:20 +13:00
Paul Chote
885eec7444
Move effects to WorldRenderer palette lookup.
2013-02-24 15:43:20 +13:00
Paul Chote
95871e6cc1
Add a cache of PaletteReferences to WorldRenderer.
...
I don't expect any perf improvements by using this
cache, as you're simply moving the row lookup from
render-time to fetch-time. However, this is a
cleaner abstraction, and allows us to fail early
if the palette doesn't exist.
2013-02-24 15:43:19 +13:00
Paul Chote
f0ba0ce2e8
Wrap palette references with a PaletteRef object.
2013-02-24 15:43:15 +13:00
Paul Chote
a166815348
Remove duplication between world/chrome shaders.
2013-02-23 09:53:46 +13:00
Paul Chote
35a149ea87
Apply consistent formatting to Renderer (no code changes).
2013-02-23 09:46:16 +13:00
Paul Chote
db7887687b
Remove hardcoded list of palette mod exclusions.
2013-02-22 15:04:41 +13:00
Scott_NZ
f4da36065f
Add ability to have randomised reports for weapons
2013-02-09 12:19:39 +13:00
Kenny
4f670d516d
Shroud creators now only temporarily block explored shroud.
...
On powerdown or removal from the game, any previously explored terrain will become visible once again.
2013-01-31 16:57:04 +13:00
Scott_NZ
8a32e5761c
Change map player clientindex to 0
2013-01-28 00:33:05 +13:00
Carko
4395a04d57
Asynchronous loading of map previews in the map chooser dialog
2013-01-18 11:00:56 +13:00
Matthias Mailänder
c5313375f0
pull mouse button preference from global property
2013-01-18 10:57:41 +13:00
Matthias Mailänder
b356cca528
improve the classic mouse behaivor
...
- don't require to deselect units to change selection
- fix issue with broken building placement on right-click orders
- don't select enemy units when left-click attacking
- build palette won't interfere with unit orders anymore
2013-01-18 10:57:41 +13:00
Matthias Mailänder
d52394bb47
add classic left-click orders
2013-01-18 10:57:40 +13:00
Carko
50f8465d1e
Removed mouse capture while composing text in chat ( fixes #2486 )
2013-01-09 16:47:39 +13:00
Sam Hegarty
0c104cfc3a
Add a 'Shutting down' state to the gameserver.
...
Tell the masterserver about it, so it can quickly remove games
from the list when they are finished, rather than waiting for the
5 minute TTL to expire.
2013-01-08 23:02:28 +13:00
Scott_NZ
baa7a58a10
Don't blow up if classic maps have Multi{0} in them either
2013-01-08 22:44:04 +13:00
Scott_NZ
bb5212d2bb
Fix classic SP maps failing to import into the editor
2013-01-08 22:44:03 +13:00
Scott_NZ
bfb07e9948
Add support for mission difficulties
2013-01-08 22:43:54 +13:00
Scott_NZ
0f9da06309
Have graph lines not draw over the axes
2013-01-08 22:42:45 +13:00
Scott_NZ
4ce6cabc46
Better numbers for the LineGraph y axis
2013-01-08 22:42:45 +13:00
Scott_NZ
b2b13b98b7
Use a default max value of 5000 on the line graph if it's too low
2013-01-08 22:42:44 +13:00
Scott_NZ
4c729ca5ed
Refactored GraphWidget to LineGraphWidget
2013-01-08 22:42:44 +13:00
Scott_NZ
a78f8865b8
Moved the graph widget into OpenRA.Game - it doesn't really have any dependencies on the RA mod
2013-01-08 22:42:44 +13:00
Scott_NZ
9753808936
Renamed OrderCounter to PlayerStatistics. Simplify income to simply earned/min.
2013-01-08 22:42:43 +13:00
Scott_NZ
d7f3b81e4c
Add Map Control statistic
2013-01-08 22:42:42 +13:00
Scott_NZ
36f349ecba
Add Order counter for rough APM estimation. Rename Support to Production and move the production icons there
2013-01-08 22:42:42 +13:00
Scott_NZ
30a374b9e9
Add total earned/spent tracking
2013-01-08 22:42:42 +13:00
Scott_NZ
1c584fb158
Consolidate the production icons into a single widget. Add income tracking for players.
2013-01-08 22:42:40 +13:00
Scott_NZ
83e1855919
Add indication of what players are building
2013-01-08 22:42:40 +13:00
Igor Popov
395aa0fc10
dedicated: never let Bot become an admin
2013-01-08 22:34:03 +13:00
Carko
e10920d4ea
Added the spawnpoint map tooltip that displays players name in the lobby ( closes #2024 )
2013-01-08 22:22:25 +13:00
Carko
914afa2dee
Removed StringSplitOptions.RemoveEmptyEntries when counting wrapped text lines
2013-01-08 22:11:56 +13:00