mirror of
https://github.com/zserge/fenster.git
synced 2025-04-20 00:18:57 +03:00
22 lines
389 B
C
22 lines
389 B
C
#ifndef DOOM_GENERIC
|
|
#define DOOM_GENERIC
|
|
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
|
|
#define DOOMGENERIC_RESX 640
|
|
#define DOOMGENERIC_RESY 400
|
|
|
|
|
|
extern uint32_t* DG_ScreenBuffer;
|
|
|
|
|
|
void DG_Init();
|
|
void DG_DrawFrame();
|
|
void DG_SleepMs(uint32_t ms);
|
|
uint32_t DG_GetTicksMs();
|
|
int DG_GetKey(int* pressed, unsigned char* key);
|
|
void DG_SetWindowTitle(const char * title);
|
|
|
|
#endif //DOOM_GENERIC
|