update to use #pragma once

This commit is contained in:
laochailan 2017-09-27 14:14:53 +02:00
parent 261ab0d7af
commit 03a2426012
No known key found for this signature in database
GPG key ID: 49BE98017AFBC943
72 changed files with 144 additions and 216 deletions

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef AUDIO_H
#define AUDIO_H
#pragma once
#include "resource/sfx.h"
#include "resource/bgm.h"
@ -51,4 +50,4 @@ void resume_bgm(void);
void save_bgm(void);
void restore_bgm(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef BOSS_H
#define BOSS_H
#pragma once
#include "util.h"
#include "difficulty.h"
@ -142,4 +141,4 @@ void boss_preload(void);
#define BOSS_DEFAULT_GO_POS (VIEWPORT_W * 0.5 + 200.0*I)
#define BOSS_NOMOVE (-3142-39942.0*I)
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef CLI_H
#define CLI_H
#pragma once
#include "player.h"
@ -35,4 +34,4 @@ struct CLIAction {
int cli_args(int argc, char **argv, CLIAction *a);
void free_cli_action(CLIAction *a);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef TSCOLOR_H
#define TSCOLOR_H
#pragma once
#include <stdint.h>
#include "taiseigl.h"
@ -45,4 +44,4 @@ float color_component(Color clr, unsigned int ofs);
int color_test(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef CONFIG_H
#define CONFIG_H
#pragma once
#include <SDL_keycode.h>
#include <stdbool.h>
@ -211,4 +210,4 @@ int config_set_int(ConfigIndex idx, int val);
double config_set_float(ConfigIndex idx, double val);
char* config_set_str(ConfigIndex idx, const char *val);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef CREDITS_H
#define CREDITS_H
#pragma once
void credits_loop(void);
void credits_add(char*, int);
@ -19,4 +18,4 @@ void credits_preload(void);
#define CREDITS_FADEOUT 120
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef DIALOG_H
#define DIALOG_H
#pragma once
#include <stdbool.h>
#include "resource/texture.h"
@ -46,4 +45,4 @@ void delete_dialog(Dialog *d);
void draw_dialog(Dialog *dialog);
void page_dialog(Dialog **d);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef DIFFICULTY_H
#define DIFFICULTY_H
#pragma once
#include "color.h"
@ -27,4 +26,4 @@ const char* difficulty_tex(Difficulty diff);
Color difficulty_color(Difficulty diff);
void difficulty_preload(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef ENDING_H
#define ENDING_H
#pragma once
#include "resource/texture.h"
@ -50,4 +49,4 @@ void ending_loop(void);
void free_ending(Ending *e);
void ending_preload(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef ENEMY_H
#define ENEMY_H
#pragma once
#include "util.h"
#include "projectile.h"
@ -67,4 +66,4 @@ void EnemyFlareShrink(Projectile *p, int t);
void enemies_preload(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef EVENTS_H
#define EVENTS_H
#pragma once
#include "config.h"
@ -73,4 +72,4 @@ void events_pause_keyrepeat(void);
void handle_events(EventHandler handler, EventFlags flags, void *arg);
bool gamekeypressed(KeyIndex key);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef FBO_H
#define FBO_H
#pragma once
#include "taiseigl.h"
@ -26,4 +25,4 @@ void draw_fbo(FBO *fbo);
void draw_fbo_viewport(FBO *fbo);
void delete_fbo(FBO *fbo);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef GAMEPAD_H
#define GAMEPAD_H
#pragma once
#include <SDL.h>
#include <stdbool.h>
@ -53,4 +52,4 @@ int gamepad_get_player_axis_value(GamepadPlrAxis paxis);
#define GAMEPAD_AXIS_MIN -32768
#define AXISVAL sign
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef GLOBAL_H
#define GLOBAL_H
#pragma once
#include <SDL.h>
#include <SDL_platform.h>
@ -125,4 +124,4 @@ extern Global global;
void init_global(CLIAction *cli);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef TSHASHTABLE_H
#define TSHASHTABLE_H
#pragma once
#include <stdbool.h>
#include <stdint.h>
@ -78,4 +77,4 @@ void hashtable_get_stats(Hashtable *ht, HashtableStats *stats);
void hashtable_lock(Hashtable *ht);
void hashtable_unlock(Hashtable *ht);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef ITEM_H
#define ITEM_H
#pragma once
#include "util.h"
@ -58,4 +57,4 @@ void items_preload(void);
#define POWER_VALUE 3
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef LASER_H
#define LASER_H
#pragma once
#include "util.h"
#include "projectile.h"
@ -77,4 +76,4 @@ complex las_circle(Laser *l, float t);
float laser_charge(Laser *l, int t, float charge, float width);
void static_laser(Laser *l, int t);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef LIST_H
#define LIST_H
#pragma once
/* I got annoyed of the code doubling caused by simple linked lists,
* so i do some void-magic here to save the lines.
@ -43,4 +42,4 @@ int add_ref(void *ptr);
void del_ref(void *ptr);
void free_ref(int i);
void free_all_refs(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef TAISEI_LOG_H
#define TAISEI_LOG_H
#pragma once
#include <stdnoreturn.h>
#include <stdbool.h>
@ -98,4 +97,4 @@ void _taisei_log(LogLevel lvl, bool is_backtrace, const char *funcname, const ch
noreturn void _taisei_log_fatal(LogLevel lvl, const char *funcname, const char *fmt, ...)
__attribute__((format(printf, 3, 4)));
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef MATRIX_H
#define MATRIX_H
#pragma once
typedef float Matrix[4][4];
@ -29,4 +28,4 @@ void matvecv(Matrix m, Vector *vs, int size);
void normalize(Vector v);
float length(Vector v);
#endif

View file

@ -6,12 +6,11 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef CHARSELECT_H
#define CHARSELECT_H
#pragma once
#include "menu.h"
void create_char_menu(MenuData *m);
void draw_char_menu(MenuData *menu);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef MENUCOMMON_H
#define MENUCOMMON_H
#pragma once
#include "menu.h"
@ -19,4 +18,4 @@ void draw_menu_list(MenuData *m, float x, float y, void (*draw)(void*, int, int)
void animate_menu_list(MenuData *m);
void menu_commonaction_close(MenuData *menu, void *arg);
#endif

View file

@ -6,12 +6,11 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef DIFFICULTYMENU_H
#define DIFFICULTYMENU_H
#pragma once
#include "menu.h"
void create_difficulty_menu(MenuData *menu);
void draw_difficulty_menu(MenuData *m);
#endif

View file

@ -6,11 +6,10 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef GAMEOVERMENU_H
#define GAMEOVERMENU_H
#pragma once
#include "menu.h"
void create_gameover_menu(MenuData *);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef INGAMEMENU_H
#define INGAMEMENU_H
#pragma once
#include "menu.h"
@ -19,4 +18,4 @@ void create_ingame_menu_replay(MenuData *m);
void restart_game(MenuData *m, void *arg);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef MAINMENU_H
#define MAINMENU_H
#pragma once
#include "menu.h"
@ -18,4 +17,4 @@ void main_menu_update_practice_menus(void);
void draw_loading_screen(void);
void menu_preload(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef MENU_H
#define MENU_H
#pragma once
#include <stdbool.h>
#include "transition.h"
@ -97,4 +96,4 @@ float menu_fade(MenuData *menu);
void menu_event(EventType type, int state, void *arg);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef OPTMENU_H
#define OPTMENU_H
#pragma once
#include "menu.h"
@ -54,5 +53,5 @@ typedef struct OptionBinding {
void draw_options_menu_bg(MenuData*);
#endif

View file

@ -6,11 +6,10 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef RPYVIEW_H
#define RPYVIEW_H
#pragma once
#include "menu.h"
void create_replayview_menu(MenuData *m);
#endif

View file

@ -6,12 +6,11 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef SAVERPYMENU_H
#define SAVERPYMENU_H
#pragma once
#include "menu.h"
void save_rpy(MenuData *menu, void*);
void create_saverpy_menu(MenuData*);
#endif

View file

@ -6,11 +6,10 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef SPELLMENU_H
#define SPELLMENU_H
#pragma once
#include "menu.h"
void create_spell_menu(MenuData *m);
#endif

View file

@ -6,12 +6,11 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STGPRACTMENU_H
#define STGPRACTMENU_H
#pragma once
#include "menu.h"
#include "difficulty.h"
void create_stgpract_menu(MenuData *m, Difficulty diff);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STGMENU_H
#define STGMENU_H
#pragma once
#include "menu.h"
@ -15,4 +14,4 @@
void create_stage_menu(MenuData *m);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef PLAYER_H
#define PLAYER_H
#pragma once
#ifdef DEBUG
#define PLR_DPS_STATS
@ -151,4 +150,4 @@ void player_add_points(Player *plr, unsigned int points);
void player_preload(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef PLRMODES_H
#define PLRMODES_H
#pragma once
#include "enemy.h"
#include "projectile.h"
@ -34,4 +33,4 @@ void marisa_power(Player *plr, short npow);
int plrmode_repr(char *out, size_t outsize, Character pchar, ShotMode pshot);
int plrmode_parse(const char *name, Character *cha, ShotMode *shot);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef PROGRESS_H
#define PROGRESS_H
#pragma once
#include <stdbool.h>
#include <SDL.h>
@ -54,4 +53,4 @@ void progress_load(void);
void progress_save(void);
void progress_unload(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef TSRAND_H
#define TSRAND_H
#pragma once
#include <stdint.h>
#include <stdbool.h>
@ -61,4 +60,4 @@ double __anfrand(int idx, const char *file, unsigned int line);
#define TSRAND_Z_COEFF 29379
#define TSRAND_Z_SEED_COEFF 31083
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef REPLAY_H
#define REPLAY_H
#pragma once
#include "stage.h"
#include "player.h"
@ -182,6 +181,6 @@ void replay_play(Replay *rpy, int firstidx);
int replay_find_stage_idx(Replay *rpy, uint8_t stageid);
#endif
int replay_test(void);

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef ANIMATION_H
#define ANIMATION_H
#pragma once
#include "texture.h"
@ -38,4 +37,4 @@ void draw_animation_p(float x, float y, int row, Animation *ani);
#define ANI_PATH_PREFIX TEX_PATH_PREFIX
#define ANI_EXTENSION ".ani"
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef BGM_H
#define BGM_H
#pragma once
#include <stdbool.h>
@ -24,4 +23,4 @@ void unload_music(void *snd);
#define BGM_PATH_PREFIX "res/bgm/"
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef FONT_H
#define FONT_H
#pragma once
#include <SDL_ttf.h>
#include "texture.h"
@ -62,4 +61,4 @@ struct Fonts {
extern struct Fonts _fonts;
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef MODEL_H
#define MODEL_H
#pragma once
#include <stdbool.h>
#include "matrix.h"
@ -50,4 +49,4 @@ void draw_model(const char *name);
#define MDL_PATH_PREFIX "res/models/"
#define MDL_EXTENSION ".obj"
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef POSTPROCESS_H
#define POSTPROCESS_H
#pragma once
#include "list.h"
#include "hashtable.h"
@ -57,4 +56,4 @@ PostprocessShader* postprocess_load(const char *path);
void postprocess_unload(PostprocessShader **list);
FBO* postprocess(PostprocessShader *ppshaders, FBO *fbo1, FBO *fbo2, PostprocessPrepareFuncPtr prepare, PostprocessDrawFuncPtr draw);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef RESOURCE_H
#define RESOURCE_H
#pragma once
#include "global.h"
@ -122,4 +121,4 @@ const char* resource_util_filename(const char *path);
bool resource_sdl_event(SDL_Event *evt);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef SFX_H
#define SFX_H
#pragma once
#include <stdbool.h>
@ -24,4 +23,4 @@ void unload_sound(void *snd);
#define SFX_PATH_PREFIX "res/sfx/"
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef SHADER_H
#define SHADER_H
#pragma once
#include <stdbool.h>
#include "taiseigl.h"
@ -37,4 +36,4 @@ int uniloc(Shader *sha, const char *name);
#define SHA_DELIM "%% -- FRAG"
#define SHA_DELIM_SIZE (sizeof(SHA_DELIM) - 1)
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef TEXTURE_H
#define TEXTURE_H
#pragma once
#include <SDL.h>
#include <stdbool.h>
@ -45,4 +44,4 @@ Texture* prefix_get_tex(const char *name, const char *prefix);
#define TEX_PATH_PREFIX "res/gfx/"
#define TEX_EXTENSION ".png"
#endif

View file

@ -6,11 +6,10 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef RWAUTO_H
#define RWAUTO_H
#pragma once
#include <SDL.h>
SDL_RWops* SDL_RWAutoBuffer(void **ptr, size_t initsize);
#endif

View file

@ -6,12 +6,11 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef RWDUMMY_H
#define RWDUMMY_H
#pragma once
#include <SDL.h>
#include <stdbool.h>
SDL_RWops* SDL_RWWrapDummy(SDL_RWops *src, bool autoclose);
#endif

View file

@ -6,12 +6,11 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef RWSEGMENT_H
#define RWSEGMENT_H
#pragma once
#include <SDL.h>
#include <stdbool.h>
SDL_RWops* SDL_RWWrapSegment(SDL_RWops *src, size_t start, size_t end, bool autoclose);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef RWZIP_H
#define RWZIP_H
#pragma once
#include <SDL.h>
#include <zip.h>
@ -15,4 +14,4 @@
SDL_RWops* SDL_RWFromZipFile(zip_file_t *zipfile, bool autoclose);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef ZWROPS_H
#define ZWROPS_H
#pragma once
#include <SDL.h>
#include <zlib.h>
@ -19,4 +18,4 @@ z_stream* SDL_RWGetZStream(SDL_RWops *src);
int zrwops_test(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE_H
#define STAGE_H
#pragma once
#include <stdbool.h>
#include "projectile.h"
@ -115,4 +114,4 @@ void stage_clear_hazards(bool force);
#include "stages/stage5.h"
#include "stages/stage6.h"
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGEDRAW_H
#define STAGEDRAW_H
#pragma once
#include "stage.h"
@ -15,4 +14,4 @@ void stage_draw_hud(void);
void stage_draw_foreground(void);
void stage_draw_scene(StageInfo *stage);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE1_H
#define STAGE1_H
#pragma once
#include "stage.h"
@ -35,4 +34,4 @@ extern struct stage1_spells_s {
extern StageProcs stage1_procs;
extern StageProcs stage1_spell_procs;
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE2_H
#define STAGE2_H
#pragma once
#include "stage.h"
@ -33,4 +32,4 @@ extern struct stage2_spells_s {
extern StageProcs stage2_procs;
extern StageProcs stage2_spell_procs;
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE2_EVENTS_H
#define STAGE2_EVENTS_H
#pragma once
#include "boss.h"
@ -19,4 +18,4 @@ void hina_monty(Boss*, int);
void stage2_events(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE3_H
#define STAGE3_H
#pragma once
#include "stage.h"
@ -37,4 +36,4 @@ extern struct stage3_spells_s {
extern StageProcs stage3_procs;
extern StageProcs stage3_spell_procs;
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE3_EVENTS_H
#define STAGE3_EVENTS_H
#pragma once
#include "boss.h"
@ -22,4 +21,4 @@ void stage3_boss_extra(Boss*, int t);
void stage3_events(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE4_H
#define STAGE4_H
#pragma once
#include "stage.h"
@ -39,4 +38,4 @@ extern struct stage4_spells_s {
extern StageProcs stage4_procs;
extern StageProcs stage4_spell_procs;
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE4_EVENTS_H
#define STAGE4_EVENTS_H
#pragma once
#include "boss.h"
@ -21,4 +20,4 @@ void kurumi_extra(Boss*, int);
void stage4_events(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE5_H
#define STAGE5_H
#pragma once
#include "stage.h"
@ -34,4 +33,4 @@ extern struct stage5_spells_s {
extern StageProcs stage5_procs;
extern StageProcs stage5_spell_procs;
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE5_EVENTS_H
#define STAGE5_EVENTS_H
#pragma once
#include "boss.h"
@ -20,4 +19,4 @@ void iku_extra(Boss*, int);
void stage5_events(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.
*/
#ifndef STAGE6_H
#define STAGE6_H
#pragma once
#include "stage.h"
@ -54,4 +53,4 @@ extern StageProcs stage6_spell_procs;
void start_fall_over(void);
#endif

View file

@ -6,8 +6,7 @@
* Copyright (c) 2012-2017, Andrei Alexeyev <akari@alienslab.net>.