aboutsummaryrefslogtreecommitdiff
path: root/src/mapblock.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add map limit config optionrubenwardy2015-08-021-8/+9
|
* Precalculate mapblock relative size. This permit to remove many s16 calculs ↵nerzhul2015-07-291-1/+9
| | | | on runtime
* Mapblock: nodecount refactorest312015-05-311-4/+5
| | | | | | | Spare direct multoplication, use constant MapBlock::nodecount instead of local nodecount variables. Also use strides at one place instead of multiplications.
* Record MapBlock modification reasons as flags instead of stringskwolekr2015-05-171-211/+222
| | | | | This improves performance of MapBlock::raiseModified by a factor of 6. Also, clean up mapblock.h a bit and inline small functions.
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-071-1/+1
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Replace std::list by std::vector into ClientMap::updateDrawList, ↵Loic Blot2015-02-171-0/+2
| | | | | | Map::timerUpdate and ServerMap::save(). This will speedup the loop reading into those functions
* Fix a crash (assert) when client set serial version < 24 in INITLoic Blot2015-01-271-0/+1
| | | | | | | | | When SER_FMT_VER_LOWEST is set to zero, then the test is stupid in INIT because all client works. In mapblock we check if client's serialization version is < 24, but if client sent serialization version < 24 (15 for example) the server set it and tried to send nodes, then BOOM To resolve the problem: * Create a different CLIENT_MIN_VERSION to handle this problem * Remove the exception * Use an assert in case of bad developer code
* Water fixesgregorycu2015-01-181-0/+33
| | | | | | | Change must_reflow to a deque Add overload for MapBlock::raiseModified that takes a const char*. This is a speed improvement. Comment out unused variable Optimisations to block offset calculations
* Fix typo in mapblock.hCraig Robbins2014-12-121-1/+1
|
* Remove most exceptions from getNode() (and variants)Craig Robbins2014-11-141-25/+28
|
* Remove liquid_finite and weatherproller2014-04-181-5/+0
|
* Actually fix weatherkwolekr2013-11-171-1/+2
| | | | The real problem was that MapBlocks were not activated before getting sent to the client
* Weather: Clean up getHeat/getHumidity somewhatkwolekr2013-09-161-2/+1
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-8/+1
|
* Weather backward compatibilityproller2013-08-021-0/+3
|
* Weather supportproller2013-07-271-0/+5
|
* Migrate to STL containers/algorithms.Ilya Zhuravlev2013-03-111-1/+2
|
* Update Copyright YearsSfan52013-02-241-1/+1
|
* Change Minetest-c55 to MinetestPilzAdam2013-02-241-1/+1
|
* Reorganize ClientMap rendering code for a bit more performancePerttu Ahola2012-09-041-0/+22
| | | | | - Don't select blocks for drawing in every frame - Sort meshbuffers by material before drawing
* Fix map deserialization and remove old serialization codePerttu Ahola2012-07-231-1/+0
|
* Implement node timersdarkrose2012-07-231-0/+20
|
* Optimize headersPerttu Ahola2012-06-171-1/+3
|
* Properly and efficiently use split utility headersPerttu Ahola2012-06-171-0/+1
|
* Switch the license to be LGPLv2/later, with small parts still remaining as ↵Perttu Ahola2012-06-051-4/+4
| | | | GPLv2/later, by agreement of major contributors
* WIP node metadata, node timersKahrl2012-06-031-1/+4
|
* Reduce EnvRef:set_node() time tenfold by postponing the dayNightDiff update ↵Perttu Ahola2012-03-291-2/+10
| | | | until it is actually needed
* MapBlockMesh, mesh animation system, urgent mesh updates, athmospheric ↵Kahrl2012-03-151-106/+3
| | | | light, removed footprints
* Node placement / mineral / serialization / iron freq / node_dig callbackKahrl2012-01-221-21/+10
| | | | | | | | - Node placement code moved to Lua - Mineral system removed (added default:stone_with_coal and default:stone_with_iron). - MapBlock and MapNode serialization updated. - Mapgen: Frequency of iron increased. - node_dig callback and related changes.
* The huge item definition and item namespace unification patch (itemdef), see ↵Kahrl2012-01-121-3/+0
| | | | http://c55.me/minetest/wiki/doku.php?id=changes:itemdef
* Replace old active block random node modifying things with actual ↵Perttu Ahola2011-11-291-13/+11
| | | | ActiveBlockModifiers
* Add reason parameter to setModified and print it out to verbosestream when ↵Perttu Ahola2011-11-291-37/+31
| | | | saving block
* Node definition namesPerttu Ahola2011-11-291-0/+4
|
* GameDef compilesPerttu Ahola2011-11-291-6/+8
|
* Create framework for getting rid of global definitions of ↵Perttu Ahola2011-11-291-2/+4
| | | | node/tool/item/whatever types
* Allocate MapBlock::m_node_metadata on heap to allow less header bloatPerttu Ahola2011-11-291-2/+2
|
* mobv2Perttu Ahola2011-10-151-66/+0
|
* Saner block modification flag operation for not saving everything alwaysPerttu Ahola2011-10-121-4/+8
|
* Added a mapblock analyzing function for debugging use and fixed remaining ↵Perttu Ahola2011-07-241-0/+5
| | | | mapgen bugs
* more reorganizing of map codePerttu Ahola2011-06-261-6/+9
|
* New map generator added (and SQLite, messed up the commits at that time...) ↵Perttu Ahola2011-06-251-23/+102
| | | | (import from temporary git repo)
* Changed MapBlockObjects to be never written anymore. Incremented version number.Perttu Ahola2011-06-181-2/+2
|
* Moved stuff from mapblock{h,cpp} to mapblock_mesh.{h,cpp} and ↵Perttu Ahola2011-06-171-129/+8
| | | | content_mapblock.{h,cpp}
* tried to reduce unnecessary map saving disk i/o a bitPerttu Ahola2011-06-051-0/+4
|
* Preliminary "active block" stuff + set up test code to grow grass.Perttu Ahola2011-05-221-54/+53
|
* implemented rats in new system to verify that it worksPerttu Ahola2011-04-101-1/+2
|
* new object systemPerttu Ahola2011-04-101-0/+2
|
* now the server buildsPerttu Ahola2011-04-041-2/+6
|
* Made a proper queued thread to client for handling some block mesh updates. ↵Perttu Ahola2011-04-041-9/+30
| | | | Also made client mutex-free to allow easier adding of new stuff.
* Modified block mesh generation to have clearer input and output. Instead of ↵Perttu Ahola2011-04-031-11/+45
| | | | being a messy object oriented cludge, it now is a messy cludge with separate parameters.