From 01babd43b1e500b36d67d28077b5cffd13212068 Mon Sep 17 00:00:00 2001 From: aap Date: Wed, 12 Jun 2019 13:46:02 +0200 Subject: little cleanup --- src/User.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'src/User.h') diff --git a/src/User.h b/src/User.h index b2d0b053..8b744c7e 100644 --- a/src/User.h +++ b/src/User.h @@ -1,14 +1,12 @@ #pragma once -#include "common.h" - class COnscreenTimerEntry { public: uint32 m_nTimerOffset; uint32 m_nCounterOffset; - uint8 m_aTimerText[10]; - uint8 m_aCounterText[10]; + char m_aTimerText[10]; + char m_aCounterText[10]; uint16 m_nType; char m_bCounterBuffer[42]; char m_bTimerBuffer[42]; @@ -24,20 +22,14 @@ public: static_assert(sizeof(COnscreenTimerEntry) == 0x74, "COnscreenTimerEntry: error"); -class CTheScripts{ -public: - static char *ScriptSpace;//[163840] -}; - class COnscreenTimer { public: COnscreenTimerEntry m_sEntries[NUMONSCREENTIMERENTRIES]; bool m_bProcessed; bool m_bDisabled; - char field_119[2]; - int Init(); + void Init(); void Process(); void ProcessForDisplay(); -- cgit v1.2.3