Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add limit parameter to decompressZlib | Ben Deutsch | 2020-02-01 | 1 | -1/+1 |
| | | | | | This can prevent untrusted data, such as sent over the network, from consuming all memory with a specially crafted payload. | ||||
* | C++ modernize: Pragma once (#6264) | Loïc Blot | 2017-08-17 | 1 | -5/+1 |
| | | | | * Migrate cpp headers to pragma once | ||||
* | compressZlib: don't use a SharedBuffer but a raw u8 * pointer | Loic Blot | 2017-07-27 | 1 | -2/+2 |
| | | | | | | | | Remove usage of the SharedBuffer in zlib compression which has two problems: * We copied the whole memory block to compress it (not good with mapblocks) * We copied sometimes strings to SharedBuffer to SharedBuffer (2nd time) Use this method in MapNode::serializeBulk + optimize serialization but merging 3 identical loops in a single loop | ||||
* | Private nodemeta (#5702) | sfan5 | 2017-05-10 | 1 | -2/+3 |
| | | | | * Private node metadata that isn't sent to the client | ||||
* | Lighting: Update lighting at block loading | Dániel Juhász | 2017-02-13 | 1 | -2/+3 |
| | | | | | This commit updates mapblocks' light if necessary when they are loaded. This removes ghost lighting. | ||||
* | Serialisation: documentation fixes, clarifying renames and whitespace fixes | est31 | 2015-09-14 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | 1. Do two renames: * SER_FMT_CLIENT_VER_LOWEST -> SER_FMT_VER_LOWEST_WRITE * SER_FMT_VER_LOWEST -> SER_FMT_VER_LOWEST_READ Now the two define values are consistently named with the _WRITE defines SER_FMT_VER_{HIGHEST,LOWEST}_WRITE, and to better point out what the two serialisation versions actually are for. 2. wrap some lines in doc/worldformat.txt, and point out that the node timers are serialized at a later point, as this can cause confusion about what now happens (if one doesn't strictly read the if block's conditions). 3. some whitespace fixes in NodeTimerList::serialize, and one new comment. | ||||
* | Fix a crash (assert) when client set serial version < 24 in INIT | Loic Blot | 2015-01-27 | 1 | -0/+4 |
| | | | | | | | | | 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 | ||||
* | Revert "Fix a crash (assert) when client set serial version < 24 in INIT ↵ | Craig Robbins | 2015-01-27 | 1 | -3/+3 |
| | | | | | | | | command 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" nerzhul is (may?) be working on a new solution. For the moment this is reverted because old worlds cannot be loaded (see discussion on github for the commit). This reverts commit 800d19270250bb13cc6b2d330199815bf8e96446. | ||||
* | Fix a crash (assert) when client set serial version < 24 in INIT command ↵ | (@U-Exp) | 2015-01-24 | 1 | -3/+3 |
| | | | | 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 | ||||
* | Fix -Wtype-limits warnings and remove disabling of -Wtype-limits | Craig Robbins | 2014-12-29 | 1 | -1/+3 |
| | |||||
* | Add compression API | ShadowNinja | 2014-09-20 | 1 | -2/+2 |
| | |||||
* | Weather backward compatibility | proller | 2013-08-02 | 1 | -3/+5 |
| | |||||
* | Weather support | proller | 2013-07-27 | 1 | -1/+2 |
| | |||||
* | Update Copyright Years | Sfan5 | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Change Minetest-c55 to Minetest | PilzAdam | 2013-02-24 | 1 | -1/+1 |
| | |||||
* | Improve node timer format (map format version 25) and update mapformat.txt | Perttu Ahola | 2012-07-24 | 1 | -2/+3 |
| | |||||
* | Fix map deserialization and remove old serialization code | Perttu Ahola | 2012-07-23 | 1 | -1/+1 |
| | |||||
* | Implement node timers | darkrose | 2012-07-23 | 1 | -2/+3 |
| | |||||
* | Optimize headers | Perttu Ahola | 2012-06-17 | 1 | -1/+1 |
| | |||||
* | Properly and efficiently use split utility headers | Perttu Ahola | 2012-06-17 | 1 | -1/+1 |
| | |||||
* | Switch the license to be LGPLv2/later, with small parts still remaining as ↵ | Perttu Ahola | 2012-06-05 | 1 | -4/+4 |
| | | | | GPLv2/later, by agreement of major contributors | ||||
* | WIP node metadata, node timers | Kahrl | 2012-06-03 | 1 | -2/+3 |
| | |||||
* | Node placement / mineral / serialization / iron freq / node_dig callback | Kahrl | 2012-01-22 | 1 | -1/+2 |
| | | | | | | | | - 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. | ||||
* | Node definition names | Perttu Ahola | 2011-11-29 | 1 | -1/+2 |
| | |||||
* | extended content-type range | Perttu Ahola | 2011-07-23 | 1 | -1/+2 |
| | |||||
* | initial steps in doing content type extension | Perttu Ahola | 2011-07-02 | 1 | -2/+3 |
| | |||||
* | New map generator added (and SQLite, messed up the commits at that time...) ↵ | Perttu Ahola | 2011-06-25 | 1 | -1/+2 |
| | | | | (import from temporary git repo) | ||||
* | Preliminary "active block" stuff + set up test code to grow grass. | Perttu Ahola | 2011-05-22 | 1 | -20/+22 |
| | |||||
* | Some work-in-progress in hp and mobs and a frightening amount of random fixes. | Perttu Ahola | 2011-04-21 | 1 | -1/+7 |
| | |||||
* | updated example map generator python script | Perttu Ahola | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | support for format 0 and 1 maps | Perttu Ahola | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | new object system | Perttu Ahola | 2011-04-10 | 1 | -1/+2 |
| | |||||
* | fully implemented the sign with the new framework | Perttu Ahola | 2011-04-04 | 1 | -1/+2 |
| | |||||
* | all kinds of tweaking and fixing | Perttu Ahola | 2011-02-04 | 1 | -1/+2 |
| | |||||
* | Initial commit of mapgen v.2. Lacks configuration and saving to disk. | Perttu Ahola | 2011-01-16 | 1 | -1/+2 |
| | |||||
* | day/night working client side | Perttu Ahola | 2010-12-19 | 1 | -1/+1 |
| | |||||
* | commit before content-tile separation | Perttu Ahola | 2010-12-13 | 1 | -5/+2 |
| | |||||
* | commit before some radicallish changes to water behavior | Perttu Ahola | 2010-12-11 | 1 | -1/+2 |
| | |||||
* | license stuff | Perttu Ahola | 2010-11-29 | 1 | -0/+19 |
| | | | | | --HG-- rename : src/licensecomment.txt => licensecomment.txt | ||||
* | - added map generating script | Perttu Ahola | 2010-11-29 | 1 | -1/+3 |
| | | | | - dropped support for versions older than 2 because of lighting support | ||||
* | Initial files | Perttu Ahola | 2010-11-27 | 1 | -0/+49 |