- [NEW] Mogut tot el codi de lloc

This commit is contained in:
2025-07-02 13:36:48 +02:00
parent 4670b52378
commit 81c5011bc7
34 changed files with 52 additions and 52 deletions

25
source/japi/game.h Normal file
View File

@@ -0,0 +1,25 @@
#pragma once
#include "draw.h"
#include "input.h"
#include "audio.h"
#include "file.h"
#define JAPI_VERSION "0.8"
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();
}