summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Reset the old HP method on PlayerSAO::setHPLoic Blot2015-03-19
|
* Fix game minetest.conf default settingsest312015-03-18
| | | | This was a regression introduced by f6e4c5d9cf459e8278a76a2beaee59732e841458 .
* Add a Lua call to do damages / healsLoic Blot2015-03-18
|
* ServerpacketHandler: spelling fixesLoic Blot2015-03-18
|
* Mgv6: Remove addDirtGravelBlobs, replaced by blob ore in Minetest Gameparamat2015-03-18
| | | | | Desert stone above y = -32 not water_level Remove unused generateExperimental()
* Save creative_mode and enable_damage setting for each world in world.mtfz722015-03-18
| | | | Create Parameters on world initialisation and set settings of old worlds
* MutexedQueue inherits must use std::deque instead of std::listLoic Blot2015-03-17
|
* Standalone bundle for OSX (w/ dependencies!)Pavel Puchkin2015-03-17
|
* Server::step throw is never catched in minetestserverLoic Blot2015-03-17
| | | | | | | | | | Replace it with an errorstream + assert for server This throw can be trigger by LuaError exception or ConnectionBindFailed exception in the following functions: * EmergeThread::Thread() * ScriptApiEnv::environment_Step() * ScriptApiEnv::player_event() * ServerThread::Thread()
* Use the NetworkPacket api to read full version string instead of u8 ↵Loic Blot2015-03-17
| | | | | | pointers. Also store the reserved byte to use API properly Fixes #2509
* Fix a little regression on SendActiveObjectMessages which send all ↵Loic Blot2015-03-17
| | | | TOCLIENT_ACTIVE_OBJECT_MESSAGES as reliable
* Minor bug fix (lag between damage flash and hearts updating)Craig Robbins2015-03-17
|
* Fix various damage related bugs (client-side)Craig Robbins2015-03-17
| | | | E.g. spawning or teleporting into lava to become invinsible
* Minor cleanup: game.cppCraig Robbins2015-03-17
| | | | | | * Sort includes * Remove unnecessary includes * Ensure the parameter name for GameRunData is consistent for class member functions
* Revert "Server::step throw is never catched. Replace it with an errorstream ↵kwolekr2015-03-16
| | | | | | + assert" This reverts commit 5f8e48c63baf12930430d5d8fc07495021599e61.
* Server::step throw is never catched. Replace it with an errorstream + assertLoic Blot2015-03-16
| | | | | | | | This throw can be trigger by LuaError exception or ConnectionBindFailed exception in the following functions: * EmergeThread::Thread() * ScriptApiEnv::environment_Step() * ScriptApiEnv::player_event() * ServerThread::Thread()
* Move client packet generators to dedicated functions for:Loic Blot2015-03-16
| | | | | | | | * TOSERVER_INIT_LEGACY * TOSERVER_DELETEDBLOCKS * TOSERVER_GOTBLOCKS * TOSERVER_REMOVED_SOUNDS Also use a std::vector instead of std::set for TOSERVER_REMOVED_SOUNDS
* Move TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD and TOCLIENT_ACTIVE_OBJECT_MESSAGES ↵Loic Blot2015-03-16
| | | | to private functions
* Rename packethandler/{client,server}.cpp to {client,server}packethandler.cppLoic Blot2015-03-16
| | | | | * Requested by @Zeno- * Approved by @nerzhul
* If player is dead, permit it to respawn, even if damages are not enabledLoic Blot2015-03-16
| | | | * Mods can do setHP function to do damages and override the enable_damage value sometimes
* SendPlayerHPOrDie everytime at client connection, damage enabled or not, ↵Loic Blot2015-03-15
| | | | this will fix the player which stay dead at connection
* Finer progress bar updates when initializing nodesest312015-03-15
| | | | The bar is only drawn when the user will notice a change, which prevents time overheads that this commit would cause, resulting from useless draws.
* mg_decoration: Raise highest allowed deco top to max edge of voxelmanipparamat2015-03-15
| | | | Remove max_y from functions, simplify code
* Android: Backport changes from stable-0.4Loic Blot2015-03-14
|
* Disable double-click -> ESC translation for main menuCraig Robbins2015-03-14
|
* client.cpp: typo fix and break; fix to make some compilers happyLoic Blot2015-03-13
|
* Replace NetworkPacket pointers to referencesLoic Blot2015-03-13
|
* Prepare Protocol v25 init & authentication.Loic Blot2015-03-13
| | | | | | | | | | * TOSERVER_INIT and TOCLIENT_INIT renamed to _LEGACY * TOSERVER_PASSWORD merged from dev-0.5, can use protocol v24 and v25 * TOCLIENT_ACCESS_DENIED merged from dev-0.5, can use protocol v24 and v25, with normalized strings an a custom id for custom errors * new TOSERVER_INIT packet only send MT version, supported compressions, protocols and serialization, this permit to rework everything later without break the _INIT packet * new TOSERVER_AUTH packet which auth the client * new TOCLIENT_HELLO packet which send server serialization version atm * new TOCLIENT_AUTH_ACCEPTED which is send when TOCLIENT_AUTH was okay. After this packet, the client load datas from servers, like after TOCLIENT_INIT_LEGACY packet
* Handle the newly added TOCLIENT_ACCESS_DENIED and ↵Loic Blot2015-03-13
| | | | | | | TOCLIENT_DELETE_PARTICLESPAWNER * Rename the handlers from _Legacy to regular, because here we can use same handlers * Fix some packet names and pseudo handlers
* Rename some packet and handlers to <packet>_Legacy name for compat layer ↵Loic Blot2015-03-13
| | | | between new network changes and old network clients
* Use the new Player::isDead function when it's the caseLoic Blot2015-03-13
|
* handleCommand_Breath mustn't update breath is player is dead. A dead player ↵Loic Blot2015-03-12
| | | | | | doesn't breath. Add Player::isDead function to check player is dead
* Don't handle PlayerPos packet coming from client if player is deadLoic Blot2015-03-12
|
* Mgv5/mgv7: Add desert temples if desert stone detected in mapchunkparamat2015-03-12
|
* Unescape tooltip textsest312015-03-11
| | | | | | Previously, tooltips didn't unescape escaped formspec texts. Item descriptions that trigger tooltips like inside inventories or for item_image_button don't need to get unescaped, as they don't get set using formspec, but from lua.
* Mgv6: Fix uninitialised heightmap used by cavegenparamat2015-03-11
|
* lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorationsparamat2015-03-11
|
* Silence Clang warningShadowNinja2015-03-10
|
* Ensure that heightmap is initialized before useCraig Robbins2015-03-10
| | | | Without this, cavegen will use values in the heightmap before they are initialized.
* Stop formspecs closing with double-click in empty areaCraig Robbins2015-03-09
| | | | | | Behaviour on Android remains the same until other alternatives can be devised (if possible) See #2425 (and the many other -- now closed -- issues reporting this feature as a bug)
* Fix memleak pointed by issue #2439.Loic Blot2015-03-08
| | | | Also change bzero to memset. bzero doesn't work on windows
* Fix unitialized data when creating TOSERVER_INIT packetLoic Blot2015-03-08
|
* Make the dummy backend only look up blocks onceShadowNinja2015-03-08
|
* Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return ↵paramat2015-03-08
| | | | -MAP_GENERATION_LIMIT if surface not found
* Optimize Profiler::avg()gregorycu2015-03-07
|
* Don't use luaL_checkstring to read node names, it's only for argumentsShadowNinja2015-03-07
| | | | This caused confusing error messages like "argument #4 to set_node is not a string."
* Respect game mapgen flags and save world noise paramsngosang2015-03-07
|
* Fix RUN_IN_PLACE broken due to invalid usage of assertsapier2015-03-07
|
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-07
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Improve Clouds::render mathematicsLoic Blot2015-03-07
|