aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix MSVC compile errorShadowNinja2015-03-27
|
* Clean up and tweak build systemShadowNinja2015-03-27
| | | | | | | | | | | | | | | | * 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.
* lua_api/l_mapgen: generate_ores/decorations: make p1, p2 optionalparamat2015-03-24
|
* Change filename of screenshots to something more human readableCraig Robbins2015-03-25
|
* Update timestamp to include dateCraig Robbins2015-03-25
|
* Don't send an InventoryAction at each setInventoryModified, we only need one ↵Loic Blot2015-03-24
| | | | | | | | 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
* Slow down the "key repeat" touch speed for some Android controlsCraig Robbins2015-03-24
| | | | Increases the key/buttons repeat delay for fly, noclip, fast, debug and camera buttons
* Add core.register_schematic() and cache schematics on usekwolekr2015-03-23
|
* Fix endianness inconsistency with PcgRandom::bytes()kwolekr2015-03-23
|
* Schematics: Error if unable to open filekwolekr2015-03-23
|
* Do not enable texture_clean_transparent by defaultkwolekr2015-03-23
| | | | | | | | | 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.
* Mgv6: Use heightmap in placeTreesAndJungleGrass()paramat2015-03-23
|
* Fix for sun/moon tonemaps: don't upscale 1px images.Aaron Suen2015-03-23
|
* Fix minetest.get_craft_recipe functionest312015-03-23
| | | | Previously, calling it resulted in a crash.
* Player: Fix a deadlock triggered by previous commit ↵Loic Blot2015-03-22
| | | | 0e5e49736c0a5fa29bca257bafc02d7c7a7171c9
* Protect Player::hud from concurrent modificationsLoic Blot2015-03-22
| | | | Sometimes HUD can be modified by ServerThread and EmergeThread results in a crash on client side because the HUD is not correct
* Mgv7: 1 up , 1 down overgeneration for chunk border continuityparamat2015-03-22
| | | | | | Fixes biome layer at y = 47 when base/alt terrain exceeds it Also fixes missing dust glitch at y = 47 Mgv5/mgv7:Cleanup code
* Revert "Add a Lua call to do damages / heals" ok @ShadowNinjaLoic Blot2015-03-22
| | | | This reverts commit 467fc0ddc912ae38c3bf9fcb99e0b66d7478eec0.
* Remove unused ConnectionCommand::sendToAll function. ↵Loic Blot2015-03-22
| | | | | | 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
* Fix some loose ends from 3993093fkwolekr2015-03-22
|
* Add support for the PCG32 PRNG algo (and associated script APIs)kwolekr2015-03-22
|
* SendInventory when handleCommand_Interact is a use.poet-nohit2015-03-21
| | | | This call was missing when change looping to triggering SendInventory: 1b2f64473ed4f222d3b7f02df853730d4382105e
* Fix composite textures with texture_min_size. Moved upscaling of textures to ↵Aaron Suen2015-03-22
| | | | later in the process, when images are converted to textures, instead of right after image load, so the original image is unmodified for generateImagePart.
* Connect rails with connect_to_raillike and shorten the codesSmallJoker2015-03-21
|
* Optimize minetest.get_(all)_craft_recipe(s)gregorycu2015-03-20
| | | | Signed off by: ShadowNinja, kwolekr
* Configurable automatic texture scaling and filtering at load time.Aaron Suen2015-03-20
| | | | Signed off by: Zeno, kwolekr
* Revert "Fix issue #2441: crash on respawn, since a conversion std::list to ↵kwolekr2015-03-20
| | | | | | | std::vector on Environment.cpp" This reverts parts of commit 9749d9fee6db99da1ab861dc04ec63ef973db3e0, which breaks node resolver list clearing
* Mgv5/mgv7: Sprinkle dust from full_node_max.Y if chunk above is generatedparamat2015-03-19
| | | | Mgv5: Add large_cave_depth constant
* Reset the old HP method on PlayerSAO::setHPLoic Blot2015-03-19
|
* Fix game minetest.conf default settingsest312015-03-18
| | | | This was a regression introduced by f6e4c5d9cf459e8278a76a2beaee59732e841458 .
* Add a Lua call to do damages / healsLoic Blot2015-03-18
|
* ServerpacketHandler: spelling fixesLoic Blot2015-03-18
|
* Mgv6: Remove addDirtGravelBlobs, replaced by blob ore in Minetest Gameparamat2015-03-18
| | | | | Desert stone above y = -32 not water_level Remove unused generateExperimental()
* Save creative_mode and enable_damage setting for each world in world.mtfz722015-03-18
| | | | Create Parameters on world initialisation and set settings of old worlds
* MutexedQueue inherits must use std::deque instead of std::listLoic Blot2015-03-17
|
* Standalone bundle for OSX (w/ dependencies!)Pavel Puchkin2015-03-17
|
* Server::step throw is never catched in minetestserverLoic Blot2015-03-17
| | | | | | | | | | 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()
* Use the NetworkPacket api to read full version string instead of u8 ↵Loic Blot2015-03-17
| | | | | | pointers. Also store the reserved byte to use API properly Fixes #2509
* Fix a little regression on SendActiveObjectMessages which send all ↵Loic Blot2015-03-17
| | | | TOCLIENT_ACTIVE_OBJECT_MESSAGES as reliable
* Minor bug fix (lag between damage flash and hearts updating)Craig Robbins2015-03-17
|
* Fix various damage related bugs (client-side)Craig Robbins2015-03-17
| | | | E.g. spawning or teleporting into lava to become invinsible
* Minor cleanup: game.cppCraig Robbins2015-03-17
| | | | | | * Sort includes * Remove unnecessary includes * Ensure the parameter name for GameRunData is consistent for class member functions
* Revert "Server::step throw is never catched. Replace it with an errorstream ↵kwolekr2015-03-16
| | | | | | + assert" This reverts commit 5f8e48c63baf12930430d5d8fc07495021599e61.
* Server::step throw is never catched. Replace it with an errorstream + assertLoic Blot2015-03-16
| | | | | | | | 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()
* Move client packet generators to dedicated functions for:Loic Blot2015-03-16
| | | | | | | | * TOSERVER_INIT_LEGACY * TOSERVER_DELETEDBLOCKS * TOSERVER_GOTBLOCKS * TOSERVER_REMOVED_SOUNDS Also use a std::vector instead of std::set for TOSERVER_REMOVED_SOUNDS
* Move TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD and TOCLIENT_ACTIVE_OBJECT_MESSAGES ↵Loic Blot2015-03-16
| | | | to private functions
* Rename packethandler/{client,server}.cpp to {client,server}packethandler.cppLoic Blot2015-03-16
| | | | | * Requested by @Zeno- * Approved by @nerzhul
* If player is dead, permit it to respawn, even if damages are not enabledLoic Blot2015-03-16
| | | | * Mods can do setHP function to do damages and override the enable_damage value sometimes
* SendPlayerHPOrDie everytime at client connection, damage enabled or not, ↵Loic Blot2015-03-15
| | | | this will fix the player which stay dead at connection
* Finer progress bar updates when initializing nodesest312015-03-15
| | | | 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.