aboutsummaryrefslogtreecommitdiff
path: root/src/hud.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Raise hotbar limit to 32 slots, add associated keybinding options (#7916)Vanessa Dannenberg2018-12-021-1/+1
| | | | add associated keybinding options update docs and settingtypes
* [CSM] Add basic HUD manipulation. (#6067)red-0012018-01-201-107/+7
| | | | | | * [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
* Minimap: Add new HUD flag for minimap radar modeparamat2017-08-201-6/+7
| | | | | Flag default is true to not change default behaviour. The existing minimap HUD flag remains the master control for minimap.
* C++ modernize: Pragma once (#6264)Loïc Blot2017-08-171-4/+1
| | | | * Migrate cpp headers to pragma once
* Irrlicht cleanup: cleanup various object to use RenderingEngine (#6088)Loïc Blot2017-07-021-2/+1
| | | | | | | | | | | * Irrlicht cleanup: cleanup various object to use RenderingEngine * CAO doesn't need scenemanager in addToScene * Camera doesn't need VideoDriver pointer or SceneManager in constructor * Hud doesn't need driver & scene manager in constructor * Hud doesn't need scenemanager pointer * Tile.h doesn't need IrrlichtDevice header (just SMaterial) * WieldMeshSceneNode: only take scene, we always use scene root node as parent
* hud.h: add missing false default state on use_hotbar_selected_imageLoïc Blot2017-06-191-1/+1
|
* Cpp11 initializers 2 (#5999)Loïc Blot2017-06-171-5/+5
| | | | | | | | | | * C++11 patchset 10: continue cleanup on constructors * Drop obsolete bool MainMenuData::enable_public (setting is called with cURL in server loop) * More classes cleanup * More classes cleanup + change NULL tests to boolean tests
* Add option to use neither node highlighting nor outliningezhh2017-05-151-1/+5
|
* Environment & IGameDef code refactoring (#4985)Ner'zhul2017-01-091-4/+4
| | | | | | | | | | | | | | | | | | | | | * Environment code refactoring * Cleanup includes & class declarations in client & server environment to improve build speed * ServerEnvironment::m_gamedef is now a pointer to Server instead of IGameDef, permitting to cleanup many casts. * Cleanup IGameDef * Move ITextureSource* IGameDef::getTextureSource() to Client only. * Also move ITextureSource *IGameDef::tsrc() helper * drop getShaderSource, getSceneManager, getSoundManager & getCamera abstract call * drop unused emerge() call * cleanup server unused functions (mentionned before) * Drop one unused parameter from ContentFeatures::updateTextures * move checkLocalPrivilege to Client * Remove some unnecessary casts * create_formspec_menu: remove IWritableTextureSource pointer, as client already knows it * Fix some comments * Change required IGameDef to Server/Client pointers * Previous change that game.cpp sometimes calls functions with Client + InventoryManager + IGameDef in same functions but it's the same objects * Remove duplicate Client pointer in GUIFormSpecMenu::GUIFormSpecMenu * drop ClientMap::sectorWasDrawn which is unused
* Halo: Highlight selected faceRealBadAngel2016-11-121-2/+7
| | | | | This is a slightly modified and cleaned up version of #3774 by RealBadAngel. By sofar: Remove color change (just make it lighter) and some minor cleanups.
* Fix inventory hud scalingrubenwardy2016-04-121-3/+3
|
* Hud: Cache hud_scaling, fix minor style issueskwolekr2016-04-101-3/+3
|
* Hud: Fix offset being ignored by inventory barrubenwardy2016-04-101-3/+4
|
* Use single box for halo meshRealBadAngel2016-02-111-0/+1
|
* Cleanup selection mesh code, add shaders for halo and selection boxesRealBadAngel2016-02-081-3/+27
|
* small drawItemStack cleanupest312016-02-081-3/+8
| | | | | | -> Replace the three bool params with an enum -> Add struct for the static content, leads to less repetition -> cache enable_animations setting
* Use meshes to display inventory itemsRealBadAngel2016-02-071-3/+6
|
* Hide minimap if it has been disabled by serverest312015-09-011-2/+2
|
* minimap: Add ability to disable from serverkwolekr2015-08-131-4/+8
|
* Make hud use fontengine toosapier2014-11-301-5/+2
| | | | | Fix non coding style conforming glb_fontengine to g_fontengine Fix fonts never been deleted due to grabbed to often
* Fix heart + bubble bar size on different texture packssapier2014-05-071-4/+6
| | | | | | | 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-051-1/+2
|
* Add support for dpi based HUD scalingsapier2014-04-271-10/+17
| | | | | | Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
* New HUD element - waypoint.RealBadAngel2014-01-261-4/+9
|
* Use player:set_hotbar_image() instead of hardcoded hotbar.pngPilzAdam2013-09-051-2/+6
|
* Add support for using textures in hotbarBlockMen2013-08-251-0/+2
|
* Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl2013-08-141-15/+17
|
* Add drowningPilzAdam2013-06-191-1/+2
|
* Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAMKahrl2013-05-261-1/+5
|
* Move scriptapi to separate folder (by sapier)sapier2013-05-251-1/+1
| | | | | | | | | | | 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)
* Minor hud.cpp cleanupkwolekr2013-04-251-2/+2
|
* Generalize hud_builtin_enable into hud_set_flagskwolekr2013-04-251-14/+7
|
* Added support to disable built-in HUD elementsDiego Martínez2013-04-241-2/+15
|
* Added offset support for HUD itemsDiego Martínez2013-04-231-2/+4
|
* Added support for alignment in HUD itemsDiego Martínez2013-04-231-1/+3
|
* Add direction parameter to statbars in HUD APIkwolekr2013-04-201-1/+5
| | | | Fix health bar overlap when a larger texture is used
* Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modificationkwolekr2013-04-181-0/+116