Commit Graph

256 Commits

Author SHA1 Message Date
Paul Chote
f92ce8bf51 Define a consistent interface for sprite loading. Fixes #4176. 2013-12-01 09:47:49 +13:00
Paul Chote
6d6d1e230b Remove runtime mod merging. Closes #3421. 2013-11-15 09:54:42 +13:00
ScottNZ
1394c1dcee Remove some misc redundancies 2013-11-12 19:39:39 +13:00
ScottNZ
00ec1ca87a Remove unused usings 2013-11-12 19:39:33 +13:00
ScottNZ
86a3e14f2d Remove constructor base() redundancies 2013-11-12 17:31:55 +13:00
ScottNZ
7c5f3cc0f1 Replace some Where-FirstOrDefault chains with a single call to FirstOrDefault 2013-11-12 17:21:31 +13:00
Matthias Mailänder
cdf44767a7 use StreamExts for LegacyMapImporter 2013-08-28 20:52:42 +02:00
Matthias Mailänder
ba13c1d982 StyleCop clean Map/*.cs files 2013-08-25 14:30:00 +02:00
Matthias Mailänder
d565413e4d Merge pull request #3687 from pchote/mapoptions
Lobby map option improvements.
2013-08-17 02:42:23 -07:00
Paul Chote
3fd64dfe52 Remove dead InitialCash setting from PlayerReference. 2013-08-17 14:42:43 +12:00
Paul Chote
f83ad88d2a Use Manifest.TileSize everywhere. 2013-08-15 17:43:12 +12:00
Paul Chote
f6d0ea4b0f Remove TileSet rendering code. 2013-08-14 23:08:25 +12:00
Paul Chote
18759e01cf Use TileSetRenderer in the editor. 2013-08-14 23:08:25 +12:00
Matthias Mailänder
2dbc4f4786 Stylecop clean Editor 2013-08-08 14:31:36 +02:00
Matthias Mailänder
79355bbb32 remove unused AssemblyInfos 2013-08-07 15:42:29 +02:00
Matthias Mailänder
f02bfbf0c2 disable StyleCop rules SA1115 and SA1116
closes #3562
2013-08-07 13:50:23 +02:00
Matthias Mailänder
a35a046ede disable more StyleCop rules based on @pchote's wishlist 2013-07-11 20:29:00 +02:00
Matthias Mailänder
8bb5b5700b added StyleCop support
with some rules we disagree with disabled
2013-07-08 19:42:32 +02:00
Paul Chote
e7aa6ce998 Change traits to use RenderSprites directly. 2013-05-28 22:34:58 +12:00
Paul Chote
656476991f Replace ColorRamp with HSLColor everywhere.
Fixes:
* Nuclear-purple color exploit.
* #3247.
* Removes a bunch of unnecessary color conversions every frame.

Caveats:
* The ramp range is now defined on the palette, so ramps can no longer be set per-player (may impact maps which define custom colors).
* It's no longer possible to perfectly recreate the original WW color ramps (I doubt we care).
* The old ColorRamp setting isn't migrated, so players will lose their color settings.
2013-05-10 19:23:30 +12:00
Matthias Mailänder
7a143d94f9 added an eraser toolbar button
to erase with left-click as in image editing programs
2013-04-02 11:54:41 +02:00
Matthias Mailänder
a55a902ba5 added switchable ruler markings to editor 2013-04-02 11:16:02 +02:00
Matthias Mailänder
e82dd025f6 added toolbar buttons for pan and zoom 2013-04-02 08:37:51 +02:00
Matthias Mailänder
918f27575d added total cash count to editor status bar 2013-03-29 23:20:52 +01:00
Matthias Mailänder
0a82bfe552 format TODO: uniformly to auto-generate task list in MonoDevelop 2013-03-27 09:45:17 +01:00
Matthias Mailänder
a0bd6f0d46 Map Editor beautification
- show full name + version of the loaded mod in titlebar
- added a help menu with useful links
- added icons to to the menu with tooltips
- added a toolbar to the editor, closes #2825
2013-03-26 15:42:44 +01:00
Scott_NZ
f7f307c3bf LegacyMapImporter: Remove Italy as it's a bogus country. Change Germany to black. Collapse some duplicate cases. 2013-01-08 22:44:05 +13:00
Scott_NZ
c10df031bd Convert classic waypoints to waypoint not mpspawn 2013-01-08 22:44:05 +13:00
Scott_NZ
a56228aba1 Add Italy country 2013-01-08 22:44:05 +13:00
Scott_NZ
1b09544314 Default to allies for neutral in ra, gdi in cnc 2013-01-08 22:44:04 +13:00
Scott_NZ
2dc18594a2 Handle RA with GoodGuy/BadGuy players 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
Curtis Shmyr
ac301b22e2 Editor - Template categories are now ordered by whats specified in the tileset yaml 2013-01-08 20:11:22 +13:00
Matthias Mailänder
7d4399d7cc fixes #2481
Don't save in system pathes because UNIX needs root and shipped maps
should not be changed. Use $HOME/maps/$MOD instead.
2012-12-04 10:06:42 +13:00
Matthias Mailänder
aad0b3d2d8 fixed wrong palette remapping for neutral buildings in editor
for TEMPERAT (fields) and DESERT (buildings, trees, rocks)
2012-11-26 12:21:50 +01:00
Matthias Mailänder
0690041347 fix most of the palette issues with RA desert in OpenRA.Editor
TODO: use the palette as defined in YAML;
defaults are wrong for DESERT rocks, trees, walls and ore mine
2012-11-19 14:53:25 +01:00
Matthias Mailänder
c75c72b525 made palette shadowindex configurable 2012-07-01 19:37:57 +12:00
Chris Forbes
007b2c5434 make click-without-drag feel better in editor 2012-07-01 18:37:46 +12:00
Chris Forbes
b8a932a084 try to make selection feel better 2012-07-01 18:31:46 +12:00
Curtis Shmyr
61c3932340 Selection tool / copy paste for editor 2012-07-01 18:23:46 +12:00
James Dunne
aac78773f4 Upgraded to VS2010 2012-06-26 20:39:56 -05:00
Chris Forbes
f10eb9e082 add category headers in editor 2012-06-26 19:58:04 +12:00
Chris Forbes
9966b4efd1 group tiles by category 2012-06-26 19:33:11 +12:00
James Dunne
fe5bcdeab9 Fix for PaletteFormat break in Editor. 2012-06-24 13:58:49 -05:00
James Dunne
9c49143534 New types for cell and pixel coordinate position/vectors. 2012-06-21 15:36:59 -05:00
Chris Forbes
e84d90fc3a more general tidying 2011-12-28 08:13:36 +13:00
Chris Forbes
d57dfd1997 tidy 2011-12-27 21:23:25 +13:00
Chris Forbes
6c027372ab fix naming of event handlers in editor 2011-12-10 09:08:31 +13:00
Chris Forbes
6bac11f071 fix formatting in editor.Form1 2011-12-10 09:08:31 +13:00
Chris Forbes
83929af62a tidy 2011-11-06 22:13:21 +13:00