XenevaOS
Loading...
Searching...
No Matches
Macros | Typedefs | Enumerations | Functions | Variables
doomgeneric.h File Reference
#include <stdlib.h>
#include <stdint.h>
Include dependency graph for doomgeneric.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DOOMGENERIC_RESX   640
 
#define DOOMGENERIC_RESY   400
 

Typedefs

typedef uint32_t pixel_t
 

Enumerations

enum  {
  DG_STAT_TICK = 0 , DG_STAT_SCALE , DG_STAT_MEMCPY , DG_STAT_UPDATE ,
  DG_STAT_N
}
 

Functions

void doomgeneric_Create (int argc, char **argv)
 
void doomgeneric_Tick ()
 
void DG_StatBegin (int id)
 
void DG_StatEnd (int id)
 
void DG_StatReport (void)
 
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)
 
void DG_CloseWindow (void)
 

Variables

pixel_t * DG_ScreenBuffer
 

Macro Definition Documentation

◆ DOOMGENERIC_RESX

#define DOOMGENERIC_RESX   640

◆ DOOMGENERIC_RESY

#define DOOMGENERIC_RESY   400

Typedef Documentation

◆ pixel_t

typedef uint32_t pixel_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DG_STAT_TICK 
DG_STAT_SCALE 
DG_STAT_MEMCPY 
DG_STAT_UPDATE 
DG_STAT_N 

Function Documentation

◆ DG_CloseWindow()

void DG_CloseWindow ( void  )

◆ DG_DrawFrame()

void DG_DrawFrame ( )

◆ DG_GetKey()

int DG_GetKey ( int *  pressed,
unsigned char *  key 
)

◆ DG_GetTicksMs()

uint32_t DG_GetTicksMs ( )

◆ DG_Init()

void DG_Init ( )

◆ DG_SetWindowTitle()

void DG_SetWindowTitle ( const char *  title)

◆ DG_SleepMs()

void DG_SleepMs ( uint32_t  ms)

◆ DG_StatBegin()

void DG_StatBegin ( int  id)

◆ DG_StatEnd()

void DG_StatEnd ( int  id)

◆ DG_StatReport()

void DG_StatReport ( void  )

◆ doomgeneric_Create()

void doomgeneric_Create ( int  argc,
char **  argv 
)

◆ doomgeneric_Tick()

void doomgeneric_Tick ( )

Variable Documentation

◆ DG_ScreenBuffer

pixel_t* DG_ScreenBuffer
extern