Commit Graph

813 Commits

Author SHA1 Message Date
Jammyjamjamman 1e8ff3642c Cmake: Add build configuration for VS builds
* Build vs 2019 project using cmake.
* Cmake configured to work in windows. Hopefully still works in linux
too!
* Update vcpkg install script.
* Configures build for MG game release or debug mode.
* Still need to fix building mapeditor and g3d viewer.
* Remove CurlGetConfig.cmake (not needed!)
2022-08-24 23:26:24 +01:00
titison 98c8cab708 MapEditor: Reworked resize function 2021-05-09 12:21:49 +02:00
titiger 69b379201c revert "only selectable"
Because the same effect can be done with an object or plane with fully
transparent texture.
2021-04-10 22:43:28 +02:00
titiger 3fcaa22d10 fixed double-sided switch and only-selectable
doublesided switch in blender 2.9x did not work before, it was always
rendered single sided in MG.
I added a new switch only-selectable which allows to create unvisible
but selectable meshes. This helps with selection of small units which
can now have an unvisible  hand craftet select object around them for
example..
2021-04-05 23:32:17 +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
titiger d28db00a1a Code cleanup void methods should not return anything ... 2020-12-13 13:22:04 +01:00
Jammyjamjamman 5a35205402 Add ftp fixes 2020-06-20 19:30:01 +01:00
SoftCoder ab3b70f36a - fix windows build and better automation for building steam shim 2017-10-09 23:53:43 -07: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
SoftCoder 865a665bf0 - round 2 of cppcheck code cleanup 2017-10-09 20:21:14 -07:00
SoftCoder 26581a77d2 - first round of cleanup from cppcheck report 2017-10-09 19:09:36 -07:00
SoftCoder 9b0a04f126 - try slightly different way to protect mutex list 2017-10-07 11:48:34 -07:00
SoftCoder 9274f2b5e2 - try to fix a memory leak 2017-10-07 11:14:26 -07:00
SoftCoder a413fb5c31 - attempt to protect cache manager mutex creation behind a static mutex 2017-10-07 11:04:52 -07:00
SoftCoder b34003b4a5 - enable using steam statistics to save players network based game end game stats to steam 2017-10-07 02:40:34 -07:00
SoftCoder 36bc6a4497 - initial work to integrate theam SDK with megaglest 2017-09-23 17:15:44 -07:00
SoftCoder 5d0f5013fd - allow using new cmake var for finding glest.ini called MG_CMAKE_INSTALL_PREFIX to solve issue #167 2017-09-22 23:21:40 -07: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
titiger 2133b8fd07 show megaglest version in irc WhoIS 2017-03-11 23:57:44 +01:00
andy5995 b158d0cbbb change "scenario" to "tileset"
Geany auto-removed some whitespace. The only code change
here is on L326.

The mention of "scenario" was already used for the
--validate-scenario option. It's duplicated under
the --validate-tileset option. This patch corrects that.
2017-02-25 00:59:37 -06:00
SoftCoder 8195121fca - Check for packaged streflop and use it before using embedded copy 2017-02-05 16:48:50 -08:00
titiger f3c436b67f force playing important sounds
see issue #144
2017-02-02 02:54:29 +01:00
SoftCoder 6f350d6319 Fix issue #116 - when fonts deleted and reloaded signal back immediately to all registered controls to refresh their font 2017-01-30 11:20:01 -08:00
titiger cc64196c6b alt+enter #138
Fast toggle on alt+enter and key repeat are different things.
This here should fix the alt+enter issue.
2016-11-09 23:25:59 +01:00
titiger 6c2f722f30 reverting some things related to alt+enter
real reason is false behaviour of static bool isUnprintableChar().
More tests needed.
2016-11-09 00:09:55 +01:00
titiger 4a85b17794 fiddling around with #138 2016-11-06 22:00:51 +01:00
titiger 0c3c636064 Trying to fix the fast fullscreen/windowed toggling 2016-11-06 18:24:11 +01:00
Monwarez 79e00dfcad Don't init force feedback if not used 2016-10-28 17:33:38 +02:00
SoftCoder c3db863434 - attempt to see if this fixes issue# 111 2016-06-01 20:31:46 -07:00
SoftCoder ad4314fb29 - move linux network interface names into ini file for easier management in the future 2016-06-01 20:16:34 -07:00
SoftCoder 56494f3cd2 - finally fixing issue #102 (bad cell visible handling when fog of war turned off) 2016-05-27 16:15:27 -07:00
SoftCoder d6dbb187cc - fixed some bugs discovered by coverity scan 2016-01-20 21:34:23 -08:00
SoftCoder 1f8096ff81 - finally foudn and fixed color picking crash! 2016-01-18 23:25:31 -08:00
SoftCoder 472e8bbaf0 - try to fix auto_ptr proxy for msvc 2016-01-18 16:28:05 -08:00
SoftCoder 0d8377d6b4 - try to fix mac build 2016-01-18 15:29:16 -08:00
SoftCoder b50fe04e0a - try to fix mac build 2016-01-18 14:36:51 -08:00
SoftCoder d5f915f3aa - fix silly mac build 2016-01-18 14:10:48 -08:00
SoftCoder 86a59859b9 - atempt to cleanup use fo auto_ptr 2016-01-18 13:20:49 -08:00
SoftCoder 74da39e83e - attempt to avoid crash if color picking index is larger than buffer, increase it 2016-01-16 21:49:36 -08:00
titiger 8dd7cb21e8 Merge pull request #60 from titison/feature/mapPreviewWithSpecificTileset
Specific Tileset with preview-map option
2016-01-09 19:28:21 +01:00
SoftCoder d1d5780ffd - cleanup warning missed return value default 2016-01-06 16:20:30 -08:00
SoftCoder c25867b5d8 - try to fix mouse pointer for issue #94 2016-01-04 20:56:48 -08:00
SoftCoder 03f5455eb2 Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2016-01-04 17:33:04 -08:00
SoftCoder e21b2506d6 - try to fix issue #104 2016-01-04 17:32:34 -08:00
titiger f3e96a64c1 new parameter --server-title
see issue #95
2016-01-03 16:31:05 +01:00
SoftCoder 57f0b44ad3 - bugifx for static cached hostname, moved to higher scope to avoid sometimes random crashes 2015-12-31 16:48:55 -08:00
SoftCoder eb15f8d701 - add compressed network messages for nmtLaunch and nmtBroadCastSetup (not backward compatible) 2015-12-31 13:12:26 -08:00
SoftCoder 16a11d6a6f - change sdl mutex name to new sdl2 name 2015-12-28 23:51:19 -08:00
SoftCoder c1144ad9d7 - attempt to speed up mutex lock / unlock 2015-12-28 23:06:12 -08:00