New object types for all types.
This commit is contained in:
@@ -79,6 +79,10 @@ void uluaPushWave( lua_State *L, Wave wave );
|
||||
void uluaPushSound( lua_State *L, Sound sound );
|
||||
void uluaPushMusic( lua_State *L, Music music );
|
||||
void uluaPushLight( lua_State *L, Light light );
|
||||
void uluaPushMaterial( lua_State *L, Material material );
|
||||
void uluaPushMesh( lua_State *L, Mesh mesh );
|
||||
void uluaPushModel( lua_State *L, Model model );
|
||||
void uluaPushModelAnimation( lua_State *L, ModelAnimation modelAnimation );
|
||||
|
||||
int uluaGetTableLen( lua_State *L );
|
||||
int uluaGetTableLenIndex( lua_State *L, int index );
|
||||
|
||||
@@ -38,7 +38,6 @@ int lmodelsGenMeshKnot( lua_State *L );
|
||||
int lmodelsGenMeshHeightmap( lua_State *L );
|
||||
int lmodelsGenMeshCustom( lua_State *L );
|
||||
int lmodelsUpdateMesh( lua_State *L );
|
||||
int lmodelsUnloadMesh( lua_State *L );
|
||||
int lmodelsDrawMesh( lua_State *L );
|
||||
int lmodelsDrawMeshInstanced( lua_State *L );
|
||||
int lmodelsSetMeshColor( lua_State *L );
|
||||
@@ -48,7 +47,6 @@ int lmodelsGenMeshTangents( lua_State *L );
|
||||
/* Material. */
|
||||
int lmodelsLoadMaterialDefault( lua_State *L );
|
||||
int lmodelsCreateMaterial( lua_State *L );
|
||||
int lmodelsUnloadMaterial( lua_State *L );
|
||||
int lmodelsSetMaterialTexture( lua_State *L );
|
||||
int lmodelsSetMaterialColor( lua_State *L );
|
||||
int lmodelsSetMaterialValue( lua_State *L );
|
||||
@@ -62,7 +60,6 @@ int lmodelsGetMaterialParams( lua_State *L );
|
||||
/* Model. */
|
||||
int lmodelsLoadModel( lua_State *L );
|
||||
int lmodelsLoadModelFromMesh( lua_State *L );
|
||||
int lmodelsUnloadModel( lua_State *L );
|
||||
int lmodelsDrawModel( lua_State *L );
|
||||
int lmodelsDrawModelEx( lua_State *L );
|
||||
int lmodelsSetModelMaterial( lua_State *L );
|
||||
@@ -75,7 +72,6 @@ int lmodelsGetModelTransform( lua_State *L );
|
||||
/* Animations. */
|
||||
int lmodelsLoadModelAnimations( lua_State *L );
|
||||
int lmodelsUpdateModelAnimation( lua_State *L );
|
||||
int lmodelsUnloadModelAnimations( lua_State *L );
|
||||
int lmodelsIsModelAnimationValid( lua_State *L );
|
||||
int lmodelsGetModelAnimationBoneCount( lua_State *L );
|
||||
int lmodelsGetModelAnimationFrameCount( lua_State *L );
|
||||
|
||||
@@ -2,11 +2,6 @@
|
||||
|
||||
#define ALLOC_PAGE_SIZE 256
|
||||
|
||||
typedef struct {
|
||||
ModelAnimation *animations;
|
||||
unsigned int animCount;
|
||||
} ModelAnimations;
|
||||
|
||||
typedef struct {
|
||||
char *exePath;
|
||||
bool hasWindow;
|
||||
@@ -14,23 +9,6 @@ typedef struct {
|
||||
lua_State *luaState;
|
||||
Vector2 resolution;
|
||||
int logLevelInvalid;
|
||||
/* Resources. */
|
||||
/* Meshes. */
|
||||
Mesh **meshes;
|
||||
size_t meshCount;
|
||||
size_t meshAlloc;
|
||||
/* Materials. */
|
||||
Material **materials;
|
||||
size_t materialCount;
|
||||
size_t materialAlloc;
|
||||
/* Models. */
|
||||
Model **models;
|
||||
size_t modelCount;
|
||||
size_t modelAlloc;
|
||||
/* ModelAnimations. */
|
||||
ModelAnimations **animations;
|
||||
size_t animationCount;
|
||||
size_t animationAlloc;
|
||||
/* Raylib GLFW input callback events. */
|
||||
/* Window events. */
|
||||
GLFWwindowsizefun raylibWindowSizeCallback;
|
||||
|
||||
Reference in New Issue
Block a user