aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Silence Clang warningShadowNinja2015-03-101-2/+1
|
* Ensure that heightmap is initialized before useCraig Robbins2015-03-101-0/+1
| | | | Without this, cavegen will use values in the heightmap before they are initialized.
* Stop formspecs closing with double-click in empty areaCraig Robbins2015-03-091-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 Blot2015-03-081-2/+2
| | | | Also change bzero to memset. bzero doesn't work on windows
* Fix unitialized data when creating TOSERVER_INIT packetLoic Blot2015-03-081-0/+2
|
* Make the dummy backend only look up blocks onceShadowNinja2015-03-081-3/+3
|
* Heightmaps: Fix uninitialised values in mgv5/mgv6. findGroundLevel: Return ↵paramat2015-03-085-24/+2
| | | | -MAP_GENERATION_LIMIT if surface not found
* Optimize Profiler::avg()gregorycu2015-03-072-17/+56
|
* Don't use luaL_checkstring to read node names, it's only for argumentsShadowNinja2015-03-071-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 paramsngosang2015-03-0715-149/+126
|
* Fix RUN_IN_PLACE broken due to invalid usage of assertsapier2015-03-071-1/+1
|
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-0762-294/+299
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Improve Clouds::render mathematicsLoic Blot2015-03-071-30/+25
|
* Fix Android text bug (no text displaying)Craig Robbins2015-03-074-80/+79
|
* Dungeongen: Optionally set ignore to be untouchable to disable floating dungeonsparamat2015-03-072-3/+7
|
* Don't start a server for map migrationShadowNinja2015-03-063-75/+65
|
* Clean up database API and save the local map on an intervalShadowNinja2015-03-0616-519/+391
|
* Biome API: Enable decorations placed on waterparamat2015-03-062-5/+10
| | | | Add schematic decoration force placement flag
* Improve group-based connection between raillike nodesBlockMen2015-03-051-25/+13
|
* l_get_modnames: Compare using std::sort instead of a custom function which ↵Loic Blot2015-03-051-22/+6
| | | | does same work
* collisionMoveSimple: use std::vector instead of std::list, this improve the ↵Loic Blot2015-03-051-15/+9
| | | | performances
* ProfilerGraph: Use std::list instead of std::vectorLoic Blot2015-03-051-3/+3
|
* Fix mapgen using unitialised height map valuesCraig Robbins2015-03-065-5/+22
|
* Use std::queue for HTTPFetchRequest and std::vector for log_output instead ↵Loic Blot2015-03-052-26/+23
| | | | of std::list
* Fix issue #2441: crash on respawn, since a conversion std::list to ↵Loic Blot2015-03-057-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 Blot2015-03-0526-28/+27
| | | | tile.hpp to src/client/
* Server.cpp Use std::list instead of std::vector for playSound, ↵Loic Blot2015-03-053-46/+42
| | | | fillMediaCache, sendRequestedMedia, sendMediaAnnouncement and related functions
* Server::AsyncRunStep: buffered_messages now uses std::vector instead of ↵Loic Blot2015-03-052-79/+56
| | | | std::list. * sendRemoveNode and sendAddNodes are also converted as a side effect
* Fix some rendering glitchesBlockMen2015-03-053-65/+61
| | | | | - Fixes particle draworder - Fixes nodehighlighting
* Performance improvement: Use std::list instead of std::vector for ↵Loic Blot2015-03-058-21/+16
| | | | | | request_media, Server::getModNames, Environment::m_simple_objects. * Also remove unused Server::m_modspaths
* Remove Queue class which uses std::list and use native std::queueLoic Blot2015-03-0511-139/+85
|
* Fix memory leak in MapgenV6Craig Robbins2015-03-051-0/+2
|
* Cavegen, mgv5: Cleanup codeparamat2015-03-044-250/+201
| | | | | Conf.example: Update mgv5 mapgen params Mgv7: Lava caves only below -256
* Use std::vector instead of std::list in StaticObjectList and ↵Loic Blot2015-03-045-15/+12
| | | | MutexedMap::getValues()
* ABMHandler and player_collisions use sequential read/write. Switch from ↵Loic Blot2015-03-046-89/+18
| | | | | | std::list to std::vector * Also remove dead code Map::unloadUnusedData which is dead since a long time
* ClientInterface::getClientIDs doesn't need a std::list. Use a std::vector ↵Loic Blot2015-03-044-71/+57
| | | | for better perfs
* We always know playerSAO when calling SendInventory. Using it instead of ↵Loic Blot2015-03-044-12/+12
| | | | searching it via peer_id
* Send Position packet on event, don't check it at each AsyncRunStep.Loic Blot2015-03-045-45/+10
| | | | * This permit to cleanup the player checking loop
* ASyncRunStep doesn't need to lock when do setTimeOfDaySpeed.Loic Blot2015-03-043-35/+40
| | | | | * 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
* Send Inventory packet on event, don't check it at each AsyncRunStep.Loic Blot2015-03-047-34/+17
| | | | | | * 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
* Remove unused m_wielded_item_not_sentLoic Blot2015-03-033-13/+2
|
* Send Breath packet on event, don't check it at each AsyncRunStepLoic Blot2015-03-036-16/+16
|
* Send Player HP when setHP (or a setHP caller) is called instead of looping ↵Loic Blot2015-03-036-42/+54
| | | | and testing the state change.
* Fix occlusionMiguel Almeida2015-03-021-2/+2
|
* Fix narrow_to_wide_c (ANDROID)Craig Robbins2015-03-021-3/+5
| | | | | * Ensure converted string is NUL terminated * Restore logic to that used prior to 9e2a9b5
* Mgv6: Add heightmap. Do not make large caves that are entirely above groundparamat2015-03-022-0/+35
|
* Revert "Fix particles draworder" (issue #2388)Loic Blot2015-02-271-2/+2
| | | | This reverts commit c09d026f0561ee3c6db821a7e193716f724a0e4a.
* Change find_surface_nodes_in_area to find_nodes_in_area_under_airCraig Robbins2015-02-272-10/+18
|
* Add find_surface_nodes_in_area LUA call which permit to only get the nodes ↵Loic Blot2015-02-272-3/+53
| | | | which touch air. This permit to massively improve performance for mods like plantlife
* Fix minor memory leak (Android)Craig Robbins2015-02-271-5/+10
|