aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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
2015-03-05Fix issue #2441: crash on respawn, since a conversion std::list to ↵Loic Blot
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
2015-03-05Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot
tile.hpp to src/client/
2015-03-05Server.cpp Use std::list instead of std::vector for playSound, ↵Loic Blot
fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions
2015-03-05Server::AsyncRunStep: buffered_messages now uses std::vector instead of ↵Loic Blot
std::list. * sendRemoveNode and sendAddNodes are also converted as a side effect
2015-03-05Fix some rendering glitchesBlockMen
- Fixes particle draworder - Fixes nodehighlighting
2015-03-05Performance improvement: Use std::list instead of std::vector for ↵Loic Blot
request_media, Server::getModNames, Environment::m_simple_objects. * Also remove unused Server::m_modspaths
2015-03-05Remove Queue class which uses std::list and use native std::queueLoic Blot
2015-03-05Fix memory leak in MapgenV6Craig Robbins
2015-03-04Cavegen, mgv5: Cleanup codeparamat
Conf.example: Update mgv5 mapgen params Mgv7: Lava caves only below -256
2015-03-04Use std::vector instead of std::list in StaticObjectList and ↵Loic Blot
MutexedMap::getValues()
2015-03-04ABMHandler and player_collisions use sequential read/write. Switch from ↵Loic Blot
std::list to std::vector * Also remove dead code Map::unloadUnusedData which is dead since a long time
2015-03-04ClientInterface::getClientIDs doesn't need a std::list. Use a std::vector ↵Loic Blot
for better perfs
2015-03-04We always know playerSAO when calling SendInventory. Using it instead of ↵Loic Blot
searching it via peer_id
2015-03-04Send Position packet on event, don't check it at each AsyncRunStep.Loic Blot
* This permit to cleanup the player checking loop
2015-03-04ASyncRunStep doesn't need to lock when do setTimeOfDaySpeed.Loic Blot
* setTimeOfDaySpeed already lock a mutex when modify the value, we don't need to lock all environment. * add a fine grain lock for getTimeOfDay and setTimeOfDay to solve environment multithread modifications on this value
2015-03-04Send Inventory packet on event, don't check it at each AsyncRunStep.Loic Blot
* Call UpdateCrafting into SendInventory because this functions is only called before SendInventory * Use Player* instead of peer_id for UpdateCrafting because SendInventory already has the Player* pointer, then don't loop for searching Player* per peer_id * m_env_mutex don't need to be used with this modification because it's already locked before the calls
2015-03-03Remove unused m_wielded_item_not_sentLoic Blot
2015-03-03Send Breath packet on event, don't check it at each AsyncRunStepLoic Blot
2015-03-03Send Player HP when setHP (or a setHP caller) is called instead of looping ↵Loic Blot
and testing the state change.
2015-03-02Fix occlusionMiguel Almeida
2015-03-02Fix narrow_to_wide_c (ANDROID)Craig Robbins
* Ensure converted string is NUL terminated * Restore logic to that used prior to 9e2a9b5
2015-03-02Mgv6: Add heightmap. Do not make large caves that are entirely above groundparamat
2015-02-27Revert "Fix particles draworder" (issue #2388)Loic Blot
This reverts commit c09d026f0561ee3c6db821a7e193716f724a0e4a.
2015-02-27Change find_surface_nodes_in_area to find_nodes_in_area_under_airCraig Robbins
2015-02-27Add find_surface_nodes_in_area LUA call which permit to only get the nodes ↵Loic Blot
which touch air. This permit to massively improve performance for mods like plantlife
2015-02-27Fix minor memory leak (Android)Craig Robbins
2015-02-26Biome API: Re-calculate biome at every surface in a mapchunk columnparamat