aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Fix client "double saving" simple singleplayer local mapsCraig Robbins2014-11-26
|
* Fixes for Android build errors. Enable sensor landscape rotation.KodexKy2014-11-25
| | | | | | | | | | | Fix typo in Android Makefile ndk path. Fix touchscreen parts of game.cpp to work after Zeno's refactor. Fix isdigit and isspace overload conflict with Android Irrlicht in string.h Enable sensor landscape rotation in Android Manifiest. Add mapgen v5 to Android build. Fix Makefile not checking leveldb. Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Port createForsythOptimizedMesh from Irrlicht 1.8RealBadAngel2014-11-23
| | | | Mesh rotation helpers.
* Fix regression with USE_REDIS (refactor_main)Craig Robbins2014-11-23
|
* refactor main.cppCraig Robbins2014-11-23
|
* Fix smooth lighting (ambient occlusion)Craig Robbins2014-11-22
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix compiling if no endian.h foundPavel Puchkin2014-11-22
| | | | | | | | | | | | f7d6509 introduces error when no endian.h found in the system. Since "CHECK_INCLUDE_FILE" returns empty string instead of "0", when "cmake_config.h" is generated it has "#define CMAKE_HAVE_ENDIAN_H " line. Later we have "#define HAVE_ENDIAN_H CMAKE_HAVE_ENDIAN_H" in the "config.h", an thus "HAVE_ENDIAN_H" is also empty sting. Because of this, "#if HAVE_ENDIAN_H" is incorrect preprocessor directive. Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* serialize.h: use machine native byte swapping if available, fall-back to ↵Rafael Reilova2014-11-21
| | | | | | | | | | | | | | | | | | | | | previous generic method if not (supported for GCC using endian.h, detection done in cmake) write/readARGB8() - just write 32-bit color in one op, instead of 4 1-byte ops cleanup: removed unneeded buffer init for some serialize-out functions use a #define for the fixed point factor in read/writeF1000() nodemetadata.cpp, nodetimer.cpp optimzation: simpler deserialize node position method staticobject.cpp: cleanup: use util/serialize.h inlines instead of its own de/serialization serialize.cpp: minor optimization/cleanup: avoid generation of unneeded string temporary CMakeLists.txt, cmake_config.h.in: detection of endian.h config.h: added HAVE_ENDIAN_H Commits due to feedback squashed Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Optimise functions from CNodeDefManager and VoxelManipulatorCraig Robbins2014-11-21
| | | | | CNodeDefManager::get() VoxelManipulator::addArea()
* Optimise getTileInfo()Craig Robbins2014-11-21
| | | | | getTileInfo() ~1.5x faster getSmoothLight ~2.0x faster
* Mgv5 1 up 1 down overgeneration for biome surface continuityparamat2014-11-20
|
* Mgv5 get ground level at point function. Fast spawn player versionparamat2014-11-20
|
* Simplify loading of Android version of menuShadowNinja2014-11-20
|
* Fix raillike bug (currently manifests itself on Android), and minor ↵Kodexky2014-11-20
| | | | | | improvement to readability. NB: Minor edits to patch made by Zeno- (int to short and minor formatting)
* Clean up rollbackShadowNinja2014-11-19
|
* Fix wallmounted mesh rotationsShadowNinja2014-11-19
|
* Add (optional) client-side saving of server map to disksfan52014-11-19
|
* Remove unused rangelim function (the macro still exists)Kahrl2014-11-19
|
* Fix double free bug when server is shut downCraig Robbins2014-11-15
| | | | Thanks @oleastre
* Fix NoisePerlin3DEased return valuekwolekr2014-11-14
|
* Fix warnings and other misc. minor changeskwolekr2014-11-14
|
* Remove most exceptions from getNode() (and variants)Craig Robbins2014-11-14
|
* Add option 'eased' to NoiseParamsSmallJoker2014-11-13
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix compilation under some Linux distributionskwolekr2014-11-13
|
* Mapgen v7: Fix uninitialized spflagskwolekr2014-11-12
| | | | Mapgen v5: Fix minor style issue
* Add eased 3d point-value noise functionskwolekr2014-11-12
|
* Add Generator Element Management frameworkkwolekr2014-11-12
| | | | Add BiomeManager, OreManager, DecorationManager, and SchematicManager
* Wielded fixes. Add shaders support.RealBadAngel2014-11-13
|
* Fix profiler values not being updated (F6) and not being loggedCraig Robbins2014-11-11
|
* Serverlist: announce mg_name from map_meta.txt instead of minetest.confKahrl2014-11-10
|
* Merge pull request #1825 from Zeno-/control_key_cacheZeno-2014-11-10
|\ | | | | Create faster key cache for main game loop (client)
| * Create faster key cache for main game loop (client)Craig Robbins2014-11-10
| |
* | Tune cave noise scales to 6. Fix blobs spflag, now enabled. Update conf.exampleparamat2014-11-09
|/
* Implement WieldMeshSceneNode which improves wield mesh renderingKahrl2014-11-08
| | | | | | | | | | | | | - Don't create and cache an extruded mesh for every (non-node) item. Instead use a single one per image resolution. - For cubic nodes reuse a single wield mesh too - Improve lighting of the wielded item - Increase far value of wield mesh scene camera, fixes #1770 - Also includes some minor refactorings of Camera and GenericCAO.
* Stop inserting empty lines at end of minetest.conf file each time it is ↵Craig Robbins2014-11-08
| | | | | | rewritten See: https://github.com/minetest/minetest/issues/1790
* Fix regressions and minor improvements in refactor_the_gameCraig Robbins2014-11-08
| | | | | | a) Fix double tap for jump and show_debug b) Revert changes to limitFps()... there is no verification that the new method was an issue, but going back to old method just in case b.2) limitFps() no longer calls device->run() and also no longer has to be called immediately after a call to device->run()
* Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, ↵paramat2014-11-08
| | | | blobs
* Speed up removing a node (less block mesh updates).RealBadAngel2014-11-08
|
* Replace setting unlimited_player_transfer_distance with player_transfer_distanceSmallJoker2014-11-08
|
* Address issues related to refactoring the_gameCraig Robbins2014-11-03
| | | | | | Fix time of day persistence Fix wield item being updated every frame causing small performance hit Rename some classes and variables
* Fix regression: mouse wheel couldn't scroll from last hotbar item to firstKahrl2014-11-02
|
* Cleanup and (mostly) document util/string.h and (very) minor refactoringCraig Robbins2014-11-02
| | | | | Updated: Incorporated feedback from 'kahrl' Updated: Moved MinetestApp::boolToCStr() from game.cpp into string.h renaming it bool_to_cstr()
* Include mg_decoration.h, mg_ore.h from emerge.cpp to fix warningsKahrl2014-11-02
|
* Fix unit tests failing if IPv6 not availableCraig Robbins2014-11-02
| | | | | | See: https://github.com/minetest/minetest/issues/1526 https://github.com/minetest/minetest/issues/793
* Modified dtime calculation method in limitFps()Craig Robbins2014-11-02
|
* Refactor the_game() to make it more understandable and maintainable.Craig Robbins2014-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following is a record of 31 commits before squashing: Revert "Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism" This reverts commit b49e5cfc7013cef7e9af79d17e04f7e7e4c377d4. Basic reformatting with astyle -- additional formatting will be modified, manually, as the need for it is encountered Start "outlining" what a MinetestApp class might look like Add MinetestApp::shutdown() Converted class member functions to camelCase and created protos for new functions First stage of connect to server done Add get itemdefs/nodedefs/media code Init clouds, camera, sky, init GUI, HUD Input handling Client events, camera, sound, draw Fix wield hand getting stuck digging and add debug text back Fix FPS Added profiler graph back Fix FPS issue Need to work out what went wrong and clean up the copy/paste stuff Annotate Various: Rewrote limitFps() Limited scope of some variables Jitter calcs Reduce scope of objects Move some stuff out of ::run and minor formatting cleanup Scope reduction Function splits Removed old (broken) limitFps() Added exception handling back Fixed some formatting Reverted commented out unit tests (uncommented them) Slow clouds down on loading and media screens so the behaviour is like the original the_game() Formatting/style (no functional changes) Manually reapply upstream b49e5cf: Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism Fixed silly errors on my part Minor formatting cleanups Removed strange differentiation in FPS limiting when loading FPS limiting was done differently if cloud_menu_background was true, which does not make sense Cleaning up Add some comments
* Split up mapgen.cppkwolekr2014-11-01
|
* Fix erroneous lua_pop parameterkwolekr2014-10-30
|
* Fix uninitialized variable warningkwolekr2014-10-30
|
* mapgen: Resolve nodes in ctor rather than makeChunkkwolekr2014-10-30
|