aboutsummaryrefslogtreecommitdiff
path: root/src/hud.h
AgeCommit message (Collapse)Author
2023-02-20Add chat HUD flag (#13189)Alex
2022-03-05Readd basic_debug as a HUD flag (#12020)Lars Müller
2021-07-27Add bold, italic and monospace font styling for HUD text elements (#11478)sfan5
Co-authored-by: Elias Fleckenstein <eliasfleckenstein@web.de>
2020-10-04Minimap as HUD element with API controlPierre-Yves Rollo
Features: * Define Minimap available modes (surface/radar, scale) from Lua, using player:set_minimap_modes() * New HUD elements for displaying minimap with custom size and placing * New minimap mode for displaying a texture instead of the map
2020-08-29Add compass HUD element (#9312)EvidenceB
Co-authored-by: Jean-Patrick Guerrero <jeanpatrick.guerrero@gmail.com> Co-authored-by: Pierre-Yves Rollo <dev@pyrollo.com> Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-05-23Modernize include guards and add missing ones (#9898)Awkor
2020-05-11Add support for statbar “off state” icons (#9462)Wuzzy
This adds support for optional “off state” icons for statbars. “off state icons” can be used to denote the lack of something, like missing hearts or bubbles. Add "off state" textures to the builtin statbars. Co-authored-by: SmallJoker <mk939@ymail.com>
2020-04-11Improve waypoints and add image variant (#9480)Lars Müller
2019-12-06Add z-index management to HUDPierre-Yves Rollo
2018-12-02Raise hotbar limit to 32 slots, add associated keybinding options (#7916)Vanessa Dannenberg
add associated keybinding options update docs and settingtypes
2018-01-20[CSM] Add basic HUD manipulation. (#6067)red-001
* [CSM] Add basic HUD manipulation. Workaround for on_connect not working right now.
2017-08-20Minimap: Add new HUD flag for minimap radar modeparamat
Flag default is true to not change default behaviour. The existing minimap HUD flag remains the master control for minimap.
2017-08-17C++ modernize: Pragma once (#6264)Loïc Blot
* Migrate cpp headers to pragma once
2017-07-02Irrlicht cleanup: cleanup various object to use RenderingEngine (#6088)Loïc Blot
* 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
2017-06-19hud.h: add missing false default state on use_hotbar_selected_imageLoïc Blot
2017-06-17Cpp11 initializers 2 (#5999)Loïc Blot
* 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
2017-05-15Add option to use neither node highlighting nor outliningezhh
2017-01-09Environment & IGameDef code refactoring (#4985)Ner'zhul
* 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
2016-11-12Halo: Highlight selected faceRealBadAngel
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.
2016-04-12Fix inventory hud scalingrubenwardy
2016-04-10Hud: Cache hud_scaling, fix minor style issueskwolekr
2016-04-10Hud: Fix offset being ignored by inventory barrubenwardy
2016-02-11Use single box for halo meshRealBadAngel
2016-02-08Cleanup selection mesh code, add shaders for halo and selection boxesRealBadAngel
2016-02-08small drawItemStack cleanupest31
-> Replace the three bool params with an enum -> Add struct for the static content, leads to less repetition -> cache enable_animations setting
2016-02-07Use meshes to display inventory itemsRealBadAngel
2015-09-01Hide minimap if it has been disabled by serverest31
2015-08-13minimap: Add ability to disable from serverkwolekr
2014-11-30Make hud use fontengine toosapier
Fix non coding style conforming glb_fontengine to g_fontengine Fix fonts never been deleted due to grabbed to often
2014-05-07Fix heart + bubble bar size on different texture packssapier
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
2014-05-05Bugfix: make waypoints respect camera offsetRealBadAngel
2014-04-27Add support for dpi based HUD scalingsapier
Add support for (configurable) multiline hotbar Improved screensize handling Add userdefined gui scale by BlockMen
2014-01-26New HUD element - waypoint.RealBadAngel
2013-09-05Use player:set_hotbar_image() instead of hardcoded hotbar.pngPilzAdam
2013-08-25Add support for using textures in hotbarBlockMen
2013-08-14Omnicleanup: header cleanup, add ModApiUtil shared between game and mainmenuKahrl
2013-06-19Add drowningPilzAdam
2013-05-26Add ObjectRef.hud_set_hotbar_itemcount and add TOCLIENT_HUD_SET_PARAMKahrl
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-25Minor hud.cpp cleanupkwolekr
2013-04-25Generalize hud_builtin_enable into hud_set_flagskwolekr
2013-04-24Added support to disable built-in HUD elementsDiego Martínez
2013-04-23Added offset support for HUD itemsDiego Martínez
2013-04-23Added support for alignment in HUD itemsDiego Martínez
2013-04-20Add direction parameter to statbars in HUD APIkwolekr
Fix health bar overlap when a larger texture is used
2013-04-18Split HUD code off to hud.cpp, make into a class, extensive Lua HUD modificationkwolekr