Character is rendering in-game

This commit is contained in:
YourWishes committed 2021-08-22 23:30:53 -07:00
1 parent fabb35b7cf
commit 87e7f599a6
20 files changed
+284 -161

No files matched your search

+7
View File
@@ -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;