Commit Graph

118 Commits

Author SHA1 Message Date
Jammyjamjamman b405ce86ca Get map editor and model viewer building with VS cmake builds
* Map editor and model viewer build, but only as "Release" build.
* Unwanted flags not set for msbuild, such as FPIC, -g3, -O3, -sse...
* Wanted flags set for msbuild e.g. /arch:SSE2 /fp:fast -D__SSE__
-D__SSE2__
* Allow including wx, used for vcpkg wx.
* Mapeditor is WIN32 exe for VS_BUILD. (Not sure why this is needed...)
* g3d viewer and map editor mains edited to remove unnecessary windows-
only code(, for strings).
2022-08-24 23:26:24 +01:00
Jammyjamjamman 789e1cdf37 Fix editor and g3dviewer for wx 3.1.x
glCanvas args struct needs to be null terminated.
https://trac.wxwidgets.org/ticket/19193#ticket
fixes iss #207.
2021-06-04 22:08:18 +01:00
titiger fbd0cfb17e get rid of manual wxPaintEvent creation 2021-05-29 02:41:40 +02:00
titiger e09ba53c43 get rid of manual wxPaintEvent creation 2021-05-29 02:12:38 +02:00
titison a700ced734 Editor: Heightmap Export function (small fix for import function)
Not without loss because megaglest uses floats for height
2021-05-16 15:16:22 +02:00
titison 98c8cab708 MapEditor: Reworked resize function 2021-05-09 12:21:49 +02:00
titiger 86de5f12f5 Don't change map save dir when selecting heightmap 2021-03-20 15:16:59 +01:00
titison b4510aa412 Editor: It's 2021 ;) 2021-03-19 16:11:32 +01: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 7ce848505b
map editor/main.cpp: mark this stone as unharvestable
This makes it more clear that this particlular stone is unharvestable.
Usually people can figure it out after their map has unharvestable stone
where they wanted harvestable stone to be, but this maybe will help new
map-makers.
2019-05-06 01:11:29 -05:00
titiger 12998eb10f bugfix for "save as". see #177 2017-12-18 01:43:29 +01:00
SoftCoder 588ec21d8a - more cppcheck cleanup, AND some new inernal steam commandline parameters to reset stats and enable debugging 2017-10-09 23:09:52 -07:00
Mark Vejvoda 0bca1e8eed Merge pull request #163 from susnux/develop
Fix build with wxWidgets 3 (wxString to std::string)
2017-09-23 02:27:06 -04:00
filux ef1c26d931 improved formatting of '--help' output in a way to be more friendly for help2man 2017-04-01 14:53:34 +02:00
Ferdinand Thiessen 5e683511e3 Fix build with wxWidgets 3 (wxString to std::string) 2017-03-11 14:21:12 +01:00
filux c81dea0029 version number for the development 2017-03-08 21:44:28 +01:00
filux 4846ad092e version number for the release 2017-03-08 21:29:45 +01:00
filux 812589cae6 improved 'start_megaglest_gameserver' script 2017-03-05 17:31:25 +01:00
titiger da48cfe9ce fix for #148 2. 2017-02-20 01:02:51 +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 b9a0a31127 - fixed Issue #146 2017-02-05 14:03:35 -08:00
filux bcb8d197d3 fixed some typos [ci skip]
https://lintian.debian.org/full/pkg-games-devel@lists.alioth.debian.org.html#megaglest
2016-02-19 21:17:31 +01:00
titiger 3a4a6143d2 fixed ctrl-s and maybe more menu shortcuts
Beside of this I removed some never used complicated key shortcuts 
noone knows anyway.
2016-01-31 02:25:24 +01:00
filux 570a49164e version number returns to 'dev' 2016-01-24 15:46:49 +01:00
filux aa2d9f7de4 version number for release 2016-01-24 12:00:38 +01:00
titiger 1385f3fea2 trying to fix map editor for wxwidget 2.8 too 2016-01-23 19:05:32 +01:00
SoftCoder 06cc22fd8f - fix wx 2.8 support 2016-01-22 22:33:08 -08:00
SoftCoder 236b95fc0d - fix map editor in wx 3.0.2 2016-01-22 17:49:35 -08:00
SoftCoder 1f8096ff81 - finally foudn and fixed color picking crash! 2016-01-18 23:25:31 -08:00
SoftCoder 0d8377d6b4 - try to fix mac build 2016-01-18 15:29:16 -08:00
SoftCoder 86a59859b9 - atempt to cleanup use fo auto_ptr 2016-01-18 13:20:49 -08:00
filux 92f97c13bd updated year [ci skip] 2016-01-03 10:52:16 +01:00
SoftCoder 88c536a8c6 - fixed issue #75 (map editor file->new refreshes afterwards) 2015-10-26 17:26:42 -07:00
filux b50efbb75e updated version number for development 2015-03-09 01:05:24 +01:00
filux 90c307182e updated version number for release 2015-03-09 00:34:59 +01: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 17a412aa9a MegaGlest maps end with .mgm per default now.
As they are not really compatible with .gbm files anyway ( cliffs for example ),
we call maps *.mgm now per default. Its still possible to load *.gbm files
2015-02-09 00:30:43 +01:00
titiger 615cac7138 Merge pull request #54 from filux/feature/new-version-management
changed version number management and same versioning for game, map-editor and g3dviewer
2015-02-02 22:37:04 +01:00
filux e324a8f75c updated version numbers 2015-02-02 22:23:22 +01:00
titiger 17cc8a1589 better help text for map editor 2015-02-02 20:49:36 +01:00
titiger 26fad480c6 lets see if this fixes the map editor trouble with 2.8.x wxwidget in linux 2015-01-23 23:52:18 +01:00
SoftCoder c21317a5f4 - attempt to further stabilize g3d viewer end map editor 2014-11-29 17:44:22 -08:00
SoftCoder 6faa3dc725 - see if this improves stability of the map editor in newer wxwidgets 2014-11-28 23:49:16 -08:00
Mark Vejvoda 9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda b74271348c - bugfix for map editor hanging on some windows installations 2013-11-17 22:42:51 +00:00
Titus Tscharntke 0eeb526e27 it should show the y coordinates too ;-) 2013-10-02 23:48:16 +00: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