2012-01-06 21:52:55 +01:00
|
|
|
/*
|
|
|
|
* This software is licensed under the terms of the MIT-License
|
2017-02-11 04:52:08 +01:00
|
|
|
* See COPYING for further information.
|
2012-01-06 21:52:55 +01:00
|
|
|
* ---
|
2017-09-12 03:28:15 +02:00
|
|
|
* Copyright (c) 2011-2017, Lukas Weber <laochailan@web.de>.
|
|
|
|
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
|
2012-01-06 21:52:55 +01:00
|
|
|
*/
|
|
|
|
|
2017-09-27 14:14:53 +02:00
|
|
|
#pragma once
|
2012-01-06 21:52:55 +01:00
|
|
|
|
2017-02-26 13:17:48 +01:00
|
|
|
#include "stage.h"
|
2017-02-10 11:39:42 +01:00
|
|
|
|
2017-11-10 21:49:16 +01:00
|
|
|
#if defined(DEBUG) && !defined(SPELL_BENCHMARK)
|
|
|
|
#define SPELL_BENCHMARK
|
|
|
|
#endif
|
|
|
|
|
2017-09-13 07:24:29 +02:00
|
|
|
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;
|
2017-10-03 07:45:47 +02:00
|
|
|
AttackInfo snow_halation;
|
2017-09-13 07:24:29 +02:00
|
|
|
AttackInfo icicle_fall;
|
|
|
|
} boss;
|
|
|
|
|
|
|
|
struct {
|
|
|
|
AttackInfo crystal_blizzard;
|
|
|
|
} extra;
|
|
|
|
|
2017-11-10 21:49:16 +01:00
|
|
|
#ifdef SPELL_BENCHMARK
|
|
|
|
AttackInfo benchmark;
|
|
|
|
#endif
|
|
|
|
|
2017-09-13 07:24:29 +02:00
|
|
|
// required for iteration
|
|
|
|
AttackInfo null;
|
|
|
|
} stage1_spells;
|
|
|
|
|
2017-02-26 13:17:48 +01:00
|
|
|
extern StageProcs stage1_procs;
|
|
|
|
extern StageProcs stage1_spell_procs;
|