aboutsummaryrefslogtreecommitdiff
path: root/src/mapgen_v5.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-04-05TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD can be unreliable, catch PacketError ↵Loic Blot2-17/+22
exception. Also set the packet size at creation not when pushing rawString, no functional change
2015-04-05craftdef.cpp: Return 0 after assert to make Clang happyLoic Blot1-0/+4
2015-04-05Fix uninitialized variabled in ConnectionEventLoic Blot1-1/+2
2015-04-05Crafting speedupest313-88/+349
This greatly increases crafting performance, especially in worlds with many mods. Approved by @kwolekr. Introduces a hash-type-layered fall-through mechanism, where every layer specifies one hash algorithm, and the "deeper the fall", the more collisions to expect for the algorithm. One Craft definition only resides at one layer, which improves speed for lower layers (and a complete fail), due to most craft definitions residing at high layers. Due to the fall-through design, the undocumented behaviour that later craft recipes override older ones had to be weaked up a bit, but craft recipes with the same hash and layer will still override.
2015-04-05Add reason to kicked log message and use present tenseest311-3/+6
2015-04-03Remove errorstream logging on password changeest311-1/+0
This seems to be a debug message which has been forgotten to be removed.
2015-04-03Fix players spawned at (0,0,0) in some rare cases instead of ↵Loic Blot2-25/+17
static_spawnpoint, if set Approved by: @kwoelkr
2015-04-03Create PacketError exception and use it with ACTIVEOBJECT_REMOVE_ADD handler ↵Loic Blot3-15/+24
which can be unreliable
2015-04-02Fix crash caused by null texture in GUI formspec/HUD.Aaron Suen1-1/+6
2015-04-02Fix MSVC error caused by ed10005SmallJoker1-0/+1
2015-04-01Treegen: Add pine tree. Force place trunksparamat2-266/+495
Speed-optimise leaves blits Use MMVManip for make_jungletree Use correct code style
2015-04-01Move globals from main.cpp to more sane locationsCraig Robbins72-193/+119
Move debug streams to log.cpp|h Move GUI-related globals to clientlauncher Move g_settings and g_settings_path to settings.cpp|h Move g_menuclouds to clouds.cpp|h Move g_profiler to profiler.cpp|h
2015-04-01NetworkPacket: reading outside packet is now clearer.Loic Blot2-38/+31
Use a common function to check the reading offset
2015-04-01Fix some minor details from 6d61375kwolekr4-30/+37
2015-04-01Clean scaling pre-filter for formspec/HUD.Aaron Suen20-102/+524
2015-03-31Fix usage of destroyed mutexkwolekr2-80/+85
Also fix a memory leak Fix overloaded virtual warning in Player::move() Remove some trailing whitespace
2015-03-31Fix set_bitskwolekr1-1/+1
2015-03-31ObjDefManager, Mapgen SAPI: Huge refactoringkwolekr8-165/+313
- General code cleanup - Unified object creation and loading - Specifying objects in APIs is now orthogonal (i.e. anything can take an ID, name string, or the raw table definition (and automatically registers if present
2015-03-31Fix use of unitialized variable in gettext.cppCraig Robbins1-3/+3
#2583
2015-03-31Connection::Receive(): receive Network Packet instead of SharedBuffer<u8>.Loic Blot9-98/+104
Because we get a Buffer<u8> from ConnectionEvent, don't convert it to SharedBuffer<u8> and return it to Server/Client::Receive which will convert it to NetworkPacket Instead, put the Buffer<u8> directly to NetworkPacket and return it to packet processing This remove a long existing memory copy Also check the packet size directly into Connection::Receive instead of packet processing
2015-03-31RunCommandQueues: little optimizationLoic Blot1-6/+9
remove command from queue on success, else do nothing, instead of remove command from queue and push it front on success
2015-03-31Typo in getOutgoingSequenceNumber => successfull to successfulLoic Blot1-3/+3
2015-03-31Move texture_min_size even further down the pipe. Now, textures are ↵Aaron Suen11-78/+78
JIT-upscaled using an image transformation, right at the time they're added to a mesh or particle; images used in 2D elements are left unscaled. This should fix any remaining issues with HUD elements.
2015-03-31Change format of screenshot namesCraig Robbins2-16/+40
Filename screenshot_ + ISO 8601 format + [-serial] i.e. screenshot_YYYY-MM-DDTHH::MM::SS[-serial].png Serial is added if the filename + timestamp already exists and is in the range 1 to 999
2015-03-31GenElementManager: Pass opaque handles to Lua and rename to ObjDefManagerkwolekr16-203/+363
Add core.clear_registered_schematics() and refactor schematics somewhat
2015-03-30Use Buffer not SharedBuffer in NetworkPacket::oldForgePacketLoic Blot1-1/+1
2015-03-30On Android enable always fastCraig Robbins1-11/+29
Invert the meaning of holding down the fast button (i.e. holding down the fast button -- if there is one -- means walk), unless performing an action, sneaking or jumping. Still requires fast move to be toggled on (and fast priv)
2015-03-30Let main menu scale (non-Android)Craig Robbins1-5/+2
This fixes main menu not fitting for 800x600 (and lower resolutions) on PC builds
2015-03-29Fix Android build-related bugsCraig Robbins2-21/+16
E.g. Sound and freetype always being disabled, redefinition of pre-processor directives
2015-03-29Make sure g_timegetter is initalised before running speedtestsCraig Robbins1-3/+3
Thanks @SmallJoker for noticing the issue
2015-03-29Fix typoCraig Robbins1-1/+1
2015-03-29Update creditsCraig Robbins1-1/+6
2015-03-29queued_commands must be a std::deque. RunCommandQueues needs to push packet ↵Loic Blot2-13/+9
on front, not back
2015-03-28Fix uninitialized variable Player::local_animation_speedLoic Blot1-0/+1
2015-03-28Update minetest.poRui1-10/+295
Update minetest.po Update minetest.po
2015-03-28Add Lua function get_video_modes() for main menuCraig Robbins4-2/+34
Also updates and uses porting::getSupportedVideoModes()
2015-03-27Make camera clear error message if there's no errorShadowNinja1-0/+2
2015-03-27Fix GetText translation loadingShadowNinja1-2/+3
2015-03-27Change error_message from wstring to stringShadowNinja9-149/+129
This removes a lot of narrow/wide conversions where a wide string was never used.
2015-03-27Fix MSVC compile errorShadowNinja1-3/+3
2015-03-27Document nil player as being allowed for can_digShadowNinja1-1/+1
2015-03-27Fix typo in OpenGL ES 2 CMake fileShadowNinja1-1/+1
2015-03-27Clean up and tweak build systemShadowNinja50-1063/+744
* Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
2015-03-25Remove duplicate code since 8ca08a850ff2494652aa0ac2daa3d00f03aa4e7aLoic Blot1-17/+14
2015-03-25Update German translation and minetest.potWuzzy2-519/+769
2015-03-24lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optionalparamat2-10/+18
2015-03-25Change filename of screenshots to something more human readableCraig Robbins1-6/+15
2015-03-25Update timestamp to include dateCraig Robbins1-2/+2
2015-03-24Don't send an InventoryAction at each setInventoryModified, we only need one ↵Loic Blot5-10/+15
SendInventory per inventory modification Client doesn't like to receive multiples SendInventory for one action, this can trigger glitches on clients (sometimes due to incorrect UDP packet ordering due to UDP protocol) This fix issue #2544
2015-03-24Slow down the "key repeat" touch speed for some Android controlsCraig Robbins2-9/+17
Increases the key/buttons repeat delay for fly, noclip, fast, debug and camera buttons