mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-07-07 14:13:58 -04:00
fix missing header or not correctly formed header (#24)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
uint8_t GameEngine_OTRSigCheck(char* imgData);
|
||||
|
||||
#if defined(_WIN32)
|
||||
#define ALIGN_ASSET(x) __declspec(align(x))
|
||||
#else
|
||||
|
||||
@@ -40,6 +40,9 @@
|
||||
// Unfortunately that's not a small effort due to weird import structure in this project
|
||||
#include "main.h"
|
||||
|
||||
#include "stdio.h"
|
||||
#include "port/Engine.h"
|
||||
|
||||
u16 *D_8018D9B0;
|
||||
u8 *D_8018D9B4;
|
||||
u8 *D_8018D9B8;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <libultraship.h>
|
||||
#include <common_structs.h>
|
||||
|
||||
Vec4f D_0D009418[];
|
||||
Vec4f D_0D009568[];
|
||||
Vec4f D_0D0096B8[];
|
||||
Vec4f D_0D009808[];
|
||||
extern Vec4f D_0D009418[];
|
||||
extern Vec4f D_0D009568[];
|
||||
extern Vec4f D_0D0096B8[];
|
||||
extern Vec4f D_0D009808[];
|
||||
@@ -37,4 +37,9 @@ class GameEngine {
|
||||
void GameEngine_ProcessGfxCommands(Gfx* commands);
|
||||
float GameEngine_GetAspectRatio();
|
||||
uint8_t GameEngine_OTRSigCheck(char* imgData);
|
||||
float OTRGetAspectRatio(void);
|
||||
float OTRGetDimensionFromLeftEdge(float v);
|
||||
float OTRGetDimensionFromRightEdge(float v);
|
||||
int16_t OTRGetRectDimensionFromLeftEdge(float v);
|
||||
int16_t OTRGetRectDimensionFromRightEdge(float v);
|
||||
#endif
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <assert.h>
|
||||
#include <course_offsets.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
s32 sGfxSeekPosition;
|
||||
s32 sPackedSeekPosition;
|
||||
|
||||
|
||||
@@ -94,6 +94,7 @@ void unpack_tile_load_sync(Gfx*, u8*, s8);
|
||||
void unpack_texture_on(Gfx*, u8*, s8);
|
||||
void unpack_texture_off(Gfx*, u8*, s8);
|
||||
void load_course(s32);
|
||||
uintptr_t set_segment_base_addr_x64(s32, void *);
|
||||
|
||||
extern u8 _other_texturesSegmentRomStart[];
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ void func_80074478(s32);
|
||||
void func_800744A0(s32);
|
||||
void func_800744CC(void);
|
||||
void func_80074510(uintptr_t, void*, size_t);
|
||||
void func_800745C8(s32, s32);
|
||||
void func_800745C8(s32, uintptr_t);
|
||||
void func_8007466C(s32, uintptr_t);
|
||||
void func_80074704(s32, uintptr_t);
|
||||
u8 *func_80074790(s32, u8*);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
:config:
|
||||
external_files:
|
||||
- "yamls/us\\startup_logo.yml"
|
||||
- "yamls/us\\common_data.yml"
|
||||
- "yamls/us/startup_logo.yml"
|
||||
- "yamls/us/common_data.yml"
|
||||
segments:
|
||||
- [0x02, 0x12AAE0]
|
||||
- [0x0D, 0x132B50]
|
||||
|
||||
Reference in New Issue
Block a user