Commit Graph

33 Commits

Author SHA1 Message Date
titison 98c8cab708 MapEditor: Reworked resize function 2021-05-09 12:21:49 +02:00
titison 0201af7ccf Editor: Brush preview and Shift-Key for filling brush
Editor needs to render more often for the preview function.
2021-03-19 16:06:38 +01:00
titison 880730e5e1 Editor: Import Heightmap from image
Function similar to MuwuMs tool https://forum.megaglest.org/index.php?topic=8353.0
Image is resized to the dimensions of the map. Changes in the ratio only work with some image formats (png,jpg) wxWidget bug?
2021-03-16 15:19:40 +01:00
andy5995 9534943a9c fix spelling of "Divider" that shows in map editor
also changed the corresponding variable names
2017-02-15 13:47:53 -06:00
SoftCoder 236b95fc0d - fix map editor in wx 3.0.2 2016-01-22 17:49:35 -08:00
SoftCoder 86a59859b9 - atempt to cleanup use fo auto_ptr 2016-01-18 13:20:49 -08:00
titiger 82bc650372 fix windows build and --help output 2015-02-11 00:26:03 +01:00
titiger 4c5440f78c map editor has much more powerful random height function
You can give parameters now, to influence the map height calculation.
2015-02-10 02:06:02 +01:00
titiger b4fabc2717 map editor: new maps set player name as default author 2015-02-09 00:41:42 +01:00
titiger 3c85b0fb25 forgot one place with default cell size 2015-02-09 00:28:32 +01:00
titiger 546d0112b4 Map editor starts with 8 players per default and uses a zoom of 5.
Maps without players crash the map editor on loading and make no sense anyway.
Zoom factor is set to 5 instead of 6 now, to ensure you see the full default 
map on startup
2015-02-08 23:32:05 +01:00
Titus Tscharntke d2f0591bfa patch from titi_son showing the map coordinates in the map editor 2013-10-02 22:26:06 +00:00
Mark Vejvoda bd4e2c8724 applied heightmap addition to map editor -> thanks muwum 2013-06-21 18:21:07 +00:00
Mark Vejvoda 2c1b181bc7 a bunch more code cleanup from cppcheck 2013-05-26 06:03:32 +00:00
Mark Vejvoda 748763f0f1 code cleanup based on cppcheck results 2013-05-17 05:21:14 +00:00
Mark Vejvoda d0006db4a1 - updated for debian compliance 2012-11-15 07:50:43 +00:00
Mark Vejvoda 9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Titus Tscharntke d28b47ffb1 diagonal flipping 2011-05-24 00:58:21 +00:00
Mark Vejvoda 1085f24c6f - more updates to handle unicode (most of the focus was getting tools working in windows using non ascii file paths) 2011-05-23 19:23:00 +00:00
Titus Tscharntke 922df8e025 up to 36 units selectable; maps can set camera heigth now ( be careful with this for performance reasons! ) 2011-02-25 00:31:42 +00:00
Titus Tscharntke e03b029bea Cliffs work and some map cleanup; ( !!currently old maps are broken in editor!! ) 2011-02-08 03:50:59 +00:00
Mark Vejvoda d4370675be - added null checks for map editor 2011-01-29 21:44:09 +00:00
nosogo 8c115809ce editor: shift map + mirror do player positions 2010-12-06 20:13:27 +00:00
nosogo f545edad68 more fixes for editor 2010-12-05 01:33:28 +00:00
nosogo 04aee1098d update of editor and g3dviewer 2010-12-03 05:07:42 +00:00
Mark Vejvoda d5117ed7fa - cleaned up a whole pile of compiler warnings 2010-10-21 07:20:17 +00:00
Mark Vejvoda b95e2247cd - moved map render logic into a shared base class 2010-09-14 06:02:35 +00:00
Mark Vejvoda 0f5cd740a6 - moved game map entity into a shared source file in shared lib, which is now shared by the main game and the map editor 2010-09-14 00:43:09 +00:00
Titus Tscharntke acf4bebba6 GAE map editor ported to megaglest 2010-05-04 00:22:11 +00:00
Mark Vejvoda 43c3f2457e Code Restructuring to make mega-glest more standard 2010-03-12 05:20:53 +00:00
Titus Tscharntke 3041efaa77 Objects and ressources under the mouse are displayed.
Hitting space can be used to select the brush for objects/ressources currently under the mouse.
2010-03-08 00:28:42 +00:00
Titus Tscharntke 983d8475c9 mapeditor from GAE ( removed macro stuff and so on ) 2010-03-07 17:25:42 +00:00
Titus Tscharntke 0ce9b5fcac initial version ( megaglest 3.2.3-beta3 ) 2010-01-22 01:45:58 +00:00