Files
aee/jgame.h
Raimon Zamora 4a359c46f5 Primer commit
2014-12-30 22:46:46 +01:00

28 lines
568 B
C
Executable File

#pragma once
#include "SDL2/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();