fix typo include (#658)

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
coco875 2024-08-01 05:10:19 +02:00 committed by GitHub
parent 8f44a7e07e
commit b1161c2ce8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
13 changed files with 13 additions and 12 deletions

View File

@ -3,7 +3,7 @@
#include <PR/mbi.h> #include <PR/mbi.h>
#include <PR/ultratypes.h> #include <PR/ultratypes.h>
#include "common_structs.h" #include <common_structs.h>
#define GU_PI 3.1415926 #define GU_PI 3.1415926
/* Functions */ /* Functions */

View File

@ -36,7 +36,7 @@ extern "C" {
#endif #endif
#include <PR/ultratypes.h> #include <PR/ultratypes.h>
#include "PR/os_message.h" #include <PR/os_message.h>
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS) #if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)

View File

@ -38,6 +38,7 @@ typedef double f64;
typedef u32 size_t; typedef u32 size_t;
typedef s32 ssize_t; typedef s32 ssize_t;
typedef u32 uintptr_t; typedef u32 uintptr_t;
typedef u8 uint8_t;
typedef s32 intptr_t; typedef s32 intptr_t;
typedef s32 ptrdiff_t; typedef s32 ptrdiff_t;
#else #else

View File

@ -1,7 +1,7 @@
#ifndef BOMB_KART_H #ifndef BOMB_KART_H
#define BOMB_KART_H #define BOMB_KART_H
#include "common_structs.h" #include <common_structs.h>
#include <mk64.h> #include <mk64.h>
#define NUM_BOMB_KARTS_MAX 7 #define NUM_BOMB_KARTS_MAX 7

View File

@ -1,7 +1,7 @@
#ifndef _COMMON_STRUCTS_H_ #ifndef _COMMON_STRUCTS_H_
#define _COMMON_STRUCTS_H_ #define _COMMON_STRUCTS_H_
#include "ultra64.h" #include <ultra64.h>
typedef f32 Vec3f[3]; typedef f32 Vec3f[3];
typedef f32 Vec4f[4]; typedef f32 Vec4f[4];

View File

@ -1,7 +1,7 @@
#ifndef _FUNCTIONS_H_ #ifndef _FUNCTIONS_H_
#define _FUNCTIONS_H_ #define _FUNCTIONS_H_
#include "common_structs.h" #include <common_structs.h>
void mio0decode(u8* arg0, u8* arg1); void mio0decode(u8* arg0, u8* arg1);

View File

@ -1,7 +1,7 @@
#ifndef STDDEF_H #ifndef STDDEF_H
#define STDDEF_H #define STDDEF_H
#include "PR/ultratypes.h" #include <PR/ultratypes.h>
#ifndef offsetof #ifndef offsetof
#define offsetof(st, m) ((size_t)&(((st *)0)->m)) #define offsetof(st, m) ((size_t)&(((st *)0)->m))

View File

@ -1,7 +1,7 @@
#ifndef STRING_H #ifndef STRING_H
#define STRING_H #define STRING_H
#include "PR/ultratypes.h" #include <PR/ultratypes.h>
void *memcpy(void *dst, const void *src, size_t size); void *memcpy(void *dst, const void *src, size_t size);
size_t strlen(const char *str); size_t strlen(const char *str);

View File

@ -2,7 +2,7 @@
#define OBJECTS_H #define OBJECTS_H
#include "spline.h" #include "spline.h"
#include "common_structs.h" #include <common_structs.h>
#define OBJECT_LIST_SIZE 0x226 #define OBJECT_LIST_SIZE 0x226
#define SOME_OBJECT_INDEX_LIST_SIZE 32 #define SOME_OBJECT_INDEX_LIST_SIZE 32

View File

@ -1,7 +1,7 @@
#ifndef SAVE_DATA_H #ifndef SAVE_DATA_H
#define SAVE_DATA_H #define SAVE_DATA_H
#include "common_structs.h" #include <common_structs.h>
typedef struct { typedef struct {
// 6 little endian 3-byte records. // 6 little endian 3-byte records.

View File

@ -1,7 +1,7 @@
#ifndef SPLINE_H #ifndef SPLINE_H
#define SPLINE_H #define SPLINE_H
#include "common_structs.h" #include <common_structs.h>
/* /*
These are some very good videos about splines/Bezier curves in general These are some very good videos about splines/Bezier curves in general

View File

@ -1,7 +1,7 @@
#ifndef VEHICLES_H #ifndef VEHICLES_H
#define VEHICLES_H #define VEHICLES_H
#include "common_structs.h" #include <common_structs.h>
#define NUM_1P_PASSENGER_CARS 4 #define NUM_1P_PASSENGER_CARS 4
#define NUM_2P_PASSENGER_CARS 1 #define NUM_2P_PASSENGER_CARS 1

View File

@ -1,7 +1,7 @@
#ifndef WAYPOINTS_H #ifndef WAYPOINTS_H
#define WAYPOINTS_H #define WAYPOINTS_H
#include "common_structs.h" #include <common_structs.h>
typedef struct { typedef struct {
/* 0x00 */ s16 posX; /* 0x00 */ s16 posX;