mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-07-09 20:41:31 -04:00
Get Aus version building, still needs work
This commit is contained in:
@@ -33,6 +33,10 @@ OSModuleHeader* BaseModule AT_ADDRESS(0x800030C8);
|
||||
#define MAKE_PARTIAL_ADDRESS(segment, ofs) \
|
||||
(((segment) << 28) + (ofs & 0x01FFFFFF))
|
||||
|
||||
#if VERSION == VER_GAFU01_00
|
||||
extern u8 SoftResetEnable;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "PR/mbi.h"
|
||||
#include "THA_GA.h"
|
||||
#include "dolphin/os/OSMessage.h"
|
||||
#include "boot.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -239,7 +240,9 @@ extern void graph_dt(GRAPH* graph);
|
||||
(char*)((int)(graph)->polygon_opaque_thaga.tha.tail_p - (int)(size))))
|
||||
#define GRAPH_ALLOC_TYPE(graph, type, num) (GRAPH_ALLOC(graph, sizeof(type) * (num)))
|
||||
|
||||
#if VERSION != VER_GAFU01_00
|
||||
extern u8 SoftResetEnable;
|
||||
#endif
|
||||
extern GRAPH graph_class;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -507,6 +507,10 @@ extern int mCoBG_GetWaterFlow(xyz_t* flow, u32 attr);
|
||||
extern int mCoBG_CheckWaveAttr(u32 attr);
|
||||
extern int mCoBG_CheckSand2Sea(xyz_t* pos);
|
||||
|
||||
#if VERSION == VER_GAFU01_00
|
||||
extern int mCoBG_GetCrossCircleAndLine2DvectorPlaneXZ_Xyz(xyz_t* cross1, xyz_t* cross2, const xyz_t* point, const xyz_t* vec, const xyz_t* center, f32 radius);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -250,7 +250,12 @@ extern int mFI_CheckBgDma(int bx, int bz);
|
||||
extern f32 mFI_UtNum2BaseHeight(int ut_x, int ut_z);
|
||||
extern f32 mFI_BkNum2BaseHeight(int bx, int bz);
|
||||
extern u8 mFI_BkNum2BlockType(int bx, int bz);
|
||||
#if VERSION != VER_GAFU01_00
|
||||
extern int mFI_GetPuleIdx();
|
||||
#else
|
||||
extern int mFI_GetPoolIdx();
|
||||
#define mFI_GetPuleIdx() mFI_GetPoolIdx()
|
||||
#endif
|
||||
extern u32 mFI_BkNum2BlockKind(int bx, int bz);
|
||||
extern int mFI_CheckBlockKind(int bx, int bz, u32 block_kind);
|
||||
extern int mFI_CheckBlockKind_OR(int bx, int bz, u32 block_kind_OR);
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
#include <dolphin/types.h>
|
||||
#include "macros.h"
|
||||
|
||||
#define VER_GAFE01_00 0
|
||||
#define VER_GAFU01_00 1
|
||||
|
||||
typedef signed char s8;
|
||||
typedef signed short s16;
|
||||
typedef signed long s32;
|
||||
|
||||
Reference in New Issue
Block a user