mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-06 04:52:16 +00:00
8b43ed5777
git-svn-id: https://svn.eduke32.com/eduke32@8169 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/build/src/timer.cpp # source/build/src/winlayer.cpp
21 lines
434 B
C
21 lines
434 B
C
#pragma once
|
|
|
|
#ifndef timer_h__
|
|
#define timer_h__
|
|
|
|
#include "compat.h"
|
|
|
|
// for compatibility
|
|
#define timerUninit()
|
|
|
|
int timerInit(int const tickspersecond);
|
|
void timerUpdateClock(void);
|
|
int timerGetClockRate(void);
|
|
uint64_t timerGetTicksU64(void);
|
|
uint64_t timerGetFreqU64(void);
|
|
double timerGetHiTicks(void);
|
|
uint32_t timerGetTicks(void);
|
|
|
|
void (*timerSetCallback(void (*callback)(void)))(void);
|
|
|
|
#endif // timer_h__
|