Commit Graph

162 Commits (master)

Author SHA1 Message Date
Rogier 505686ff8a Add function to obtain minetestmapper version 2015-07-04 10:28:19 +02:00
Rogier 20b8e53234 Make minetestmapper location configurable. Search for & propose candidates. 2015-07-04 10:28:19 +02:00
Rogier 886ae09e32 Fix... 2015-07-04 10:26:18 +02:00
Rogier 59fe2eba60 [WIP] Fixes to geometry 2015-07-04 10:18:37 +02:00
Rogier ddb26b4cd3 [WIP] fixes to geometry 2015-07-04 09:16:35 +02:00
Rogier 99cdc1c8b7 Fix dimensions of geometry widget 2015-07-04 08:37:07 +02:00
Rogier 180956b044 Allow setting geometry manually as well 2015-07-04 08:36:55 +02:00
Rogier 9a06348f99 More changes to .gitignore 2015-07-04 07:42:17 +02:00
adrido 5bf389338c Use sizemode for geometrymode_size_group instead granularity 2015-07-03 08:35:43 +02:00
Rogier 15ef6d529e Add missing include file for sscanf / snprintf 2015-07-03 08:17:15 +02:00
adrido 718c222590 Merged in Rogier-5/minetestmappergui/misc-changes-2 (pull request #3)
Misc changes 2
2015-07-02 20:34:49 +02:00
Rogier f5c18b38ce Improve geometry widget 2015-07-02 19:15:56 +02:00
Rogier 72805c0b66 Try and make sscanf / snprintf work on both windows and Linux
sscanf_s exists in C11, but I didn't find it in CXX11
_snprintf_s does not exist in C11 or CXX11. C11 does have snprintf_s

In combination with the fact that I think sscanf and snprintf are not used
insecurely here (*), I used sscanf and snprintf, and added macros to select
the microsoft/C11 alternatives on Windows.

(*) Notes:
Any insecurity of sscanf does not apply, as it is not reading strings.

snprintf already does bounds-checking on the destination buffer, which is
is much to large anyway. And as compilers (VC++ too, I assume...) usually
check whether the format specifiers match the parameter types, there
should be no need for an extra-secure version here either.
2015-07-02 19:15:56 +02:00
Rogier bb169ab3e8 Fix to 'Improve Geometrymode' (18ee90f0) 2015-07-02 19:15:56 +02:00
Rogier e3ea69d215 Document license information in LICENSE file
See the source code (MainWindow::on_actionAbout_MinetestMapperGUI_triggered)
2015-07-02 18:06:18 +02:00
Rogier 97f07778b0 Improve 'Tiles' tab a little 2015-07-02 18:04:54 +02:00
Rogier 8a2fd652a0 Fix regular and heightmap scale interval which would not enable 2015-07-02 18:04:54 +02:00
Rogier ff327ded1e Added some filenames to .gitignore 2015-07-02 18:04:54 +02:00
adrido 5e3752b1cd Merged in Rogier-5/minetestmappergui/fix (pull request #2)
Fix to 'Improve Geometrymode' (18ee90f0)
2015-07-02 17:20:58 +02:00
Rogier bd29fee445 Fix to 'Improve Geometrymode' (18ee90f0) 2015-07-02 16:51:29 +02:00
adrido df6b7b6325 Created own geometry widget to keep code simple and clean
Currently its proof of concept, wich may work not right.
The goal is, that mainwindow only have to call set(geometry) and the geometry widget detects and select the correct dropdown entry and fills in the data into the spin boxes.
Also  mainwindow only needs to call getGeometry() to get the geometryString for generating the map and save in profile settings
2015-07-02 15:11:29 +02:00
adrido 18ee90f0ed Improve Geometrymode (thanks to @Rogier-5) 2015-07-02 14:48:40 +02:00
adrido ead7343e8b Merge branch 'master' of https://bitbucket.org/adrido/minetestmappergui 2015-07-01 05:10:35 +02:00
adrido 010adc6fd1 added backend option 2015-07-01 05:01:09 +02:00
adrido 20c2b10f58 Added option to disable the auto-map open after generation 2015-07-01 05:01:08 +02:00
adrido 019022936f ui- tweaks 2015-07-01 05:01:06 +02:00
adrido b258465146 better display in expert mode 2015-07-01 05:01:05 +02:00
adrido c6db7a264b added custom ColorLineEdit for the colors 2015-07-01 04:59:06 +02:00
adrido 1905455c48 added a dir completer to the world path 2015-07-01 04:59:05 +02:00
adrido 70450e6676 block-color is now white by default 2015-07-01 04:59:03 +02:00
adrido 03de2f0de3 Update German translation 2015-07-01 04:59:02 +02:00
Rogier 11cf55c7dd Reset buttons etc. after mapper failed to start 2015-06-30 18:53:54 +02:00
Rogier bdce92fa15 Do not run minetestmapper after clicking 'cancel' in expert mode 2015-06-30 18:53:47 +02:00
Rogier 12873a89d6 Save settings under organisation 'minetestmapper' instead of 'addi' on non-windows systems.
The idea of linking an application's settings to the organisation that
happens to write or own the code is quite windows-like. It's not customary
under Linux, BSD*, etc.

Also migrate any existing settings.
2015-06-30 18:53:19 +02:00
Rogier ccfd092bf2 Ignore other main window events (to avoid compiler warnings) 2015-06-29 07:55:18 +02:00
Rogier d92af8c35a Fix compilation on Linux 2015-06-29 07:40:35 +02:00
adrido d1a44b3f4e added backend option 2015-06-15 15:14:35 +02:00
adrido ab2c0b5afc Added option to disable the auto-map open after generation 2015-06-15 15:13:41 +02:00
adrido 3f7243c1e7 ui- tweaks 2015-06-13 16:17:52 +02:00
adrido 8b66a6094f better display in expert mode 2015-06-13 16:17:11 +02:00
adrido f41ce2b499 added custom ColorLineEdit for the colors 2015-06-03 04:42:10 +02:00
adrido 00e5ca4f02 added a dir completer to the world path 2015-06-02 07:21:40 +02:00
adrido 4e127ffcf6 block-color is now white by default 2015-05-31 17:58:48 +02:00
adrido 270c3c0c82 Update German translation 2015-05-31 17:57:58 +02:00
adrido 32fb004d08 Update languages 2015-05-31 17:16:48 +02:00
adrido ea1906c0ac Display error message if output image is empty 2015-05-31 10:48:50 +02:00
adrido bfd23a4abd new default paths for output image and input world 2015-05-31 10:47:59 +02:00
adrido a1a1fba90e introducing Expert mode 2015-05-31 10:25:13 +02:00
adrido e661870355 Introducing profiles 2015-05-31 09:17:24 +02:00
adrido d9a02523d7 Minimized application icon and re-added Minetest icon 2015-05-29 12:18:24 +02:00