Still working on some VN elements, it's coming together slowly.
This commit is contained in:
@ -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;
|
Reference in New Issue
Block a user