Commit graph

29 commits

Author SHA1 Message Date
JeffR 970aba9766 Fixes design oversight where the general game menu keybind was being overridden due to order of operations issues with an offscreen canvas demoing the options menu
Fixed via several solutions to prevent issue from cropping up again.
Firstly, Adjusted behavior script-side so game menu keybind is pushed with the PlayGUI since almost every single game will use the game menu
Secondly, added logic so that the guiInputCtrl, when going to push an ActionMap(if it has one) will check if it's root canvas is active.
Thirdly, to allow guiInputCtrls to respond to a canvas becoming active, such as a GUi-on-Material surface displaying a menu and it's activated, an offscreen canvas becoming active now trips a signal that guiInputCtrl listens for.
2025-08-11 00:06:42 -05:00
marauder2k7 1918ecfdd6 feedback from az
fixes for interaction from az
2025-06-18 20:44:37 +01:00
marauder2k7 b5cd9d0c73 Update guiCrossHairHud.cpp 2025-06-18 17:08:40 +01:00
marauder2k7 6f9c4158d8 gui offscreen material test
added interaction static guioffscreencanvas to capture mouse events
added test shape
2025-06-18 17:05:35 +01:00
AzaezelX d0d2e1f343 handle relfecting the health of the controlled object
players and vehicles can both be the controlobject, or you can control a vehicle *through* a player.
set the health bar/text controls to reflect that state
2025-04-08 18:30:06 -05:00
AzaezelX f633ef3a3d fill in the validated variables 2025-03-09 11:53:23 -05:00
AzaezelX e90aa02af2 correct mangled stopwatch logic
it was having issues with setting a time after pausing
2025-02-27 20:08:25 -06:00
AzaezelX 8993ffe3e6 guiClockHud augs
adds a pause, reversed, and significantTime inspector exposed variable to guiClockHuds
significantTime is in sceconds and triggers an onSignificantTimeReached callback
2025-02-15 16:48:15 -06:00
marauder2k7 efbe5e90f5 virtuals removed
virtuals removed and replaced with override where necessary, clang-tidy to the rescue.
2024-03-18 18:13:00 +00:00
AzaezelX 22df872f2d allow misc health readouts to detect vehicles 2024-01-07 19:05:12 -06:00
AzaezelX f5a34308f9 add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector 2023-01-27 01:13:15 -06:00
Areloch 25686ed4be Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy 2017-06-23 11:36:20 -05:00
Areloch 00a4a21e3f Merge pull request #1790 from blackwc/guihealthbarhud-flip
GuitHealthBarHud flip fill
2016-11-02 22:28:21 -05:00
Anis 60e258e5a9 Merge pull request #1806 from Azaezel/byeByeVarVar2
more unused variable cleanups
2016-10-23 21:04:36 +02:00
Azaezel 1ee127b753 more unused variable cleanups 2016-10-16 14:41:34 -05:00
Azaezel d30dedd7c5 clang: trailing else 2016-10-14 17:57:20 -05:00
blackwc 3bc4711e07 add flip fill to guiHealthBarHud 2016-10-09 18:22:27 -04:00
Areloch 553cf260f1 Some converts of usage of Shapebase for Gamebase to make camera/control object swapping easier. 2016-05-30 03:13:19 -05:00
Areloch 2002d74b78 Issue found with PVS-Studio:
Many instances of a function or expression being used repeatedly, which can lower performance.

Fixed it in these cases by creating on local var, reference or pointer that's used instead.
2015-07-13 22:51:17 -05:00
Areloch b30b5d9076 Merge pull request #1229 from Azaezel/guiShapeNameHud_filterFix
stops names showing through statics
2015-05-12 15:20:56 -05:00
Azaezel 9f15b740ea stops names showing through statics 2015-02-27 20:14:57 -06:00
Ben Payne 0ffd7f5620 Fix member vars left uninitialized in constructors 2015-02-20 18:41:51 -05:00
Daniel Buckmaster 93fdcdecbe Compare to cosine of angle, not angle. 2014-12-11 12:30:48 +11:00
Daniel Buckmaster c1d79f1488 Added padding to GuiShapeNameHud labels. 2013-10-14 23:06:14 +11:00
Daniel Buckmaster 4d3851c3cb Reinstate entire-control fill and frame.
The settings for fill and frame around names are now called labelFill and labelFrame.
2013-10-14 12:59:48 +11:00
Daniel Buckmaster d80679fbf8 GuiShapeNameHud frame and fill rendering is now useful. 2013-09-05 19:02:42 +10:00
thecelloman b4ea1123dc Remove Interior Object format (DIF) 2013-04-05 12:39:26 -04:00
thecelloman d762ccd248 GuiHealthTextHud. A C++ GuiControl that replaces the scripted numerical health hud. 2012-10-04 16:02:01 -04:00
DavidWyand-GG 7dbfe6994d Engine directory for ticket #1 2012-09-19 11:15:01 -04:00