mirror of https://github.com/bjornbytes/lovr.git
48 lines
1.5 KiB
C
48 lines
1.5 KiB
C
|
#include "luax.h"
|
||
|
#include "graphics/buffer.h"
|
||
|
#include "math/math.h"
|
||
|
#include "lib/map/map.h"
|
||
|
|
||
|
int l_lovrAudioInit(lua_State* L);
|
||
|
int l_lovrEventInit(lua_State* L);
|
||
|
int l_lovrFilesystemInit(lua_State* L);
|
||
|
int l_lovrGraphicsInit(lua_State* L);
|
||
|
int l_lovrHeadsetInit(lua_State* L);
|
||
|
int l_lovrMathInit(lua_State* L);
|
||
|
int l_lovrTimerInit(lua_State* L);
|
||
|
|
||
|
extern const luaL_Reg lovrAudio[];
|
||
|
extern const luaL_Reg lovrBuffer[];
|
||
|
extern const luaL_Reg lovrController[];
|
||
|
extern const luaL_Reg lovrEvent[];
|
||
|
extern const luaL_Reg lovrFilesystem[];
|
||
|
extern const luaL_Reg lovrFont[];
|
||
|
extern const luaL_Reg lovrGraphics[];
|
||
|
extern const luaL_Reg lovrHeadset[];
|
||
|
extern const luaL_Reg lovrMath[];
|
||
|
extern const luaL_Reg lovrModel[];
|
||
|
extern const luaL_Reg lovrShader[];
|
||
|
extern const luaL_Reg lovrSkybox[];
|
||
|
extern const luaL_Reg lovrSource[];
|
||
|
extern const luaL_Reg lovrTexture[];
|
||
|
extern const luaL_Reg lovrTimer[];
|
||
|
extern const luaL_Reg lovrTransform[];
|
||
|
|
||
|
extern map_int_t BufferAttributeTypes;
|
||
|
extern map_int_t BufferDrawModes;
|
||
|
extern map_int_t BufferUsages;
|
||
|
extern map_int_t CompareModes;
|
||
|
extern map_int_t ControllerAxes;
|
||
|
extern map_int_t ControllerButtons;
|
||
|
extern map_int_t DrawModes;
|
||
|
extern map_int_t EventTypes;
|
||
|
extern map_int_t FilterModes;
|
||
|
extern map_int_t HeadsetEyes;
|
||
|
extern map_int_t PolygonWindings;
|
||
|
extern map_int_t TextureProjections;
|
||
|
extern map_int_t TimeUnits;
|
||
|
extern map_int_t WrapModes;
|
||
|
|
||
|
void luax_checkbufferformat(lua_State* L, int index, BufferFormat* format);
|
||
|
void luax_readtransform(lua_State* L, int i, mat4 transform);
|