aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix minetest.get_craft_recipe functionest312015-03-23
| | | | Previously, calling it resulted in a crash.
* Player: Fix a deadlock triggered by previous commit ↵Loic Blot2015-03-22
| | | | 0e5e49736c0a5fa29bca257bafc02d7c7a7171c9
* Protect Player::hud from concurrent modificationsLoic Blot2015-03-22
| | | | Sometimes HUD can be modified by ServerThread and EmergeThread results in a crash on client side because the HUD is not correct
* Mgv7: 1 up , 1 down overgeneration for chunk border continuityparamat2015-03-22
| | | | | | Fixes biome layer at y = 47 when base/alt terrain exceeds it Also fixes missing dust glitch at y = 47 Mgv5/mgv7:Cleanup code
* Revert "Add a Lua call to do damages / heals" ok @ShadowNinjaLoic Blot2015-03-22
| | | | This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
* Remove unused ConnectionCommand::sendToAll function. ↵Loic Blot2015-03-22
| | | | | | NetworkPacket::oldForgePacket returns Buffer instead of SharedBuffer and is used in ConnectionCommand instead of Connection::Send This remove the NetworkPacket buffer => SharedBuffer => Buffer copy. Now NetworkPacket => Buffer
* Fix some loose ends from 3993093fkwolekr2015-03-22
|
* Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr2015-03-22
|
* SendInventory when handleCommand_Interact is a use.poet-nohit2015-03-21
| | | | This call was missing when change looping to triggering SendInventory: 1b2f64473ed4f222d3b7f02df853730d4382105e
* Fix composite textures with texture_min_size. Moved upscaling of textures to ↵Aaron Suen2015-03-22
| | | | later in the process, when images are converted to textures, instead of right after image load, so the original image is unmodified for generateImagePart.
* Connect rails with connect_to_raillike and shorten the codesSmallJoker2015-03-21
|
* Optimize minetest.get_(all)_craft_recipe(s)gregorycu2015-03-20
| | | | Signed off by: ShadowNinja, kwolekr
* Configurable automatic texture scaling and filtering at load time.Aaron Suen2015-03-20
| | | | Signed off by: Zeno, kwolekr
* Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵kwolekr2015-03-20
| | | | | | | std::vector on Environment.cpp" This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver list clearing
* Mgv5/mgv7: Sprinkle dust from full_node_max.Y if chunk above is generatedparamat2015-03-19
| | | | Mgv5: Add large_cave_depth constant
* 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.