aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
Commit message (Collapse)AuthorAge
* Replace instances of std::map<std::string, std::string> with StringMapkwolekr2015-05-19
| | | | | | Also, clean up surrounding code style Replace by-value parameter passing with const refs when possible Fix post-increment of iterators
* ANDROID: Do not limit situations where fast is enabledCraig Robbins2015-05-15
| | | | Before this commit autofast for Android was ignored if the user was sneaking, digging or building. There is no reason for this and it impedes movement control
* Fix connection speed unit namesShadowNinja2015-05-06
|
* Revert the upper-case PROJECT_NAME nonsense that was part of #2402sfan52015-04-27
|
* Fix player pitch and yaw not being set properlyKevin Ott2015-04-26
|
* Disable connection timeout for singleplayer and server tabsest312015-04-19
| | | | In worlds with many mods we can easily reach timeout, waiting for the server to start.
* 10s timeout when connecting to serverSmallJoker2015-04-17
|
* Move texture_min_size even further down the pipe. Now, textures are ↵Aaron Suen2015-03-31
| | | | JIT-upscaled using an image transformation, right at the time they're added to a mesh or particle; images used in 2D elements are left unscaled. This should fix any remaining issues with HUD elements.
* On Android enable always fastCraig Robbins2015-03-30
| | | | | Invert the meaning of holding down the fast button (i.e. holding down the fast button -- if there is one -- means walk), unless performing an action, sneaking or jumping. Still requires fast move to be toggled on (and fast priv)
* Change error_message from wstring to stringShadowNinja2015-03-27
| | | | This removes a lot of narrow/wide conversions where a wide string was never used.
* Clean up and tweak build systemShadowNinja2015-03-27
| | | | | | | | | | | | | | | | * Combine client and server man pages. * Update unit test options and available databases in man page. * Add `--worldname` to man page. * Fix a bunch of places where `"Minetest"` was used directly instead of `PROJECT_NAME`. * Disable server build by default on all operating systems. * Make `ENABLE_FREETYPE` not fail if FreeType isn't found. * Enable LevelDB, Redis, and FreeType detection by default. * Remove the `VERSION_PATCH_ORIG` hack. * Add option to search for and use system JSONCPP. * Remove broken LuaJIT version detection. * Rename `DISABLE_LUAJIT` to `ENABLE_LUAJIT`. * Rename `minetest_*` variables in `version.{h,cpp}` to `g_*`. * Clean up style of CMake files.
* Minor cleanup: game.cppCraig Robbins2015-03-17
| | | | | | * Sort includes * Remove unnecessary includes * Ensure the parameter name for GameRunData is consistent for class member functions
* Finer progress bar updates when initializing nodesest312015-03-15
| | | | The bar is only drawn when the user will notice a change, which prevents time overheads that this commit would cause, resulting from useless draws.
* For usages of assert() that are meant to persist in Release builds (when ↵Craig Robbins2015-03-07
| | | | NDEBUG is defined), replace those usages with persistent alternatives
* Fix Android text bug (no text displaying)Craig Robbins2015-03-07
|
* ProfilerGraph: Use std::list instead of std::vectorLoic Blot2015-03-05
|
* Replace std::list to std::vector into tile.cpp (m_texture_trash) and move ↵Loic Blot2015-03-05
| | | | tile.hpp to src/client/
* Add camera smoothing and cinematic mode (F8)rubenwardy2015-02-25
|
* Use fixed size for builtin menus on non-android platformsPerttu Ahola2015-02-18
|
* Add player direction to on-screen debug textYaman2015-02-17
| | | | (PR Modified slightly)
* Minor fixes in translationsngosang2015-02-12
|
* Don't permit to open inventory is playerCAO isn't present. This prevent to ↵Loic Blot2015-02-11
| | | | open an empty inventory at player load. ok @zeno-
* Fix issue #2279. ok @zeno-Loic Blot2015-02-11
|
* Fix Exit to OS button focus in Pause Menungosang2015-02-10
|
* Fix rebase bug, make render loop use cache settinggregorycu2015-02-07
|
* Reduce gettext wide/narrow and string/char* conversionsShadowNinja2015-02-05
|
* Fix translation memory leakShadowNinja2015-02-05
|
* Fix translation finding of overlay messagesShadowNinja2015-02-05
|
* Fix local map saving when joining a local server from the server tabCraig Robbins2015-01-31
| | | | | | Disables local map saving for all local server types See: https://github.com/minetest/minetest/issues/2024
* Settings fixes Make the GameGlobalShaderConstantSetter use the settings ↵gregorycu2015-01-25
| | | | callback (8% perf improvement in game loop) Ensure variable is set Ensure settings callback is threadsafe
* Revert "Make the GameGlobalShaderConstantSetter use the settings callback ↵Craig Robbins2015-01-25
| | | | | | (8% perf improvement in game loop)" This reverts commit a555e2d9b0ccee452996381a44677b8bec210036.
* Fix unitialised variable occassionally being usedCraig Robbins2015-01-24
|
* Make the GameGlobalShaderConstantSetter use the settings callback (8% perf ↵gregorycu2015-01-23
| | | | | | improvement in game loop) Amend the settings callback to support userdata
* Fix use of uninit data in Sky and (potentially) GUIChatConsole constructorsKahrl2015-01-18
| | | | | | | | Clean up nearby code a bit As a small side effect, it is now possible to add a background texture to the chat console by simply providing background_chat.jpg, it is no longer necessary to also add "console_color =" to minetest.conf.
* Disable sound and key binding settings in "pause" menu on androidsapier2015-01-11
|
* Remove automatic consistent formspec size <-> font size (now has to be done ↵sapier2015-01-09
| | | | | | | manually) Set builtin formspecs to autoscale in order to get consistent formspec look and feel Uncouple label positioning from font size (May break some formspecs but is required to allow manual font adjustment)
* Fix memory leaks due to messed up memory handling for particles as well as ↵sapier2015-01-09
| | | | their spawners
* More consistent progress bar from 0-100 on startupsapier2015-01-02
|
* Add display_gamma option for clientCraig Robbins2014-12-31
|
* Cleanup updateCameraDirection and fix random input not workingCraig Robbins2014-12-30
|
* Center status text for better visibility.Kodexky2014-12-30
|
* Disable loading .mtl files. Theyre not used anyway.RealBadAngel2014-12-08
|
* Fix f6 debug/profiler displayCraig Robbins2014-12-08
| | | | After fonts were re-engineered the height of the f6 debug/profiler display would only display about 2-3 lines of text.
* Performance of main client loop up to 2x faster In places, up to 3 times fasterCraig Robbins2014-12-07
| | | | | NOTE 1: This does not mean a 2x increase in framerate. Increase in fps may be up to 1-2fps NOTE 2: This local 'caching' of settings is not optimal and an alternative solution will be worked on after 0.4.11 is released
* Add name of node 'pointed at' to debugCraig Robbins2014-12-05
| | | | This is "Add name of node pointed at to debug #1677" by @rubenwardy updated to work with game.cpp after it was refactored.
* Fix node 0,0,0 being highlighted when enable_node_highlighting == falseCraig Robbins2014-12-01
| | | | | Without this patch node 0,0,0 is highlighted when enable_node_highligting is false There is a minor lighting issue remaining, however it seems to be related to a different bug (https://github.com/minetest/minetest/issues/1887)
* Make hud use fontengine toosapier2014-11-30
| | | | | Fix non coding style conforming glb_fontengine to g_fontengine Fix fonts never been deleted due to grabbed to often
* Implement proper font handlingsapier2014-11-30
|
* added enable_build_where_you_stand optionSokomine2014-11-27
| | | | Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Fix client "double saving" simple singleplayer local mapsCraig Robbins2014-11-26
|