2025-01-26 18:33:45 +01:00

51 lines
1.0 KiB
C

#ifndef _INIT_H
#define _INIT_H
/*=
Initialization
2400
**/
// Introduction
/**
This file is mainly designed for internal uses, but there's anyway
some interesting functions.
**/
__rayapi char *raydium_version(void);
/**
Return Raydium Engine version as a static string. Format is "x.yyy".
You can also find defines for this, named ##RAYDIUM_MAJOR## (x)
and ##RAYDIUM_MINOR## (yyy).
**/
__rayapi void raydium_init_lights (void);
/**
Internal use. Must be moved to light.c.
**/
__rayapi void raydium_init_objects (void);
/**
Internal use. Must be moved to object.c.
**/
__rayapi void raydium_init_key (void);
/**
Internal use. Must be moved to key.c.
**/
__rayapi void raydium_init_reset (void);
/**
This function is supposed to reset the whole Raydium engine:
textures, vertices, lights, objects, ...
Never tested yet, and probaly fails for many reasons when called more than
one time.
**/
__rayapi void raydium_init_engine (void);
/**
Internal use. **Never** call this function by yourself, it may cause
huge memory leaks.
**/
#endif