portx64: include "platform.h" wherever the flag PLATFORM_64bit is used, to avoid possible nasty surprises

This commit is contained in:
Raf committed 2024-08-12 21:20:30 +08:00
1 parent eabbdc612c
commit 8533189561
16 files changed
+16

No files matched your search

+1
View File
@@ -22,6 +22,7 @@
#define __R4300_H__
#include <PR/ultratypes.h>
#include "platform.h"
/*
* Segment base addresses and sizes
+1
View File
@@ -28,6 +28,7 @@ extern "C" {
#include <PR/ultratypes.h>
#include <PR/mbi.h>
#include "platform.h"
struct var8009c340 {
u8 surround;
+1
View File
@@ -47,6 +47,7 @@
#include "preprocess.h"
#include "system.h"
#include "video.h"
#include "platform.h"
#endif
#define BGCMD_END 0x00
+1
View File
@@ -56,6 +56,7 @@
#ifndef PLATFORM_N64
#include "game/stagetable.h"
#include "video.h"
#include "platform.h"
#endif
#define GUNLOADSTATE_FLUX 0
+1
View File
@@ -28,6 +28,7 @@
#include "lib/lib_317f0.h"
#include "data.h"
#include "types.h"
#include "platform.h"
const char var7f1a78e0[] = "LIGHTS : Hit occured on light %d in room %d\n";
const char var7f1a7910[] = "L2(%d) -> ";
+1
View File
@@ -11,6 +11,7 @@
#include "lib/str.h"
#include "data.h"
#include "types.h"
#include "platform.h"
/**
* This file handles memory usage for graphics related tasks.
+1
View File
@@ -51,6 +51,7 @@
#ifndef PLATFORM_N64
#include "video.h"
#include "input.h"
#include "platform.h"
#define BLUR_OFS 10
#else
#define BLUR_OFS 30
+1
View File
@@ -24,6 +24,7 @@
#include "lib/lib_317f0.h"
#include "data.h"
#include "types.h"
#include "platform.h"
s16 var8009cb00;
s32 var8009cb04;
+1
View File
@@ -73,6 +73,7 @@
#ifndef PLATFORM_N64
#include "video.h"
#include "input.h"
#include "platform.h"
#endif
s32 g_DefaultWeapons[2];
+1
View File
@@ -11,6 +11,7 @@
#include "lib/model.h"
#include "data.h"
#include "types.h"
#include "platform.h"
/**
* The function assumes that a pad file's data has been loaded from the ROM
+1
View File
@@ -8,6 +8,7 @@
#include "gbiex.h"
#include "textures.h"
#include "types.h"
#include "platform.h"
#define TXMODE_WRAP 0
#define TXMODE_CLAMP 1
+1
View File
@@ -12,6 +12,7 @@
#include "types.h"
#ifndef PLATFORM_N64
#include "mod.h"
#include "platform.h"
#endif
struct texture *g_Textures;
+1
View File
@@ -5,6 +5,7 @@
#include "lib/model.h"
#include "lib/mtx.h"
#include "types.h"
#include "platform.h"
struct t0slot {
u16 unk00;
+1
View File
@@ -6,6 +6,7 @@
#include "lib/mp3.h"
#include "mp3/mp3.h"
#include "types.h"
#include "platform.h"
/**
* These two ABI commands are used in this file, but the format of the data
+1
View File
@@ -2,6 +2,7 @@
#define _IN_LIB_MP3_MP3_H
#include <ultra64.h>
#include "types.h"
#include "platform.h"
struct mp3decfourbytes {
u8 bytes[2];
+1
View File
@@ -16,6 +16,7 @@
#include "types.h"
#ifndef PLATFORM_N64
#include "video.h"
#include "platform.h"
#endif
#define TO_U16_A(x) ((u16)(x))