1
0
Fork 0
mirror of https://github.com/bjornbytes/lovr.git synced 2024-07-02 20:43:35 +00:00
lovr/src/api.h

94 lines
3.3 KiB
C
Raw Normal View History

2017-03-11 11:08:07 +00:00
#include "luax.h"
2019-04-05 12:08:03 +00:00
#include "util.h"
2017-03-11 11:08:07 +00:00
2018-01-21 22:20:06 +00:00
// Module loaders
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);
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[];
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[];
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[];
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[];
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[];
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[];
2019-01-16 16:52:21 +00:00
extern const char* BlockTypes[];
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[];
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[];