| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
Previously, xgettext failed to resolve the dynamic call.
Thanks to @JakubVanek for pointing this out.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
| |
The callback can now be invoked with either the player object or name as
the first parameter, and with either a table or a list of strings, like
this:
minetest.check_player_privs(player_name, { shout = true, fly = true })
minetest.check_player_privs(player_name, "shout", "fly")
minetest.check_player_privs(player, { shout = true, fly = true })
minetest.check_player_privs(player, "shout", "fly")
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Settings are automatically parsed from builtin/settingtypes.txt
The edit dialog automatically adjust based on the type of setting
|
|
|
|
|
|
|
|
|
| |
- Add warning log level
- Change debug_log_level setting to enumeration string
- Map Irrlicht log events to MT log events
- Encapsulate log_* functions and global variables into a class, Logger
- Unify dstream with standard logging mechanism
- Unify core.debug() with standard core.log() script API
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Check for entity addition success in spawn_item implementation
2. Check for success in item_drop callback, so that the player
doesn't lose the item if they are outside bounds and try to drop it.
3. When existing player joins game, check that their position is inside
map bounds. If not, set their position to the return value of findSpawnPos().
4. Make findSpawnPos() respect the border
2 fixes a lua crash if a player drops an item outside map bounds.
3 fixes an assertion crash if a player leaves when being outside map bounds,
and then rejoins.
|
| |
|
|
|
|
| |
... and remove trailing whitespace.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes #3125
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The service isn't online, and on the long term, mmdb will likekly be
replaced with other services from the modding community.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Enable the server to request the client to reconnect.
This can be done with the now extended minetest.request_shutdown([reason], [reconnect]) 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.
|
| |
|
|
|
|
|
|
| |
Change the name for texture pack description files from "info.txt" to "description.txt" in order to keep the naming consistent between description files for both mods and texture packs.
Also add backwards compatibility for texture packs that use "info.txt", and note in the log that "info.txt" is depreciated.
|
|
|
|
|
| |
- Stop attempting to start a world when no world's created/selected in server tab
- Better world's indexes handling between subgames lists
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
-> remember the previously loaded serverlist, and use if new one failed
-> show a "loading" serverlist
|
|
|
|
|
|
| |
* abort if theres no active timer
* only reduce the timer.time of all timers when its necessary
* move updating timers_to_add into a seperate function
|
|
|
|
|
|
|
|
|
|
| |
Now logs
ACTION[ServerThread]: player sets time to 6:03
instead of
ACTION[ServerThread]: player sets time to 6:3
|
| |
|
| |
|
| |
|