Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix last clang-tidy reported problems for performance-type-promotion-in-math-fn | Loic Blot | 2018-04-03 | 4 | -10/+52 |
| | | | | | | Based on https://travis-ci.org/minetest/minetest/jobs/361810382 output Also fix 2 missing copyright notices | ||||
* | Fix more clang-tidy reported problems for performance-type-promotion-in-math-fn | Loic Blot | 2018-04-03 | 3 | -24/+25 |
| | | | | Based on https://travis-ci.org/minetest/minetest/jobs/361714253 output | ||||
* | Fix various clang-tidy reported performance-type-promotion-in-math-fn | Loïc Blot | 2018-04-03 | 8 | -17/+20 |
| | |||||
* | Selected ItemStack: Reduce black magic (#6520) | SmallJoker | 2018-04-03 | 2 | -190/+143 |
| | | | | * Selected ItemStack: Reduce black magic Better button variable value naming | ||||
* | Optimize entity-entity collision (#6587) | Vitaliy | 2018-04-03 | 13 | -80/+613 |
| | | | | | | * Add IrrLicht type aliases * Add hash for IrrLicht vector * Add object map | ||||
* | Fix many issues reported by clang-tidy (#7189) | Loïc Blot | 2018-04-02 | 14 | -52/+61 |
| | | | | | | | | | | | * Fix many issues reported by clang-tidy We have many issues in code related to some performance to float <-> double. Clang-tidy reported it in performance-type-promotion-in-math-fn I fixed many of them. It's not ready for a promote to blocking Also fix some value which should be const-ref | ||||
* | 'fix' LINT, use InventoryLocation== | SmallJoker | 2018-04-02 | 2 | -14/+8 |
| | |||||
* | Run callback in IDropAction, refactor function arguments | SmallJoker | 2018-04-02 | 8 | -263/+220 |
| | |||||
* | Add player inventory callbacks | SmallJoker | 2018-04-02 | 5 | -1/+259 |
| | |||||
* | Formspecs: Use mouse wheel to pick up and deposit single items | you | 2018-04-02 | 1 | -43/+64 |
| | |||||
* | LINT: add clang-tidy step (#6295) | Loïc Blot | 2018-04-01 | 8 | -8/+319 |
| | | | | | | | | | * Implement new travis clang-tidy build step * This step enable some rules and enforce one rule as error * This permits to have some C++ quality rules based on clang & clang contributor guidelines * Fix clang-tidy reported problems on push_back -> emplace_back | ||||
* | ObjectRef: Add add_velocity() (#3208) | you | 2018-03-31 | 5 | -1/+27 |
| | | | | Allow changing the velocity of objects relatively to their current velocity | ||||
* | event.h: Fix import GCC warning caused by ce87310 | SmallJoker | 2018-03-31 | 1 | -1/+1 |
| | |||||
* | Client eventmanager refactor (#7179) | Loïc Blot | 2018-03-30 | 15 | -185/+249 |
| | | | | | | | | | | | | | | | | | | | | | * Drop EventManager from GameDef & do some client cleanups * EventManager is only used by Client. Don't expose it on Server & GameDef for nothing * Drop Client::event() in favor of direct calls to getEventManager * Cleanup some event put from new + put to put(new) * MtEvent: add Type(u8) enum * This will enhance event performance & ensure stricter type * Drop MtEvent::checkIs (unused) * clang-tidy reported fixes * Code style * Move event_manager.h to the client directory as it's only used by client Add EventManager unittests + switch to unordered_map as order is not important here Drop a unused function | ||||
* | Mgcarpathian: Mapgen loop optimisations. fabs() -> std::fabs() | Paramat | 2018-03-29 | 1 | -72/+80 |
| | | | | | | | * Mgcarpathian: ZYX -> ZXY mapgen loop optimisation. * 'pow(n, 3)' to 'n * n * n' type optimisations. * fabs() -> std::fabs(). | ||||
* | core.rotate_node: Do not trigger after_place_node (#6900) | SmallJoker | 2018-03-29 | 3 | -14/+20 |
| | |||||
* | Sound: fix static initialization order dependency by not having one (#7168) | nOOb3167 | 2018-03-29 | 1 | -0/+4 |
| | | | | Ensure singleton is reset | ||||
* | Optional alpha channel support for entities | stujones11 | 2018-03-29 | 7 | -9/+32 |
| | |||||
* | Fix a warning introduced by c5b4e541749c50805519ce040d98a0a8e5e0ec03 | Loic Blot | 2018-03-29 | 2 | -4/+6 |
| | |||||
* | Fix a warning reported by clang | Loic Blot | 2018-03-29 | 1 | -2/+2 |
| | | | | | minetest/src/script/cpp_api/s_player.h:27:1: warning: struct 'PlayerHPChangeReason' was previously declared as a class [-Wmismatched-tags] struct PlayerHPChangeReason; | ||||
* | Fix various Client class functions not marked as override (virtual) | Loic Blot | 2018-03-29 | 1 | -18/+19 |
| | | | | Also switch some of them which are reported by clang-tidy | ||||
* | Load dependencies and description from mod.conf | Andrew Ward | 2018-03-28 | 20 | -140/+237 |
| | |||||
* | Add reasons to on_dieplayer and on_hpchange | Andrew Ward | 2018-03-28 | 14 | -52/+219 |
| | |||||
* | Add formspec theming using prepended strings | Andrew Ward | 2018-03-28 | 16 | -18/+150 |
| | |||||
* | Update jsoncpp to 1.8.4 (#7172) | Loïc Blot | 2018-03-26 | 3 | -164/+187 |
| | |||||
* | Guard sound manager initialization with "enable_sound" (#7167) | nOOb3167 | 2018-03-26 | 1 | -1/+2 |
| | |||||
* | macOS: don't require X11 libraries during compilation (#7149) | D Tim Cummings | 2018-03-26 | 1 | -2/+2 |
| | | | The xxf86vm needs to be removed from Apple builds to avoid CMake Error XXF86VM_LIBRARY is NOTFOUND | ||||
* | Mapgen: Remove unused mgv7 code and some unused biometypes | Paramat | 2018-03-26 | 3 | -178/+0 |
| | |||||
* | Make sounds stop playing when entering game or mainmenu | nOOb3167 | 2018-03-24 | 1 | -1/+1 |
| | |||||
* | Cleanup sound manager class (#7158) | Loïc Blot | 2018-03-24 | 19 | -140/+151 |
| | | | | | | | | | | * Cleanup sound manager client * Use some const refs * Use auto on iterators * Drop unused parameters * Move sound_openal.* to client folder * Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly | ||||
* | Print the mod loading time (#7137) | you | 2018-03-24 | 1 | -1/+8 |
| | | | | * Print the mod loading time | ||||
* | Fix some gcc 7.3 reported warnings | Loic Blot | 2018-03-23 | 1 | -1/+5 |
| | | | | | | | | | | | ``` src/client/joystick_controller.h:85:2: warning: duplicate 'virtual' declaration specifier [-Wduplicate-decl-specifier] virtual bool isTriggered(const irr::SEvent::SJoystickEvent &ev) const; /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:22: warning: destructor called on non-final 'JoystickAxisCmb' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] destroy(_Up* __p) { __p->~_Up(); } /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/ext/new_allocator.h:140:22: warning: destructor called on non-final 'JoystickButtonCmb' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] destroy(_Up* __p) { __p->~_Up(); } ``` | ||||
* | Global initialization of sound using SoundManagerGlobal (#7063) | nOOb3167 | 2018-03-23 | 5 | -84/+116 |
| | | | | * Global initialization of sound using SoundManagerGlobal | ||||
* | Update mesh collector and move it to a separate file (#6904) | Vitaliy | 2018-03-22 | 8 | -291/+222 |
| | | | | | | * Update MeshCollector * Simplify MeshCollector | ||||
* | Gitlab CI: Disable currently broken ubuntu 16.10 & 17.04 builds | Loïc Blot | 2018-03-22 | 1 | -44/+44 |
| | | | I will try to repair them later | ||||
* | Lua_api.txt: Improve noise documentation | Paramat | 2018-03-22 | 1 | -33/+103 |
| | |||||
* | Minetest ASCII art: Move from actionstream to rawstream | paramat | 2018-03-21 | 1 | -1/+1 |
| | |||||
* | Mgfractal / chunksize: Improve documentation | paramat | 2018-03-20 | 1 | -9/+35 |
| | |||||
* | Lua_api.txt: Fix hardware colouring documentation | paramat | 2018-03-20 | 1 | -3/+3 |
| | | | | More 'draw type' -> 'paramtype2' changes, missing from a previous commit. | ||||
* | Add src/unittest/test_world/world.mt to gitignore | Loïc Blot | 2018-03-18 | 1 | -0/+1 |
| | | | Fixes #7146 | ||||
* | Add missing file to android build | Loic Blot | 2018-03-17 | 1 | -0/+1 |
| | |||||
* | Fix node-nodebox lighting difference in direct sunlight (#7061) | Vitaliy | 2018-03-17 | 3 | -29/+71 |
| | |||||
* | .gitignore: ignore more files (android, unittests) | Loic Blot | 2018-03-17 | 1 | -0/+4 |
| | |||||
* | Lua_api.txt: Split long lines part 6 | paramat | 2018-03-17 | 1 | -167/+258 |
| | |||||
* | Fix a crash or random memory leak when reseting saved environment variable ↵ | Loic Blot | 2018-03-16 | 1 | -2/+6 |
| | | | | in test_servermodmanager.cpp | ||||
* | Drop Server::m_enable_rollback_recording it's only used in server constructor | Loic Blot | 2018-03-16 | 2 | -3/+1 |
| | |||||
* | ServerEnvironment::loadDefaultMeta: Loading default meta is only possible ↵ | Loic Blot | 2018-03-16 | 3 | -10/+19 |
| | | | | for ServerEnv itself | ||||
* | Forgot to remove obsolete Server::m_mods | Loic Blot | 2018-03-16 | 2 | -3/+0 |
| | |||||
* | Server: delegate mod management & config to ServerModConfiguration (#7131) | Loïc Blot | 2018-03-16 | 13 | -74/+359 |
| | | | | | | | | * Server: delegate mod management & config to ServerModConfiguration (rename it to ServerModManager) * Use c++11 range based loops * Add unittests + experimental/default mod as a test case to permit testing mod loading in future tests | ||||
* | Fix an alone if to be with a missing else | Loic Blot | 2018-03-16 | 1 | -1/+1 |
| |