taisei/src/stages/stage1.h

54 lines
1.1 KiB
C
Raw Normal View History

/*
* 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>.
2019-07-03 20:00:56 +02:00
* Copyright (c) 2012-2019, Andrei Alexeyev <akari@taisei-project.org>.
*/
#ifndef IGUARD_stages_stage1_h
#define IGUARD_stages_stage1_h
#include "taisei.h"
2017-02-26 13:17:48 +01:00
#include "stage.h"
#if defined(DEBUG) && !defined(SPELL_BENCHMARK)
#define SPELL_BENCHMARK
#endif
extern struct stage1_spells_s {
// this struct must contain only fields of type AttackInfo
// order of fields affects the visual spellstage number, but not its real internal ID
struct {
AttackInfo perfect_freeze;
} mid;
struct {
AttackInfo crystal_rain;
AttackInfo snow_halation;
AttackInfo icicle_fall;
} boss;
struct {
AttackInfo crystal_blizzard;
} extra;
// required for iteration
AttackInfo null;
} stage1_spells;
2017-02-26 13:17:48 +01:00
extern StageProcs stage1_procs;
extern StageProcs stage1_spell_procs;
2019-12-05 17:45:32 +01:00
void stage1_bg_raise_camera(void);
void stage1_bg_enable_snow(void);
void stage1_bg_disable_snow(void);
#ifdef SPELL_BENCHMARK
2018-01-21 19:30:12 +01:00
extern AttackInfo stage1_spell_benchmark;
#endif
#endif // IGUARD_stages_stage1_h