Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Protect Player::hud from concurrent modifications | Loic Blot | 2015-03-22 | 2 | -1/+15 | |
| | | | | 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 continuity | paramat | 2015-03-22 | 2 | -52/+32 | |
| | | | | | | 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 @ShadowNinja | Loic Blot | 2015-03-22 | 2 | -44/+3 | |
| | | | | This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0. | |||||
* | Remove unused ConnectionCommand::sendToAll function. ↵ | Loic Blot | 2015-03-22 | 4 | -12/+5 | |
| | | | | | | 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 3993093f | kwolekr | 2015-03-22 | 1 | -2/+4 | |
| | ||||||
* | Add support for the PCG32 PRNG algo (and associated script APIs) | kwolekr | 2015-03-22 | 9 | -170/+392 | |
| | ||||||
* | SendInventory when handleCommand_Interact is a use. | poet-nohit | 2015-03-21 | 1 | -1/+3 | |
| | | | | This call was missing when change looping to triggering SendInventory: 1b2f64473ed4f222d3b7f02df853730d4382105e | |||||
* | Fix composite textures with texture_min_size. Moved upscaling of textures to ↵ | Aaron Suen | 2015-03-22 | 1 | -32/+44 | |
| | | | | 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 codes | SmallJoker | 2015-03-21 | 1 | -107/+49 | |
| | ||||||
* | Optimize minetest.get_(all)_craft_recipe(s) | gregorycu | 2015-03-20 | 3 | -180/+107 | |
| | | | | Signed off by: ShadowNinja, kwolekr | |||||
* | Configurable automatic texture scaling and filtering at load time. | Aaron Suen | 2015-03-20 | 2 | -0/+85 | |
| | | | | Signed off by: Zeno, kwolekr | |||||
* | Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵ | kwolekr | 2015-03-20 | 5 | -11/+12 | |
| | | | | | | | 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 generated | paramat | 2015-03-19 | 3 | -16/+49 | |
| | | | | Mgv5: Add large_cave_depth constant | |||||
* | Reset the old HP method on PlayerSAO::setHP | Loic Blot | 2015-03-19 | 1 | -0/+4 | |
| | ||||||
* | Fix game minetest.conf default settings | est31 | 2015-03-18 | 6 | -20/+38 | |
| | | | | This was a regression introduced by f6e4c5d9cf459e8278a76a2beaee59732e841458 . | |||||
* | Add a Lua call to do damages / heals | Loic Blot | 2015-03-18 | 2 | -3/+44 | |
| | ||||||
* | ServerpacketHandler: spelling fixes | Loic Blot | 2015-03-18 | 1 | -20/+20 | |
| | ||||||
* | Mgv6: Remove addDirtGravelBlobs, replaced by blob ore in Minetest Game | paramat | 2015-03-18 | 2 | -48/+4 | |
| | | | | | Desert stone above y = -32 not water_level Remove unused generateExperimental() | |||||
* | Save creative_mode and enable_damage setting for each world in world.mt | fz72 | 2015-03-18 | 1 | -1/+3 | |
| | | | | Create Parameters on world initialisation and set settings of old worlds | |||||
* | MutexedQueue inherits must use std::deque instead of std::list | Loic Blot | 2015-03-17 | 2 | -47/+28 | |
| | ||||||
* | Standalone bundle for OSX (w/ dependencies!) | Pavel Puchkin | 2015-03-17 | 2 | -24/+28 | |
| | ||||||
* | Server::step throw is never catched in minetestserver | Loic Blot | 2015-03-17 | 1 | -2/+10 | |
| | | | | | | | | | | 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 Blot | 2015-03-17 | 1 | -4/+5 | |
| | | | | | | pointers. Also store the reserved byte to use API properly Fixes #2509 | |||||
* | Fix a little regression on SendActiveObjectMessages which send all ↵ | Loic Blot | 2015-03-17 | 2 | -4/+8 | |
| | | | | TOCLIENT_ACTIVE_OBJECT_MESSAGES as reliable | |||||
* | Minor bug fix (lag between damage flash and hearts updating) | Craig Robbins | 2015-03-17 | 1 | -5/+7 | |
| | ||||||
* | Fix various damage related bugs (client-side) | Craig Robbins | 2015-03-17 | 1 | -10/+4 | |
| | | | | E.g. spawning or teleporting into lava to become invinsible | |||||
* | Minor cleanup: game.cpp | Craig Robbins | 2015-03-17 | 1 | -77/+67 | |
| | | | | | | * 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 ↵ | kwolekr | 2015-03-16 | 1 | -6/+3 | |
| | | | | | | + assert" This reverts commit 5f8e48c63baf12930430d5d8fc07495021599e61. | |||||
* | Server::step throw is never catched. Replace it with an errorstream + assert | Loic Blot | 2015-03-16 | 1 | -3/+6 | |
| | | | | | | | | 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 Blot | 2015-03-16 | 2 | -38/+64 | |
| | | | | | | | | * 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 Blot | 2015-03-16 | 2 | -17/+23 | |
| | | | | to private functions | |||||
* | Rename packethandler/{client,server}.cpp to {client,server}packethandler.cpp | Loic Blot | 2015-03-16 | 3 | -3/+3 | |
| | | | | | * Requested by @Zeno- * Approved by @nerzhul | |||||
* | If player is dead, permit it to respawn, even if damages are not enabled | Loic Blot | 2015-03-16 | 1 | -1/+1 | |
| | | | | * 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 Blot | 2015-03-15 | 1 | -2/+1 | |
| | | | | this will fix the player which stay dead at connection | |||||
* | Finer progress bar updates when initializing nodes | est31 | 2015-03-15 | 5 | -10/+59 | |
| | | | | 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 voxelmanip | paramat | 2015-03-15 | 2 | -11/+7 | |
| | | | | Remove max_y from functions, simplify code | |||||
* | Android: Backport changes from stable-0.4 | Loic Blot | 2015-03-14 | 1 | -3/+3 | |
| | ||||||
* | Disable double-click -> ESC translation for main menu | Craig Robbins | 2015-03-14 | 3 | -12/+25 | |
| | ||||||
* | client.cpp: typo fix and break; fix to make some compilers happy | Loic Blot | 2015-03-13 | 1 | -1/+2 | |
| | ||||||
* | Replace NetworkPacket pointers to references | Loic Blot | 2015-03-13 | 8 | -296/+257 | |
| | ||||||
* | Prepare Protocol v25 init & authentication. | Loic Blot | 2015-03-13 | 10 | -70/+448 | |
| | | | | | | | | | | * 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 Blot | 2015-03-13 | 5 | -52/+156 | |
| | | | | | | | 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 Blot | 2015-03-13 | 9 | -26/+26 | |
| | | | | between new network changes and old network clients | |||||
* | Use the new Player::isDead function when it's the case | Loic Blot | 2015-03-13 | 3 | -7/+13 | |
| | ||||||
* | handleCommand_Breath mustn't update breath is player is dead. A dead player ↵ | Loic Blot | 2015-03-12 | 2 | -0/+12 | |
| | | | | | | doesn't breath. Add Player::isDead function to check player is dead | |||||
* | Don't handle PlayerPos packet coming from client if player is dead | Loic Blot | 2015-03-12 | 1 | -0/+5 | |
| | ||||||
* | Mgv5/mgv7: Add desert temples if desert stone detected in mapchunk | paramat | 2015-03-12 | 4 | -12/+99 | |
| | ||||||
* | Unescape tooltip texts | est31 | 2015-03-11 | 1 | -3/+5 | |
| | | | | | | 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 cavegen | paramat | 2015-03-11 | 1 | -2/+4 | |
| | ||||||
* | lua_api/l_mapgen: Fix overlapping areas of minetest.generate_ores/decorations | paramat | 2015-03-11 | 2 | -8/+12 | |
| |