Replace header ifdef guards with #pragma once
This commit is contained in:
1 parent
0649427337
commit
3a6c577a41
367 files changed
+651
-1765
No files matched your search
@@ -1,7 +1,6 @@
|
||||
#include <ultra64.h>
|
||||
|
||||
#ifndef S2D_CONFIG_H
|
||||
#define S2D_CONFIG_H
|
||||
#pragma once
|
||||
|
||||
/**
|
||||
* SET YOUR FONT NAME HERE
|
||||
@@ -94,5 +93,3 @@ extern char *proutSprintf(char *dst, const char *src, size_t count);
|
||||
#define TEX_RES 1
|
||||
|
||||
#define _NUM_CACHE (4096 / (TEX_WIDTH * TEX_HEIGHT * (TEX_BITDEPTH / 8)))
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
#pragma once
|
||||
|
||||
// #define init_cond (CONTROLLER_HELD_INPUT & R_CBUTTONS)
|
||||
// #define tex_cond (CONTROLLER_HELD_INPUT & D_CBUTTONS)
|
||||
@@ -11,5 +10,3 @@
|
||||
#define spr_cond (1)
|
||||
#define init_cond (1)
|
||||
#define deinit_cond (1)
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef S2D_DRAW_H
|
||||
#define S2D_DRAW_H
|
||||
#pragma once
|
||||
#include <ultra64.h>
|
||||
|
||||
extern float myScale;
|
||||
@@ -19,5 +18,3 @@ extern void mtx_pipeline(uObjMtx *m, int x, int y);
|
||||
|
||||
extern void draw_s2d_glyph(char c, int x, int y, uObjMtx *mt);
|
||||
extern void draw_s2d_shadow(char c, int x, int y, uObjMtx *ds);
|
||||
|
||||
#endif
|
||||
@@ -1,9 +1,6 @@
|
||||
#ifndef S2D_ERROR_H
|
||||
#define S2D_ERROR_H
|
||||
#pragma once
|
||||
|
||||
extern int s2d_check_align(int align);
|
||||
extern int s2d_check_str(const char *str);
|
||||
|
||||
extern int s2d_error_y;
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user