summaryrefslogtreecommitdiff
path: root/src/game.cpp
Commit message (Collapse)AuthorAge
* 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
|
* Fixes for Android build errors. Enable sensor landscape rotation.KodexKy2014-11-25
| | | | | | | | | | | Fix typo in Android Makefile ndk path. Fix touchscreen parts of game.cpp to work after Zeno's refactor. Fix isdigit and isspace overload conflict with Android Irrlicht in string.h Enable sensor landscape rotation in Android Manifiest. Add mapgen v5 to Android build. Fix Makefile not checking leveldb. Signed-off-by: Craig Robbins <kde.psych@gmail.com>
* Remove most exceptions from getNode() (and variants)Craig Robbins2014-11-14
|
* Fix profiler values not being updated (F6) and not being loggedCraig Robbins2014-11-11
|
* Create faster key cache for main game loop (client)Craig Robbins2014-11-10
|
* Implement WieldMeshSceneNode which improves wield mesh renderingKahrl2014-11-08
| | | | | | | | | | | | | - 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.
* Fix regressions and minor improvements in refactor_the_gameCraig Robbins2014-11-08
| | | | | | a) Fix double tap for jump and show_debug b) Revert changes to limitFps()... there is no verification that the new method was an issue, but going back to old method just in case b.2) limitFps() no longer calls device->run() and also no longer has to be called immediately after a call to device->run()
* Address issues related to refactoring the_gameCraig Robbins2014-11-03
| | | | | | Fix time of day persistence Fix wield item being updated every frame causing small performance hit Rename some classes and variables
* Fix regression: mouse wheel couldn't scroll from last hotbar item to firstKahrl2014-11-02
|
* Cleanup and (mostly) document util/string.h and (very) minor refactoringCraig Robbins2014-11-02
| | | | | Updated: Incorporated feedback from 'kahrl' Updated: Moved MinetestApp::boolToCStr() from game.cpp into string.h renaming it bool_to_cstr()
* Modified dtime calculation method in limitFps()Craig Robbins2014-11-02
|
* Refactor the_game() to make it more understandable and maintainable.Craig Robbins2014-11-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following is a record of 31 commits before squashing: Revert "Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism" This reverts commit b49e5cfc7013cef7e9af79d17e04f7e7e4c377d4. Basic reformatting with astyle -- additional formatting will be modified, manually, as the need for it is encountered Start "outlining" what a MinetestApp class might look like Add MinetestApp::shutdown() Converted class member functions to camelCase and created protos for new functions First stage of connect to server done Add get itemdefs/nodedefs/media code Init clouds, camera, sky, init GUI, HUD Input handling Client events, camera, sound, draw Fix wield hand getting stuck digging and add debug text back Fix FPS Added profiler graph back Fix FPS issue Need to work out what went wrong and clean up the copy/paste stuff Annotate Various: Rewrote limitFps() Limited scope of some variables Jitter calcs Reduce scope of objects Move some stuff out of ::run and minor formatting cleanup Scope reduction Function splits Removed old (broken) limitFps() Added exception handling back Fixed some formatting Reverted commented out unit tests (uncommented them) Slow clouds down on loading and media screens so the behaviour is like the original the_game() Formatting/style (no functional changes) Manually reapply upstream b49e5cf: Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism Fixed silly errors on my part Minor formatting cleanups Removed strange differentiation in FPS limiting when loading FPS limiting was done differently if cloud_menu_background was true, which does not make sense Cleaning up Add some comments
* Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanismKahrl2014-10-24
|
* Move buttons upwards to accommodate for new configure keys button in theCraig Robbins2014-10-18
| | | | pause menu
* Add in-game key change menuMushiden2014-10-07
|
* Bugfix: dont highlight (0,0,0) when theres no node pointed.RealBadAngel2014-10-03
|
* Fix chat lines not word wrapped correctsapier2014-09-25
|
* Allow taking screenshots of formspecs and move message to chatBlockMen2014-09-21
|
* Node highlighting.RealBadAngel2014-09-17
|