aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-03-17Minor bug fix (lag between damage flash and hearts updating)Craig Robbins
2015-03-17Fix various damage related bugs (client-side)Craig Robbins
E.g. spawning or teleporting into lava to become invinsible
2015-03-17Minor cleanup: game.cppCraig Robbins
* Sort includes * Remove unnecessary includes * Ensure the parameter name for GameRunData is consistent for class member functions
2015-03-16Revert "Server::step throw is never catched. Replace it with an errorstream ↵kwolekr
+ assert" This reverts commit 5f8e48c63baf12930430d5d8fc07495021599e61.
2015-03-16Server::step throw is never catched. Replace it with an errorstream + assertLoic Blot
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()
2015-03-16Move client packet generators to dedicated functions for:Loic Blot
* TOSERVER_INIT_LEGACY * TOSERVER_DELETEDBLOCKS * TOSERVER_GOTBLOCKS * TOSERVER_REMOVED_SOUNDS Also use a std::vector instead of std::set for TOSERVER_REMOVED_SOUNDS
2015-03-16Move TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD and TOCLIENT_ACTIVE_OBJECT_MESSAGES ↵Loic Blot
to private functions
2015-03-16Rename packethandler/{client,server}.cpp to {client,server}packethandler.cppLoic Blot
* Requested by @Zeno- * Approved by @nerzhul
2015-03-16If player is dead, permit it to respawn, even if damages are not enabledLoic Blot
* Mods can do setHP function to do damages and override the enable_damage value sometimes
2015-03-15SendPlayerHPOrDie everytime at client connection, damage enabled or not, ↵Loic Blot
this will fix the player which stay dead at connection
2015-03-15Finer progress bar updates when initializing nodesest31
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.
2015-03-15mg_decoration: Raise highest allowed deco top to max edge of voxelmanipparamat
Remove max_y from functions, simplify code
2015-03-14Android: Backport changes from stable-0.4Loic Blot
2015-03-14Disable double-click -> ESC translation for main menuCraig Robbins
2015-03-13client.cpp: typo fix and break; fix to make some compilers happyLoic Blot
2015-03-13Replace NetworkPacket pointers to referencesLoic Blot
2015-03-13Prepare Protocol v25 init & authentication.Loic Blot
* 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
2015-03-13Handle the newly added TOCLIENT_ACCESS_DENIED and ↵Loic Blot
TOCLIENT_DELETE_PARTICLESPAWNER * Rename the handlers from _Legacy to regular, because here we can use same handlers * Fix some packet names and pseudo handlers
2015-03-13Rename some packet and handlers to <packet>_Legacy name for compat layer ↵Loic Blot
between new network changes and old network clients
2015-03-13Use the new Player::isDead function when it's the caseLoic Blot
2015-03-12handleCommand_Breath mustn't update breath is player is dead. A dead player ↵Loic Blot
doesn't breath. Add Player::isDead function to check player is dead
2015-03-12Don't handle PlayerPos packet coming from client if player is deadLoic Blot
2015-03-12Mgv5/mgv7: Add desert temples if desert stone detected in mapchunkparamat
2015-03-11Unescape tooltip textsest31
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.
2015-03-11Mgv6: Fix uninitialised heightmap used by cavegenparamat
2015-03-11lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorationsparamat
2015-03-10Silence Clang warningShadowNinja
2015-03-10Ensure that heightmap is initialized before useCraig Robbins
Without this, cavegen will use values in the heightmap before they are initialized.
2015-03-09Stop formspecs closing with double-click in empty areaCraig Robbins
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)
2015-03-08Fix memleak pointed by issue #2439.Loic Blot
Also change bzero to memset. bzero doesn't work on windows
2015-03-08Fix unitialized data when creating TOSERVER_INIT packetLoic Blot
2015-03-08Make the dummy backend only look up blocks onceShadowNinja
2015-03-08Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return ↵paramat
-MAP_GENERATION_LIMIT if surface not found
2015-03-07Optimize Profiler::avg()gregorycu
2015-03-07Don't use luaL_checkstring to read node names, it's only for argumentsShadowNinja
This caused confusing error messages like "argument #4 to set_node is not a string."
2015-03-07Respect game mapgen flags and save world noise paramsngosang
2015-03-07Fix RUN_IN_PLACE broken due to invalid usage of assertsapier
2015-03-07For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins
NDEBUG is defined), replace those usages with persistent alternatives
2015-03-07Improve Clouds::render mathematicsLoic Blot
2015-03-07Fix Android text bug (no text displaying)Craig Robbins
2015-03-07Dungeongen: Optionally set ignore to be untouchable to disable floating dungeonsparamat
2015-03-06Don't start a server for map migrationShadowNinja
2015-03-06Clean up database API and save the local map on an intervalShadowNinja
2015-03-06Biome API: Enable decorations placed on waterparamat
Add schematic decoration force placement flag
2015-03-05Improve group-based connection between raillike nodesBlockMen
2015-03-05l_get_modnames: Compare using std::sort instead of a custom function which ↵Loic Blot
does same work
2015-03-05collisionMoveSimple: use std::vector instead of std::list, this improve the ↵Loic Blot
performances
2015-03-05ProfilerGraph: Use std::list instead of std::vectorLoic Blot
2015-03-06Fix mapgen using unitialised height map valuesCraig Robbins
2015-03-05Use std::queue for HTTPFetchRequest and std::vector for log_output instead ↵Loic Blot
of std::list