23 lines
378 B
C++
23 lines
378 B
C++
#pragma once
|
|
|
|
#include "jdraw.h"
|
|
#include "jinput.h"
|
|
#include "jaudio.h"
|
|
#include "jfile.h"
|
|
namespace game
|
|
{
|
|
extern bool windowHasFocus;
|
|
|
|
void setUpdateTicks(const int ticks);
|
|
|
|
void init();
|
|
|
|
void setState(bool (*loop)());
|
|
|
|
void setConfig(const char* key, const int value);
|
|
|
|
const int getConfig(const char* key);
|
|
|
|
const uint32_t getTicks();
|
|
}
|