f7938fab9f
Finally fix android build
2018-03-11 17:52:46 +01:00
a1c5a01142
Fix Android build, but there is a remaining linking issue in guiConfirmRegistration
...
* Also fix variable name overloading in guiConfirmRegistration
2018-03-11 17:45:58 +01:00
22a891a925
Android build fixes for c++11
2018-03-11 16:56:27 +01:00
69247ca223
Android: update tools (gradle, NDK) & prepare to switch to clang
2018-03-11 16:52:53 +01:00
cf8d579abc
Drop texture file list cache ( #6660 )
2018-03-10 19:33:37 +01:00
ee20433425
Fix typo in lighting code since bcdb3d5
2018-03-10 09:37:43 +01:00
5a1884c21d
Lua_api.txt: Split long lines part 2
2018-03-10 04:35:40 +00:00
644d0ab2bb
Spawn level: Add 'get_spawn_level(x, z)' API
...
Returns a suitable player spawn y co-ordinate for unmodified terrain.
2018-03-10 03:38:27 +00:00
473d81f2e2
Formspecs: Unify textarea and field parsing functions, fix wrong fallback text
...
* textarea[], field[]: Unify function, fix wrong fallback text
* Remove apparently superflous mainmenumanager.h incldue
* intlGUIEditBox.cpp: make read-only boxes really read-only
* Use elseif (trivial)
2018-03-09 23:24:57 +00:00
12d1e4ff04
VoxelArea: add_{x,y,z,p} must be static
...
Fix some documentations issues
Use getNodeNoCheck(v3s16, ...) in some cases instead of getNodeNoCheck(x, y, z, ...)
2018-03-09 23:27:26 +01:00
3b27cf30d9
Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ModMetadata
2018-03-09 23:27:26 +01:00
2c860a6a42
ServerEnvironment & StaticObject cleanups
...
* isFreeServerActiveObjectId is now part of ServerEnvironment
* getFreeServerActiveObjectId is now part of ServerEnvironment
* StaticObject constructor now take ServerActiveObject instead of type + string. This permits to remove a big string copy in some code parts
2018-03-09 23:27:26 +01:00
def46c6cdb
Drop unused Server::m_ignore_map_edit_events_peer_id
2018-03-09 23:27:26 +01:00
bcdb3d56c0
Variable name fix + structure creation unrolling in lighting code
2018-03-09 23:27:26 +01:00
6036f865cb
Drop less performant Server::setBlockNotSent for ClientInterface::markBlockposAsNotSent
2018-03-09 23:27:26 +01:00
b592c52f1c
Lua_api.txt: Split long lines part 1
2018-03-09 04:34:41 +00:00
1137f469e2
Gennotify docs: Clarify returned positions for decorations
2018-03-09 03:16:34 +00:00
f091de9a2f
Biomes: Document xyz biome limits
2018-03-09 03:16:25 +00:00
1a88c4b7a5
Getv3intfield: Fix logic of return bool
2018-03-09 03:16:25 +00:00
cbb9301bea
Biomes: Add 'min_pos'/'max_pos' xyz biome limits
...
'y_min' and 'y_max' are still accepted for compatibility.
2018-03-09 03:16:25 +00:00
c7c03ad7a6
Cleanup & bugfix
...
* ObjectRef::set_local_animation: fix wrong lua return (should push a boolean, currently returns nil)
* ObjectRef::set_eye_offset: fix wrong lua return (should push a boolean, currently returns nil)
* Fix various Server functions which depends on RemotePlayer objet and return true/false when player object is nil whereas it's a caller implementation error. Change those bool functions to void and add sanitize_check call instead. Current callers are always checking player object validity
* Optimize Server::setClouds : use CloudParams object ref instead of attribute deserialization from structure & perform RemotePlayer::setCloudParams directly in server class like many other calls
* Optimize Server::SendCloudParams: use CloudParams object ref instead of deserialized attributes
2018-03-08 23:00:17 +01:00
c7656edaa5
Cleanup: drop Server::hudGetHotbarSelectedImage()
...
Call directly accessible RemotePlayer::getHotbarSelectedImage() from server api
2018-03-08 23:00:17 +01:00
4be46aeeb1
Cleanup: drop Server::hudGetHotbarImage()
...
Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
2018-03-08 23:00:17 +01:00
373f1bfb4a
Cleanup: drop Server::hudGetHotbarItemcount()
...
Call directly accessible RemotePlayer::getHotbarItemcount() from server api
2018-03-08 23:00:17 +01:00
f35236afea
mods.cpp/h: little performance improvement in getModsInPath (+ codestyle) ( #7108 )
...
* mods.cpp/h: little performance improvement in getModsInPath
2018-03-08 20:03:43 +01:00
6cfd699b9f
Fix bad markdown in lua_api.txt
2018-03-05 15:14:19 +00:00
540e07e3ef
Fix missing warningstream (or similar problem) ( #7034 )
...
Use the --color command line parameter instead of a setting for coloured logs
This fixes the missing warningstream bug, g_settings->get mustn't be used there.
Also, the decision about en- or disabling log colours fits better to the command line parameters than minetest settings.
2018-03-04 17:34:36 +01:00
929792e15e
Allow for getting world name and path separately on the command line ( #6555 )
...
Change to --worldlist instead of --world list.
Gets rid of --worldpath parameter added as part of this pull request,
instead moving the listing function to a command --worldlist that
accepts either name, path, or both and prints out the corresponding
information.
2018-03-04 17:34:09 +01:00
48493a979b
Gennotify: Add 'minetest.get_decoration_id' API
...
Returns the decoration ID for the provided decoration name string.
For use with gennotify, to know the decoration IDs for use in
'minetest.set_gen_notify'.
2018-03-03 23:00:08 +00:00
07622bf9b4
Generate Notifier: Clear events once after all 'on generated' functions
2018-03-03 22:59:49 +00:00
b952d42000
MapgenValleys: Fixed submarine valleys shape
2018-03-03 22:59:26 +00:00
ebbd158774
c_converter: Function template for numeric fields, add v3s16 default ( #7090 )
2018-03-03 10:59:43 +01:00
a1cf8a127c
Slippery: Simplify, make more efficient ( #7086 )
...
Use already existing collision results for the nearest colliding node
Fix slippery effect in free_move mode
2018-03-03 10:59:14 +01:00
f5fd4a0af1
Cleanup in flat lighting ( #7051 )
2018-03-03 10:58:45 +01:00
e7f1611991
Fix liquid post effect colour behaviour in third person view
2018-02-27 19:40:10 +00:00
c610643c4c
Place schematic (on vmanip): Enable use of 'place center' flags
...
For 'place schematic' and 'place schematic on vmanip' APIs.
Fix 'place center' code to properly centre schematics.
Fix some comments.
2018-02-27 19:39:05 +00:00
6c9df2ffa7
CollisionMoveSimple: Collide with 'ignore' nodes
2018-02-26 17:21:45 +00:00
359a940dde
SAO limits: Allow SAOs to exist outside the set 'mapgen limit'
2018-02-26 17:21:45 +00:00
88a7160ad8
Fix CMake error ( #7074 ) by bumping the required CMake version past 3.8.1 ( #7075 )
2018-02-25 12:26:41 +01:00
66372e75d9
is_area_protected: Rename from intersects_protection ( #7073 )
...
* is_area_protected: Rename from intersects_protection
Return first protected position
Clarify docs: Mods may overwrite the function
2018-02-25 12:25:39 +01:00
4118e150f8
CMakeLists use the source_group command to improve look and feel when generating Visual Studio projects.
...
The TREE argument of source_group appears in CMake 3.8 therefore check for version.
2018-02-23 17:02:02 +01:00
cbf891ef1d
CMakeLists pass windows sources (manifest and resource file) to executable targets separately from common_SRCS
2018-02-23 17:02:02 +01:00
57418111a8
Registration dialog: Larger text field with scrollbars ( #7047 )
...
Center text, text area doubled now
2018-02-23 17:01:05 +01:00
673f7196a2
Find nodes in area (under air): Raise volume limit and document it
2018-02-21 15:54:06 +00:00
5652edea3b
Settingtypes.txt: Fix valleys dungeon ymax error
2018-02-21 15:53:32 +00:00
f9ad061910
Vertical biome blend: Tune blend patterns
2018-02-20 15:28:52 +00:00
2bc7c5ff93
Dungeons: Add Y limits in all mapgens
...
Preserve the upper limit used in mgvalleys.
2018-02-20 15:25:37 +00:00
0f015b28a3
Delete world dialog: Move buttons to avoid double click deletion
...
Move confirmation delete button to never overlap initial delete button,
to avoid world deletion by accidental double click.
2018-02-20 15:21:59 +00:00
cf98f5bbc0
/shutdown can't do countdown when using reconnect and/or shutdown message ( #7055 )
...
Delay was converted from the param string and not the delay value, thus never using the actual given delay value when used in combination with other string values in the param, in this case reconnect and the shutdown messsage.
2018-02-19 08:41:44 +01:00
5ef9056e89
Add a refresh button to the serverlist ( #6957 )
...
* add refresh button
* Make search and refresh buttons smaller
* Change to image button
2018-02-19 08:25:57 +01:00