taisei/src/cutscenes/scenes.c
Andrei Alexeyev 9b5d515721
Cutscenes (#249)
* WIP cutscenes

* cutscene tweaks

* cutscene: erase background drawing under text

* Make text outlines thicker

* Prepare an interface for adding new cutscenes

* Basic progress tracking for cutscenes

* cutscene: support specifying scene name and BGM

* cutscene: exit with transition after scene ends

* Implement --cutscene ID and --list-cutscenes CLI flags

* fix progress_write_cmd_unlock_cutscenes

* Play intro cutscene before entering main menu for the first time

Also added --intro parameter in dev builds to force playing the intro
cutscene

* Add intro cutscene

* cutscenes: update opening/01 scene

* add Reimu Good End

* remove Bonus Data

* split up a bit of dialogue, revert an image change in intro

* small typo

* most cutscenes complete

* smartquotify

* finish Extra intros

* new cutscenes routed into main game

* fix ENDING_ID

* rough 'mediaroom' menu

* fix cutscene menu crash

* derp

* PR changes

* fixing imports

* more PR fixes

* PR fixes, including updating the script to #255

* add in newlines for readability

Co-authored-by: Alice D <alice@starwitch.productions>
2020-11-28 12:11:10 +02:00

44 lines
1 KiB
C

/*
* This software is licensed under the terms of the MIT License.
* See COPYING for further information.
* ---
* Copyright (c) 2011-2019, Lukas Weber <laochailan@web.de>.
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#include "taisei.h"
#include "scenes.h"
Cutscene const g_cutscenes[NUM_CUTSCENE_IDS] = {
[CUTSCENE_ID_INTRO] = {
#include "intro.inc.h"
},
[CUTSCENE_ID_REIMU_BAD_END] = {
#include "reimu_bad_end.inc.h"
},
[CUTSCENE_ID_REIMU_GOOD_END] = {
#include "reimu_good_end.inc.h"
},
[CUTSCENE_ID_REIMU_EXTRA_INTRO] = {
#include "reimu_extra_intro.inc.h"
},
[CUTSCENE_ID_MARISA_BAD_END] = {
#include "marisa_bad_end.inc.h"
},
[CUTSCENE_ID_MARISA_GOOD_END] = {
#include "marisa_good_end.inc.h"
},
[CUTSCENE_ID_MARISA_EXTRA_INTRO] = {
#include "marisa_extra_intro.inc.h"
},
[CUTSCENE_ID_YOUMU_BAD_END] = {
#include "youmu_bad_end.inc.h"
},
[CUTSCENE_ID_YOUMU_GOOD_END] = {
#include "youmu_good_end.inc.h"
},
[CUTSCENE_ID_YOUMU_EXTRA_INTRO] = {
#include "youmu_extra_intro.inc.h"
},
};