aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
Commit message (Collapse)AuthorAge
* 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
|
* Change screenshot colorformat properlyBlockMen2014-09-03
|
* Don't save alpha channel in screenshots (fixes #1451)BlockMen2014-09-03
|
* Fix chat messages capturing mouse interactions for menu/formspecssapier2014-08-23
|
* Use pause_fps_max also on multiplayerSmallJoker2014-08-22
|
* Reduce time of red screen when damagedSmallJoker2014-08-22
| | | | 10 seconds in PvP is very long and annoying.
* Remove FPS from being next to the version stringPerttu Ahola2014-07-05
|
* Add support for Android 2.3+sapier2014-06-29
| | | | | | | | | | | | | There have been plenty of ppl involved in creating this version. I don't wanna mention names as I'm sure I'd forget someone so I just tell where help has been done: - The partial android versions done by various ppl - Testing on different android devices - reviewing code (especially the in core changes) - testing controls - reviewing texts A big thank you to everyone helping this to be completed!
* Add formspec api versioningsapier2014-06-29
|
* Fix wrong status text rectangle. Fix for #1412RealBadAngel2014-06-27
|
* Fix chat overlaying full screen, now it's gonna overlay only up to length of ↵sapier2014-06-20
| | | | longest line
* Remove not really used guiTextInputMenusapier2014-06-17
|
* Fix issue #1275 - wielded index greater than inv size.RealBadAngel2014-06-17
|
* Fix HUD not visible if below ground blacked outsapier2014-06-12
|
* Fix switch from "skybox" to other sky types as triggered by player:set_sky()Perttu Ahola2014-06-08
|
* Small cleanup of hud add/remove codesapier2014-05-31
|
* Hide pause menu prior drawing "shutting down..." messagesapier2014-05-24
|
* Add support for interlaced polarized 3d screenssapier2014-05-18
| | | | Add (experimental) support for topbottom as well as sidebyside 3d mode
* Fix error messages beeing shown on pressing cursor keys in various menussapier2014-05-11
|
* Fix heart + bubble bar size on different texture packssapier2014-05-07
| | | | | | | Add DPI support for statbar Move heart+bubble bar to Lua HUD Add statbar size (based upon an idea by blue42u) Add support for customizing breath and statbar
* Bugfix: make waypoints respect camera offsetRealBadAngel2014-05-05
|
* Add download rate to media progress bar (non http mode only!)sapier2014-04-29
| | | | Minor coding style fixes
* Make debug text adjust it's border to the screensize and fix a border update bugShadowNinja2014-04-27
|
* Add support for dpi based HUD scalingsapier2014-04-27
| | | | | | Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
* Fix lost pause support in singleplayersapier2014-04-24
|
* Fix formspec replacement handling for in game formspecssapier2014-04-22
|
* Fix red background missing in deathscreensapier2014-04-21
|
* Replace deathscreen by formspec variantsapier2014-04-19
|
* Fix warningsproller2014-04-19
|
* Remove liquid_finite and weatherproller2014-04-18
|
* Fix all warnings reported by clangSfan52014-04-15
|
* Add player:set_eye_offset() by @MirceaKitsune and clean upBlockMen2014-04-12
|
* Add third person viewBlockMen2014-04-12
|
* Infer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANYKahrl2014-04-10
|
* Cleanup client init states by bumping protocol versionsapier2014-04-08
| | | | | | | | | | Don't use TOSERVER_RECEIVED_MEDIA but TOSERVER_CLIENT_READY as indicatio for client ready Handle clients with protocol version < 23 (almost) same way as before Make client tell server about it's version Add client state to not send bogus player position updates prior init complete Add access to statistics information (peer connction time,rtt,version) Fix clients standing stalled in world while preloading item visuals (new clients only) Add get_player_information to read client specific information from lua