Commit Graph

171 Commits

Author SHA1 Message Date
Chris Forbes
a34b2d8c53 combine tileset.{Tiles,Templates}; image data now accessed via Templates[].Data 2011-10-11 08:06:23 +13:00
Chris Forbes
1f1c2b25b0 move RenderTemplate onto TileSet 2011-10-11 08:06:23 +13:00
Chris Forbes
eaf15fa6b5 tidy in TileSet 2011-10-11 08:06:23 +13:00
Chris Forbes
5ced7e270c fixed #536 -- add grid to editor 2011-10-07 09:34:23 +13:00
Chris Forbes
55036cd58c fix trailing whitespace everywhere 2011-09-26 08:40:39 +13:00
Paul Chote
17d72f17d9 Add an EditorTilesetFilter trait for filtering the actor palette based on tileset. 2011-07-27 13:36:47 +12:00
Chris Forbes
f84312acb9 add editor hack for fixing open areas in existing ra maps 2011-05-30 21:59:25 +12:00
Chris Forbes
b792d07c8c start reworking player setup 2011-05-22 21:33:34 +12:00
Paul Chote
b0425aff3b Renormalize line endings and fix copyright headers again. 2011-04-07 21:15:42 +12:00
Paul Chote
5d762b1f9c Fix root cause for `world owned by creep' bugs 2011-03-29 21:13:01 +13:00
Chris Forbes
772b3a2f9d only add Neutral player if it doesnt exist in the map definition. 2011-02-28 22:46:24 +13:00
Chris Forbes
12f8200a0b rename another handler in editor 2011-02-28 22:24:02 +13:00
Chris Forbes
4b853ca9e8 fix another issue with the importer -- it didnt bother to restore the current directory if canceled 2011-02-28 22:23:16 +13:00
Chris Forbes
88436bda45 add ability to throw nonfatal errors in the map importer, and display them. 2011-02-28 22:19:02 +13:00
Chris Forbes
8d99652eea add option to show actor names in the editor 2011-02-28 20:36:33 +13:00
Paul Chote
ecf866f28a Allow editor to load a map via commandline. 2011-02-23 21:55:52 +13:00
Chris Forbes
3e28fce7ba remove various leftover crap from editor 2011-02-15 16:18:14 +13:00
Paul Chote
094907c1a9 Update copyright header. Normalize line endings to LF. 2011-02-13 10:38:57 +13:00
Paul Chote
b134ba41f4 Convert Waypoints to actors 2011-02-11 21:50:11 +13:00
Paul Chote
6ef330c357 Fix Waypoint == Startpoint assumption in MapFormat 5. 2011-02-11 21:50:10 +13:00
Paul Chote
fae355f5b6 Add support for a "Creeps" faction that is hostile to all combatant players. Add a mod field to be used for map installation. 2011-02-11 21:50:10 +13:00
Chris Forbes
1dc8de3fc1 split out hardcoded editor tools into ITool impls 2011-01-30 14:23:05 +13:00
Chris Forbes
1e241ebd56 fix editor init 2011-01-28 18:37:00 +13:00
Chris Forbes
add5c0ee6d restore ability to force mod on commandline in editor 2011-01-28 18:10:40 +13:00
Chris Forbes
95e259db3b slightly clean up usings 2011-01-28 18:07:07 +13:00
Matthew Bowra-Dean
5d623b6ca8 Add mod selector to map editor. 2011-01-28 08:49:33 +13:00
Chris Forbes
abeffbbbf7 fix a bunch of errors in the editor; fix minimap export to not suck 2011-01-04 13:45:10 +13:00
Paul Chote
b7975031bc Wire up most of saving again. 2010-12-29 22:13:51 +13:00
Paul Chote
e652a15b01 Remove some duplication 2010-12-29 21:41:04 +13:00
Paul Chote
829fe6530a Start fixing the editor 2010-12-29 19:03:45 +13:00
Matthew Bowra-Dean
13f6a13ad9 Write maps to zip file from editor 2010-12-28 22:36:08 +13:00
Chris Forbes
44e668e804 choose a random map with MapStub.UseAsShellmap as the shellmap, rather than hardcoding a sha1 in mod.yaml; add editor support for the new flag too. 2010-12-28 19:13:56 +13:00
Chris Forbes
7d61e75862 #413 fixed 2010-12-20 19:38:28 +13:00
Paul Chote
fc5830a687 Added int2.Clamp(Rectangle). All queries for map geometry use map.Bounds. 2010-11-24 12:24:48 +13:00
Paul Chote
de8603832f Use Map.Bounds instead. 2010-11-24 11:12:37 +13:00
Paul Chote
00dc91cf49 Standardise Theater -> Tileset. 2010-11-24 10:09:51 +13:00
Chris Forbes
4aa1fb4b86 refactor mouse position label hooking for Surface 2010-11-02 11:16:30 +13:00
Matthew Bowra-Dean
4490a90332 Changed IFolder implementations' priorities to be based on listing order in mod.yaml 2010-10-28 22:21:54 +13:00
Caleb Anderson
253ccd6d9b Status bar with mouse position in editor 2010-10-25 08:16:07 +13:00
Paul Chote
fc07f90f91 Fix editor 2010-10-16 12:06:29 +13:00
Chris Forbes
a2205e9031 fix some dumb (nonfatal) crashes in the editor with nothing loaded 2010-10-11 18:21:41 +13:00
Chris Forbes
1f047d439f back out editor icon hack -- it breaks the packaged editor on windows 2010-09-22 19:26:09 +12:00
Bob
e390cf8ab0 fix real-ra map importer when map isn't in game root 2010-09-22 08:02:15 +12:00
Iran
2f8d81a0f7 Fix OnFormClosing's MessageBox.Show under mono, unix newline and Environment.Newline didn't work, but Windows newline does work 2010-09-19 22:39:00 +02:00
Iran
46486073ab Display icon while running the Editor under mono, cant test it on windows 2010-09-19 19:31:10 +02:00
Chris Forbes
0330ef2b9e blah 2010-09-18 19:57:45 +12:00
Chris Forbes
ce78944a9e more editor hax 2010-09-18 13:30:12 +12:00
Chris Forbes
1fb336b7da unwtf the editor a bit 2010-09-18 13:26:45 +12:00
katzsmile
e4d05407d9 Added export minimap to PNG. Hided unfinished Tools and Bitmap import menus.
Added hack to render building roofs of they have same name but have "2" in name. (weap and weap2)

Signed-off-by: katzsmile <katzsmile@lead-games.com>
2010-09-18 12:56:08 +12:00
Paul Chote
d530cf22da Include resources in the editor preview. 2010-09-17 09:09:36 +12:00