Commit graph

18 commits

Author SHA1 Message Date
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