Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |
| | ||||||
* | Silence Clang warning | ShadowNinja | 2015-03-10 | 1 | -2/+1 | |
| | ||||||
* | Ensure that heightmap is initialized before use | Craig Robbins | 2015-03-10 | 1 | -0/+1 | |
| | | | | Without this, cavegen will use values in the heightmap before they are initialized. | |||||
* | Stop formspecs closing with double-click in empty area | Craig Robbins | 2015-03-09 | 1 | -0/+11 | |
| | | | | | | 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 Blot | 2015-03-08 | 1 | -2/+2 | |
| | | | | Also change bzero to memset. bzero doesn't work on windows | |||||
* | Fix unitialized data when creating TOSERVER_INIT packet | Loic Blot | 2015-03-08 | 1 | -0/+2 | |
| | ||||||
* | Make the dummy backend only look up blocks once | ShadowNinja | 2015-03-08 | 1 | -3/+3 | |
| | ||||||
* | Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return ↵ | paramat | 2015-03-08 | 5 | -24/+2 | |
| | | | | -MAP_GENERATION_LIMIT if surface not found | |||||
* | Optimize Profiler::avg() | gregorycu | 2015-03-07 | 2 | -17/+56 | |
| | ||||||
* | Don't use luaL_checkstring to read node names, it's only for arguments | ShadowNinja | 2015-03-07 | 1 | -9/+10 | |
| | | | | This caused confusing error messages like "argument #4 to set_node is not a string." | |||||
* | Respect game mapgen flags and save world noise params | ngosang | 2015-03-07 | 15 | -149/+126 | |
| | ||||||
* | Fix RUN_IN_PLACE broken due to invalid usage of assert | sapier | 2015-03-07 | 1 | -1/+1 | |
| | ||||||
* | For usages of assert() that are meant to persist in Release builds (when ↵ | Craig Robbins | 2015-03-07 | 62 | -294/+299 | |
| | | | | NDEBUG is defined), replace those usages with persistent alternatives | |||||
* | Improve Clouds::render mathematics | Loic Blot | 2015-03-07 | 1 | -30/+25 | |
| | ||||||
* | Fix Android text bug (no text displaying) | Craig Robbins | 2015-03-07 | 4 | -80/+79 | |
| | ||||||
* | Dungeongen: Optionally set ignore to be untouchable to disable floating dungeons | paramat | 2015-03-07 | 2 | -3/+7 | |
| | ||||||
* | Don't start a server for map migration | ShadowNinja | 2015-03-06 | 3 | -75/+65 | |
| | ||||||
* | Clean up database API and save the local map on an interval | ShadowNinja | 2015-03-06 | 16 | -519/+391 | |
| | ||||||
* | Biome API: Enable decorations placed on water | paramat | 2015-03-06 | 2 | -5/+10 | |
| | | | | Add schematic decoration force placement flag | |||||
* | Improve group-based connection between raillike nodes | BlockMen | 2015-03-05 | 1 | -25/+13 | |
| | ||||||
* | l_get_modnames: Compare using std::sort instead of a custom function which ↵ | Loic Blot | 2015-03-05 | 1 | -22/+6 | |
| | | | | does same work | |||||
* | collisionMoveSimple: use std::vector instead of std::list, this improve the ↵ | Loic Blot | 2015-03-05 | 1 | -15/+9 | |
| | | | | performances | |||||
* | ProfilerGraph: Use std::list instead of std::vector | Loic Blot | 2015-03-05 | 1 | -3/+3 | |
| | ||||||
* | Fix mapgen using unitialised height map values | Craig Robbins | 2015-03-06 | 5 | -5/+22 | |
| | ||||||
* | Use std::queue for HTTPFetchRequest and std::vector for log_output instead ↵ | Loic Blot | 2015-03-05 | 2 | -26/+23 | |
| | | | | of std::list | |||||
* | Fix issue #2441: crash on respawn, since a conversion std::list to ↵ | Loic Blot | 2015-03-05 | 7 | -84/+35 | |
| | | | | | | | std::vector on Environment.cpp * Also change some std::list to std::vector for ClientMap::renderMap * Remove disabled code in ClientMap::renderMap, disabled since a long time | |||||
* | Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵ | Loic Blot | 2015-03-05 | 26 | -28/+27 | |
| | | | | tile.hpp to src/client/ | |||||
* | Server.cpp Use std::list instead of std::vector for playSound, ↵ | Loic Blot | 2015-03-05 | 3 | -46/+42 | |
| | | | | fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions | |||||
* | Server::AsyncRunStep: buffered_messages now uses std::vector instead of ↵ | Loic Blot | 2015-03-05 | 2 | -79/+56 | |
| | | | | std::list. * sendRemoveNode and sendAddNodes are also converted as a side effect | |||||
* | Fix some rendering glitches | BlockMen | 2015-03-05 | 3 | -65/+61 | |
| | | | | | - Fixes particle draworder - Fixes nodehighlighting |