RoosterDragon
2e992a7310
Changed MiniYaml.NodesDict property into a method.
...
Method is now called ToDictionary.
- Cached a few invocations into locals which should prevent some redundant evaluation.
- Added ToDictionary overloads that take projection functions for the keys and elements, since several callsites were doing a subsequent Linq.ToDictionary call to get this.
2014-06-09 17:06:42 +01:00
Pavlos Touboulidis
ca44be7b2e
Only update the loading screen from the main thread
...
Fixes the crash experienced by pchote. It's a hack but it's easy
to get rid of and it will have to do for now, until the messy
LoadScreen gets fixed.
2014-05-17 14:33:17 +03:00
Pavlos Touboulidis
5bbf442cd0
Remove reference to Game.modData
2014-05-17 14:33:16 +03:00
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Matthias Mailänder
59ace5d01b
new shorthand Exts.(Try)ParseIntegerInvariant
2014-05-13 14:16:41 +02:00
Matthias Mailänder
b19d286f56
parse with NumberFormatInfo.InvariantInfo everywhere
...
closes #5240
2014-05-06 18:31:48 +02:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Matthias Mailänder
0a84ddc8fb
fix d2k cursors
...
- center by default (also works better for ra/cnc/ts)
2013-08-17 23:31:24 +02:00
Paul Chote
7beef85a64
Use PaletteReferences everywhere.
2013-06-15 19:16:08 +12:00
Matthias Mailänder
acc8cd1e5e
fixes #2885 forgot to enable the cursor palette before drawing
...
split HardwarePalette.Update into two functions, closes #2847
2013-04-06 08:44:32 +02:00
Matthias Mailänder
851512a84e
eliminate public CursorProvider.Palettes
...
don't hand over the cursor palette to the world renderer at all
still update worldrender palette (set and apply modifiers)
2013-03-25 06:30:39 +01:00
Matthias Mailänder
ba12aafd78
refactor cursor rendering
...
create a new cursor palette only once and not in WorldRenderer
move cusrsor sequence lookup and drawing to CursorProvider
2013-03-24 21:21:30 +01:00
Paul Chote
82426e0e45
Move Palette from ModData to WorldRenderer.
2013-02-26 09:35:41 +13:00
Paul Chote
db7887687b
Remove hardcoded list of palette mod exclusions.
2013-02-22 15:04:41 +13:00
Matthias Mailänder
c75c72b525
made palette shadowindex configurable
2012-07-01 19:37:57 +12:00
Matthias Mailänder
26b75f406f
new settings Transparent for cursors.yaml
2012-06-19 07:43:06 +02:00
Matthias Mailänder
7cbed30dc6
fix cnc palette issues
...
cursor not supporting transparency; wrong icon, fx palette
2012-06-18 17:40:22 +02:00
Matthias Mailänder
801ff5cc17
make cursor always transparent, fix Arrakis tileset
...
transparency bugs some cnc cursors, slice BLOXBASE better
2012-06-15 11:06:59 +02:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
ca81871b7b
fix broken merging of yaml overrides in maps; we now have a strict mode and a liberal mode.
2011-04-09 10:55:54 +12:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
5ce5d48b04
Extracting packages
2011-01-27 20:50:01 +13:00
Paul Chote
ea9003d6fc
Port cursors to yaml.
2011-01-27 20:50:00 +13:00
Paul Chote
6a90f00298
Start tidying things up
2011-01-27 20:50:00 +13:00
Paul Chote
dbbdc171d2
Use the new-format sequences.
2010-09-09 20:31:53 +12:00