summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
Commit message (Collapse)AuthorAge
* Refactor texture overrides and add new features (#9600)Hugues Ross2020-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor texture overrides, and add new features: - Texture overrides can support multiple targets in one line - Texture override files can have comment lines - Item images/wield images can be overridden * Formatting changes * Address soime feedback - Pass vectors by const reference - Log syntax errors as warnings - Remove 'C' prefix from TextureOverrideSource * Simplify override target checks with an inline helper function * make linter happy * Apply feedback suggestions Co-Authored-By: rubenwardy <rw@rubenwardy.com> * Remove remaining != 0 checks * Update copyright notice Co-authored-by: sfan5 <sfan5@live.de> Co-authored-by: rubenwardy <rw@rubenwardy.com>
* Implement DPI scaling for Windows (#9586)sfan52020-04-11
|
* Drop content_sao.{cpp,h}Loic Blot2020-04-11
| | | | | | | Move LuaEntitySAO to a new dedicated file Drop TestSAO (useless object) Drop the old static startup initialized SAO factory, which was pretty useless. This factory was using a std::map for 2 elements, now just use a simple condition owned by ServerEnvironment, which will be lightweight, that will also drop a one time useful test on each LuaEntitySAO creation. This should reduce server load on massive SAO creation
* Move serveractiveobject & unitsaoLoic Blot2020-04-11
| | | | | Move serverobject.{cpp,h} to server/serveractiveobject.{cpp,h} Move UnitSAO class to dedicated files
* Drop genericobject.{cpp,h} (#9629)Loïc Blot2020-04-10
| | | | | | | | | | * Drop genericobject.{cpp,h} This file is not for generic object but for ActiveObject message passing. Put ownership of the various commands to the right objects and cleanup the related code. * Protect ServerActiveObject::m_messages_out * typo fix
* Work around LuaJIT issues on aarch64 (#9614)sfan52020-04-08
| | | | - Move the text segment below the 47-bit limit, needed for script_exception_wrapper which must be lightuserdata - Replace CUSTOM_RIDX_SCRIPTAPI with full userdata
* Fix linking failures when compiled with Clang 9sfan52020-03-05
|
* CMakeLists: Remove some redundant declarations and flagssfan52020-01-23
|
* Organize and sort out some library dependency issuessfan52020-01-23
|
* Remove zh_* from GETTEXT_BLACKLISTED_LOCALES (#9229)Zaoqi2020-01-22
|
* Move Quicktune code to util/ (#8871)ANAND2019-09-29
|
* Fix breakage of non-GLES2 setups (#8774)Jozef Behran2019-08-10
| | | | | | | | | | | The commit 526a9e4b66abaf83eb6b1aaa3e93375acd87b830 breaks the non-GLES2 setups because the code that is intended to handle that is behind "elseif()" which is interpreted as "elseif(false)" and thus the code never gets executed. Fix that by changing the offending line to else(). Additionally, to avoid breaking the server only build (which shall not have a dependency on GL/GLU/GLES at all), enclose the entire block code in if(BUILD_CLIENT).
* Let ENABLE_GLES appear in cmake_config.h and change its functionalitysfan52019-08-04
|
* Add compatibility to vcpkg buildsystem (#8317)adrido2019-06-10
|
* Find PostgreSQL correctly (#8435)adrido2019-04-07
|
* Don't include and link to gettext if gettext is not found (#8305)adrido2019-03-02
|
* DragonFly BSD is somewhat identical to FreeBSD (#8159)Leonid Bobrov2019-02-03
|
* Revert "Fix another GCC warning"Loïc Blot2018-12-04
| | | | This reverts commit e6811184d5824bf7d8febc157495dbecd3e4e0f7.
* Fix another GCC warningLoïc Blot2018-12-04
| | | | | | | | | ``` [ 10%] Building CXX object src/CMakeFiles/minetest.dir/client/render/interlaced.cpp.o cc1plus: warning: -Wabi won't warn about anything [-Wabi] cc1plus: note: -Wabi warns about differences from the most up-to-date ABI, which is also used by default cc1plus: note: use e.g. -Wabi=11 to warn about changes from GCC 7 ```
* Move client-specific files to 'src/client' (#7902)Quentin Bazin2018-11-28
| | | | | Update Android.mk Remove 'src/client' from include_directories
* Windows: Cpack wix installer (#6153)adrido2018-10-26
| | | | | | Create CPack WIX msi Installer for RUN_IN_PLACE=0 builds Correct paths on Windows for RUN_IN_PLACE=0 Install only required font files Games have their own components, and "minimal" is optional
* Make OpenGL preference configurable, default to LEGACY (#7666)SmallJoker2018-09-22
| | | | | This partially reverts 1ec5028 Add option OPENGL_GL_PREFERENCE
* Set OpenGL preference to GLVNDShadowNinja2018-08-18
| | | | This silences a CMake warning introduced in CMAKE 3.11.
* Set ENABLE_GETTEXT to TRUE by default (#7415)Wuzzy2018-06-05
|
* Add online content repositoryrubenwardy2018-04-19
| | | | Replaces mods and texture pack tabs with a single content tab
* 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
* 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
* 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 CMake error (#7074) by bumping the required CMake version past 3.8.1 (#7075)nOOb31672018-02-25
|
* CMakeLists use the source_group command to improve look and feel when ↵nOOb31672018-02-23
| | | | | | generating Visual Studio projects. The TREE argument of source_group appears in CMake 3.8 therefore check for version.
* CMakeLists pass windows sources (manifest and resource file) to executable ↵nOOb31672018-02-23
| | | | targets separately from common_SRCS
* [CSM] Add basic HUD manipulation. (#6067)red-0012018-01-20
| | | | | | * [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
* Move files to subdirectories (#6599)Vitaliy2017-11-08
| | | | * Move files around
* Initial Haiku support (#6568)miqlas2017-10-30
| | | | * Iitial Haiku support
* FormSpec : Add an auto vertical scrollbar to the textareaadelcoding12017-10-09
|
* Replace deprecated WINAPI GetVersionInfoEx (#6496)adrido2017-10-07
| | | | * Replace deprecated WINAPI GetVersionInfoEx
* Implement mod communication channels (#6351)Loïc Blot2017-09-26
| | | | | | | | | | Implement network communication for channels * Implement ModChannel manager server side to route incoming messages from clients to other clients * Add signal handler switch on client & ModChannelMgr on client to handle channels * Add Lua API bindings + client packet sending + unittests * Implement server message sending * Add callback from received message handler to Lua API using registration method
* Add clientside translations.Ekdohibs2017-08-24
|
* Dont define min/max macros in minwindef.h (#6308)adrido2017-08-24
|
* Network cleanup (#6302)Loïc Blot2017-08-24
| | | | | | | | | | | | | | | | | | | | | | | * Cleanup network headers * Move peerhandler to a specific header to reduce compilation times * Move socket.cpp/h to network folder * More work * Network code cleanups * Move socket.{cpp,h} to network folder * Move Address object to network/address.{cpp,h} * Move network exceptions to network/networkexceptions.h * Client: use unique_ptr for Connection * Server/ClientIface: use shared_ptr for Connection * Format fixes * Remove socket.cpp socket.h from clang-format whitelist * Also fix NetworkPacket code style & make it under clang-format
* Copy lua51.dll (luajit) to bindir (#6148)adrido2017-07-18
|
* Expose getPointedThing to LuaDániel Juhász2017-07-07
| | | | | | This commit introduces Raycast, a Lua user object, which can be used to perform a raycast on the map. The ray is continuable, so one can also get hidden nodes (for example to see trough glass).
* Mapgen: Add Carpathian mapgen (#6015)Vaughan Lapsley2017-07-06
|
* Fix msvc annoyances (#5963)adrido2017-06-27
| | | | | | | | | | | | | | | | | | | | * MSVC: Fix '/std:c++11' is not a valid compiler option * MSVC/MINGW: Define 'WIN32_LEAN_AND_MEAN' for the whole project In some obscure cases 'Windows.h" got includet before that definition, which leaded to compilation warnings+errors * MSVC: '/arch:SSE' is only available for x86 * MSVC: Fix float conversation * MSVC/MINGW: use winthreads on Windows * MSVC: 'USE_CMAKE_CONFIG' might be already definied by CMake build system * MSVC: Use all available cpu cores for compiling * Add missing include ctime and use std::time_t
* Isolate irrlicht references and use a singleton (#6041)Loïc Blot2017-06-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add Device3D class which will contain IrrlichtDevice interface move getSupportedVideoDrivers to Device3D Add Device3D singleton & use it in various places Rename Device3D to Rendering engine & add helper functions to various device pointers More singleton work RenderingEngine owns draw_load_screen move draw functions to RenderingEngine Reduce IrrlichtDevice exposure and guienvironment RenderingEngine: Expose get_timer_time() to remove device from guiEngine Make irrlichtdevice & scene manager less exposed * Code style fixes * Move porting::getVideoDriverName, getVideoDriverFriendlyName, getDisplayDensity, getDisplaySize to RenderingEngine Fix XORG_USED macro -> RenderingEngine + create_engine_device from RenderingEngine constructor directly * enum paralax => enum parallax
* Merge cguittfont lib in irrlicht change folder. (#6016)Loïc Blot2017-06-20
| | | | | | * Merge cguittfont lib in irrlicht change folder. This remove hack and static lib for FreeType
* Remove legacy content_abm.{cpp,h}Loïc Blot2017-06-14
|
* Improve the path select GUI (#5852)red-0012017-06-11
| | | | | | | | | | | - Allow lua to chose whatever directories or files can be selected - Fix selecting directories - Rename dialog to `guiPathSelectMenu` from `guiFileSelectMenu` - Rename lua function for opening the menu from `show_file_open_dialog` to `show_path_select_dialog` - Remove duplicate code and fix code style. Related changes - fix `clang-format` whitelist. - Regenerate minetest.conf.example
* Revert "Remove deprecated code segments (#5891)"Loïc Blot2017-06-06
| | | | This reverts commit 599e13e95e81aadb959c9f3715aec9b425ede084.
* Remove deprecated code segments (#5891)Thomas--S2017-06-04
|