Joining the two logics together slowly.
This commit is contained in:
@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
#include "../libs.h"
|
||||
#include "../display/animation/queue.h"
|
||||
#include "vncharacter.h"
|
||||
#include "vntextbox.h"
|
||||
|
||||
typedef struct _vnconversation_t vnconversation_t;
|
||||
|
27
include/dawn/vn/vnscene.h
Normal file
27
include/dawn/vn/vnscene.h
Normal file
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "../libs.h"
|
||||
#include "vncharacter.h"
|
||||
#include "vnconversation.h"
|
||||
#include "vntextbox.h"
|
||||
|
||||
/** Maximum number of Visual Novel Characters the scene can support */
|
||||
#define VN_SCENE_CHARACTERS_MAX 6
|
||||
|
||||
typedef struct {
|
||||
/** Camera used for rendering, updated frequently */
|
||||
camera_t camera;
|
||||
|
||||
/** Internal conversation element */
|
||||
vnconversation_t conversation;
|
||||
|
||||
/** Character array */
|
||||
vncharacter_t characters[VN_SCENE_CHARACTERS_MAX];
|
||||
uint8_t characterCount;
|
||||
} vnscene_t;
|
Reference in New Issue
Block a user