summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* Sound: fix static initialization order dependency by not having one (#7168)nOOb31672018-03-29
| | | | Ensure singleton is reset
* Optional alpha channel support for entitiesstujones112018-03-29
|
* Fix a warning introduced by c5b4e541749c50805519ce040d98a0a8e5e0ec03Loic Blot2018-03-29
|
* Fix a warning reported by clangLoic Blot2018-03-29
| | | | | 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 Blot2018-03-29
| | | | Also switch some of them which are reported by clang-tidy
* Load dependencies and description from mod.confAndrew Ward2018-03-28
|
* Add reasons to on_dieplayer and on_hpchangeAndrew Ward2018-03-28
|
* Add formspec theming using prepended stringsAndrew Ward2018-03-28
|
* Guard sound manager initialization with "enable_sound" (#7167)nOOb31672018-03-26
|
* macOS: don't require X11 libraries during compilation (#7149)D Tim Cummings2018-03-26
| | | 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 biometypesParamat2018-03-26
|
* Make sounds stop playing when entering game or mainmenunOOb31672018-03-24
|
* Cleanup sound manager class (#7158)Loïc Blot2018-03-24
| | | | | | | | | | * 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)you2018-03-24
| | | | * Print the mod loading time
* Fix some gcc 7.3 reported warningsLoic Blot2018-03-23
| | | | | | | | | | | ``` 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)nOOb31672018-03-23
| | | | * Global initialization of sound using SoundManagerGlobal
* Update mesh collector and move it to a separate file (#6904)Vitaliy2018-03-22
| | | | | | * Update MeshCollector * Simplify MeshCollector
* Minetest ASCII art: Move from actionstream to rawstreamparamat2018-03-21
|
* Fix node-nodebox lighting difference in direct sunlight (#7061)Vitaliy2018-03-17
|
* Fix a crash or random memory leak when reseting saved environment variable ↵Loic Blot2018-03-16
| | | | in test_servermodmanager.cpp
* Drop Server::m_enable_rollback_recording it's only used in server constructorLoic Blot2018-03-16
|
* ServerEnvironment::loadDefaultMeta: Loading default meta is only possible ↵Loic Blot2018-03-16
| | | | for ServerEnv itself
* Forgot to remove obsolete Server::m_modsLoic Blot2018-03-16
|
* Server: delegate mod management & config to ServerModConfiguration (#7131)Loïc Blot2018-03-16
| | | | | | | | * 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 elseLoic Blot2018-03-16
|
* Biomes: Fix vertical biome blendparamat2018-03-16
|
* Biome API: Add 'get_biome_name(biome_id)' APIparamat2018-03-11
| | | | Change name of default biome to a more suitable lowercase 'default'.
* Add Voxelarea unittests (#7121)Loïc Blot2018-03-11
| | | | * Add voxelarea unittests
* Finally fix android buildLoic Blot2018-03-11
|
* Fix Android build, but there is a remaining linking issue in ↵Loic Blot2018-03-11
| | | | | | guiConfirmRegistration * Also fix variable name overloading in guiConfirmRegistration
* Android build fixes for c++11stujones112018-03-11
|
* Drop texture file list cache (#6660)Vitaliy2018-03-10
|
* Fix typo in lighting code since bcdb3d5SmallJoker2018-03-10
|
* Spawn level: Add 'get_spawn_level(x, z)' APIparamat2018-03-10
| | | | Returns a suitable player spawn y co-ordinate for unmodified terrain.
* Formspecs: Unify textarea and field parsing functions, fix wrong fallback textSmallJoker2018-03-09
| | | | | | | * textarea[], field[]: Unify function, fix wrong fallback text * Remove apparently superflous mainmenumanager.h incldue * intlGUIEditBox.cpp: make read-only boxes really read-only * Use elseif (trivial)
* VoxelArea: add_{x,y,z,p} must be staticLoic Blot2018-03-09
| | | | | Fix some documentations issues Use getNodeNoCheck(v3s16, ...) in some cases instead of getNodeNoCheck(x, y, z, ...)
* Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ↵Loic Blot2018-03-09
| | | | ModMetadata
* ServerEnvironment & StaticObject cleanupsLoic Blot2018-03-09
| | | | | | * isFreeServerActiveObjectId is now part of ServerEnvironment * getFreeServerActiveObjectId is now part of ServerEnvironment * StaticObject constructor now take ServerActiveObject instead of type + string. This permits to remove a big string copy in some code parts
* Drop unused Server::m_ignore_map_edit_events_peer_idLoic Blot2018-03-09
|
* Variable name fix + structure creation unrolling in lighting codeLoic Blot2018-03-09
|
* Drop less performant Server::setBlockNotSent for ↵Loic Blot2018-03-09
| | | | ClientInterface::markBlockposAsNotSent
* Getv3intfield: Fix logic of return boolparamat2018-03-09
|
* Biomes: Add 'min_pos'/'max_pos' xyz biome limitsparamat2018-03-09
| | | | 'y_min' and 'y_max' are still accepted for compatibility.
* Cleanup & bugfixLoic Blot2018-03-08
| | | | | | | | * ObjectRef::set_local_animation: fix wrong lua return (should push a boolean, currently returns nil) * ObjectRef::set_eye_offset: fix wrong lua return (should push a boolean, currently returns nil) * Fix various Server functions which depends on RemotePlayer objet and return true/false when player object is nil whereas it's a caller implementation error. Change those bool functions to void and add sanitize_check call instead. Current callers are always checking player object validity * Optimize Server::setClouds : use CloudParams object ref instead of attribute deserialization from structure & perform RemotePlayer::setCloudParams directly in server class like many other calls * Optimize Server::SendCloudParams: use CloudParams object ref instead of deserialized attributes
* Cleanup: drop Server::hudGetHotbarSelectedImage()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarSelectedImage() from server api
* Cleanup: drop Server::hudGetHotbarImage()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarImage() from server api & make it const ref
* Cleanup: drop Server::hudGetHotbarItemcount()Loic Blot2018-03-08
| | | | Call directly accessible RemotePlayer::getHotbarItemcount() from server api
* mods.cpp/h: little performance improvement in getModsInPath (+ codestyle) ↵Loïc Blot2018-03-08
| | | | | | | (#7108) * mods.cpp/h: little performance improvement in getModsInPath
* Fix missing warningstream (or similar problem) (#7034)you2018-03-04
| | | | | | | Use the --color command line parameter instead of a setting for coloured logs This fixes the missing warningstream bug, g_settings->get mustn't be used there. Also, the decision about en- or disabling log colours fits better to the command line parameters than minetest settings.
* Allow for getting world name and path separately on the command line (#6555)Brian2018-03-04
| | | | | | | | | Change to --worldlist instead of --world list. Gets rid of --worldpath parameter added as part of this pull request, instead moving the listing function to a command --worldlist that accepts either name, path, or both and prints out the corresponding information.