abcdefg30
8ca61aa917
Updated all year numbers
2015-01-09 21:18:05 +01:00
Hellhake
5a97a4b63b
Fix StyleCop warnings in OpenRA.Game
2015-01-02 12:11:01 +01:00
Paul Chote
202247cf6a
Include no-extension workaround for FrameCache too.
2014-12-23 22:09:22 +13:00
RoosterDragon
d671e1de01
Create a separate FrameCache for caching sprite frames.
...
We split the caching SpriteLoader into a SpriteCache and FrameCache. SpriteLoader instead becomes a holder for static loading methods.
Only a few classes loaded sprite frames, and they all use it with a transient cache. By moving this method into a new class, we can lose the now redundant frame cache, saving on memory significantly since the frame data array can be reclaimed by the GC. This saves ~58 MiB on frames and ~4 MiB on the caching dictionary in simple tests.
2014-10-14 22:06:11 +01:00
Paul Chote
6a72e87028
Remove the remaining legacy sprite plumbing.
2014-10-07 09:55:50 +13:00
Paul Chote
9cf8328979
Add plumbing for mod-defined sprite loaders.
2014-10-07 09:55:49 +13:00
Paul Chote
7207841f8b
Use the existing SpriteLoader cache for tilesets.
2014-10-07 09:55:48 +13:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12: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
Pavlos Touboulidis
63ec6d60e7
Refactoring to remove static Rules & SequenceProvider
2014-05-17 14:32:03 +03:00
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12: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
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Paul Chote
acbd692de8
Add native support for the d2k R8 format.
2013-07-16 23:16:09 +12:00
Paul Chote
0e1c12131a
Generalize SheetBuilder overflow behavior.
2013-06-15 19:16:07 +12:00
Matthias Mailänder
881fcf1191
added in-game SHP viewer with frame slider
2013-05-15 18:13:33 +02:00
Paul Chote
891158ca44
Allow SheetBuilder to throw an exception on sheet overflow.
...
This removes unnecessary checks from TerrainRenderer
and will be used in the voxel renderer.
2013-05-15 20:18:41 +12:00
Matthias Mailänder
2d685ab07d
added SHP(TS) support by @katzsmile
2013-05-05 19:19:16 +02:00
Chris Forbes
f8122047b6
ShpLoader is no longer IEnumerable
2011-12-27 18:10:52 +13:00
Chris Forbes
bc6af1841b
fix indents everywhere
2011-10-18 15:10:17 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
6776d6f906
Load the main menu without loading mixes or creating a shellmap world. A giant hack.
2011-01-27 20:50:00 +13:00
Chris Forbes
848622054d
unstatic SpriteLoader
2011-01-26 21:09:07 +13:00
Chris Forbes
1d7f57941e
rename SpriteSheetBuilder to SpriteLoader; it's dumb otherwise
2011-01-26 21:07:54 +13:00