Temp-Classes/script/Timer.hpp
maybegreat48 7fd23fde00 Add global classes (#93)
* feat(Network): add snConnectToPeerTaskData and snConnectToPeerTaskResult
* feat(Script): Add script global structs
* fix(CMake): Try to get includes to work
* chore(Globals): try to fix linux build
* chore(Globals): Actually rename all instances of TIMER
2023-01-03 12:15:06 +00:00

10 lines
228 B
C++

#pragma once
#include "types.hpp"
// this is named stopwatch in the decompiler but "timer" is probably a better name for it
struct TIMER
{
SCR_INT Time;
SCR_BOOL IsInitialized;
};
static_assert(sizeof(TIMER) == 2 * 8);