Character is rendering in-game
This commit is contained in:
@ -17,16 +17,23 @@
|
||||
/** How many quads the VN Character has. Base, Eyes, Mouth and Eyebrows */
|
||||
#define VN_CHARACTER_QUAD_COUNT 4
|
||||
|
||||
#define VN_CHARACTER_QUAD_BASE 0
|
||||
#define VN_CHARACTER_QUAD_EYEBROWS 1
|
||||
#define VN_CHARACTER_QUAD_EYES 2
|
||||
#define VN_CHARACTER_QUAD_MOUTH 3
|
||||
|
||||
typedef struct {
|
||||
float x, y, z;
|
||||
float yaw, pitch, roll;
|
||||
float scaleX, scaleY;
|
||||
|
||||
bool talking;
|
||||
float blinkStart;
|
||||
|
||||
primitive_t primitive;
|
||||
texture_t *texture;
|
||||
|
||||
int32_t baseWidth, baseHeight;
|
||||
int32_t faceX, faceY;
|
||||
int32_t faceWidth, faceHeight;
|
||||
} vncharacter_t;
|
Reference in New Issue
Block a user