aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-03-27Clean up and tweak build systemShadowNinja
* 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-24lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optionalparamat
2015-03-25Change filename of screenshots to something more human readableCraig Robbins
2015-03-25Update timestamp to include dateCraig Robbins
2015-03-24Don't send an InventoryAction at each setInventoryModified, we only need one ↵Loic Blot
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 Robbins
Increases the key/buttons repeat delay for fly, noclip, fast, debug and camera buttons
2015-03-23Add core.register_schematic() and cache schematics on usekwolekr
2015-03-23Fix endianness inconsistency with PcgRandom::bytes()kwolekr
2015-03-23Schematics: Error if unable to open filekwolekr
2015-03-23Do not enable texture_clean_transparent by defaultkwolekr
This feature is still experimental and has some issues. Also, increase texture_min_size to 64 px. The setting was initially a conservative 16 so that the effect would not be noticable for players who aren't using aniso/bi/trilinear filtering. This isn't necessary now that texture_clean_transparent is disabled by default.
2015-03-23Mgv6: Use heightmap in placeTreesAndJungleGrass()paramat
2015-03-23Fix for sun/moon tonemaps: don't upscale 1px images.Aaron Suen
2015-03-23Fix minetest.get_craft_recipe functionest31
Previously, calling it resulted in a crash.
2015-03-22Player: Fix a deadlock triggered by previous commit ↵Loic Blot
0e5e49736c0a5fa29bca257bafc02d7c7a7171c9
2015-03-22Protect Player::hud from concurrent modificationsLoic Blot
Sometimes HUD can be modified by ServerThread and EmergeThread results in a crash on client side because the HUD is not correct
2015-03-22Mgv7: 1 up , 1 down overgeneration for chunk border continuityparamat
Fixes biome layer at y = 47 when base/alt terrain exceeds it Also fixes missing dust glitch at y = 47 Mgv5/mgv7:Cleanup code
2015-03-22Revert "Add a Lua call to do damages / heals" ok @ShadowNinjaLoic Blot
This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
2015-03-22Remove unused ConnectionCommand::sendToAll function. ↵Loic Blot
NetworkPacket::oldForgePacket returns Buffer instead of SharedBuffer and is used in ConnectionCommand instead of Connection::Send This remove the NetworkPacket buffer => SharedBuffer => Buffer copy. Now NetworkPacket => Buffer
2015-03-22Fix some loose ends from 3993093fkwolekr
2015-03-22Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr
2015-03-21SendInventory when handleCommand_Interact is a use.poet-nohit
This call was missing when change looping to triggering SendInventory: 1b2f64473ed4f222d3b7f02df853730d4382105e
2015-03-22Fix composite textures with texture_min_size. Moved upscaling of textures to ↵Aaron Suen
later in the process, when images are converted to textures, instead of right after image load, so the original image is unmodified for generateImagePart.
2015-03-21Connect rails with connect_to_raillike and shorten the codesSmallJoker
2015-03-20Optimize minetest.get_(all)_craft_recipe(s)gregorycu
Signed off by: ShadowNinja, kwolekr
2015-03-20Configurable automatic texture scaling and filtering at load time.Aaron Suen
Signed off by: Zeno, kwolekr
2015-03-20Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵kwolekr
std::vector on Environment.cpp" This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver list clearing
2015-03-19Mgv5/mgv7: Sprinkle dust from full_node_max.Y if chunk above is generatedparamat
Mgv5: Add large_cave_depth constant
2015-03-19Reset the old HP method on PlayerSAO::setHPLoic Blot
2015-03-18Fix game minetest.conf default settingsest31
This was a regression introduced by f6e4c5d9cf459e8278a76a2beaee59732e841458 .
2015-03-18Add a Lua call to do damages / healsLoic Blot
2015-03-18ServerpacketHandler: spelling fixesLoic Blot
2015-03-18Mgv6: Remove addDirtGravelBlobs, replaced by blob ore in Minetest Gameparamat
Desert stone above y = -32 not water_level Remove unused generateExperimental()
2015-03-18Save creative_mode and enable_damage setting for each world in world.mtfz72
Create Parameters on world initialisation and set settings of old worlds
2015-03-17MutexedQueue inherits must use std::deque instead of std::listLoic Blot
2015-03-17Standalone bundle for OSX (w/ dependencies!)Pavel Puchkin
2015-03-17Server::step throw is never catched in minetestserverLoic Blot
Replace it with an errorstream + assert for server This throw can be trigger by LuaError exception or ConnectionBindFailed exception in the following functions: * EmergeThread::Thread() * ScriptApiEnv::environment_Step() * ScriptApiEnv::player_event() * ServerThread::Thread()
2015-03-17Use the NetworkPacket api to read full version string instead of u8 ↵Loic Blot
pointers. Also store the reserved byte to use API properly Fixes #2509
2015-03-17Fix a little regression on SendActiveObjectMessages which send all ↵Loic Blot
TOCLIENT_ACTIVE_OBJECT_MESSAGES as reliable
2015-03-17Minor bug fix (lag between damage flash and hearts updating)Craig Robbins
2015-03-17Fix various damage related bugs (client-side)Craig Robbins
E.g. spawning or teleporting into lava to become invinsible
2015-03-17Minor cleanup: game.cppCraig Robbins
* Sort includes * Remove unnecessary includes * Ensure the parameter name for GameRunData is consistent for class member functions
2015-03-16Revert "Server::step throw is never catched. Replace it with an errorstream ↵kwolekr
+ assert" This reverts commit 5f8e48c63baf12930430d5d8fc07495021599e61.
2015-03-16Server::step throw is never catched. Replace it with an errorstream + assertLoic Blot
This throw can be trigger by LuaError exception or ConnectionBindFailed exception in the following functions: * EmergeThread::Thread() * ScriptApiEnv::environment_Step() * ScriptApiEnv::player_event() * ServerThread::Thread()
2015-03-16Move client packet generators to dedicated functions for:Loic Blot
* TOSERVER_INIT_LEGACY * TOSERVER_DELETEDBLOCKS * TOSERVER_GOTBLOCKS * TOSERVER_REMOVED_SOUNDS Also use a std::vector instead of std::set for TOSERVER_REMOVED_SOUNDS
2015-03-16Move TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD and TOCLIENT_ACTIVE_OBJECT_MESSAGES ↵Loic Blot
to private functions
2015-03-16Rename packethandler/{client,server}.cpp to {client,server}packethandler.cppLoic Blot
* Requested by @Zeno- * Approved by @nerzhul
2015-03-16If player is dead, permit it to respawn, even if damages are not enabledLoic Blot
* Mods can do setHP function to do damages and override the enable_damage value sometimes
2015-03-15SendPlayerHPOrDie everytime at client connection, damage enabled or not, ↵Loic Blot
this will fix the player which stay dead at connection
2015-03-15Finer progress bar updates when initializing nodesest31
The bar is only drawn when the user will notice a change, which prevents time overheads that this commit would cause, resulting from useless draws.
2015-03-15mg_decoration: Raise highest allowed deco top to max edge of voxelmanipparamat
Remove max_y from functions, simplify code