XenevaOS
Loading...
Searching...
No Matches
Functions
main.cpp File Reference
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <_xeneva.h>
#include <sys/_keproc.h>
#include "doomgeneric.h"
Include dependency graph for main.cpp:

Functions

void doomgeneric_Create (int argc, char **argv)
 
void doomgeneric_Tick ()
 
void DG_SleepMs (uint32_t ms)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ DG_SleepMs()

void DG_SleepMs ( uint32_t  ms)
extern

◆ doomgeneric_Create()

void doomgeneric_Create ( int  argc,
char **  argv 
)
extern

Doomgeneric main entry point for XenevaOS.

Boots the full Doom engine (doomgeneric_Create -> D_DoomMain) with the IWAD shipped in the initrd, then pumps frames via doomgeneric_Tick(). The initrd packer places Resources/resources/* at the image root, so the WAD is visible as /doom2.wad at runtime.

◆ doomgeneric_Tick()

void doomgeneric_Tick ( )
extern

◆ main()

int main ( int  argc,
char *  argv[] 
)