aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)Author
2014-12-29Fix -Wtype-limits warnings and remove disabling of -Wtype-limitsCraig Robbins
2014-12-23Silence misc. warningskwolekr
2014-12-06Add workaround for failing clang buildsfan5
2014-11-30Implement proper font handlingsapier
2014-11-22Fix compiling if no endian.h foundPavel Puchkin
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>
2014-11-21serialize.h: use machine native byte swapping if available, fall-back to ↵Rafael Reilova
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>
2014-11-08Implement WieldMeshSceneNode which improves wield mesh renderingKahrl
- 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.
2014-11-08Add mgv5. New noise code, uses biome API. Eased 3d noise for terrain, caves, ↵paramat
blobs
2014-11-01Split up mapgen.cppkwolekr
2014-09-21Split settings into seperate source and header filesShadowNinja
This also cleans up settings a bit
2014-07-29Add ZLIBWAPI_DLL and LEVELDB_DLL CMake options Remove legacy MINGWM10_DLL ↵sfan5
CMake option Update 32-bit buildbot (OpenAL updated, zlib updated) Change build directory for buildbots to '_build' to prevent removal of Android build files Use -win64 suffix for 64-bit Windows builds Fixes #1476
2014-07-12Remove indev mapgenproller
2014-07-12Remove math mapgenproller
2014-06-29Copy zlib and freetype dll to windows package toosapier
2014-06-29OS X compatibility fixesMartin Doege
2014-06-17Remove not really used guiTextInputMenusapier
2014-05-25Works for debian and a few other distributions but fails for even more so ↵sapier
back to old order Revert "Fix library link order" This reverts commit b743dcb942eb1a88bce2968c08b114058738758b.
2014-05-24Fix library link ordersapier
2014-05-18Add support for interlaced polarized 3d screenssapier
Add (experimental) support for topbottom as well as sidebyside 3d mode
2014-04-19Replace deathscreen by formspec variantsapier
2014-04-16Add redis database backendSfan5
2014-03-11Fix generating winresource.o with build dir != source dirSfan5
2014-03-05Replace pause and message menu by formspec onessapier
2014-03-02Improved win32 file version informationsapier
2014-02-23Fix test for broken LuaJIT versions, solves #1152Sfan5
2014-02-16Fix broken cross-compilingSfan5
2014-02-13Add check to avoid usage of broken LuaJIT < 2.0.0beta8sapier
2014-01-31Add propper client initializationsapier
-add client states to avoid server sending data to uninitialized clients -don't show uninitialized clients to other players -propper client disconnect handling Minor comment fixes in server Minor bugfixes in connection -improved peer id calculation -honor NDEBUG flag -improved disconnect handling -increased initial send window Remove some dead code
2014-01-21Fix curl dll not getting installed when sound is disabledSfan5
2014-01-13Add formspec tableKahrl
2014-01-05BUILD: fix cmake list parsinghasufell
because cmake is unable to parse it's own lists properly
2014-01-05BUILD: prefer pkg-config for freetype2 detectionhasufell
This can solve numerous problems such as: http://www.cmake.org/Bug/view.php?id=13959 http://www.cmake.org/Bug/view.php?id=14601 If pkg-config or freetype2.pc is not found, then fall back to the FindFreetype.cmake module logic. Restrict to UNIX since I only tested it here.
2014-01-05Add option to link to OpenGL ES, fixes #1051Sfan5
2013-12-13Rewrite client media download and support hash-based remote downloadKahrl
Move most of the media-related code in client.cpp into a new class ClientMediaDownloader (clientmedia.cpp, clientmedia.h). Among other things, this class does the following things: - Download [remote_server][sha1] instead of [remote_server][name]. This is to support servers that provide the same file name with different contents. - Initially fetch [remote_server]index.mth. This file should follow the Minetest Hashset format (currently version 1) and contain a list of SHA1 hashes that exist on the server. - The list of needed SHA1s is uploaded (via HTTP POST) when index.mth is requested, so servers can optionally narrow down the list to the needs of the client. - If index.mth is missing (HTTP response code 404), we enter compat mode, fetching [remote_server][name] as before this commit. - remote_server can now contain multiple servers, separated by commas. The downloader code attempts to split requests between the different servers, as permitted by each server's index.mth. If one server claims to have a file but actually doesn't (or something fails), we ask a different server that also claims to have it. - As before, when none of the remote servers provide a particular file, we download it via the conventional method, i.e. using the minetest protocol: TOSERVER_REQUEST_MEDIA / TOCLIENT_MEDIA. - Bugfix: Every downloaded file's SHA1 is now verified against the SHA1 announced by the minetest server (before loading it and inserting it into the file cache). - Bugfix: Only send TOSERVER_RECEIVED_MEDIA when we actually have all media. This should fix #863.
2013-12-13Implement httpfetch module and initialize it from main()Kahrl
Add curl_parallel_limit setting that will replace media_fetch_threads in a later commit. Fix a typo in MutexedQueue::pop_back() that made it impossible to compile code that used this function. (Noticed this while implementing httpfetch.)
2013-11-11Fix win32/msvc i18n (quite UGLY version, blame Microsoft)sapier
2013-09-29Pass VERSION_EXTRA to GenerateVersion.cmakeKahrl
2013-09-28Show git hash in version string at top left corner of windowKahrl
2013-09-28Add curl, freetype and luaJIT to CMAKE_BUILD_INFOPilzAdam
2013-09-15Always use builtin JThread librarykwolekr
2013-09-09Use system-wide LevelDB instead of bundled oneSfan5
2013-09-09Add dummy and LevelDB database backendsIlya Zhuravlev
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-08-13Remove farmeshKahrl
2013-07-02Change debug optimization level back to -O1kwolekr
2013-07-02Replace C++ mainmenu by formspec powered onesapier
2013-06-23New math mapgen with fractal based worldsproller
2013-05-25Move scriptapi to separate folder (by sapier)sapier
On the lua side, notably minetest.env:<function>(<args>) should now be replaced by minetest.<function>(<args>). The old way is and will stay supported for a long time. Also: Update and clean up lua_api.txt (by celeron55) Move EnvRef to lua and remove add_rat and add_firefly (by kahrl) Add separate src/util/CMakeLists.txt, other minor fixes (by kahrl)
2013-04-21Class-ify caves & move to cavegen.cpp, fix cave regression, add caves to ↵kwolekr
Mapgen V7
2013-04-18Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modificationkwolekr