Removed excess and added missing newlines at end of files

This commit is contained in:
makise-homura 2017-10-09 19:28:54 +03:00
parent 251ba5e88e
commit 2b35177cb4
55 changed files with 3 additions and 106 deletions

View file

@ -147,5 +147,3 @@ int boss_shadow_rule(Projectile *p, int t);
#define BOSS_DEFAULT_SPAWN_POS (VIEWPORT_W * 0.5 - I * VIEWPORT_H * 0.5)
#define BOSS_DEFAULT_GO_POS (VIEWPORT_W * 0.5 + 200.0*I)
#define BOSS_NOMOVE (-3142-39942.0*I)

View file

@ -31,5 +31,3 @@ struct CLIAction {
int cli_args(int argc, char **argv, CLIAction *a);
void free_cli_action(CLIAction *a);

View file

@ -209,5 +209,3 @@ void config_set_callback(ConfigIndex idx, ConfigCallback callback);
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);

View file

@ -17,5 +17,3 @@ void credits_preload(void);
#define CREDITS_YUKKURI_SCALE 0.5
#define CREDITS_FADEOUT 120

View file

@ -44,5 +44,3 @@ void delete_dialog(Dialog *d);
void draw_dialog(Dialog *dialog);
void page_dialog(Dialog **d);

View file

@ -25,5 +25,3 @@ const char* difficulty_name(Difficulty diff);
const char* difficulty_tex(Difficulty diff);
Color difficulty_color(Difficulty diff);
void difficulty_preload(void);

View file

@ -65,5 +65,3 @@ int enemy_flare(Projectile *p, int t);
void EnemyFlareShrink(Projectile *p, int t);
void enemies_preload(void);

View file

@ -51,5 +51,3 @@ int gamepad_get_player_axis_value(GamepadPlrAxis paxis);
#define GAMEPAD_AXIS_MAX 32767
#define GAMEPAD_AXIS_MIN -32768
#define AXISVAL sign

View file

@ -76,5 +76,3 @@ void hashtable_get_stats(Hashtable *ht, HashtableStats *stats);
void hashtable_lock(Hashtable *ht);
void hashtable_unlock(Hashtable *ht);

View file

@ -56,5 +56,3 @@ void spawn_items(complex pos, ...) __attribute__((sentinel));
void items_preload(void);
#define POWER_VALUE 3

View file

@ -75,5 +75,3 @@ 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);

View file

@ -52,4 +52,3 @@ int add_ref(void *ptr);
void del_ref(void *ptr);
void free_ref(int i);
void free_all_refs(void);

View file

@ -27,5 +27,3 @@ void matvecv(Matrix m, Vector *vs, int size);
void normalize(Vector v);
float length(Vector v);

View file

@ -12,5 +12,3 @@
void create_char_menu(MenuData *m);
void draw_char_menu(MenuData *menu);

View file

@ -17,5 +17,3 @@ void draw_menu_title(MenuData *m, char *title);
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);

View file

@ -12,5 +12,3 @@
void create_difficulty_menu(MenuData *menu);
void draw_difficulty_menu(MenuData *m);

View file

@ -11,5 +11,3 @@
#include "menu.h"
void create_gameover_menu(MenuData *);

View file

@ -17,5 +17,3 @@ void create_ingame_menu(MenuData *menu);
void create_ingame_menu_replay(MenuData *m);
void restart_game(MenuData *m, void *arg);

View file

@ -16,5 +16,3 @@ void draw_main_menu(MenuData *m);
void main_menu_update_practice_menus(void);
void draw_loading_screen(void);
void menu_preload(void);

View file

@ -53,6 +53,3 @@ typedef struct OptionBinding {
} OptionBinding;
void draw_options_menu_bg(MenuData*);

View file

@ -11,5 +11,3 @@
#include "menu.h"
void create_replayview_menu(MenuData *m);

View file

@ -12,5 +12,3 @@
void save_rpy(MenuData *menu, void*);
void create_saverpy_menu(MenuData*);

View file

@ -11,5 +11,3 @@
#include "menu.h"
void create_spell_menu(MenuData *m);

View file

@ -12,5 +12,3 @@
#include "difficulty.h"
void create_stgpract_menu(MenuData *m, Difficulty diff);

View file

@ -13,5 +13,3 @@
#define STGMENU_MAX_TITLE_LENGTH 128
void create_stage_menu(MenuData *m);

View file

@ -59,5 +59,3 @@ double __anfrand(int idx, const char *file, unsigned int line);
#define TSRAND_W_SEED_COEFF 19164
#define TSRAND_Z_COEFF 29379
#define TSRAND_Z_SEED_COEFF 31083

View file

@ -181,6 +181,4 @@ void replay_play(Replay *rpy, int firstidx);
int replay_find_stage_idx(Replay *rpy, uint8_t stageid);
int replay_test(void);

View file

@ -126,4 +126,3 @@ void draw_animation_p(float x, float y, int col, int row, Animation *ani) {
glPopMatrix();
glDisable(GL_TEXTURE_2D);
}

View file

@ -36,5 +36,3 @@ void draw_animation_p(float x, float y, int col, int row, Animation *ani);
#define ANI_PATH_PREFIX TEX_PATH_PREFIX
#define ANI_EXTENSION ".ani"

View file

@ -22,5 +22,3 @@ void* load_music_end(void *opaque, const char *path, unsigned int flags);
void unload_music(void *snd);
#define BGM_PATH_PREFIX "res/bgm/"

View file

@ -60,5 +60,3 @@ struct Fonts {
};
extern struct Fonts _fonts;

View file

@ -48,5 +48,3 @@ void draw_model(const char *name);
#define MDL_PATH_PREFIX "res/models/"
#define MDL_EXTENSION ".obj"

View file

@ -120,3 +120,5 @@ void preload_resources(ResourceType type, ResourceFlags flags, const char *first
void resource_util_strip_ext(char *path);
char* resource_util_basename(const char *prefix, const char *path);
const char* resource_util_filename(const char *path);
bool resource_sdl_event(SDL_Event *evt);

View file

@ -23,5 +23,3 @@ void* load_sound_end(void *opaque, const char *path, unsigned int flags);
void unload_sound(void *snd);
#define SFX_PATH_PREFIX "res/sfx/"

View file

@ -35,5 +35,3 @@ int uniloc(Shader *sha, const char *name);
#define SHA_DELIM "%% -- FRAG"
#define SHA_DELIM_SIZE (sizeof(SHA_DELIM) - 1)

View file

@ -43,5 +43,3 @@ Texture* prefix_get_tex(const char *name, const char *prefix);
#define TEX_PATH_PREFIX "res/gfx/"
#define TEX_EXTENSION ".png"

View file

@ -11,4 +11,4 @@
#include "rwops_autobuf.h"
#ifndef DISABLE_ZIP
#include "rwops_zipfile.h"
#endif
#endif

View file

@ -11,5 +11,3 @@
#include <SDL.h>
SDL_RWops* SDL_RWAutoBuffer(void **ptr, size_t initsize);

View file

@ -12,5 +12,3 @@
#include <stdbool.h>
SDL_RWops* SDL_RWWrapDummy(SDL_RWops *src, bool autoclose);

View file

@ -12,5 +12,3 @@
#include <stdbool.h>
SDL_RWops* SDL_RWWrapSegment(SDL_RWops *src, size_t start, size_t end, bool autoclose);

View file

@ -13,5 +13,3 @@
#include <stdbool.h>
SDL_RWops* SDL_RWFromZipFile(zip_file_t *zipfile, bool autoclose);

View file

@ -17,5 +17,3 @@ SDL_RWops* SDL_RWWrapZWriter(SDL_RWops *src, size_t bufsize, bool autoclose);
z_stream* SDL_RWGetZStream(SDL_RWops *src);
int zrwops_test(void);

View file

@ -122,5 +122,3 @@ void stage_start_bgm(const char *bgm);
#include "stages/stage4.h"
#include "stages/stage5.h"
#include "stages/stage6.h"

View file

@ -13,5 +13,3 @@
void stage_draw_hud(void);
void stage_draw_foreground(void);
void stage_draw_scene(StageInfo *stage);

View file

@ -34,5 +34,3 @@ extern struct stage1_spells_s {
extern StageProcs stage1_procs;
extern StageProcs stage1_spell_procs;

View file

@ -31,5 +31,3 @@ extern struct stage2_spells_s {
extern StageProcs stage2_procs;
extern StageProcs stage2_spell_procs;

View file

@ -35,5 +35,3 @@ extern struct stage3_spells_s {
extern StageProcs stage3_procs;
extern StageProcs stage3_spell_procs;

View file

@ -37,5 +37,3 @@ extern struct stage4_spells_s {
extern StageProcs stage4_procs;
extern StageProcs stage4_spell_procs;

View file

@ -32,5 +32,3 @@ extern struct stage5_spells_s {
extern StageProcs stage5_procs;
extern StageProcs stage5_spell_procs;

View file

@ -52,5 +52,3 @@ extern StageProcs stage6_procs;
extern StageProcs stage6_spell_procs;
void start_fall_over(void);

View file

@ -64,5 +64,3 @@ void stagetext_table_add_numeric_nonzero(StageTextTable *tbl, const char *title,
void stagetext_table_add_separator(StageTextTable *tbl);
void stagetext_table_test(void);

View file

@ -52,5 +52,3 @@ Vector **linear3dpos(Vector q, float maxrange, Vector p, Vector r);
Vector **single3dpos(Vector q, float maxrange, Vector p);
void skip_background_anim(Stage3D *s3d, void (*drawfunc)(void), int frames, int *timer, int *timer2);

View file

@ -53,5 +53,3 @@ void set_transition_callback(TransitionRule rule, int dur1, int dur2, Transition
void draw_transition(void);
void update_transition(void);
void draw_and_update_transition(void);

View file

@ -40,5 +40,3 @@ void vbo_add_verts(VBO *vbo, Vertex *verts, int count);
void init_quadvbo(void);
void draw_quad(void);
void delete_vbo(VBO *vbo);

View file

@ -44,5 +44,3 @@ bool video_is_fullscreen(void);
bool video_is_resizable(void);
bool video_can_change_resolution(void);
void video_take_screenshot(void);