Added frame to the VN Textbox
This commit is contained in:
1 parent
7229981177
commit
5a12682f9b
15 files changed
+55
-50
No files matched your search
@@ -9,6 +9,7 @@
|
||||
#include "../libs.h"
|
||||
#include "../display/animation/timeline.h"
|
||||
#include "../display/gui/font.h"
|
||||
#include "../ui/frame.h"
|
||||
|
||||
/** Amount of characters scrolled, per second */
|
||||
#define VN_TEXTBOX_SCROLL_SPEED 60
|
||||
@@ -43,9 +44,8 @@ typedef struct {
|
||||
/** Primitive to hold talking text */
|
||||
primitive_t primitive;
|
||||
|
||||
// Testing assets
|
||||
primitive_t testPrimitive;
|
||||
texture_t testTexture;
|
||||
/** The frame for the textbox */
|
||||
frame_t frame;
|
||||
|
||||
/** Current spoken text, tracked in-case of re-render */
|
||||
char *text;
|
||||
|
||||
Reference in new issue
Block a user