8 #include <dispatch/dispatch.h> 
   10 #include "../gcd-stubs.c" 
   13 #include "../voxtrees/tree.h" 
   14 #include "../voxrnd/camera.h" 
   15 #include "../voxrnd/fps-control.h" 
   16 #include "../voxrnd/renderer.h" 
   17 #include "../voxrnd/cd.h" 
   19 #ifdef VOXENGINE_SOURCE 
   23     dispatch_queue_t rendering_queue;
 
   24     unsigned int width, height;
 
   45 #define VOX_ENGINE_DEBUG 1 
   72                    int nargs, 
char * 
const arguments[]);
 
   82 #define vox_engine_quit_requested(stat) (!(stat)) 
int vox_engine_status
Return type for vox_engine_tick
Definition: engine.h:77
VOX_EXPORT void vox_destroy_engine(struct vox_engine *engine)
Destroy an engine.
VOX_EXPORT struct vox_engine * vox_create_engine(unsigned int width, unsigned int height, unsigned int flags, const char *script, int nargs, char *const arguments[])
Create voxengine.
VOX_EXPORT vox_engine_status vox_engine_tick(struct vox_engine *engine)
Engine tick function.
Voxengine instance.
Definition: engine.h:36
struct vox_rnd_ctx * ctx
renderer context used by an engine
Definition: engine.h:37
A renderer context.
Definition: renderer.h:45