| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move networkcode to a dedicated directory
* Rename clientserver.h to network/networkprotocol.h (Better name) and sanitize some includes
* Create object NetworkPacket
* It stores command (opcode) and data separated
* It also stores peer_id
* Data reading can be done by using a streaming interface
* Change packet routing analysis
* Remove old conditional analysis
* Now uses function pointed analysis and add connection state ({Client,Server}::handlers)
* Connection state permit to categorize condition to handle before analyze packets
* Create a handler for depreciated messages, instead of duplicating code
|
|
|
|
| |
with Hotbar
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Conf.example: Add mgv7 cave1, cave2 noiseparams
Mgv7: Make skipping of mountain code relative to y=0 not water level
Mountain noise offset now -0.6 to compensate
Tune chance of large caves
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
matching
|
| |
|
|
|
|
|
| |
Remove software exception translator function, simplifying exception handler
macros. FatalSystemExceptions are left unhandled.
|
| |
|
|
|
|
| |
Remove inventorycube() workaround for default:glass in minimal game
|
|
|
|
|
|
| |
Disables local map saving for all local server types
See: https://github.com/minetest/minetest/issues/2024
|
|
|
|
| |
This fixes issue #2219
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
A missing map_meta.txt should be treated simply as if there were a blank file.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
callback (8% perf improvement in game loop) Ensure variable is set Ensure settings callback is threadsafe
|
|
|
|
|
|
| |
(8% perf improvement in game loop)"
This reverts commit a555e2d9b0ccee452996381a44677b8bec210036.
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
improvement in game loop)
Amend the settings callback to support userdata
|
|
|
|
| |
underground mapchunks
|
| |
|
|
|
|
| |
Remove widthn and make nridge zero underwater
|
|
|
|
|
|
| |
Remove unnecessary range limiting of persistmap
Skip calculation of filler, mountain, ridge, heat and humidity perlinmaps in underground mapchunks
Skip generateRidgeTerrain in underground mapchunks
|
|
|
|
|
|
|
| |
calculate widthn later in function
Reduce width to 0.2
Carve river channels in deeper waters
|
| |
|
|
|
|
|
|
|
| |
Caves check for biome nodes, only excavate stone under water level
Unease caves noises, use MT0.3 parameters
Blobgen after cavegen
Biomegen: remove 'is replaceable content' bool
|
| |
|
|
|
|
|
|
|
| |
at all
Add -Wall to Debug modes for all compilers and -Wabi for non-MSVC
Use /Ox for MSVC Release mode (potentially higher optimization than /O2)
|
| |
|
|
|
|
| |
This reverts commit 839c4a99cddcacdc19dee42286b7029c4c1e7800.
|
|
|
|
| |
-O1 results in executables that are completely useless for actuall debugging
|
|
|
|
|
|
|
|
| |
Clean up nearby code a bit
As a small side effect, it is now possible to add a background texture
to the chat console by simply providing background_chat.jpg, it is no
longer necessary to also add "console_color =" to minetest.conf.
|
|
|
|
| |
union member
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|