ADD: Text Based Clock enhancement (#246)

* ADD: dirty simplier clock enhancement

* ADD: Crash timer + combobox

* ADD: Hook (not working yet)

* TWEAK: z_parameter formatting like original

* TWEAK: z_parameter formatting like original again

* TWEAK: z_parameter formatting like original part3

* TWEAK: Add back the gi in z_parameter

* TWEAK: recommendation + missing include

* Pointer to .

* Tweak include

* TWEAK: better naming for 24 hours texture name

* Tweak: line space

* TWEAK: Adressed review

* TWEAK: TwentyFourHours

* comma

* TWEAK: Accounted Reviews

* TWEAK: review enums

* ADD: Macro

* whitespace

* move macros and center clock text

---------

Co-authored-by: Adam Bird <archez39@me.com>
This commit is contained in:
PurpleHato
2024-05-22 09:05:05 -05:00
committed by Garrett Cox
co-authored by Adam Bird
parent acad9da04f
commit c46a6637fe
9 changed files with 142 additions and 6 deletions
+2 -2
View File
@@ -167,8 +167,8 @@ void DrawGeneralTab() {
std::string minutes = (curMinutes < 10 ? "0" : "") + std::to_string(curMinutes);
std::string hours = "";
std::string ampm = "";
// BENTODO: Switch to CVar if we ever add 24 hour mode display
if (false) {
// Handle 24 or 12 hour time
if (CVarGetInteger("gEnhancements.Graphics.24HoursClock", 0)) {
if (curHours < 10) {
hours += "0";
}