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,5 +1,4 @@
|
||||
#ifndef BEHAVIOR_SCRIPT_H
|
||||
#define BEHAVIOR_SCRIPT_H
|
||||
#pragma once
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
@@ -24,5 +23,3 @@ float random_float(void);
|
||||
s32 random_sign(void);
|
||||
|
||||
void cur_obj_update(void);
|
||||
|
||||
#endif // BEHAVIOR_SCRIPT_H
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef __EXTENDED_BOUNDS_H__
|
||||
#define __EXTENDED_BOUNDS_H__
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
Better Extended Bounds by anonymous_moose
|
||||
@@ -75,6 +74,3 @@ STATIC_ASSERT(LEVEL_BOUNDARY_MAX != 0, "You must set a valid extended bounds mod
|
||||
|
||||
#define NOT_ENOUGH_ROOM_FOR_SURFACES (1 << 0)
|
||||
#define NOT_ENOUGH_ROOM_FOR_NODES (1 << 1)
|
||||
|
||||
|
||||
#endif // __EXTENDED_BOUNDS_H__
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef GEO_LAYOUT_H
|
||||
#define GEO_LAYOUT_H
|
||||
#pragma once
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
@@ -77,5 +76,3 @@ void geo_layout_cmd_node_culling_radius(void);
|
||||
void geo_layout_cmd_bone(void);
|
||||
|
||||
struct GraphNode *process_geo_layout(struct AllocOnlyPool *pool, void *segptr);
|
||||
|
||||
#endif // GEO_LAYOUT_H
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef GRAPH_NODE_H
|
||||
#define GRAPH_NODE_H
|
||||
#pragma once
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
#include <PR/gbi.h>
|
||||
@@ -455,5 +454,3 @@ s16 *read_vec3s_to_vec3f(Vec3f, s16 *src);
|
||||
s16 *read_vec3s(Vec3s dst, s16 *src);
|
||||
s16 *read_vec3s_angle(Vec3s dst, s16 *src);
|
||||
void register_scene_graph_node(struct GraphNode *graphNode);
|
||||
|
||||
#endif // GRAPH_NODE_H
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef LEVEL_SCRIPT_H
|
||||
#define LEVEL_SCRIPT_H
|
||||
#pragma once
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
@@ -8,5 +7,3 @@ struct LevelCommand;
|
||||
extern u8 level_script_entry[];
|
||||
|
||||
struct LevelCommand *level_script_execute(struct LevelCommand *cmd);
|
||||
|
||||
#endif // LEVEL_SCRIPT_H
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef MATH_UTIL_H
|
||||
#define MATH_UTIL_H
|
||||
#pragma once
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
@@ -383,5 +382,3 @@ void spline_get_weights(Vec4f result, f32 t, UNUSED s32 c);
|
||||
void anim_spline_init(Vec4s *keyFrames);
|
||||
s32 anim_spline_poll(Vec3f result);
|
||||
extern void find_surface_on_ray(Vec3f orig, Vec3f dir, struct Surface **hit_surface, Vec3f hit_pos, s32 flags);
|
||||
|
||||
#endif // MATH_UTIL_H
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef SURFACE_COLLISION_H
|
||||
#define SURFACE_COLLISION_H
|
||||
#pragma once
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
@@ -39,5 +38,3 @@ s32 find_water_level_and_floor(s32 x, s32 z, struct Surface **pfloor);
|
||||
s32 find_water_level(s32 x, s32 z);
|
||||
s32 find_poison_gas_level(s32 x, s32 z);
|
||||
void debug_surface_list_info(f32 xPos, f32 zPos);
|
||||
|
||||
#endif // SURFACE_COLLISION_H
|
||||
@@ -1,5 +1,4 @@
|
||||
#ifndef SURFACE_LOAD_H
|
||||
#define SURFACE_LOAD_H
|
||||
#pragma once
|
||||
|
||||
#include <PR/ultratypes.h>
|
||||
|
||||
@@ -40,5 +39,3 @@ u32 get_area_terrain_size(TerrainData *data);
|
||||
void load_area_terrain(s32 index, TerrainData *data, RoomData *surfaceRooms, s16 *macroObjects);
|
||||
void clear_dynamic_surfaces(void);
|
||||
void load_object_collision_model(void);
|
||||
|
||||
#endif // SURFACE_LOAD_H
|
||||
Reference in new issue
Block a user