28 lines
563 B
C
Executable File
28 lines
563 B
C
Executable File
#pragma once
|
|
#include "SDL.h"
|
|
|
|
#ifndef NDEBUG
|
|
#ifndef DPRINT(text, ...)
|
|
#define DPRINT(text, ...) dprintf(__FILE__, __LINE__, text, __VA_ARGS__)
|
|
void dprintf(const char* szFile, long lLine, const char* fmt, ...);
|
|
#endif
|
|
#else // #ifdef NDEBUG
|
|
#ifndef DPRINT(text, ...)
|
|
#define DPRINT(text, ...) ((void)0)
|
|
#endif
|
|
#endif
|
|
|
|
void JG_Init();
|
|
|
|
void JG_Finalize();
|
|
|
|
void JG_QuitSignal();
|
|
|
|
bool JG_Quitting();
|
|
|
|
void JG_SetUpdateTicks(Uint32 milliseconds);
|
|
|
|
bool JG_ShouldUpdate();
|
|
|
|
Uint32 JG_GetCycleCounter();
|