59 Commits

Author SHA1 Message Date
Maksim Gamarnik
6d3bdc5a7d Merge 2016-04-12 21:28:50 +03:00
Rui914
b283ced646 Mainmenu: Refactor tab UI code
- Use local variables for tabs in place of globals
 - Merge together if statements where possible
 - Replace manual table searching code with indexof where possible
2016-04-08 02:25:04 -04:00
Maksim Gamarnik
8f6ddcc57c Merge branch 'upstream/master' 2016-03-14 11:44:17 +02:00
Jean-Patrick Guerrero
b5bb7f8105 Settings Tab: Regroup dropdown datas in tables 2016-03-06 23:42:21 +00:00
Jean-Patrick Guerrero
08b9a710be Update settings tab + some misc. clean-up 2016-03-05 10:41:51 +01:00
Maksim Gamarnik
40b3667bd2 Merge remote-tracking branch 'upstream/master' 2016-02-23 00:38:30 +02:00
BlockMen
5e0a7cd4eb Restore simple settings tab and add advanced settings as dialog 2016-02-21 08:54:33 +00:00
Maksim Gamarnik
2520ca3ed1 Merge branch 'master' of https://github.com/minetest/minetest 2016-01-31 20:57:03 +02:00
Rogier
46465998f1 Fix error message in settings tab overlapping 'save' button
The save button is now fully functional again when an error message
is shown.

After an invalid value is entered in the settings tab dialog, the GUI
label for the error message that is shown was partly overlapping the
'save' button, so that the top half of the button could not be clicked
on.
2016-01-16 13:05:46 +00:00
Rogier
0f5fa5be92 Fix the checking of flags values in the settings tab
Changes:
- Accept setting an empty flags-type value in the settings tab
  if the variable specification permits it
- Don't accept substrings of flag values
  E.g. with values: 'one,two,three', 'hree', 'w', etc. used to
  be accepted. Not any more
- Don't accept flags with random pattern-matching special characters
  E.g. with values: 'one,two,three', 'on.', '(o)[n]e*' etc. used
  to be accepted. Not any more.
2016-01-10 01:03:06 +00:00
Rogier
a009c24b00 Improve parsing of setting types from settingtypes.txt for settings tab
- Accept numbers prefixed with '+'
- Accept multiple spaces instead of just a single one where spaces are expected
- Allow flags to have an empty default value
2016-01-10 01:03:06 +00:00
Maksim Gamarnik
b3726345ff Merge last minetest commits 2015-11-27 12:57:52 +02:00
Maksim Gamarnik
96325da676 Update 1 2015-11-27 12:03:23 +02:00
Maksim Gamarnik
18204b95ed Fix 2015-11-10 21:14:24 +02:00
Maksim Gamarnik
bcf249297c Merge last Minetest commits 2015-11-10 20:29:00 +02:00
Maksim Gamarnik
919be490f9 Update
Sync all Minetest commits
2015-11-10 13:49:24 +02:00
est31
adce6104ec Settings tab: add v3f type
Add the v3f type, currently is just a nice placeholder for string.
Currently undocumented, on wish of @PilzAdam, to support future changes.
2015-11-08 21:19:21 +01:00
Maksim D. Gamarnik
98c1c2965a Stock MainMenu 2015-11-01 10:01:13 +02:00
PilzAdam
e65a03fa1b Fix parameter passing to gettext call 2015-10-25 19:14:07 +01:00
PilzAdam
dd89f8c558 Escape " in generated settings_translation_file.cpp 2015-10-25 10:56:58 +01:00
PilzAdam
c8597365f2 Fix setting comments 2015-10-24 23:11:21 +02:00
PilzAdam
0100cb232b Don't allow games or mods to add secure. settings 2015-10-24 22:32:03 +02:00
PilzAdam
2fb30ef4d3 Improve Lua settings menu
* Add key settings to setting table and ignore them later
  This way they are added to the auto-generated minetest.conf.example
* Add flags type
* Add input validation for int, float and flags
* Break in-game graphic settings into multiple sections
* Parse settingtpes.txt in mods and games
* Improve description for a lot of settings
* Fix typos and wording in settingtypes.txt
* Convert language setting to an enum
2015-10-24 19:39:15 +02:00
est31
8ac6039dbc Display sane output for empty descriptions
According to its man page, the function gettext(3)
"may return a nonempty string" when msgid is "".

This commit fixes a bug where the comment ""
for some settings caused gettext to return a
"nonempty string", in this case header info of the
po file.
2015-10-18 02:18:10 +02:00
PilzAdam
65b81bc6d6 New settings tab contain all possible settings
Settings are automatically parsed from builtin/settingtypes.txt
The edit dialog automatically adjust based on the type of setting
2015-10-17 22:06:29 +02:00
kilbith
801202245c Add viewing range GUI setting 2015-10-06 19:00:26 +02:00
Rui914
96bd2c3b4d Minor tweaks handle_settings_buttons 2015-09-14 08:29:15 +02:00
Maksim Gamarnik
9247f32e0e LGPL 2.1 to 3.0 on all files 2015-08-14 01:26:28 +03:00
4aiman Konsorumaniakku
7d9a37a450 - X (close) button in the formspecs
- attempt to fix BG in the mainmenu
- fixed textures path on Windows
2015-08-11 07:32:17 +03:00
jeanpatrick.guerrero@gmail.com
73c5031355 Fix FSAA dropdown option reset after changing another dropdown option 2015-07-25 17:33:41 +02:00
kilbith
2de082f89e Remove drivers dropdown in the settings tab 2015-07-25 10:41:04 +02:00
Mark Schreiber
a2c95ad81d Add antialiasing UI setting
The Irrlicht engine supports antialiasing, and Minetest already supports
saving an antialiasing setting in its configuration file.  However,
Minetest lacked UI elements to set this setting, and previously the only
way to enable the feature was by hand-editing the configuration file.

Add a drop-down menu that can enable antialiasing.
2015-07-18 08:40:57 +02:00
RealBadAngel
4f2ca3ba1c Add new leaves style - simple (glasslike drawtype) 2015-07-08 11:20:07 +02:00
4aiman Konsorumaniakku
e0ddb1f4e1 core->multicraft 2015-07-05 15:23:28 +03:00
4aiman
169fa6f29f HUDs, hunger, mobs, mapgen, splash, mainmemu etc 2015-07-01 12:27:28 +03:00
4aiman
482fcf5d1f 14/15 2015-05-25 23:44:45 +03:00
OttoLidenbrock
d711b8ae92 Fix accidental removal of credits 2015-05-17 01:05:23 +10:00
OttoLidenbrock
16d1e7d8bc Remove "?" button from main menu 2015-05-17 00:37:38 +10:00
Maksim Gamarnik
0598e2169e New MainMenu, update WversionManager, Makefile change
New MainMenu by 4aiman
WVersionManager - 1.3
Makefile - rename output apk
2015-05-12 10:59:17 +03:00
OttoLidenbrock
af07140639 Remove shaders from configure 2015-05-10 20:46:44 +10:00
Maksim Gamarnik
328debf39a New API
Change minetest on multicraft api
2015-05-05 23:01:09 +03:00
4aiman
f0cc6e9cd9 main menu tweaks 2015-04-27 22:03:59 +03:00
4aiman
2857721408 'New' menu 2015-04-23 22:55:42 +03:00
Craig Robbins
809b130997 Allow filter and mipmap drop down menues to be translated 2015-01-21 22:33:19 +10:00
kwolekr
5bb6adee32 Reorganize supported video driver query mechanisms 2015-01-18 13:24:25 -05:00
kwolekr
e046053e63 Revert "Fix style on settings tab"
This reverts commit 7b17b9059e30cef384ecca37feec87cdcdfd39b8.
2015-01-18 13:19:40 -05:00
jeanpatrick.guerrero@gmail.com
adb5e13a7b Fix style on settings tab 2015-01-18 23:40:18 +10:00
kilbith
a4c337f4c8 Add missing return value for filter/mipmap dropdown in mainmenu 2015-01-15 20:26:05 +01:00
jeanpatrick.guerrero@gmail.com
8a9b5851ae Reorganizing client and server tabs 2015-01-15 00:50:23 +10:00
Kahrl
c57b36f06a Remove vertlabels from main menu and relayout a bit 2014-12-13 00:33:38 +01:00