RoosterDragon
b733465f33
General uncontroversial cleanup:
...
- Made private methods static where possible (runtime can elide checking the object for null).
- Declared attribute classes as sealed (allows reflection on attributes to complete faster).
- Moved some static cctor's into field initializers (static cctor's are slower than static field initializers).
- Made classes static if they contained only static methods (can't create instances of useless objects).
- Use inferable Exts.Lazy and not new Lazy<T>().
- Added required STAThread attribute to CrashDialog.
- Removed unused parameters in private methods.
- Added Serializable attribute to exceptions.
- Added parameter name in calls to ArgumentNullException.
- Use of as operator instead of is + cast.
- Changed (x as Foo).Bar anti-pattern into ((Foo)x).Bar. Results in sensible cast exceptions on error rather than null dereferences.
- Removed unused method in NullShader.
2014-05-23 15:50:54 +01:00
Pavlos Touboulidis
44c01bbaa2
Remove TileSetData and separate TileSet from Sequences
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
Paul Chote
4935266945
Merge FileFormats dll into Game and reorganise namespaces.
2014-04-17 01:20:47 +12:00
Paul Chote
bf0c7297e2
Clean up the AssetBrowser logic.
2014-04-02 19:24:07 +13:00
Matthias Mailänder
74b24c0f8d
display TMP files in the asset browser
2014-01-04 14:41:07 +01:00
Paul Chote
1cb4d11dc0
Sort asset browser list by filename.
2013-12-29 14:16:20 +13:00
Paul Chote
1e7f436448
Overhaul asset browser.
2013-12-01 11:28:50 +13:00
Matthias Mailänder
dd848ddd11
PaulCop clean
2013-11-17 22:43:59 +01:00
Matthias Mailänder
e981275cb1
added a palette chooser and colorpicker dropdown to the browser
2013-11-17 21:27:47 +01:00
Matthias Mailänder
d9ac907315
abbreviate the user support folder as in mod.yaml
2013-11-17 17:22:20 +01:00
Matthias Mailänder
6171ea7cf3
harden asset browser against invalid user input and allow R8
...
closes #3980
2013-11-17 17:19:47 +01:00
Matthias Mailänder
f6bd53c15e
StyleCop
2013-11-17 16:09:23 +01:00
Matthias Mailänder
d973ed307f
don't crash the asset browser when loading sprites with 1 frame
...
closes #4125
2013-11-17 16:07:32 +01:00
Paul Chote
6d6d1e230b
Remove runtime mod merging. Closes #3421 .
2013-11-15 09:54:42 +13:00
ScottNZ
00ec1ca87a
Remove unused usings
2013-11-12 19:39:33 +13:00
Paul Chote
d9fab238d5
Show individual packages in the asset browser list.
2013-05-19 19:16:15 +12:00
Matthias Mailänder
be3b18057a
replace PackageContent yamls with XCC database
2013-05-18 07:34:49 +02:00
Matthias Mailänder
2d1bc7bac8
adapt asset browser for R8 files
2013-05-15 18:13:40 +02:00
Matthias Mailänder
6262aa846f
wire up the import from PNG to SHP button
...
store everything in user directory to not junk up the game
and for file permissions on Mac/Linux when installed
2013-05-15 18:13:39 +02:00
Matthias Mailänder
8f822f6cad
game asset browser UI polishing
...
- display file extension
- show total frame count
- dark background for preview
2013-05-15 18:13:39 +02:00
Matthias Mailänder
0c1b6f21b9
add a dump everything to PNG options for @xanax
2013-05-15 18:13:39 +02:00
Matthias Mailänder
7f40f59d85
added button to extract the selected SHP and convert it to PNG
2013-05-15 18:13:39 +02:00
Matthias Mailänder
6a6776754b
added .mix file support for game asset browser
2013-05-15 18:13:39 +02:00
Matthias Mailänder
3ae61c5f8c
added the game asset viewer to d2k mod
2013-05-15 18:13:38 +02:00
Matthias Mailänder
881fcf1191
added in-game SHP viewer with frame slider
2013-05-15 18:13:33 +02:00