mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
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:
committed by
Garrett Cox
co-authored by
Adam Bird
parent
acad9da04f
commit
c46a6637fe
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user