Joining the two logics together slowly.

This commit is contained in:
2021-07-28 09:22:58 -07:00
parent cf4d4cd710
commit c3b0ad7950
35 changed files with 405 additions and 51 deletions

27
include/dawn/vn/vnscene.h Normal file
View 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;