aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Noise: Add noise unittestskwolekr2015-04-21
| | | | | Fix buffer size calculation for lacunarity < 1.0 Add guard against absurd noise parameters
* Fix sign-compare compiler warnings in mg_ore.cppShadowNinja2015-04-20
|
* Fix mod store ratingShadowNinja2015-04-20
|
* Ore: Add biomes parameterkwolekr2015-04-20
|
* Fix build on OS X (Thanks neoascetic)kwolekr2015-04-20
|
* Add 'persistence' alias for Lua noiseparams and validate more vector parameterskwolekr2015-04-19
|
* Noise: Correct noise objects created with invalid dimensionskwolekr2015-04-19
|
* Porting: Refactor initalizePaths()kwolekr2015-04-19
| | | | | Add support for Solaris and HP-UX Search additional potential procfs locations for current executable
* Disable connection timeout for singleplayer and server tabsest312015-04-19
| | | | In worlds with many mods we can easily reach timeout, waiting for the server to start.
* Biome API: Add biome-specific river waterparamat2015-04-19
|
* fix infinite spawnersobneq2015-04-18
|
* Schematics: Fix core.schematic_create()kwolekr2015-04-17
|
* 10s timeout when connecting to serverSmallJoker2015-04-17
|
* Fix build since: "Remove referenced schematics from Decorations on clear"est312015-04-17
| | | | | | Fixes build, which has been broken for all platforms (except BSD?) since grandparent 406d9ba87b9f6e57b86c6282bf157e3341aa195c. Thanks to @SmallJoker for pointing out a solution.
* Switch to check_v3s16 in l_mapgen.cpp and l_vmanip.cpp for type safetykwolekr2015-04-17
|
* Schematics: Remove referenced schematics from Decorations on clearkwolekr2015-04-17
|
* Refactor around translatePasswordest312015-04-17
| | | | | | | Change types for passed password from wstring to string, which removes converting back and forth in most cases. Move the narrow_to_wide conversion, where its neccessary, closer to irrlicht. Remove trailing spaces in guiPasswordChange.cpp. Make parameters for translatePassword passed as const reference.
* Biomes: Remove referenced biomes from Decorations on clearkwolekr2015-04-16
|
* Fix path detection with --std= parameterest312015-04-17
| | | | | | Fixes path detection when compilers have been told to follow a standard, e.g. with -DCMAKE_CXX_FLAGS=--std=c++98. To see the passed defines, try this with and without the --std parameter: gcc -E -dM --std=c99 - < /dev/null | grep linux
* Fix build for < C++11 since last commitest312015-04-17
| | | | | Build broke since last commit 479f38973e13680d6a39d9c2a7f29fd330b67d41 for compilers not supporting C++11. Pre C++11, the constructor of std::ifstream only allows C like strings.
* Schematics: Refactor NodeResolver and add NodeResolveMethodkwolekr2015-04-16
| | | | | | | | | NodeResolver name lists now belong to the NodeResolver object instead of the associated NodeDefManager. In addition to minimizing unnecessary abstraction and overhead, this move permits NodeResolvers to look up nodes that they had previously set pending for resolution. So far, this functionality has been used in the case of schematics for serialization/deserialization.
* Use std::vector instead of std::set for Environment::getObjectsInsideRadiusLoic Blot2015-04-16
| | | | | We are only iterating sequentially, we don't need a set here Also use a vector reference instead of a copy
* Mgv5: Fix above/below ground spawn when water level is alteredparamat2015-04-16
|
* Mgv5/v7: Add check for water for deciding biome node stabilityparamat2015-04-16
|
* Defaultsettings: Add dungeons and jungles flags. Update conf.exampleparamat2015-04-14
|
* Schematics: Reorganize (de)serialization and add Lua serialization APIkwolekr2015-04-13
|
* Mgv6: Fix taiga, allow pine tree spawning on snowblocksparamat2015-04-12
|
* Mgv6: Add optional snow biomesparamat2015-04-12
|
* Fix a rare crash case un SendPlayerHPNer'zhul2015-04-11
| | | If the player is disconnected while Lua API is doing a l_punch call, for example, the playersao is NULL and the server crash. Fix it.
* Document for api functions that rely on current_modname, that it doesn't ↵est312015-04-08
| | | | work when not loading mods
* Link against shlwapi.lib and unify linker input sources for Windowskwolekr2015-04-08
|
* Fix freetype detectionDmitry Marakasov2015-04-08
| | | | Don't reinvent freetype detection, use working one from cmake.
* Schematics: Prepend mod path to relative schematic filepathskwolekr2015-04-08
|
* TOCLIENT_ACTIVE_OBJECT_MESSAGES: channel must be 1 for unreliable messageLoic Blot2015-04-07
|
* Fix missing SQLite3 statement pointer initializationShadowNinja2015-04-07
| | | | | This fixes a segfault when the database is shut down before it finishes connecting and setting up.
* Cavegen: Remove now unnecessary checks for water, lava, iceparamat2015-04-07
| | | | | | | Remove large cave checks for air Mgv5/mgv7:Add is_ground_content checks to 3d noise tunnels More large caves Shorten lines
* Make comments consistent with TOSERVER_INIT -> TOSERVER_INIT_LEGACY renameest312015-04-07
|
* Change screenshot filename to one likely to work on all modern filesystemsCraig Robbins2015-04-06
| | | | Fixes #2603
* TOCLIENT_ACTIVE_OBJECT_REMOVE_ADD can be unreliable, catch PacketError ↵Loic Blot2015-04-05
| | | | | | exception. Also set the packet size at creation not when pushing rawString, no functional change
* craftdef.cpp: Return 0 after assert to make Clang happyLoic Blot2015-04-05
|
* Fix uninitialized variabled in ConnectionEventLoic Blot2015-04-05
|
* Crafting speedupest312015-04-05
| | | | | | | | | | | | | | | 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.
* Remove errorstream logging on password changeest312015-04-03
| | | | This seems to be a debug message which has been forgotten to be removed.
* Fix players spawned at (0,0,0) in some rare cases instead of ↵Loic Blot2015-04-03
| | | | | | static_spawnpoint, if set Approved by: @kwoelkr
* Create PacketError exception and use it with ACTIVEOBJECT_REMOVE_ADD handler ↵Loic Blot2015-04-03
| | | | which can be unreliable
* Fix crash caused by null texture in GUI formspec/HUD.Aaron Suen2015-04-02
|
* Fix MSVC error caused by ed10005SmallJoker2015-04-02
|
* Treegen: Add pine tree. Force place trunksparamat2015-04-01
| | | | | | Speed-optimise leaves blits Use MMVManip for make_jungletree Use correct code style
* Move globals from main.cpp to more sane locationsCraig Robbins2015-04-01
| | | | | | | | | | | | 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
* NetworkPacket: reading outside packet is now clearer.Loic Blot2015-04-01
| | | | Use a common function to check the reading offset