2017-03-11 11:08:07 +00:00
|
|
|
#include "luax.h"
|
|
|
|
|
2018-01-21 22:20:06 +00:00
|
|
|
// Module loaders
|
2019-01-04 10:18:21 +00:00
|
|
|
LOVR_EXPORT int luaopen_lovr(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_audio(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_data(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_event(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_filesystem(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_graphics(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_headset(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_math(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_physics(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_thread(lua_State* L);
|
|
|
|
LOVR_EXPORT int luaopen_lovr_timer(lua_State* L);
|
2018-11-14 02:18:59 +00:00
|
|
|
extern const luaL_Reg lovrModules[];
|
2018-01-21 22:20:06 +00:00
|
|
|
|
|
|
|
// Objects
|
2018-12-19 10:03:24 +00:00
|
|
|
extern const luaL_Reg lovrLightUserdata[];
|
2018-01-21 22:20:06 +00:00
|
|
|
extern const luaL_Reg lovrAnimator[];
|
2018-01-21 21:26:00 +00:00
|
|
|
extern const luaL_Reg lovrAudioStream[];
|
2017-05-25 00:38:03 +00:00
|
|
|
extern const luaL_Reg lovrBallJoint[];
|
2018-01-14 21:35:57 +00:00
|
|
|
extern const luaL_Reg lovrBlob[];
|
2017-05-16 21:37:05 +00:00
|
|
|
extern const luaL_Reg lovrBoxShape[];
|
2017-12-07 07:50:52 +00:00
|
|
|
extern const luaL_Reg lovrCanvas[];
|
2017-05-16 21:52:41 +00:00
|
|
|
extern const luaL_Reg lovrCapsuleShape[];
|
2018-02-18 00:51:32 +00:00
|
|
|
extern const luaL_Reg lovrChannel[];
|
2018-10-09 21:21:45 +00:00
|
|
|
extern const luaL_Reg lovrCollider[];
|
2017-03-11 11:08:07 +00:00
|
|
|
extern const luaL_Reg lovrController[];
|
2018-10-09 21:21:45 +00:00
|
|
|
extern const luaL_Reg lovrCurve[];
|
2017-05-16 21:56:20 +00:00
|
|
|
extern const luaL_Reg lovrCylinderShape[];
|
2017-06-10 22:13:19 +00:00
|
|
|
extern const luaL_Reg lovrDistanceJoint[];
|
2017-03-11 11:08:07 +00:00
|
|
|
extern const luaL_Reg lovrFont[];
|
2017-05-25 07:48:02 +00:00
|
|
|
extern const luaL_Reg lovrHingeJoint[];
|
2017-05-25 00:38:03 +00:00
|
|
|
extern const luaL_Reg lovrJoint[];
|
2018-11-25 02:04:27 +00:00
|
|
|
extern const luaL_Reg lovrMat4[];
|
2017-10-21 21:05:58 +00:00
|
|
|
extern const luaL_Reg lovrMaterial[];
|
2017-03-11 22:13:49 +00:00
|
|
|
extern const luaL_Reg lovrMesh[];
|
2018-07-07 00:55:19 +00:00
|
|
|
extern const luaL_Reg lovrMicrophone[];
|
2017-03-11 11:08:07 +00:00
|
|
|
extern const luaL_Reg lovrModel[];
|
2018-01-23 02:24:39 +00:00
|
|
|
extern const luaL_Reg lovrModelData[];
|
2018-11-25 02:04:27 +00:00
|
|
|
extern const luaL_Reg lovrPool[];
|
|
|
|
extern const luaL_Reg lovrQuat[];
|
2017-07-27 05:02:17 +00:00
|
|
|
extern const luaL_Reg lovrRandomGenerator[];
|
2018-01-22 16:40:47 +00:00
|
|
|
extern const luaL_Reg lovrRasterizer[];
|
2017-03-11 11:08:07 +00:00
|
|
|
extern const luaL_Reg lovrShader[];
|
2018-08-01 01:23:04 +00:00
|
|
|
extern const luaL_Reg lovrShaderBlock[];
|
2017-05-16 21:37:05 +00:00
|
|
|
extern const luaL_Reg lovrShape[];
|
2017-05-25 07:48:02 +00:00
|
|
|
extern const luaL_Reg lovrSliderJoint[];
|
2018-07-06 03:23:46 +00:00
|
|
|
extern const luaL_Reg lovrSoundData[];
|
2017-03-11 11:08:07 +00:00
|
|
|
extern const luaL_Reg lovrSource[];
|
2017-05-16 21:21:10 +00:00
|
|
|
extern const luaL_Reg lovrSphereShape[];
|
2017-03-11 11:08:07 +00:00
|
|
|
extern const luaL_Reg lovrTexture[];
|
2018-01-21 05:33:09 +00:00
|
|
|
extern const luaL_Reg lovrTextureData[];
|
2018-02-12 07:03:43 +00:00
|
|
|
extern const luaL_Reg lovrThread[];
|
2018-11-25 02:04:27 +00:00
|
|
|
extern const luaL_Reg lovrVec3[];
|
2018-02-11 01:27:29 +00:00
|
|
|
extern const luaL_Reg lovrVertexData[];
|
2017-05-16 05:02:08 +00:00
|
|
|
extern const luaL_Reg lovrWorld[];
|
2017-03-11 11:08:07 +00:00
|
|
|
|
2018-01-21 22:20:06 +00:00
|
|
|
// Enums
|
2018-07-05 03:11:52 +00:00
|
|
|
extern const char* ArcModes[];
|
|
|
|
extern const char* AttributeTypes[];
|
|
|
|
extern const char* BlendAlphaModes[];
|
|
|
|
extern const char* BlendModes[];
|
2018-08-02 04:05:30 +00:00
|
|
|
extern const char* BufferUsages[];
|
2018-07-05 03:11:52 +00:00
|
|
|
extern const char* CompareModes[];
|
|
|
|
extern const char* ControllerAxes[];
|
|
|
|
extern const char* ControllerButtons[];
|
|
|
|
extern const char* ControllerHands[];
|
|
|
|
extern const char* DrawModes[];
|
2018-12-13 02:43:04 +00:00
|
|
|
extern const char* DrawStyles[];
|
2018-07-05 03:11:52 +00:00
|
|
|
extern const char* EventTypes[];
|
|
|
|
extern const char* FilterModes[];
|
|
|
|
extern const char* HeadsetDrivers[];
|
|
|
|
extern const char* HeadsetEyes[];
|
|
|
|
extern const char* HeadsetOrigins[];
|
|
|
|
extern const char* HeadsetTypes[];
|
|
|
|
extern const char* HorizontalAligns[];
|
|
|
|
extern const char* JointTypes[];
|
|
|
|
extern const char* MaterialColors[];
|
|
|
|
extern const char* MaterialScalars[];
|
|
|
|
extern const char* MaterialTextures[];
|
2018-08-07 23:58:14 +00:00
|
|
|
extern const char* ShaderTypes[];
|
2018-07-05 03:11:52 +00:00
|
|
|
extern const char* ShapeTypes[];
|
2018-07-06 05:08:14 +00:00
|
|
|
extern const char* SourceTypes[];
|
2018-07-05 03:11:52 +00:00
|
|
|
extern const char* StencilActions[];
|
|
|
|
extern const char* TextureFormats[];
|
|
|
|
extern const char* TextureTypes[];
|
|
|
|
extern const char* TimeUnits[];
|
2018-08-17 22:09:13 +00:00
|
|
|
extern const char* UniformAccesses[];
|
2018-07-05 03:11:52 +00:00
|
|
|
extern const char* VerticalAligns[];
|
|
|
|
extern const char* Windings[];
|
|
|
|
extern const char* WrapModes[];
|