Still working on some VN elements, it's coming together slowly.

This commit is contained in:
2021-07-26 09:55:09 -07:00
parent f738f9b83d
commit 31f61cac69
14 changed files with 359 additions and 61 deletions

View File

@ -11,21 +11,27 @@
#include "../display/primitive.h"
#include "../display/tileset.h"
#define VNCHARACTER_EMOTION_NEUTRAL 0x00
#define VN_CHARACTER_BLINK_TIME_RANGE_MAX 6
#define VN_CHARACTER_SIZE 0.5
typedef struct {
float x, y, z;
float yaw, pitch, roll;
float scaleX, scaleY;
uint8_t emotion;
bool talking;
float blinkStart;
float t;
tileset_t tilesetEyes;
tileset_t tilesetMouth;
texture_t *textureEyes;
texture_t *textureBody;
texture_t *textureMouth;
texture_t *textureFace;
primitive_t primitive;
primitive_t primitiveEyes;
primitive_t primitiveBody;
primitive_t primitiveMouth;
primitive_t primitiveFace;
} vncharacter_t;