Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add DISABLE_CLASS_COPY macro (and use it) | kwolekr | 2015-10-27 | 1 | -0/+2 |
| | | | | | | | | | Use this macro to disallow copying of an object using the assignment operator or copy constructor. This catches otherwise silent-but-deadly mistakes such as "ServerMap map = env->getMap();" at compile time. If so desired, it is still possible to copy a class, but it now requires an explicit call to memcpy or std::copy. | ||||
* | Allow setting chunksize in core.set_mapgen_params | kwolekr | 2015-10-04 | 1 | -0/+1 |
| | |||||
* | Hide mapgens from main menu not intended for end users | kwolekr | 2015-10-04 | 1 | -1/+2 |
| | |||||
* | Add emerge completion callback mechanism | kwolekr | 2015-10-04 | 1 | -34/+77 |
| | | | | Major refactor of emerge.cpp and Map::init/finishBlockMake | ||||
* | Add /emergeblocks command and core.emerge_area() Lua API | kwolekr | 2015-09-23 | 1 | -2/+6 |
| | |||||
* | Clean up threading | ShadowNinja | 2015-08-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | * Rename everything. * Strip J prefix. * Change UpperCamelCase functions to lowerCamelCase. * Remove global (!) semaphore count mutex on OSX. * Remove semaphore count getter (unused, unsafe, depended on internal API functions on Windows, and used a hack on OSX). * Add `Atomic<type>`. * Make `Thread` handle thread names. * Add support for C++11 multi-threading. * Combine pthread and win32 sources. * Remove `ThreadStarted` (unused, unneeded). * Move some includes from the headers to the sources. * Move all of `Event` into its header (allows inlining with no new includes). * Make `Event` use `Semaphore` (except on Windows). * Move some porting functions into `Thread`. * Integrate logging with `Thread`. * Add threading test. | ||||
* | Respect game mapgen flags and save world noise params | ngosang | 2015-03-07 | 1 | -4/+1 |
| | |||||
* | Shorten ManualMapVoxelManipulator to MMVManip | kwolekr | 2015-01-05 | 1 | -1/+1 |
| | |||||
* | Mapgen: Use getBlockSeed2() for blockseeds (much better uniformity) | kwolekr | 2014-12-29 | 1 | -1/+0 |
| | |||||
* | Add core.get_mapgen_names() to Main Menu API (and use it) | kwolekr | 2014-12-29 | 1 | -5/+3 |
| | | | | Also rewrite mapgen registration for static initialization | ||||
* | Expose mapgen parameters on scripting init | kwolekr | 2014-12-29 | 1 | -5/+0 |
| | | | | | Add minetest.get_mapgen_params() Deprecate minetest.register_on_mapgen_init() | ||||
* | Rewrite generate notification mechanism | kwolekr | 2014-12-06 | 1 | -1/+2 |
| | | | | | | | Add support for notify-on-decoration Clean up mapgen constructors Clean up mapgen.cpp code style somewhat Remove trailing whitespace from some files | ||||
* | Fix warnings and other misc. minor changes | kwolekr | 2014-11-14 | 1 | -1/+0 |
| | |||||
* | Add Generator Element Management framework | kwolekr | 2014-11-12 | 1 | -13/+19 |
| | | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager | ||||
* | Split up mapgen.cpp | kwolekr | 2014-11-01 | 1 | -2/+0 |
| | |||||
* | Add minetest.set_noiseparam_defaults() Lua API | kwolekr | 2014-02-15 | 1 | -0/+1 |
| | |||||
* | ServerEnvironment: Remove direct dependency on EmergeManager | kwolekr | 2014-02-09 | 1 | -9/+1 |
| | |||||
* | Huge overhaul of the entire MapgenParams system | kwolekr | 2014-02-03 | 1 | -13/+8 |
| | | | | | | MapgenParams is no longer a polymorphic class, eliminating the need for messy and bug-prone reallocations. Separation between the common and mapgen-specific parameters is now strongly defined. Mapgen parameters objects are now properly encapsulated within the proper subsystems. | ||||
* | Fix use of previously deallocated EmergeManager | kwolekr | 2014-01-26 | 1 | -1/+4 |
| | |||||
* | Replace SimpleThread by JThread now implementing same features | sapier | 2013-12-15 | 1 | -1/+1 |
| | |||||
* | Add map feature generation notify Lua API | kwolekr | 2013-12-14 | 1 | -0/+2 |
| | |||||
* | EmergeManager: Fix Lua mapgen override param handling | kwolekr | 2013-12-08 | 1 | -6/+7 |
| | |||||
* | Add virtual destructor to IBackgroundBlockEmerger to silence warning | Kahrl | 2013-08-15 | 1 | -0/+1 |
| | |||||
* | Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenu | Kahrl | 2013-08-14 | 1 | -46/+17 |
| | |||||
* | Add Lua on_mapgen_init callback, and minetest.set_mapgen_params API | kwolekr | 2013-06-27 | 1 | -0/+9 |
| | |||||
* | Add minetest.get_mapgen_object to API | kwolekr | 2013-06-27 | 1 | -1/+2 |
| | |||||
* | Add initial Decoration support, many misc. improvements & modifications | kwolekr | 2013-06-17 | 1 | -0/+1 |
| | |||||
* | Fix nearly all warnings | kwolekr | 2013-05-19 | 1 | -2/+2 |
| | |||||
* | Add Mapgen V7, reorganize biomes | kwolekr | 2013-04-07 | 1 | -1/+22 |
| | |||||
* | Add Ore infrastructure and l_register_ore() | kwolekr | 2013-03-24 | 1 | -1/+2 |
| | |||||
* | Fix most warnings, re-fix MSVC compile error | kwolekr | 2013-02-26 | 1 | -1/+1 |
| | |||||
* | Misc. cleanup and minor fixes | kwolekr | 2013-02-25 | 1 | -3/+5 |
| | |||||
* | Add multi-Emerge thread support | kwolekr | 2013-02-25 | 1 | -7/+8 |
| | |||||
* | Add emerge queue limit configuration | kwolekr | 2013-02-25 | 1 | -4/+9 |
| | |||||
* | Add global and per-peer queue limits | kwolekr | 2013-02-25 | 1 | -17/+15 |
| | |||||
* | Add emerge.cpp, initial EmergeThread changes | kwolekr | 2013-02-25 | 1 | -0/+122 |
- Neatly placed all emerge related code into a new file, emerge.cpp - Greatly cleaned up the code in EmergeThread::Thread() - Reworked Emerge queue. Now an actual std::queue of v3s16 block positions - Removed the completely unnecessary map of peer ids requesting blocks |