mirror of
https://github.com/n64decomp/mk64
synced 2026-08-17 21:03:10 -04:00
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <PR/mbi.h>
|
||||
#include <PR/ultratypes.h>
|
||||
#include "common_structs.h"
|
||||
|
||||
#define GU_PI 3.1415926
|
||||
/* Functions */
|
||||
|
||||
+2
-2
@@ -296,7 +296,7 @@
|
||||
/**
|
||||
* @brief Item IDs
|
||||
*/
|
||||
typedef enum ITEMS {
|
||||
enum ITEMS {
|
||||
/* 0x00 */ ITEM_NONE = 0,
|
||||
/* 0x01 */ ITEM_BANANA,
|
||||
/* 0x02 */ ITEM_BANANA_BUNCH,
|
||||
@@ -315,7 +315,7 @@ typedef enum ITEMS {
|
||||
/* 0x0F */ ITEM_SUPER_MUSHROOM
|
||||
};
|
||||
|
||||
typedef enum KART_AI_BEHAVIOURS {
|
||||
enum KART_AI_BEHAVIOURS {
|
||||
BEHAVIOUR_NONE = 0,
|
||||
BEHAVIOUR_1,
|
||||
BEHAVIOUR_HOP,
|
||||
|
||||
+1
-1
@@ -65,4 +65,4 @@ typedef struct {
|
||||
|
||||
extern SaveData gSaveData;
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+10
-37
@@ -33,7 +33,7 @@ typedef struct {
|
||||
// The control point arrays have more control points in them than this number indicates. Not sure why though.
|
||||
s16 numControlPoints;
|
||||
// This has to be an array for this to work, so just make it size 1
|
||||
SplineControlPoint controlPoints[1];
|
||||
SplineControlPoint controlPoints[];
|
||||
} SplineData;
|
||||
|
||||
// All other SplineDataXX types are for use as data only. The size of the array in them matters a lot.
|
||||
@@ -42,60 +42,33 @@ typedef struct {
|
||||
// Ghosts in BansheeBoardwalk x 2
|
||||
// Seagulls in KoopaTroopaBeach x 2
|
||||
// Penguins in Sherbet Land x 1
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[23];
|
||||
} SplineData23;
|
||||
// length of 23
|
||||
|
||||
// Ghosts in BansheeBoardwalk x 2
|
||||
// Seagulls in KoopaTroopaBeach x 1
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[24];
|
||||
} SplineData24;
|
||||
// length of 24
|
||||
|
||||
|
||||
// Ghosts in BansheeBoardwalk x 1
|
||||
// Seagulls in KoopaTroopaBeach x 1
|
||||
// Penguins in Sherbet Land x 1
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[25];
|
||||
} SplineData25;
|
||||
// length of 25
|
||||
|
||||
// Data of this type is unreferenced or only referenced in an unused function
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[4];
|
||||
} SplineDataUnused4;
|
||||
// lenght of 4
|
||||
|
||||
// Lakitu Countdown
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[15];
|
||||
} SplineData15;
|
||||
// length of 15
|
||||
|
||||
// Lakitu Checkered Flag
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[21];
|
||||
} SplineData21;
|
||||
// length of 21
|
||||
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[13];
|
||||
} SplineDataUnused13;
|
||||
// length of 13
|
||||
|
||||
// Lakitu Second/Final Lap
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[12];
|
||||
} SplineData12;
|
||||
// length of 12
|
||||
|
||||
// Lakitu Reverse
|
||||
typedef struct {
|
||||
s16 numControlPoints;
|
||||
SplineControlPoint controlPoints[8];
|
||||
} SplineData8;
|
||||
// length of 8
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user