24 lines
482 B
C
24 lines
482 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#include "rpg/cutscene/item/cutsceneitem.h"
|
|
#include "ui/rpg/textbox/uitextboxmain.h"
|
|
|
|
void cutsceneTextStart(
|
|
const cutsceneitem_t *item,
|
|
cutsceneitemdata_t *data
|
|
) {
|
|
uiTextboxMainSetText(item->text.text);
|
|
}
|
|
|
|
bool_t cutsceneTextUpdate(
|
|
const cutsceneitem_t *item,
|
|
cutsceneitemdata_t *data
|
|
) {
|
|
return !uiTextboxMainIsActive();
|
|
}
|