mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-23 04:49:45 +00:00
Format Script Update (#904)
* Bring over format.sh and .clang-tidy and run it * Little fixes * Adjustments * Jenkins kick * Jenkins kick 2 * format * small fixes * Bring over new formatter by Roman Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Force use of clang-11 * check_format * Update error messages * Fix from Tharo for python3.6 Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com> * Just use nproc to determine num jobs for check format * Update error message * AnimatedMat_DrawStepOpa texture arg -> matAnim * Fix enTwig draw prototype * Tidying up * Bring over fixes in OoT #1387 Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> * Fix * Update doc tools * PR Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com> Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
This commit is contained in:
parent
3e32379c2b
commit
26207594f2
@ -1,5 +1,9 @@
|
||||
Checks: '-*,readability-braces-around-statements'
|
||||
Checks: '-*,readability-braces-around-statements,readability-inconsistent-declaration-parameter-name'
|
||||
WarningsAsErrors: ''
|
||||
HeaderFilterRegex: '(src|include)\/.*\.h$'
|
||||
FormatStyle: 'file'
|
||||
CheckOptions:
|
||||
# Require argument names to match exactly (instead of allowing a name to be a prefix/suffix of another)
|
||||
# Note: 'true' is expected by clang-tidy 12+ but '1' is used for compatibility with older versions
|
||||
- key: readability-inconsistent-declaration-parameter-name.Strict
|
||||
value: 1
|
||||
|
@ -23,7 +23,7 @@
|
||||
- [`tools/warnings_count/check_new_warnings.sh`](#toolswarnings_countcheck_new_warningssh)
|
||||
- [`tools/warnings_count/update_current_warnings.sh`](#toolswarnings_countupdate_current_warningssh)
|
||||
- [`fixle.sh`](#fixlesh)
|
||||
- [`format.sh`](#formatsh)
|
||||
- [`format.py`](#formatpy)
|
||||
- [External tools](#external-tools)
|
||||
- [mips_to_c](#mips_to_c)
|
||||
- [Permuter](#permuter)
|
||||
@ -196,9 +196,31 @@ If you have to add new warnings, **and have permission from the leads**, run thi
|
||||
|
||||
Fixes line endings in the repo to Linux style (LF), which is required for the build process to work. (You may be better off creating a new clone directly in Linux/WSL, though)
|
||||
|
||||
### `format.sh`
|
||||
### `format.py`
|
||||
|
||||
Formats all C files in the repo using `clang-format-11` (instructions on how to install this version are pinned in Discord if you can't get it from your package manager in the usual way). This will touch all files in the repo, so the next `make` will take longer.
|
||||
Formats all C files in the repo using `clang-format-11`, `clang-tidy`, and `clang-apply-replacements` (when multiprocessing). This will touch all files in the repo, so the next `make` will take longer.
|
||||
|
||||
You can specify how many threads you would like this to run with by adding the `-jN` flag. Where N is the number of threads. By default this will run using 1 thread (i.e. `-j1`).
|
||||
|
||||
`clang-11` is available in many native package managers, but if not try:
|
||||
|
||||
Linux:
|
||||
Download llvm's setup script, run it, than install normally
|
||||
```bash
|
||||
wget https://apt.llvm.org/llvm.sh
|
||||
chmod +x llvm.sh
|
||||
sudo ./llvm.sh 11
|
||||
rm llvm.sh
|
||||
sudo apt install clang-format-11 clang-tidy-11 clang-apply-replacements-11
|
||||
```
|
||||
|
||||
Mac:
|
||||
Install with brew, than create symlinks for `clang-tidy` and `clang-apply-replacements` to use properly
|
||||
```bash
|
||||
brew install llvm clang-format-11
|
||||
ln -s "$(brew --prefix llvm)/bin/clang-tidy" "/usr/local/bin/clang-tidy"
|
||||
ln -s "$(brew --prefix llvm)/bin/clang-apply-replacements" "/usr/local/bin/clang-apply-replacements"
|
||||
```
|
||||
|
||||
## External tools
|
||||
|
||||
|
176
format.py
Executable file
176
format.py
Executable file
@ -0,0 +1,176 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
import multiprocessing
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
from functools import partial
|
||||
from typing import List
|
||||
|
||||
|
||||
# clang-format, clang-tidy and clang-apply-replacements default version
|
||||
# Version 11 is used when available for more consistency between contributors
|
||||
CLANG_VER = 11
|
||||
|
||||
# Clang-Format options (see .clang-format for rules applied)
|
||||
FORMAT_OPTS = "-i -style=file"
|
||||
|
||||
# Clang-Tidy options (see .clang-tidy for checks enabled)
|
||||
TIDY_OPTS = "-p ."
|
||||
TIDY_FIX_OPTS = "--fix --fix-errors"
|
||||
|
||||
# Clang-Apply-Replacements options (used for multiprocessing)
|
||||
APPLY_OPTS = ""
|
||||
|
||||
# Compiler options used with Clang-Tidy
|
||||
# Normal warnings are disabled with -Wno-everything to focus only on tidying
|
||||
INCLUDES = "-Iinclude -Isrc -Ibuild -I."
|
||||
DEFINES = "-D_LANGUAGE_C -DNON_MATCHING"
|
||||
COMPILER_OPTS = f"-fno-builtin -std=gnu90 -m32 -Wno-everything {INCLUDES} {DEFINES}"
|
||||
|
||||
|
||||
def get_clang_executable(allowed_executables: List[str]):
|
||||
for executable in allowed_executables:
|
||||
try:
|
||||
subprocess.check_call([executable, "--version"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
return executable
|
||||
except FileNotFoundError or subprocess.CalledProcessError:
|
||||
pass
|
||||
return None
|
||||
|
||||
|
||||
def get_tidy_version(tidy_executable: str):
|
||||
tidy_version_run = subprocess.run([tidy_executable, "--version"], stdout=subprocess.PIPE, universal_newlines=True)
|
||||
match = re.search(r"LLVM version ([0-9]+)", tidy_version_run.stdout)
|
||||
return int(match.group(1))
|
||||
|
||||
|
||||
CLANG_FORMAT = get_clang_executable([f"clang-format-{CLANG_VER}"])
|
||||
if CLANG_FORMAT is None:
|
||||
sys.exit(f"Error: clang-format-{CLANG_VER} found")
|
||||
|
||||
CLANG_TIDY = get_clang_executable([f"clang-tidy-{CLANG_VER}", "clang-tidy"])
|
||||
if CLANG_TIDY is None:
|
||||
sys.exit(f"Error: neither clang-tidy-{CLANG_VER} nor clang-tidy found")
|
||||
|
||||
CLANG_APPLY_REPLACEMENTS = get_clang_executable([f"clang-apply-replacements-{CLANG_VER}", "clang-apply-replacements"])
|
||||
|
||||
# Try to detect the clang-tidy version and add --fix-notes for version 13+
|
||||
# This is used to ensure all fixes are applied properly in recent versions
|
||||
if get_tidy_version(CLANG_TIDY) >= 13:
|
||||
TIDY_FIX_OPTS += " --fix-notes"
|
||||
|
||||
|
||||
def list_chunks(list: List, chunk_length: int):
|
||||
for i in range(0, len(list), chunk_length):
|
||||
yield list[i : i + chunk_length]
|
||||
|
||||
|
||||
def run_clang_format(files: List[str]):
|
||||
exec_str = f"{CLANG_FORMAT} {FORMAT_OPTS} {' '.join(files)}"
|
||||
subprocess.run(exec_str, shell=True)
|
||||
|
||||
|
||||
def run_clang_tidy(files: List[str]):
|
||||
exec_str = f"{CLANG_TIDY} {TIDY_OPTS} {TIDY_FIX_OPTS} {' '.join(files)} -- {COMPILER_OPTS}"
|
||||
subprocess.run(exec_str, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
|
||||
|
||||
def run_clang_tidy_with_export(tmp_dir: str, files: List[str]):
|
||||
(handle, tmp_file) = tempfile.mkstemp(suffix=".yaml", dir=tmp_dir)
|
||||
os.close(handle)
|
||||
|
||||
exec_str = f"{CLANG_TIDY} {TIDY_OPTS} --export-fixes={tmp_file} {' '.join(files)} -- {COMPILER_OPTS}"
|
||||
subprocess.run(exec_str, shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
|
||||
|
||||
|
||||
def run_clang_apply_replacements(tmp_dir: str):
|
||||
exec_str = f"{CLANG_APPLY_REPLACEMENTS} {APPLY_OPTS} {tmp_dir}"
|
||||
subprocess.run(exec_str, shell=True)
|
||||
|
||||
|
||||
def add_final_new_line(file: str):
|
||||
# https://backreference.org/2010/05/23/sanitizing-files-with-no-trailing-newline/index.html
|
||||
# "gets the last character of the file pipes it into read, which will exit with a nonzero exit
|
||||
# code if it encounters EOF before newline (so, if the last character of the file isn't a newline).
|
||||
# If read exits nonzero, then append a newline onto the file using echo (if read exits 0,
|
||||
# that satisfies the ||, so the echo command isn't run)." (https://stackoverflow.com/a/34865616)
|
||||
exec_str = f"tail -c1 {file} | read -r _ || echo >> {file}"
|
||||
subprocess.run(exec_str, shell=True)
|
||||
|
||||
|
||||
def format_files(src_files: List[str], extra_files: List[str], nb_jobs: int):
|
||||
if nb_jobs != 1:
|
||||
print(f"Formatting files with {nb_jobs} jobs")
|
||||
else:
|
||||
print(f"Formatting files with a single job (consider using -j to make this faster)")
|
||||
|
||||
# Format files in chunks to improve performance while still utilizing jobs
|
||||
file_chunks = list(list_chunks(src_files, (len(src_files) // nb_jobs) + 1))
|
||||
|
||||
print("Running clang-format...")
|
||||
# clang-format only applies changes in the given files, so it's safe to run in parallel
|
||||
with multiprocessing.get_context("fork").Pool(nb_jobs) as pool:
|
||||
pool.map(run_clang_format, file_chunks)
|
||||
|
||||
print("Running clang-tidy...")
|
||||
if nb_jobs > 1:
|
||||
# clang-tidy may apply changes in #included files, so when running it in parallel we use --export-fixes
|
||||
# then we call clang-apply-replacements to apply all suggested fixes at the end
|
||||
tmp_dir = tempfile.mkdtemp()
|
||||
|
||||
try:
|
||||
with multiprocessing.get_context("fork").Pool(nb_jobs) as pool:
|
||||
pool.map(partial(run_clang_tidy_with_export, tmp_dir), file_chunks)
|
||||
|
||||
run_clang_apply_replacements(tmp_dir)
|
||||
finally:
|
||||
shutil.rmtree(tmp_dir)
|
||||
else:
|
||||
run_clang_tidy(src_files)
|
||||
|
||||
print("Adding missing final new lines...")
|
||||
# Adding final new lines is safe to do in parallel and can be applied to all types of files
|
||||
with multiprocessing.get_context("fork").Pool(nb_jobs) as pool:
|
||||
pool.map(add_final_new_line, src_files + extra_files)
|
||||
|
||||
print("Done formatting files.")
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Format files in the codebase to enforce most style rules")
|
||||
parser.add_argument("files", metavar="file", nargs="*")
|
||||
parser.add_argument(
|
||||
"-j",
|
||||
dest="jobs",
|
||||
type=int,
|
||||
nargs="?",
|
||||
default=1,
|
||||
help="number of jobs to run (default: 1 without -j, number of cpus with -j)",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
nb_jobs = args.jobs or multiprocessing.cpu_count()
|
||||
if nb_jobs > 1:
|
||||
if CLANG_APPLY_REPLACEMENTS is None:
|
||||
sys.exit(
|
||||
f"Error: neither clang-apply-replacements-{CLANG_VER} nor clang-apply-replacements found (required to use -j)"
|
||||
)
|
||||
|
||||
if args.files:
|
||||
files = args.files
|
||||
extra_files = []
|
||||
else:
|
||||
files = glob.glob("src/**/*.c", recursive=True)
|
||||
extra_files = glob.glob("assets/**/*.xml", recursive=True)
|
||||
|
||||
format_files(files, extra_files, nb_jobs)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
46
format.sh
46
format.sh
@ -1,46 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
FORMAT_VER="11"
|
||||
FORMAT_OPTS="-i -style=file"
|
||||
TIDY_OPTS="-p . --fix --fix-errors"
|
||||
COMPILER_OPTS="-fno-builtin -std=gnu90 -Iinclude -Isrc -D_LANGUAGE_C -DNON_MATCHING"
|
||||
|
||||
# https://backreference.org/2010/05/23/sanitizing-files-with-no-trailing-newline/index.html
|
||||
# "gets the last character of the file pipes it into read, which will exit with a nonzero exit code if it encounters EOF before newline (so, if the last character of the file isn't a newline). If read exits nonzero, then append a newline onto the file using echo (if read exits 0, that satisfies the ||, so the echo command isn't run)." (https://stackoverflow.com/a/34865616)
|
||||
function add_final_newline () {
|
||||
for file in "$@"
|
||||
do
|
||||
tail -c1 $file | read -r _ || echo >> $file
|
||||
done
|
||||
}
|
||||
export -f add_final_newline
|
||||
|
||||
shopt -s globstar
|
||||
|
||||
if [ -z `command -v clang-format-${FORMAT_VER}` ]
|
||||
then
|
||||
echo "clang-format-${FORMAT_VER} not found. Exiting."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if (( $# > 0 )); then
|
||||
echo "Formatting file(s) $*"
|
||||
echo "Running clang-format..."
|
||||
clang-format-${FORMAT_VER} ${FORMAT_OPTS} "$@"
|
||||
echo "Running clang-tidy..."
|
||||
clang-tidy ${TIDY_OPTS} "$@" -- ${COMPILER_OPTS} &> /dev/null
|
||||
echo "Adding missing final new lines..."
|
||||
add_final_newline "$@"
|
||||
echo "Done formatting file(s) $*"
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Formatting C files. This will take a bit"
|
||||
echo "Running clang-format..."
|
||||
clang-format-${FORMAT_VER} ${FORMAT_OPTS} src/**/*.c
|
||||
echo "Running clang-tidy..."
|
||||
clang-tidy ${TIDY_OPTS} src/**/*.c -- ${COMPILER_OPTS} &> /dev/null
|
||||
echo "Adding missing final new lines..."
|
||||
find src/ -type f -name "*.c" -exec bash -c 'add_final_newline "$@"' bash {} +
|
||||
find assets/xml/ -type f -name "*.xml" -exec bash -c 'add_final_newline "$@"' bash {} +
|
||||
echo "Done formatting all files."
|
@ -5,25 +5,25 @@
|
||||
|
||||
void bootproc(void);
|
||||
void Idle_ThreadEntry(void* arg);
|
||||
void ViConfig_UpdateVi(u32 arg0);
|
||||
void ViConfig_UpdateVi(u32 mode);
|
||||
void ViConfig_UpdateBlack(void);
|
||||
s32 DmaMgr_DmaRomToRam(u32 src, void* dst, size_t size);
|
||||
s32 DmaMgr_DmaHandler(OSPiHandle* piHandle, OSIoMesg* mb, s32 direction);
|
||||
DmaEntry* DmaMgr_FindDmaEntry(u32 vromAddr);
|
||||
u32 DmaMgr_TranslateVromToRom(u32 vromAddr);
|
||||
s32 DmaMgr_FindDmaIndex(u32 vromAddr);
|
||||
s32 DmaMgr_DmaRomToRam(u32 rom, void* ram, size_t size);
|
||||
s32 DmaMgr_DmaHandler(OSPiHandle* pihandle, OSIoMesg* mb, s32 direction);
|
||||
DmaEntry* DmaMgr_FindDmaEntry(u32 vrom);
|
||||
u32 DmaMgr_TranslateVromToRom(u32 vrom);
|
||||
s32 DmaMgr_FindDmaIndex(u32 vrom);
|
||||
const char* func_800809F4(u32 param_1);
|
||||
void DmaMgr_ProcessMsg(DmaRequest* req);
|
||||
void DmaMgr_ThreadEntry(void* arg);
|
||||
s32 DmaMgr_SendRequestImpl(DmaRequest* request, void* vramStart, uintptr_t vromStart, size_t size, UNK_TYPE4 unused, OSMesgQueue* callback, void* callbackMesg);
|
||||
s32 DmaMgr_SendRequestImpl(DmaRequest* request, void* vramStart, uintptr_t vromStart, size_t size, UNK_TYPE4 unused, OSMesgQueue* queue, void* msg);
|
||||
s32 DmaMgr_SendRequest0(void* vramStart, uintptr_t vromStart, size_t size);
|
||||
void DmaMgr_Start(void);
|
||||
void DmaMgr_Stop(void);
|
||||
void* Yaz0_FirstDMA(void);
|
||||
void* Yaz0_NextDMA(void* curSrcPos);
|
||||
s32 Yaz0_DecompressImpl(u8* hdr, u8* dst);
|
||||
s32 Yaz0_DecompressImpl(u8* src, u8* dst);
|
||||
void Yaz0_Decompress(u32 romStart, void* dst, size_t size);
|
||||
void IrqMgr_AddClient(IrqMgr* irqmgr, IrqMgrClient* add, OSMesgQueue* msgQ);
|
||||
void IrqMgr_AddClient(IrqMgr* irqmgr, IrqMgrClient* client, OSMesgQueue* msgQueue);
|
||||
void IrqMgr_RemoveClient(IrqMgr* irqmgr, IrqMgrClient* remove);
|
||||
void IrqMgr_SendMesgForClient(IrqMgr* irqmgr, OSMesg msg);
|
||||
void IrqMgr_JamMesgForClient(IrqMgr* irqmgr, OSMesg msg);
|
||||
@ -85,7 +85,7 @@ void Fault_HangupFaultClient(const char* arg0, char* arg1);
|
||||
void Fault_AddHungupAndCrashImpl(const char* arg0, char* arg1);
|
||||
void Fault_AddHungupAndCrash(const char* filename, u32 line);
|
||||
void FaultDrawer_SetOsSyncPrintfEnabled(u32 enabled);
|
||||
void FaultDrawer_DrawRecImpl(s32 xstart, s32 ystart, s32 xend, s32 yend, u16 color);
|
||||
void FaultDrawer_DrawRecImpl(s32 xStart, s32 yStart, s32 xEnd, s32 yEnd, u16 color);
|
||||
void FaultDrawer_DrawChar(char c);
|
||||
s32 FaultDrawer_ColorToPrintColor(u16 color);
|
||||
void FaultDrawer_UpdatePrintColor(void);
|
||||
@ -128,8 +128,8 @@ StackStatus StackCheck_GetState(StackEntry* entry);
|
||||
u32 StackCheck_CheckAll(void);
|
||||
u32 StackCheck_Check(StackEntry* entry);
|
||||
|
||||
void MtxConv_F2L(Mtx* m1, MtxF* m2);
|
||||
void MtxConv_L2F(MtxF* m1, Mtx* m2);
|
||||
void MtxConv_F2L(Mtx* mtx, MtxF* mf);
|
||||
void MtxConv_L2F(MtxF* mtx, Mtx* mf);
|
||||
|
||||
void __assert(const char* file, u32 lineNum);
|
||||
// void func_800862B4(void);
|
||||
@ -150,7 +150,7 @@ f32 func_80086814(f32 x);
|
||||
// void func_80086AF0(void);
|
||||
f32 func_80086B30(f32 y, f32 x);
|
||||
// void func_80086C18(void);
|
||||
f32 func_80086C48(f32 param_1);
|
||||
f32 func_80086C48(f32 x);
|
||||
// void func_80086C70(void);
|
||||
f64 func_80086C7C(f64 param_1);
|
||||
s32 func_80086C88(f32 param_1);
|
||||
@ -177,13 +177,13 @@ void Rand_Seed(u32 seed);
|
||||
f32 Rand_ZeroOne(void);
|
||||
f32 Rand_Centered(void);
|
||||
void Rand_Seed_Variable(u32* rndNum, u32 seed);
|
||||
u32 Rand_Next_Variable(u32* param_1);
|
||||
f32 Rand_ZeroOne_Variable(u32* param_1);
|
||||
f32 Rand_Centered_Variable(u32* param_1);
|
||||
u32 Rand_Next_Variable(u32* rndNum);
|
||||
f32 Rand_ZeroOne_Variable(u32* rndNum);
|
||||
f32 Rand_Centered_Variable(u32* rndNum);
|
||||
|
||||
void* proutSprintf(void* s, const char* buf, size_t n);
|
||||
void* proutSprintf(void* dst, const char* fmt, size_t size);
|
||||
s32 vsprintf(char* dst, char* fmt, va_list args);
|
||||
s32 sprintf(char* s, char* fmt, ...);
|
||||
s32 sprintf(char* dst, char* fmt, ...);
|
||||
s32 PrintUtils_VPrintf(PrintCallback* pfn, const char* fmt, va_list args);
|
||||
s32 PrintUtils_Printf(PrintCallback* pfn, const char* fmt, ...);
|
||||
void Sleep_Cycles(OSTime time);
|
||||
@ -194,7 +194,7 @@ void Sleep_Sec(u32 sec);
|
||||
// void __osSetCause(void);
|
||||
s32 osSendMesg(OSMesgQueue* mq, OSMesg msg, s32 flags);
|
||||
s32 osPfsFreeBlocks(OSPfs* pfs, s32* leftoverBytes);
|
||||
void osViExtendVStart(u32 param_1);
|
||||
void osViExtendVStart(u32 a0);
|
||||
void osStopThread(OSThread* t);
|
||||
s32 osRecvMesg(OSMesgQueue* mq, OSMesg* msg, s32 flags);
|
||||
OSIntMask osSetIntMask(OSIntMask im);
|
||||
@ -226,8 +226,8 @@ OSThread* __osPopThread(OSThread** param_1);
|
||||
// void __osNop(void);
|
||||
void __osDispatchThread(void);
|
||||
void __osCleanupThread(void);
|
||||
void __osDequeueThread(OSThread** param_1, OSThread* param_2);
|
||||
void osDestroyThread(OSThread* puParm1);
|
||||
void __osDequeueThread(OSThread** queue, OSThread* t);
|
||||
void osDestroyThread(OSThread* t);
|
||||
// void __osVoiceCheckResult(void);
|
||||
void bzero(void* begin, s32 length);
|
||||
|
||||
@ -236,13 +236,13 @@ void __osSiGetAccess(void);
|
||||
void __osSiRelAccess(void);
|
||||
s32 osContInit(OSMesgQueue* mq, u8* bitpattern, OSContStatus* data);
|
||||
void __osContGetInitData(u8* pattern, OSContStatus* data);
|
||||
void __osPackRequestData(u8 cmd);
|
||||
void __osPackRequestData(u8 poll);
|
||||
void osCreateThread(OSThread* t, OSId id, void* entry, void* arg, void* sp, OSPri p);
|
||||
s32 osContStartReadData(OSMesgQueue* mq);
|
||||
void osContGetReadData(OSContPad* data);
|
||||
void __osPackReadData(void);
|
||||
// void osVoiceGetReadData(void);
|
||||
uintptr_t osVirtualToPhysical(void* vaddr);
|
||||
uintptr_t osVirtualToPhysical(void* virtualAddress);
|
||||
u32 __osGetSR(void);
|
||||
void __osSetSR(u32 value);
|
||||
void osWritebackDCache(void* vaddr, s32 nbytes);
|
||||
@ -292,12 +292,12 @@ void guMtxL2F(MtxF* m1, Mtx* m2);
|
||||
u32 osGetMemSize(void);
|
||||
s32 osPfsFindFile(OSPfs* pfs, u16 companyCode, u32 gameCode, u8* gameName, u8* extName, s32* fileNo);
|
||||
void osSetEventMesg(OSEvent e, OSMesgQueue* mq, OSMesg m);
|
||||
f32 sqrtf(f32 __x);
|
||||
f32 sqrtf(f32 f);
|
||||
s32 osAfterPreNMI(void);
|
||||
s32 osContStartQuery(OSMesgQueue* mq);
|
||||
void osContGetQuery(OSContStatus* data);
|
||||
void guLookAtHiliteF(float mf[4][4], LookAt* l, Hilite* h, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt, f32 zAt, f32 xUp, f32 yUp, f32 zUp, f32 xl1, f32 yl1, f32 zl1, f32 xl2, f32 yl2, f32 zl2, s32 twidth, s32 theight);
|
||||
void guLookAtHilite(Mtx* m, LookAt* l, Hilite* h, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt, f32 zAt, f32 xUp, f32 yUp, f32 zUp, f32 xl1, f32 yl1, f32 zl1, f32 xl2, f32 yl2, f32 zl2, s32 twidth, s32 theight);
|
||||
void guLookAtHiliteF(float mf[4][4], LookAt* l, Hilite* h, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt, f32 zAt, f32 xUp, f32 yUp, f32 zUp, f32 xl1, f32 yl1, f32 zl1, f32 xl2, f32 yl2, f32 zl2, s32 hiliteWidth, s32 hiliteHeight);
|
||||
void guLookAtHilite(Mtx* m, LookAt* l, Hilite* h, f32 xEye, f32 yEye, f32 zEye, f32 xAt, f32 yAt, f32 zAt, f32 xUp, f32 yUp, f32 zUp, f32 xl1, f32 yl1, f32 zl1, f32 xl2, f32 yl2, f32 zl2, s32 hiliteWidth, s32 hiliteHeight);
|
||||
s32 _Printf(PrintCallback pfn, void* arg, const char* fmt, va_list ap);
|
||||
void _Putfld(_Pft* px, va_list* pap, u8 code, u8* ac);
|
||||
// void osVoiceClearDictionary(void);
|
||||
@ -305,9 +305,9 @@ void osUnmapTLBAll(void);
|
||||
s32 osEPiStartDma(OSPiHandle* pihandle, OSIoMesg* mb, s32 direction);
|
||||
// void __osVoiceContRead2(void);
|
||||
u8 __osVoiceContDataCrc(u8* data, size_t numBytes);
|
||||
const char* strchr(const char* __s, s32 __c);
|
||||
size_t strlen(const char* __s);
|
||||
void* memcpy(void* __dest, const void* __src, size_t __n);
|
||||
const char* strchr(const char* s, s32 c);
|
||||
size_t strlen(const char* s);
|
||||
void* memcpy(void* s1, const void* s2, size_t n);
|
||||
void osCreateMesgQueue(OSMesgQueue* mq, OSMesg* msq, s32 count);
|
||||
void osInvalICache(void* vaddr, size_t nbytes);
|
||||
void osInvalDCache(void* vaddr, size_t nbytes);
|
||||
@ -320,24 +320,24 @@ s32 __osSpDeviceBusy(void);
|
||||
s32 __osSiDeviceBusy(void);
|
||||
// void guMtxIdent(void);
|
||||
s32 osJamMesg(OSMesgQueue* mq, OSMesg msg, s32 flag);
|
||||
void osSetThreadPri(OSThread* t, OSPri pri);
|
||||
void osSetThreadPri(OSThread* t, OSPri p);
|
||||
OSPri osGetThreadPri(OSThread* t);
|
||||
s32 __osEPiRawReadIo(OSPiHandle* handle, u32 devAddr, u32* data);
|
||||
void osViSwapBuffer(void* frameBufPtr);
|
||||
void guPositionF(float mf[4][4], f32 r, f32 p, f32 h, f32 s, f32 x, f32 y, f32 z);
|
||||
void guPosition(Mtx* m, f32 r, f32 p, f32 h, f32 s, f32 x, f32 y, f32 z);
|
||||
void guPositionF(float mf[4][4], f32 rot, f32 pitch, f32 yaw, f32 scale, f32 x, f32 y, f32 z);
|
||||
void guPosition(Mtx* m, f32 rot, f32 pitch, f32 yaw, f32 scale, f32 x, f32 y, f32 z);
|
||||
s32 __osEPiRawStartDma(OSPiHandle* handle, s32 direction, u32 cartAddr, void* dramAddr, size_t size);
|
||||
OSYieldResult osSpTaskYielded(OSTask* task);
|
||||
s32 bcmp(void* __s1, void* __s2, size_t __n);
|
||||
OSTime osGetTime(void);
|
||||
void guRotateF(float mf[4][4], f32 a, f32 x, f32 y, f32 z);
|
||||
void guRotateF(float m[4][4], f32 a, f32 x, f32 y, f32 z);
|
||||
void guRotate(Mtx* m, f32 a, f32 x, f32 y, f32 z);
|
||||
void __osSetGlobalIntMask(u32 mask);
|
||||
// void osVoiceInit(void);
|
||||
s32 __osContChannelReset(OSMesgQueue* mq, s32 channel);
|
||||
// void __osVoiceSetADConverter(void);
|
||||
s32 osAiSetFrequency(u32 frequency);
|
||||
s32 __osContRamRead(OSMesgQueue* mq, s32 channel, u16 address, u8* buffer);
|
||||
s32 __osContRamRead(OSMesgQueue* ctrlrqueue, s32 channel, u16 addr, u8* buffer);
|
||||
// void __osVoiceContWrite20(void);
|
||||
u8 __osContAddressCrc(u16 addr);
|
||||
u8 __osContDataCrc(u8* data);
|
||||
@ -351,7 +351,7 @@ void bcopy(void* __src, void* __dest, size_t __n);
|
||||
void __osResetGlobalIntMask(u32 mask);
|
||||
// void osPfsDeleteFile(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
// void __osPfsReleasePages(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
void guOrthoF(float mf[4][4], f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, f32 scale);
|
||||
void guOrthoF(float m[4][4], f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, f32 scale);
|
||||
void guOrtho(Mtx* m, f32 l, f32 r, f32 b, f32 t, f32 n, f32 f, f32 scale);
|
||||
OSIntMask __osDisableInt(void);
|
||||
void __osRestoreInt(OSIntMask im);
|
||||
@ -359,13 +359,13 @@ void __osViInit(void);
|
||||
void __osViSwapContext(void);
|
||||
OSMesgQueue* osPiGetCmdQueue(void);
|
||||
f32 cosf(f32 __x);
|
||||
s32 osEPiReadIo(OSPiHandle* pihandle, u32 devAddr, u32* data);
|
||||
s32 osEPiReadIo(OSPiHandle* handle, u32 devAddr, u32* data);
|
||||
void osViSetSpecialFeatures(u32 func);
|
||||
s16 coss(u16 x);
|
||||
void osSetTime(OSTime ticks);
|
||||
// void osVoiceStopReadData(void);
|
||||
void osViSetEvent(OSMesgQueue* mq, OSMesg m, u32 retraceCount);
|
||||
s32 osPfsIsPlug(OSMesgQueue* queue, u8* pattern);
|
||||
s32 osPfsIsPlug(OSMesgQueue* mq, u8* pattern);
|
||||
// void __osPfsRequestData(void);
|
||||
// void __osPfsGetInitData(void);
|
||||
s32 __osVoiceGetStatus(OSMesgQueue* mq, s32 port, u8* status);
|
||||
@ -380,7 +380,7 @@ u32 __osGetFpcCsr(void);
|
||||
// void __osPfsCheckRamArea(void);
|
||||
// void osPfsChecker(void);
|
||||
u32 osAiGetLength(void);
|
||||
s32 osEPiWriteIo(OSPiHandle* pihandle, u32 devAddr, u32 data);
|
||||
s32 osEPiWriteIo(OSPiHandle* handle, u32 devAddr, u32 data);
|
||||
void osMapTLBRdb(void);
|
||||
void osYieldThread(void);
|
||||
void guTranslate(Mtx* mtx, f32 x, f32 y, f32 z);
|
||||
@ -388,15 +388,15 @@ u32 __osGetCause(void);
|
||||
s32 __osContRamWrite(OSMesgQueue* mq, s32 channel, u16 address, u8* buffer, s32 force);
|
||||
s32 __osEPiRawWriteIo(OSPiHandle* handle, u32 devAddr, u32 data);
|
||||
s32 osSetTimer(OSTimer* t, OSTime value, OSTime interval, OSMesgQueue* mq, OSMesg msg);
|
||||
void _Ldtob(_Pft* px, u8 code);
|
||||
void _Ldtob(_Pft* args, u8 type);
|
||||
// void _Ldunscale(void);
|
||||
void _Genld(_Pft* px, u8 code, u8* p, s16 nsig, s16 xexp);
|
||||
ldiv_t ldiv(long numer, long denom);
|
||||
lldiv_t lldiv(long long numer, long long denom);
|
||||
void _Litob(_Pft* px, u8 code);
|
||||
void _Litob(_Pft* args, u8 type);
|
||||
s32 __osSiRawWriteIo(u32 devAddr, u32 data);
|
||||
u32 __osSpGetStatus(void);
|
||||
void __osSpSetStatus(u32 value);
|
||||
void __osSpSetStatus(u32 data);
|
||||
void osCreateViManager(OSPri pri);
|
||||
// void viMgrMain(OSDevMgr* iParm1);
|
||||
__OSViContext* __osViGetCurrentContext(void);
|
||||
@ -404,17 +404,17 @@ void osWritebackDCacheAll(void);
|
||||
OSThread* __osGetCurrFaultedThread(void);
|
||||
// void osVoiceMaskDictionary(void);
|
||||
void guMtxF2L(float mf[4][4], Mtx* m);
|
||||
void osStartThread(OSThread* param_1);
|
||||
void osStartThread(OSThread* t);
|
||||
void osViSetYScale(f32 value);
|
||||
void osViSetXScale(f32 value);
|
||||
long long __d_to_ll(double d);
|
||||
long long __f_to_ll(float f);
|
||||
unsigned long long __d_to_ull(double d);
|
||||
unsigned long long __f_to_ull(float f);
|
||||
double __ll_to_d(long long l);
|
||||
float __ll_to_f(long long l);
|
||||
double __ull_to_d(unsigned long long l);
|
||||
float __ull_to_f(unsigned long long l);
|
||||
double __ll_to_d(long long s);
|
||||
float __ll_to_f(long long s);
|
||||
double __ull_to_d(unsigned long long u);
|
||||
float __ull_to_f(unsigned long long u);
|
||||
// void osVoiceCheckWord(void);
|
||||
// void osVoiceControlGain(void);
|
||||
// void osVoiceStartReadData(void);
|
||||
@ -473,7 +473,7 @@ void func_800AE5A0(PlayState* play);
|
||||
void func_800AE5E4(PlayState* play, Color_RGBA8* color, s16 arg2, s16 arg3);
|
||||
void func_800AE778(PlayState* play, Color_RGBA8* color, s16 arg2, s16 arg3);
|
||||
void func_800AE8EC(PlayState* play);
|
||||
void func_800AE930(CollisionContext* colCtx, EffectTireMark* this, Vec3f* pos, f32 arg3, s16 angle, CollisionPoly* colPoly, s32 arg6);
|
||||
void func_800AE930(CollisionContext* colCtx, EffectTireMark* this, Vec3f* pos, f32 arg3, s16 arg4, CollisionPoly* colPoly, s32 arg6);
|
||||
void func_800AEF44(EffectTireMark* this);
|
||||
void EffectTireMark_Init(void* thisx, void* initParamsx);
|
||||
void EffectTireMark_Destroy(void* thisx);
|
||||
@ -490,18 +490,18 @@ void Effect_DestroyAll(PlayState* play);
|
||||
void EffectSS_Init(PlayState* play, s32 numEntries);
|
||||
void EffectSS_Clear(PlayState* play);
|
||||
EffectSs* EffectSS_GetTable(void);
|
||||
void EffectSS_Delete(EffectSs* param_1);
|
||||
void EffectSS_Delete(EffectSs* effectSs);
|
||||
void EffectSS_ResetEntry(EffectSs* particle);
|
||||
s32 EffectSS_FindFreeSpace(s32 priority, s32* tableEntry);
|
||||
void EffectSS_Copy(PlayState* play, EffectSs* particle);
|
||||
void EffectSs_Spawn(PlayState* play, s32 type, s32 priority, void* initParams);
|
||||
void EffectSS_Copy(PlayState* play, EffectSs* effectsSs);
|
||||
void EffectSs_Spawn(PlayState* play, s32 type, s32 priority, void* initData);
|
||||
void EffectSS_UpdateParticle(PlayState* play, s32 index);
|
||||
void EffectSS_UpdateAllParticles(PlayState* play);
|
||||
void EffectSS_DrawParticle(PlayState* play, s32 index);
|
||||
void EffectSS_DrawAllParticles(PlayState* play);
|
||||
s16 func_800B096C(s16 param_1, s16 param_2, s32 param_3);
|
||||
s16 func_800B09D0(s16 a0, s16 a1, f32 a2);
|
||||
u8 func_800B0A24(u8 a0, u8 a1, f32 a2);
|
||||
s16 func_800B096C(s16 arg0, s16 arg1, s32 arg2);
|
||||
s16 func_800B09D0(s16 arg0, s16 arg1, f32 arg2);
|
||||
u8 func_800B0A24(u8 arg0, u8 arg1, f32 arg2);
|
||||
void EffectSs_DrawGEffect(PlayState* play, EffectSs* this, void* texture);
|
||||
void EffectSsDust_Spawn(PlayState* play, u16 drawFlags, Vec3f* pos, Vec3f* velocity, Vec3f* accel, Color_RGBA8* primColor, Color_RGBA8* envColor, s16 scale, s16 scaleStep, s16 life, u8 updateMode);
|
||||
void func_800B0DE0(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, Color_RGBA8* primColor, Color_RGBA8* envColor, s16 scale, s16 scaleStep);
|
||||
@ -530,10 +530,9 @@ void EffectSsKirakira_SpawnDispersed(PlayState* play, Vec3f* pos, Vec3f* velocit
|
||||
// void EffectSsBomb2_SpawnFade(UNK_TYPE4 uParm1, Vec3f* pzParm2, Vec3f* pzParm3, Vec3f* pzParm4);
|
||||
void EffectSsBomb2_SpawnLayered(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale, s16 scaleStep);
|
||||
// void EffectSsBlast_Spawn(UNK_TYPE4 uParm1, Vec3f* pzParm2, Vec3f* pzParm3, Vec3f* pzParm4, Color_RGBA8* param_5, Color_RGBA8* param_6, UNK_TYPE2 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10);
|
||||
void EffectSsBlast_SpawnWhiteCustomScale(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale,
|
||||
s16 scaleStep, s16 life);
|
||||
void EffectSsBlast_SpawnWhiteCustomScale(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale, s16 scaleStep, s16 life);
|
||||
// void EffectSsBlast_SpawnShockwave(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE2 param_7);
|
||||
void EffectSsBlast_SpawnWhiteShockwave(PlayState* play, Vec3f* arg1, Vec3f* arg2, Vec3f* arg3);
|
||||
void EffectSsBlast_SpawnWhiteShockwave(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel);
|
||||
// void EffectSsGSpk_SpawnAccel(UNK_TYPE4 uParm1, UNK_TYPE4 uParm2, Vec3f* pzParm3, Vec3f* pzParm4, Vec3f* param_5, Color_RGBA8* param_6, Color_RGBA8* param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9);
|
||||
// void EffectSsGSpk_SpawnNoAccel(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7, UNK_TYPE2 param_8, UNK_TYPE2 param_9);
|
||||
void EffectSsGSpk_SpawnFuse(PlayState* play, Actor* actor, Vec3f* pos, Vec3f* velocity, Vec3f* accel);
|
||||
@ -558,11 +557,11 @@ void EffectSsHitmark_SpawnFixedScale(PlayState* play, s32 type, Vec3f* pos);
|
||||
void EffectSsHitmark_SpawnCustomScale(PlayState* play, s32 type, s16 scale, Vec3f* pos);
|
||||
void EffectSsFhgFlash_SpawnShock(PlayState* play, Actor* actor, Vec3f* pos, s16 scale, u8 params);
|
||||
// void EffectSsKFire_Spawn(UNK_TYPE4 uParm1, Vec3f* pzParm2, Vec3f* pzParm3, Vec3f* pzParm4, UNK_TYPE2 param_5, UNK_TYPE1 param_6);
|
||||
void EffectSsSolderSrchBall_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale, s16* playerDetected, s16 params);
|
||||
void EffectSsSolderSrchBall_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale, s16* playerDetected, s16 flags);
|
||||
void EffectSsKakera_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* arg3, s16 gravity, s16 arg5, s16 arg6, s16 arg7, s16 arg8, s16 scale, s16 arg10, s16 arg11, s32 life, s16 colorIdx, s16 objId, Gfx* dList);
|
||||
// void EffectSsIcePiece_Spawn(UNK_TYPE4 uParm1, Vec3f* pzParm2, UNK_TYPE4 uParm3, Vec3f* pzParm4, Vec3f* param_5, UNK_TYPE4 param_6);
|
||||
// void EffectSsIcePiece_SpawnBurst(void);
|
||||
void func_800B2B44(PlayState* play, Actor* actor, Vec3f* arg2, f32 arg3);
|
||||
void func_800B2B44(PlayState* play, Actor* actor, Vec3f* pos, f32 scale);
|
||||
// void func_800B2B7C(void);
|
||||
void EffectSsEnIce_Spawn(PlayState* play, Vec3f* pos, f32 scale, Vec3f* velocity, Vec3f* accel, Color_RGBA8* primColor, Color_RGBA8* envColor, s32 life);
|
||||
// void EffectSsFireTail_Spawn(UNK_TYPE4 uParm1, UNK_TYPE4 uParm2, Vec3f* pzParm3, UNK_TYPE4 uParm4, Vec3f* param_5, UNK_TYPE2 param_6, Color_RGBA8* param_7, Color_RGBA8* param_8, UNK_TYPE2 param_9, UNK_TYPE2 param_10, UNK_TYPE4 param_11);
|
||||
@ -571,7 +570,7 @@ void EffectSsEnIce_Spawn(PlayState* play, Vec3f* pos, f32 scale, Vec3f* velocity
|
||||
void EffectSsEnFire_SpawnVec3f(PlayState* play, Actor* actor, Vec3f* pos, s16 scale, s16 params, s16 flags, s16 bodyPart);
|
||||
// void EffectSsEnFire_SpawnVec3s(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7);
|
||||
void EffectSsExtra_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale, s16 scoreIdx);
|
||||
void EffectSsDeadDb_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, Color_RGBA8* prim, Color_RGBA8* env, s16 scale, s16 scaleStep, s32 unk);
|
||||
void EffectSsDeadDb_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, Color_RGBA8* prim, Color_RGBA8* env, s16 scale, s16 scaleStep, s32 life);
|
||||
void func_800B3030(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale, s16 scaleStep, s32 colorIndex);
|
||||
void EffectSsDeadDd_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, Color_RGBA8* prim, Color_RGBA8* env, s16 scale, s16 scaleStep, s16 alphaStep, s32 life);
|
||||
// void EffectSsDeadDs_Spawn(UNK_TYPE4 uParm1, Vec3f* pzParm2, Vec3f* pzParm3, Vec3f* pzParm4, UNK_TYPE2 param_5, UNK_TYPE2 param_6, UNK_TYPE2 param_7, UNK_TYPE4 param_8);
|
||||
@ -580,8 +579,8 @@ void EffectSsIceSmoke_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f*
|
||||
void EffectSsIceBlock_Spawn(PlayState* play, Vec3f* pos, Vec3f* velocity, Vec3f* accel, s16 scale);
|
||||
void FlagSet_Update(GameState* gameState);
|
||||
void FlagSet_Draw(GameState* gameState);
|
||||
void Overlay_LoadGameState(GameStateOverlay* gameState);
|
||||
void Overlay_FreeGameState(GameStateOverlay* gameState);
|
||||
void Overlay_LoadGameState(GameStateOverlay* overlayEntry);
|
||||
void Overlay_FreeGameState(GameStateOverlay* overlayEntry);
|
||||
|
||||
void ActorShape_Init(ActorShape* actorShape, f32 yOffset, ActorShadowFunc shadowDraw, f32 shadowScale);
|
||||
void ActorShadow_DrawCircle(Actor* actor, Lights* lights, PlayState* play);
|
||||
@ -648,7 +647,7 @@ f32 Actor_XZDistanceBetweenActors(Actor* actor1, Actor* actor2);
|
||||
f32 Actor_XZDistanceToPoint(Actor* actor, Vec3f* point);
|
||||
void Actor_OffsetOfPointInActorCoords(Actor* actor, Vec3f* offset, Vec3f* point);
|
||||
f32 Actor_HeightDiff(Actor* actor1, Actor* actor2);
|
||||
void func_800B6F20(PlayState* play, Input* input, f32 arg2, s16 arg3);
|
||||
void func_800B6F20(PlayState* play, Input* input, f32 magnitude, s16 baseYaw);
|
||||
f32 Player_GetHeight(Player* player);
|
||||
f32 Player_GetRunSpeedLimit(Player* player);
|
||||
s32 func_800B7118(Player* player);
|
||||
@ -717,7 +716,7 @@ void func_800B9010(Actor* actor, u16 sfxId);
|
||||
void func_800B9038(Actor* actor, s32 timer);
|
||||
void func_800B9084(Actor* actor);
|
||||
void func_800B9098(Actor* actor);
|
||||
s32 func_800B90AC(PlayState* play, Actor* actor, CollisionPoly* polygon, s32 index, s32 arg4);
|
||||
s32 func_800B90AC(PlayState* play, Actor* actor, CollisionPoly* polygon, s32 bgId, s32 arg4);
|
||||
void Actor_DeactivateLens(PlayState* play);
|
||||
void func_800B9120(ActorContext* actorCtx);
|
||||
void Actor_InitContext(PlayState* play, ActorContext* actorCtx, ActorEntry* actorEntry);
|
||||
@ -783,15 +782,15 @@ void ActorOverlayTable_Init(void);
|
||||
void ActorOverlayTable_Cleanup(void);
|
||||
|
||||
void SSNode_SetValue(SSNode* node, s16* polyIndex, u16 next);
|
||||
void SSList_SetNull(SSList* head);
|
||||
void SSList_SetNull(SSList* ssList);
|
||||
void SSNodeList_SetSSListHead(SSNodeList* list, SSList* ssList, s16* polyIndex);
|
||||
void DynaSSNodeList_SetSSListHead(DynaSSNodeList* list, SSList* ssList, s16* polyIndex);
|
||||
void DynaSSNodeList_Init(PlayState* play, DynaSSNodeList* list);
|
||||
void DynaSSNodeList_Alloc(PlayState* play, DynaSSNodeList* list, u32 numNodes);
|
||||
void DynaSSNodeList_ResetCount(DynaSSNodeList* list);
|
||||
u16 DynaSSNodeList_GetNextNodeIdx(DynaSSNodeList* list);
|
||||
void BgCheck_Vec3sToVec3f(Vec3s* vertex, Vec3f* vector);
|
||||
void BgCheck_Vec3fToVec3s(Vec3s* vertex, Vec3f* vector);
|
||||
void BgCheck_Vec3sToVec3f(Vec3s* src, Vec3f* dest);
|
||||
void BgCheck_Vec3fToVec3s(Vec3s* dest, Vec3f* src);
|
||||
f32 func_800BFD84(CollisionPoly *poly, f32 arg1, f32 arg2);
|
||||
s32 func_800BFDEC(CollisionPoly* polyA, CollisionPoly* polyB, u32* outVtxId0, u32* outVtxId1);
|
||||
s16 CollisionPoly_GetMinY(CollisionPoly* poly, Vec3s* vertices);
|
||||
@ -815,7 +814,7 @@ void BgCheck_Allocate(CollisionContext* colCtx, PlayState* play, CollisionHeader
|
||||
void BgCheck_SetContextFlags(CollisionContext* colCtx, u32 flags);
|
||||
void BgCheck_UnsetContextFlags(CollisionContext* colCtx, u32 flags);
|
||||
CollisionHeader* BgCheck_GetCollisionHeader(CollisionContext* colCtx, s32 bgId);
|
||||
f32 BgCheck_RaycastFloorImpl(PlayState* play, CollisionContext* colCtx, u16 xpFlags, CollisionPoly** outPoly, s32* outBgId, Vec3f* pos, Actor* actor, u32 arg7, f32 chkDist, s32 arg9);
|
||||
f32 BgCheck_RaycastFloorImpl(PlayState* play, CollisionContext* colCtx, u16 xpFlags, CollisionPoly** outPoly, s32* outBgId, Vec3f* pos, Actor* actor, u32 arg7, f32 checkDist, s32 arg9);
|
||||
f32 BgCheck_CameraRaycastFloor1(CollisionContext* colCtx, CollisionPoly** outPoly, Vec3f* pos);
|
||||
f32 BgCheck_EntityRaycastFloor1(CollisionContext* colCtx, CollisionPoly** outPoly, Vec3f* pos);
|
||||
f32 BgCheck_EntityRaycastFloor2(PlayState* play, CollisionContext* colCtx, CollisionPoly** outPoly, Vec3f* pos);
|
||||
@ -824,7 +823,7 @@ f32 BgCheck_EntityRaycastFloor3(CollisionContext* colCtx, CollisionPoly** outPol
|
||||
f32 BgCheck_EntityRaycastFloor5(CollisionContext* colCtx, CollisionPoly** outPoly, s32* outBgId, Actor* actor, Vec3f* pos);
|
||||
f32 BgCheck_EntityRaycastFloor5_2(PlayState* play, CollisionContext* colCtx, CollisionPoly** outPoly, s32* bgId, Actor* actor, Vec3f* pos);
|
||||
f32 BgCheck_EntityRaycastFloor5_3(PlayState* play, CollisionContext* colCtx, CollisionPoly** outPoly, s32* bgId, Actor* actor, Vec3f* pos);
|
||||
f32 BgCheck_EntityRaycastFloor6(CollisionContext* colCtx, CollisionPoly** outPoly, s32* bgId, Actor* actor, Vec3f* pos, f32 chkDist);
|
||||
f32 BgCheck_EntityRaycastFloor6(CollisionContext* colCtx, CollisionPoly** outPoly, s32* bgId, Actor* actor, Vec3f* pos, f32 checkDist);
|
||||
f32 BgCheck_EntityRaycastFloor7(CollisionContext* colCtx, CollisionPoly** outPoly, s32* bgId, Actor* actor, Vec3f* pos);
|
||||
f32 BgCheck_AnyRaycastFloor1(CollisionContext* colCtx, CollisionPoly* outPoly, Vec3f* pos);
|
||||
f32 BgCheck_AnyRaycastFloor2(CollisionContext* colCtx, CollisionPoly* outPoly, s32* bgId, Vec3f* pos);
|
||||
@ -839,15 +838,15 @@ s32 BgCheck_EntitySphVsWall4(CollisionContext* colCtx, Vec3f* posResult, Vec3f*
|
||||
s32 BgCheck_CheckCeilingImpl(CollisionContext* colCtx, u16 xpFlags, f32* outY, Vec3f* pos, f32 checkHeight, CollisionPoly** outPoly, s32* outBgId, Actor* actor);
|
||||
s32 BgCheck_AnyCheckCeiling(CollisionContext* colCtx, f32* outY, Vec3f* pos, f32 checkHeight);
|
||||
s32 BgCheck_EntityCheckCeiling(CollisionContext* colCtx, f32* outY, Vec3f* pos, f32 checkHeight, CollisionPoly** outPoly, s32* outBgId, Actor* actor);
|
||||
s32 BgCheck_CameraLineTest1(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace, s32* bgId);
|
||||
s32 BgCheck_CameraLineTest2(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace, s32* bgId);
|
||||
s32 BgCheck_EntityLineTest1(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace, s32* bgId);
|
||||
s32 BgCheck_EntityLineTest2(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace, s32* bgId, Actor* actor);
|
||||
s32 BgCheck_EntityLineTest3(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace, s32* bgId, Actor* actor, f32 chkDist);
|
||||
s32 BgCheck_ProjectileLineTest(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace, s32* bgId);
|
||||
s32 BgCheck_AnyLineTest1(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkOneFace);
|
||||
s32 BgCheck_AnyLineTest2(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace);
|
||||
s32 BgCheck_AnyLineTest3(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 chkWall, s32 chkFloor, s32 chkCeil, s32 chkOneFace, s32* bgId);
|
||||
s32 BgCheck_CameraLineTest1(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace, s32* bgId);
|
||||
s32 BgCheck_CameraLineTest2(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace, s32* bgId);
|
||||
s32 BgCheck_EntityLineTest1(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace, s32* bgId);
|
||||
s32 BgCheck_EntityLineTest2(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace, s32* bgId, Actor* actor);
|
||||
s32 BgCheck_EntityLineTest3(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace, s32* bgId, Actor* actor, f32 checkDist);
|
||||
s32 BgCheck_ProjectileLineTest(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace, s32* bgId);
|
||||
s32 BgCheck_AnyLineTest1(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkOneFace);
|
||||
s32 BgCheck_AnyLineTest2(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace);
|
||||
s32 BgCheck_AnyLineTest3(CollisionContext* colCtx, Vec3f* posA, Vec3f* posB, Vec3f* posResult, CollisionPoly** outPoly, s32 checkWall, s32 checkFloor, s32 checkCeil, s32 checkOneFace, s32* bgId);
|
||||
s32 BgCheck_SphVsFirstPolyImpl(CollisionContext* colCtx, u16 xpFlags, CollisionPoly** outPoly, s32* outBgId, Vec3f* center, f32 radius, Actor* actor, u16 bciFlags);
|
||||
s32 BgCheck_SphVsFirstPoly(CollisionContext* colCtx, Vec3f* center, f32 radius);
|
||||
s32 BgCheck_SphVsFirstWall(CollisionContext* colCtx, Vec3f* center, f32 radius);
|
||||
@ -890,8 +889,8 @@ void BgCheck_ResetFlagsIfLoadedActor(PlayState* play, DynaCollisionContext* dyna
|
||||
void DynaPoly_Setup(PlayState* play, DynaCollisionContext* dyna);
|
||||
void func_800C756C(DynaCollisionContext* dyna, s32* numPolygons, s32* numVertices, s32* numWaterBoxes);
|
||||
void DynaPoly_UpdateBgActorTransforms(PlayState* play, DynaCollisionContext* dyna);
|
||||
void CollisionHeader_SegmentedToVirtual(CollisionHeader* header);
|
||||
void CollisionHeader_GetVirtual(CollisionHeader* meshSegPtr, CollisionHeader** param_2);
|
||||
void CollisionHeader_SegmentedToVirtual(CollisionHeader* colHeader);
|
||||
void CollisionHeader_GetVirtual(CollisionHeader* colHeader, CollisionHeader** dest);
|
||||
void BgCheck_InitCollisionHeaders(CollisionContext* colCtx, PlayState* play);
|
||||
|
||||
u32 SurfaceType_GetBgCamIndex(CollisionContext* colCtx, CollisionPoly* poly, s32 bgId);
|
||||
@ -931,7 +930,7 @@ u32 SurfaceType_IsWallDamage(CollisionContext* colCtx, CollisionPoly* poly, s32
|
||||
s32 WaterBox_GetSurfaceImpl(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface, WaterBox** outWaterBox, s32* bgId);
|
||||
s32 WaterBox_GetSurface1(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface, WaterBox** outWaterBox);
|
||||
s32 WaterBox_GetSurface1_2(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface, WaterBox** outWaterBox);
|
||||
s32 WaterBox_GetSurface2(PlayState* play, CollisionContext* colCtx, Vec3f* pos, f32 surfaceChkDist, WaterBox** outWaterBox, s32* bgId);
|
||||
s32 WaterBox_GetSurface2(PlayState* play, CollisionContext* colCtx, Vec3f* pos, f32 surfaceCheckDist, WaterBox** outWaterBox, s32* bgId);
|
||||
f32 func_800CA568(CollisionContext* colCtx, s32 waterBoxId, s32 bgId);
|
||||
u16 WaterBox_GetBgCamSetting(CollisionContext* colCtx, WaterBox* waterBox, s32 bgId);
|
||||
void WaterBox_GetSceneBgCamSetting(CollisionContext* colCtx, WaterBox* waterBox);
|
||||
@ -939,18 +938,18 @@ u32 WaterBox_GetLightSettingIndex(CollisionContext* colCtx, WaterBox* waterBox);
|
||||
s32 func_800CA6F0(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface, WaterBox** outWaterBox, s32* bgId);
|
||||
s32 func_800CA9D0(PlayState* play, CollisionContext* colCtx, f32 x, f32 z, f32* ySurface, WaterBox** outWaterBox);
|
||||
s32 func_800CAA14(CollisionPoly* polyA, CollisionPoly* polyB, Vec3f* pointA, Vec3f* pointB, Vec3f* closestPoint);
|
||||
void BgCheck2_UpdateActorPosition(CollisionContext* colCtx, s32 index, Actor* actor);
|
||||
void BgCheck2_UpdateActorYRotation(CollisionContext* colCtx, s32 index, Actor* actor);
|
||||
void BgCheck2_AttachToMesh(CollisionContext* colCtx, Actor* actor, s32 index);
|
||||
u32 BgCheck2_UpdateActorAttachedToMesh(CollisionContext* colCtx, s32 index, Actor* actor);
|
||||
void BgCheck2_UpdateActorPosition(CollisionContext* colCtx, s32 bgId, Actor* actor);
|
||||
void BgCheck2_UpdateActorYRotation(CollisionContext* colCtx, s32 bgId, Actor* actor);
|
||||
void BgCheck2_AttachToMesh(CollisionContext* colCtx, Actor* actor, s32 bgId);
|
||||
u32 BgCheck2_UpdateActorAttachedToMesh(CollisionContext* colCtx, s32 bgId, Actor* actor);
|
||||
void DynaPolyActor_Init(DynaPolyActor* dynaActor, s32 flags);
|
||||
void DynaPolyActor_LoadMesh(PlayState* play, DynaPolyActor* dynaActor, CollisionHeader* meshHeader);
|
||||
void DynaPolyActor_ResetState(DynaPolyActor* dynaActor);
|
||||
void DynaPolyActor_SetRidingFallingState(DynaPolyActor* dynaActor);
|
||||
void DynaPolyActor_SetRidingMovingState(DynaPolyActor* dynaActor);
|
||||
void DynaPolyActor_SetRidingMovingStateByIndex(CollisionContext* colCtx, s32 index);
|
||||
void DynaPolyActor_SetRidingMovingStateByIndex(CollisionContext* colCtx, s32 bgId);
|
||||
void DynaPolyActor_SetRidingRotatingState(DynaPolyActor* dynaActor);
|
||||
void DynaPolyActor_SetRidingRotatingStateByIndex(CollisionContext* colCtx, s32 index);
|
||||
void DynaPolyActor_SetRidingRotatingStateByIndex(CollisionContext* colCtx, s32 bgId);
|
||||
void DynaPolyActor_SetSwitchPressedState(DynaPolyActor* dynaActor);
|
||||
void DynaPolyActor_SetHeavySwitchPressedState(DynaPolyActor* dynaActor);
|
||||
s32 DynaPolyActor_IsInRidingFallingState(DynaPolyActor* dynaActor);
|
||||
@ -1331,7 +1330,7 @@ s32 Flags_GetInfTable(s32 flag);
|
||||
void Flags_SetInfTable(s32 flag);
|
||||
s32 Actor_TrackNone(Vec3s* headRot, Vec3s* torsoRot);
|
||||
s32 Actor_TrackPoint(Actor* actor, Vec3f* target, Vec3s* headRot, Vec3s* torsoRot);
|
||||
s32 Actor_TrackPlayerSetFocusHeight(PlayState* play, Actor* actor, Vec3s* headRot, Vec3s* torsoRot, f32 focusPosYAdj);
|
||||
s32 Actor_TrackPlayerSetFocusHeight(PlayState* play, Actor* actor, Vec3s* headRot, Vec3s* torsoRot, f32 focusHeight);
|
||||
s32 Actor_TrackPlayer(PlayState* play, Actor* actor, Vec3s* headRot, Vec3s* torsoRot, Vec3f focusPos);
|
||||
void SaveContext_Init(void);
|
||||
void GameInfo_Init(void);
|
||||
@ -1616,10 +1615,10 @@ void Lights_GlowCheck(PlayState* play);
|
||||
void Lights_DrawGlow(PlayState* play);
|
||||
void* ZeldaArena_Malloc(size_t size);
|
||||
void* ZeldaArena_MallocR(size_t size);
|
||||
void* ZeldaArena_Realloc(void* oldPtr, size_t newSize);
|
||||
void ZeldaArena_Free(void* param_1);
|
||||
void* ZeldaArena_Realloc(void* ptr, size_t newSize);
|
||||
void ZeldaArena_Free(void* ptr);
|
||||
void* ZeldaArena_Calloc(u32 num, size_t size);
|
||||
void ZeldaArena_GetSizes(size_t* maxFreeBlock, size_t* bytesFree, size_t* bytesAllocated);
|
||||
void ZeldaArena_GetSizes(size_t* outMaxFree, size_t* outFree, size_t* outAlloc);
|
||||
s32 ZeldaArena_Check();
|
||||
void ZeldaArena_Init(void* start, size_t size);
|
||||
void ZeldaArena_Cleanup();
|
||||
@ -1898,7 +1897,7 @@ void func_80122F28(Player* player);
|
||||
s32 func_80122F9C(PlayState* play);
|
||||
s32 func_80122FCC(PlayState* play);
|
||||
void func_8012300C(PlayState* play, s32 arg1);
|
||||
void func_8012301C(Player* player, PlayState* play);
|
||||
void func_8012301C(Player* player, PlayState* play2);
|
||||
void func_80123140(PlayState* play, Player* player);
|
||||
s32 Player_InBlockingCsMode(PlayState* play, Player* player);
|
||||
s32 Player_InCsMode(PlayState* play);
|
||||
@ -1912,10 +1911,10 @@ s32 func_8012364C(PlayState* play, Player* player, s32 arg2);
|
||||
s32 func_80123810(PlayState* play);
|
||||
s32 Player_ActionToModelGroup(Player* player, s32 actionParam);
|
||||
void func_801239AC(Player* player);
|
||||
void Player_SetModels(Player* player, s32 arg1);
|
||||
void Player_SetModels(Player* player, s32 modelGroup);
|
||||
void Player_SetModelGroup(Player* player, s32 modelGroup);
|
||||
void func_80123C58(Player* player);
|
||||
void Player_SetEquipmentData(PlayState* play, Player* this);
|
||||
void Player_SetEquipmentData(PlayState* play, Player* player);
|
||||
void func_80123D50(PlayState* play, Player* player, s32 itemId, s32 actionParam);
|
||||
void func_80123DA4(Player* player);
|
||||
void func_80123DC0(Player* player);
|
||||
@ -1938,7 +1937,7 @@ s32 Player_ActionToBottle(Player* player, s32 actionParam);
|
||||
s32 Player_GetBottleHeld(Player* Player);
|
||||
s32 Player_ActionToExplosive(Player* player, s32 actionParam);
|
||||
s32 Player_GetExplosiveHeld(Player* player);
|
||||
s32 func_80124278(Actor* actor, s32 arg1);
|
||||
s32 func_80124278(Actor* actor, s32 actionParam);
|
||||
s32 func_801242B4(Player* player);
|
||||
s32 Player_GetEnvTimerType(PlayState* play);
|
||||
void func_80124420(Player* player);
|
||||
@ -1953,7 +1952,7 @@ s32 func_801263FC(PlayState* play, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s
|
||||
s32 func_80126440(PlayState* play, ColliderQuad* collider, WeaponInfo* weaponInfo, Vec3f* arg3, Vec3f* arg4);
|
||||
void Player_DrawGetItem(PlayState* play, Player* player);
|
||||
void func_80126B8C(PlayState* play, Player* player);
|
||||
s32 func_80127438(PlayState* play, Player* player, s32 maskId);
|
||||
s32 func_80127438(PlayState* play, Player* player, s32 currentMask);
|
||||
s32 func_80128640(PlayState* play, Player* player, Gfx* dlist);
|
||||
void func_80128B74(PlayState* play, Player* player, s32 limbIndex);
|
||||
void func_80128BD0(PlayState* play, s32 limbIndex, Gfx** dList1, Gfx** dList2, Vec3s* rot, Actor* actor);
|
||||
@ -2065,7 +2064,7 @@ void Inventory_SaveLotteryCodeGuess(PlayState* play);
|
||||
s32 Object_Spawn(ObjectContext* objectCtx, s16 id);
|
||||
void Object_InitBank(GameState* gameState, ObjectContext* objectCtx);
|
||||
void Object_UpdateBank(ObjectContext* objectCtx);
|
||||
s32 Object_GetIndex(ObjectContext* objectCtx, s16 id);
|
||||
s32 Object_GetIndex(ObjectContext* objectCtx, s16 objectId);
|
||||
s32 Object_IsLoaded(ObjectContext* objectCtx, s32 index);
|
||||
void Object_LoadAll(ObjectContext* objectCtx);
|
||||
void* func_8012F73C(ObjectContext* objectCtx, s32 iParm2, s16 id);
|
||||
@ -2111,7 +2110,7 @@ Gfx* AnimatedMat_TexScroll(PlayState* play, AnimatedMatTexScrollParams* params);
|
||||
void AnimatedMat_DrawTexScroll(PlayState* play, s32 segment, void* params);
|
||||
Gfx* AnimatedMat_TwoLayerTexScroll(PlayState* play, AnimatedMatTexScrollParams* params);
|
||||
void AnimatedMat_DrawTwoTexScroll(PlayState* play, s32 segment, void* params);
|
||||
void AnimatedMat_SetColor(PlayState* play, s32 segment, F3DPrimColor* primColor, F3DEnvColor* envColor);
|
||||
void AnimatedMat_SetColor(PlayState* play, s32 segment, F3DPrimColor* primColorResult, F3DEnvColor* envColor);
|
||||
void AnimatedMat_DrawColor(PlayState* play, s32 segment, void* params);
|
||||
s32 AnimatedMat_Lerp(s32 min, s32 max, f32 norm);
|
||||
void AnimatedMat_DrawColorLerp(PlayState* play, s32 segment, void* params);
|
||||
@ -2157,7 +2156,7 @@ void SkelAnime_DrawFlexLimbOpa(PlayState* play, s32 limbIndex, void** skeleton,
|
||||
void SkelAnime_DrawFlexOpa(PlayState* play, void** skeleton, Vec3s* jointTable, s32 dListCount, OverrideLimbDrawOpa overrideLimbDraw, PostLimbDrawOpa postLimbDraw, Actor* actor);
|
||||
void SkelAnime_DrawTransformFlexLimbOpa(PlayState* play, s32 limbIndex, void** skeleton, Vec3s* jointTable, OverrideLimbDrawOpa overrideLimbDraw, PostLimbDrawOpa postLimbDraw, TransformLimbDrawOpa transformLimbDraw, Actor* actor, Mtx** mtx);
|
||||
void SkelAnime_DrawTransformFlexOpa(PlayState* play, void** skeleton, Vec3s* jointTable, s32 dListCount, OverrideLimbDrawOpa overrideLimbDraw, PostLimbDrawOpa postLimbDraw, TransformLimbDrawOpa transformLimbDraw, Actor* actor);
|
||||
void SkelAnime_GetFrameData(AnimationHeader* animation, s32 currentFrame, s32 limbCount, Vec3s* dst);
|
||||
void SkelAnime_GetFrameData(AnimationHeader* animation, s32 frame, s32 limbCount, Vec3s* frameTable);
|
||||
s16 Animation_GetLength(void* animation);
|
||||
s16 Animation_GetLastFrame(void* animation);
|
||||
Gfx* SkelAnime_DrawLimb(PlayState* play, s32 limbIndex, void** skeleton, Vec3s* jointTable, OverrideLimbDraw overrideLimbDraw, PostLimbDraw postLimbDraw, Actor* actor, Gfx* gfx);
|
||||
@ -2176,8 +2175,8 @@ AnimationEntry* AnimationContext_AddEntry(AnimationContext* animationCtx, Animat
|
||||
void AnimationContext_SetLoadFrame(PlayState* play, LinkAnimationHeader* animation, s32 frame, s32 limbCount, Vec3s* frameTable);
|
||||
void AnimationContext_SetCopyAll(PlayState* play, s32 vecCount, Vec3s* dst, Vec3s* src);
|
||||
void AnimationContext_SetInterp(PlayState* play, s32 vecCount, Vec3s* base, Vec3s* mod, f32 weight);
|
||||
void AnimationContext_SetCopyTrue(PlayState* play, s32 vecCount, Vec3s* dst, Vec3s* src, u8* index);
|
||||
void AnimationContext_SetCopyFalse(PlayState* play, s32 vecCount, Vec3s* dst, Vec3s* src, u8* index);
|
||||
void AnimationContext_SetCopyTrue(PlayState* play, s32 vecCount, Vec3s* dst, Vec3s* src, u8* copyFlag);
|
||||
void AnimationContext_SetCopyFalse(PlayState* play, s32 vecCount, Vec3s* dst, Vec3s* src, u8* copyFlag);
|
||||
void AnimationContext_SetMoveActor(PlayState* play, Actor* actor, SkelAnime* skelAnime, f32 arg3);
|
||||
void AnimationContext_LoadFrame(PlayState* play, AnimationEntryData* data);
|
||||
void AnimationContext_CopyAll(PlayState* play, AnimationEntryData* data);
|
||||
@ -2203,7 +2202,7 @@ void LinkAnimation_CopyJointToMorph(PlayState* play, SkelAnime* skelAnime);
|
||||
void LinkAnimation_CopyMorphToJoint(PlayState* play, SkelAnime* skelAnime);
|
||||
void LinkAnimation_LoadToMorph(PlayState* play, SkelAnime* skelAnime, LinkAnimationHeader* animation, f32 frame);
|
||||
void LinkAnimation_LoadToJoint(PlayState* play, SkelAnime* skelAnime, LinkAnimationHeader* animation, f32 frame);
|
||||
void LinkAnimation_InterpJointMorph(PlayState* play, SkelAnime* skelAnime, f32 frame);
|
||||
void LinkAnimation_InterpJointMorph(PlayState* play, SkelAnime* skelAnime, f32 weight);
|
||||
void LinkAnimation_BlendToJoint(PlayState* play, SkelAnime* skelAnime, LinkAnimationHeader* animation1, f32 frame1, LinkAnimationHeader* animation2, f32 frame2, f32 blendWeight, Vec3s* blendTable);
|
||||
void LinkAnimation_BlendToMorph(PlayState* play, SkelAnime* skelAnime, LinkAnimationHeader* animation1, f32 frame1, LinkAnimationHeader* animation2, f32 frame2, f32 blendWeight, Vec3s* blendTable);
|
||||
void LinkAnimation_EndLoop(SkelAnime* skelAnime);
|
||||
@ -2211,7 +2210,7 @@ s32 Animation_OnFrameImpl(SkelAnime* skelAnime, f32 frame, f32 updateRate);
|
||||
s32 LinkAnimation_OnFrame(SkelAnime* skelAnime, f32 frame);
|
||||
void SkelAnime_Init(PlayState* play, SkelAnime* skelAnime, SkeletonHeader* skeletonHeaderSeg, AnimationHeader* animation, Vec3s* jointTable, Vec3s* morphTable, s32 limbCount);
|
||||
void SkelAnime_InitFlex(PlayState* play, SkelAnime* skelAnime, FlexSkeletonHeader* skeletonHeaderSeg, AnimationHeader* animation, Vec3s* jointTable, Vec3s* morphTable, s32 limbCount);
|
||||
void SkelAnime_InitSkin(GameState* gameState, SkelAnime* skelAnime, SkeletonHeader* skeletonHeaderSeg, AnimationHeader* animationSeg);
|
||||
void SkelAnime_InitSkin(GameState* gameState, SkelAnime* skelAnime, SkeletonHeader* skeletonHeaderSeg, AnimationHeader* animation);
|
||||
void SkelAnime_SetUpdate(SkelAnime* skelAnime);
|
||||
s32 SkelAnime_Update(SkelAnime* skelAnime);
|
||||
s32 SkelAnime_Morph(SkelAnime* skelAnime);
|
||||
@ -2232,15 +2231,15 @@ void Animation_EndLoop(SkelAnime* skelAnime);
|
||||
void Animation_Reverse(SkelAnime* skelAnime);
|
||||
void SkelAnime_CopyFrameTableTrue(SkelAnime* skelAnime, Vec3s* dst, Vec3s* src, u8* copyFlag);
|
||||
void SkelAnime_CopyFrameTableFalse(SkelAnime* skelAnime, Vec3s* dst, Vec3s* src, u8* copyFlag);
|
||||
void SkelAnime_UpdateTranslation(SkelAnime* skelAnime, Vec3f* pos, s16 angle);
|
||||
void SkelAnime_UpdateTranslation(SkelAnime* skelAnime, Vec3f* diff, s16 angle);
|
||||
s32 Animation_OnFrame(SkelAnime* skelAnime, f32 frame);
|
||||
void SkelAnime_Free(SkelAnime* skelAnime, PlayState* play);
|
||||
void SkelAnime_CopyFrameTable(SkelAnime* skelAnime, Vec3s* dst, Vec3s* src);
|
||||
void SkinMatrix_Vec3fMtxFMultXYZW(MtxF* mf, Vec3f* src, Vec3f* xyzDest, f32* wDest);
|
||||
void SkinMatrix_Vec3fMtxFMultXYZ(MtxF* mf, Vec3f* src, Vec3f* dest);
|
||||
void SkinMatrix_MtxFMtxFMult(MtxF* mfB, MtxF* mfA, MtxF* dest);
|
||||
void SkinMatrix_GetClear(MtxF** puParm1);
|
||||
void SkinMatrix_GetClear(MtxF** mf);
|
||||
void SkinMatrix_GetClear(MtxF** mfp);
|
||||
void SkinMatrix_GetClear(MtxF** mfp);
|
||||
void SkinMatrix_MtxFCopy(MtxF* src, MtxF* dest);
|
||||
s32 SkinMatrix_Invert(MtxF* src, MtxF* dest);
|
||||
void SkinMatrix_SetScale(MtxF* mf, f32 x, f32 y, f32 z);
|
||||
@ -2309,7 +2308,7 @@ void func_801477B4(PlayState* play);
|
||||
void func_80147818(PlayState* play, UNK_PTR puParm2, UNK_TYPE4 uParm3, UNK_TYPE4 uParm4);
|
||||
// void func_80147F18(PlayState* play, UNK_PTR puParm2, UNK_TYPE4 uParm3, UNK_TYPE4 uParm4);
|
||||
// void func_80148558(PlayState* play, UNK_PTR puParm2, UNK_TYPE4 uParm3, UNK_TYPE4 uParm4);
|
||||
void func_80148B98(PlayState* play, u8 bParm2);
|
||||
void func_80148B98(PlayState* play, u8 arg1);
|
||||
// void func_80148CBC(void);
|
||||
// void func_80148D64(void);
|
||||
// void func_80149048(void);
|
||||
@ -2323,7 +2322,7 @@ void func_80149F74(PlayState* play, u32** ppuParm2);
|
||||
// void func_8014AAD0(void);
|
||||
void func_8014ADBC(PlayState* play, UNK_PTR puParm2);
|
||||
// void func_8014C70C(void);
|
||||
void Message_LoadChar(PlayState* play, u16 codePointIndex, s32* offset, f32* arg3, s16 arg4);
|
||||
void Message_LoadChar(PlayState* play, u16 codePointIndex, s32* offset, f32* arg3, s16 decodedBufPos);
|
||||
// void func_8014CCB4(void);
|
||||
// void func_8014CDF0(void);
|
||||
// void func_8014CFDC(void);
|
||||
@ -2336,7 +2335,7 @@ void func_801514B0(PlayState* play, u16 arg1, u8 arg2);
|
||||
void Message_StartTextbox(PlayState* play, u16 textId, Actor* Actor);
|
||||
void func_80151938(PlayState* play, u16 textId);
|
||||
void func_80151A68(PlayState* play, u16 textId);
|
||||
void func_80151BB4(PlayState* play, u8 uParm2);
|
||||
void func_80151BB4(PlayState* play, u8 arg1);
|
||||
// void func_80151C9C(void);
|
||||
void func_80151DA4(PlayState* play, u16 arg2);
|
||||
void func_80152434(PlayState* play, u16 arg2);
|
||||
@ -2462,42 +2461,42 @@ void func_80167DE4(PlayState* play);
|
||||
void Play_Draw(PlayState* play);
|
||||
void func_80168DAC(PlayState* play);
|
||||
void Play_Main(PlayState* play);
|
||||
s32 Play_InCsMode(PlayState* play);
|
||||
s32 Play_InCsMode(PlayState* this);
|
||||
f32 func_80169100(PlayState* play, MtxF* mtx, CollisionPoly** arg2, s32* arg3, Vec3f* feetPosPtr);
|
||||
void func_801691F0(PlayState* play, MtxF* mtx, Vec3f* arg2);
|
||||
void* Play_LoadScene(PlayState* play, RomFile* entry);
|
||||
void func_8016927C(PlayState* play, s16 sParm2);
|
||||
// void func_801692C4(PlayState* play, UNK_TYPE1 uParm2);
|
||||
// void Play_SceneInit(PlayState* play, s32 sceneIndex, UNK_TYPE1 param_3);
|
||||
void Play_GetScreenPos(PlayState* play, Vec3f* worldPos, Vec3f* screenPos);
|
||||
s16 Play_CreateSubCamera(PlayState* play);
|
||||
s16 Play_GetActiveCamId(PlayState* play);
|
||||
s32 Play_ChangeCameraStatus(PlayState* play, s16 camId, s16 status);
|
||||
void Play_ClearCamera(PlayState* play, s16 camId);
|
||||
Camera* Play_GetCamera(PlayState* play, s16 camId);
|
||||
s32 Play_SetCameraAtEye(PlayState* play, s16 camId, Vec3f* at, Vec3f* eye);
|
||||
s32 Play_SetCameraAtEyeUp(PlayState* play, s16 camId, Vec3f* at, Vec3f* eye, Vec3f* up);
|
||||
s32 Play_SetCameraFov(PlayState* play, s16 camId, f32 fov);
|
||||
s32 Play_SetCameraRoll(PlayState* play, s16 camId, s16 roll);
|
||||
void Play_CopyCamera(PlayState* play, s16 dstCamId, s16 srcCamId);
|
||||
s32 func_80169A50(PlayState* play, s16 camId, Player* player, s16 setting);
|
||||
s32 Play_ChangeCameraSetting(PlayState* play, s16 camId, s16 setting);
|
||||
void func_80169AFC(PlayState* play, s16 camId, s16 arg2);
|
||||
u16 Play_GetActorCsCamSetting(PlayState* play, s32 csCamDataIndex);
|
||||
Vec3s* Play_GetActorCsCamFuncData(PlayState* play, s32 csCamDataIndex);
|
||||
void Play_GetScreenPos(PlayState* this, Vec3f* worldPos, Vec3f* screenPos);
|
||||
s16 Play_CreateSubCamera(PlayState* this);
|
||||
s16 Play_GetActiveCamId(PlayState* this);
|
||||
s32 Play_ChangeCameraStatus(PlayState* this, s16 camId, s16 status);
|
||||
void Play_ClearCamera(PlayState* this, s16 camId);
|
||||
Camera* Play_GetCamera(PlayState* this, s16 camId);
|
||||
s32 Play_SetCameraAtEye(PlayState* this, s16 camId, Vec3f* at, Vec3f* eye);
|
||||
s32 Play_SetCameraAtEyeUp(PlayState* this, s16 camId, Vec3f* at, Vec3f* eye, Vec3f* up);
|
||||
s32 Play_SetCameraFov(PlayState* this, s16 camId, f32 fov);
|
||||
s32 Play_SetCameraRoll(PlayState* this, s16 camId, s16 roll);
|
||||
void Play_CopyCamera(PlayState* this, s16 destCamId, s16 srcCamId);
|
||||
s32 func_80169A50(PlayState* this, s16 camId, Player* player, s16 setting);
|
||||
s32 Play_ChangeCameraSetting(PlayState* this, s16 camId, s16 setting);
|
||||
void func_80169AFC(PlayState* this, s16 camId, s16 timer);
|
||||
u16 Play_GetActorCsCamSetting(PlayState* this, s32 csCamDataIndex);
|
||||
Vec3s* Play_GetActorCsCamFuncData(PlayState* this, s32 csCamDataIndex);
|
||||
s16 Play_GetOriginalSceneId(s16 sceneId);
|
||||
void Play_SaveCycleSceneFlags(GameState* gameState);
|
||||
void Play_SetRespawnData(GameState* gameState, s32 respawnNumber, u16 sceneSetup, s32 roomIndex, s32 playerParams, Vec3f* pos, s16 yaw);
|
||||
void Play_SetupRespawnPoint(GameState* gameState, s32 respawnNumber, s32 playerParams);
|
||||
void func_80169EFC(GameState* gameState);
|
||||
void func_80169F78(GameState* gameState);
|
||||
void func_80169FDC(GameState* gameState);
|
||||
s32 func_80169FFC(GameState* gameState);
|
||||
s32 FrameAdvance_IsEnabled(GameState* gameState);
|
||||
s32 func_8016A02C(GameState* gameState, Actor* actor, s16* yaw);
|
||||
s32 Play_IsUnderwater(PlayState* play, Vec3f* pos);
|
||||
void Play_SaveCycleSceneFlags(GameState* thisx);
|
||||
void Play_SetRespawnData(GameState* thisx, s32 respawnMode, u16 entrance, s32 roomIndex, s32 playerParams, Vec3f* pos, s16 yaw);
|
||||
void Play_SetupRespawnPoint(GameState* thisx, s32 respawnMode, s32 playerParams);
|
||||
void func_80169EFC(GameState* thisx);
|
||||
void func_80169F78(GameState* thisx);
|
||||
void func_80169FDC(GameState* thisx);
|
||||
s32 func_80169FFC(GameState* thisx);
|
||||
s32 FrameAdvance_IsEnabled(GameState* thisx);
|
||||
s32 func_8016A02C(GameState* thisx, Actor* actor, s16* yaw);
|
||||
s32 Play_IsUnderwater(PlayState* this, Vec3f* pos);
|
||||
s32 Play_IsDebugCamEnabled(void);
|
||||
void Play_AssignPlayerActorCsIdsFromScene(GameState* gameState, s32 cutscene);
|
||||
void Play_AssignPlayerActorCsIdsFromScene(GameState* thisx, s32 startActorCsId);
|
||||
void func_8016A268(GameState* gameState, s16 arg1, u8 arg2, u8 arg3, u8 arg4, u8 arg5);
|
||||
void Play_Init(GameState* gameState);
|
||||
// void func_8016AC10(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7, UNK_TYPE4 param_8, UNK_TYPE4 param_9, UNK_TYPE4 param_10);
|
||||
@ -2589,7 +2588,7 @@ void Game_Update(GameState* gameState);
|
||||
void Game_IncrementFrameCount(GameState* gameState);
|
||||
void GameState_InitArena(GameState* gameState, size_t size);
|
||||
void GameState_Realloc(GameState* gameState, size_t size);
|
||||
void GameState_Init(GameState* gameState, GameStateFunc gameStateInit, GraphicsContext* gfxCtx);
|
||||
void GameState_Init(GameState* gameState, GameStateFunc init, GraphicsContext* gfxCtx);
|
||||
void GameState_Destroy(GameState* gameState);
|
||||
GameStateFunc GameState_GetInit(GameState* gameState);
|
||||
size_t GameState_GetSize(GameState* gameState);
|
||||
@ -2806,9 +2805,9 @@ s32 Math3D_YZInSphere(Sphere16* sphere, f32 y, f32 z);
|
||||
// void func_8017FB1C(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7, UNK_TYPE4 param_8, UNK_TYPE4 param_9, UNK_TYPE4 param_10, UNK_TYPE4 param_11);
|
||||
// void func_8017FD44(void);
|
||||
|
||||
u16 Math_GetAtan2Tbl(f32 opposite, f32 adjacent);
|
||||
s16 Math_Atan2S(f32 opposite, f32 adjacent);
|
||||
f32 Math_Atan2F(f32 opposite, f32 adjacent);
|
||||
u16 Math_GetAtan2Tbl(f32 y, f32 x);
|
||||
s16 Math_Atan2S(f32 y, f32 x);
|
||||
f32 Math_Atan2F(f32 y, f32 x);
|
||||
s16 Math_FAtan2F(f32 adjacent, f32 opposite);
|
||||
f32 Math_Acot2F(f32 adjacent, f32 opposite);
|
||||
|
||||
@ -2843,9 +2842,7 @@ void func_801835EC(UNK_PTR arg0, UNK_PTR arg1);
|
||||
// void func_80183B68(void);
|
||||
s32 func_80183DE0(SkeletonInfo* skeletonInfo);
|
||||
// void func_8018410C(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5, UNK_TYPE4 param_6, UNK_TYPE4 param_7);
|
||||
void func_8018450C(PlayState* play, SkeletonInfo* skeleton, Mtx* mtx,
|
||||
OverrideKeyframeDrawScaled overrideKeyframeDraw, PostKeyframeDrawScaled postKeyframeDraw,
|
||||
Actor* actor);
|
||||
void func_8018450C(PlayState* play, SkeletonInfo* skeleton, Mtx* mtx, OverrideKeyframeDrawScaled overrideKeyframeDraw, PostKeyframeDrawScaled postKeyframeDraw, Actor* actor);
|
||||
// void func_801845A4(void);
|
||||
// void func_801845C8(UNK_TYPE1 param_1, UNK_TYPE1 param_2, UNK_TYPE1 param_3, UNK_TYPE1 param_4, UNK_TYPE4 param_5);
|
||||
// void func_80184638(void);
|
||||
@ -2897,7 +2894,7 @@ s32 osFlashWriteBuffer(OSIoMesg* mb, s32 priority, void* dramAddr, OSMesgQueue*
|
||||
s32 osFlashWriteArray(u32 pageNum);
|
||||
s32 osFlashReadArray(OSIoMesg* mb, s32 priority, u32 pageNum, void* dramAddr, u32 pageCount, OSMesgQueue* mq);
|
||||
|
||||
Acmd* AudioSynth_Update(Acmd* cmdStart, s32* numAbiCmds, s16* aiStart, s32 aiBufLen);
|
||||
Acmd* AudioSynth_Update(Acmd* abiCmdStart, s32* numAbiCmds, s16* aiBufStart, s32 numSamplesPerFrame);
|
||||
|
||||
void AudioHeap_DiscardFont(s32 fontId);
|
||||
void* AudioHeap_WritebackDCache(void* addr, size_t size);
|
||||
@ -2917,15 +2914,15 @@ void* AudioHeap_SearchPermanentCache(s32 tableType, s32 id);
|
||||
void* AudioHeap_AllocPermanent(s32 tableType, s32 id, size_t size);
|
||||
void* AudioHeap_AllocSampleCache(size_t size, s32 sampleBankId, void* sampleAddr, s8 medium, s32 cache);
|
||||
void AudioHeap_ApplySampleBankCache(s32 sampleBankId);
|
||||
void AudioHeap_SetReverbData(s32 reverbIndex, u32 dataType, s32 data, s32 flags);
|
||||
void AudioHeap_SetReverbData(s32 reverbIndex, u32 dataType, s32 data, s32 isFirstInit);
|
||||
|
||||
void AudioLoad_DecreaseSampleDmaTtls(void);
|
||||
void* AudioLoad_DmaSampleData(uintptr_t devAddr, size_t size, s32 arg2, u8* dmaIndexRef, s32 medium);
|
||||
void AudioLoad_InitSampleDmaBuffers(s32 numNotes);
|
||||
s32 AudioLoad_IsFontLoadComplete(s32 fontId);
|
||||
s32 AudioLoad_IsSeqLoadComplete(s32 seqId);
|
||||
void AudioLoad_SetFontLoadStatus(s32 fontId, s32 status);
|
||||
void AudioLoad_SetSeqLoadStatus(s32 seqId, s32 status);
|
||||
void AudioLoad_SetFontLoadStatus(s32 fontId, s32 loadStatus);
|
||||
void AudioLoad_SetSeqLoadStatus(s32 seqId, s32 loadStatus);
|
||||
void AudioLoad_SyncLoadSeqParts(s32 seqId, s32 arg1, s32 arg2, OSMesgQueue* arg3);
|
||||
s32 AudioLoad_SyncLoadInstrument(s32 fontId, s32 instId, s32 drumId);
|
||||
void AudioLoad_AsyncLoadSeq(s32 seqId, s32 arg1, s32 retData, OSMesgQueue* retQueue);
|
||||
@ -2933,7 +2930,7 @@ void AudioLoad_AsyncLoadSampleBank(s32 sampleBankId, s32 arg1, s32 retData, OSMe
|
||||
void AudioLoad_AsyncLoadFont(s32 fontId, s32 arg1, s32 retData, OSMesgQueue* retQueue);
|
||||
u8* AudioLoad_GetFontsForSequence(s32 seqId, u32* outNumFonts);
|
||||
void AudioLoad_DiscardSeqFonts(s32 seqId);
|
||||
void func_8018FA60(u32 tableType, u32 id, s32 arg2, s32 arg3);
|
||||
void func_8018FA60(u32 tableType, u32 id, s32 type, s32 data);
|
||||
s32 AudioLoad_SyncInitSeqPlayer(s32 playerIndex, s32 seqId, s32 arg2);
|
||||
s32 AudioLoad_SyncInitSeqPlayerSkipTicks(s32 playerIndex, s32 seqId, s32 skipTicks);
|
||||
void AudioLoad_ProcessLoads(s32 resetStatus);
|
||||
@ -3035,7 +3032,7 @@ void AudioOcarina_StartWithSongNoteLengths(u32 ocarinaFlags);
|
||||
void AudioOcarina_StartDefault(u32 ocarinaFlags);
|
||||
u8 func_8019B5AC(void);
|
||||
void AudioOcarina_ResetAndReadInput(void);
|
||||
void AudioOcarina_SetOcarinaDisableTimer(u8 resetUnused, u8 resetDelay);
|
||||
void AudioOcarina_SetOcarinaDisableTimer(u8 unused, u8 timer);
|
||||
u32 AudioOcarina_SetInstrument(u8 ocarinaInstrumentId);
|
||||
void AudioOcarina_SetPlaybackSong(s8 songIndexPlusOne, u8 playbackState);
|
||||
void AudioOcarina_SetRecordingState(u8 recordingState);
|
||||
@ -3129,7 +3126,7 @@ void Audio_RestorePrevBgm(void);
|
||||
void Audio_PlayFanfare(u16 seqId);
|
||||
// void func_801A312C(void);
|
||||
void func_801A31EC(u16 seqId, s8 arg1, u8 arg2);
|
||||
void Audio_PlaySequenceWithSeqPlayerIO(s8 playerIndex, u16 seqId, u8 fadeTimer, s8 ioPort, u8 ioData);
|
||||
void Audio_PlaySequenceWithSeqPlayerIO(s8 playerIndex, u16 seqId, u8 fadeInDuration, s8 ioPort, u8 ioData);
|
||||
void Audio_SetSequenceMode(u8 seqMode);
|
||||
void Audio_UpdateEnemyBgmVolume(f32 dist);
|
||||
u8 func_801A3950(s32 playerIndex, s32 isChannelIOSet);
|
||||
|
@ -29,21 +29,21 @@ typedef struct GfxPrint {
|
||||
/* 0x14 */ UNK_TYPE1 unk_14[0x1C]; // unused
|
||||
} GfxPrint; // size = 0x30
|
||||
|
||||
void GfxPrint_Setup(GfxPrint* printer);
|
||||
void GfxPrint_SetColor(GfxPrint* printer, u32 r, u32 g, u32 b, u32 a);
|
||||
void GfxPrint_SetPosPx(GfxPrint* printer, s32 x, s32 y);
|
||||
void GfxPrint_SetPos(GfxPrint* printer, s32 x, s32 y);
|
||||
void GfxPrint_SetBasePosPx(GfxPrint* printer, s32 x, s32 y);
|
||||
void GfxPrint_PrintCharImpl(GfxPrint* printer, u8 c);
|
||||
void GfxPrint_PrintChar(GfxPrint* printer, u8 c);
|
||||
void GfxPrint_PrintStringWithSize(GfxPrint* printer, const void* buffer, size_t charSize, size_t charCount);
|
||||
void GfxPrint_PrintString(GfxPrint* printer, const char* str);
|
||||
void GfxPrint_Setup(GfxPrint* this);
|
||||
void GfxPrint_SetColor(GfxPrint* this, u32 r, u32 g, u32 b, u32 a);
|
||||
void GfxPrint_SetPosPx(GfxPrint* this, s32 x, s32 y);
|
||||
void GfxPrint_SetPos(GfxPrint* this, s32 x, s32 y);
|
||||
void GfxPrint_SetBasePosPx(GfxPrint* this, s32 x, s32 y);
|
||||
void GfxPrint_PrintCharImpl(GfxPrint* this, u8 c);
|
||||
void GfxPrint_PrintChar(GfxPrint* this, u8 c);
|
||||
void GfxPrint_PrintStringWithSize(GfxPrint* this, const void* buffer, size_t charSize, size_t charCount);
|
||||
void GfxPrint_PrintString(GfxPrint* this, const char* str);
|
||||
void* GfxPrint_Callback(void* arg, const char* str, size_t size);
|
||||
void GfxPrint_Init(GfxPrint* printer);
|
||||
void GfxPrint_Init(GfxPrint* this);
|
||||
void GfxPrint_Destroy(GfxPrint* printer);
|
||||
void GfxPrint_Open(GfxPrint* printer, Gfx* dList);
|
||||
Gfx* GfxPrint_Close(GfxPrint* printer);
|
||||
s32 GfxPrint_VPrintf(GfxPrint* printer, const char* fmt, va_list args);
|
||||
s32 GfxPrint_Printf(GfxPrint* printer, const char* fmt, ...);
|
||||
void GfxPrint_Open(GfxPrint* this, Gfx* dList);
|
||||
Gfx* GfxPrint_Close(GfxPrint* this);
|
||||
s32 GfxPrint_VPrintf(GfxPrint* this, const char* fmt, va_list args);
|
||||
s32 GfxPrint_Printf(GfxPrint* this, const char* fmt, ...);
|
||||
|
||||
#endif
|
||||
|
@ -29,7 +29,7 @@ void* __osMalloc(Arena* arena, size_t size);
|
||||
void* __osMallocR(Arena* arena, size_t size);
|
||||
void __osFree(Arena* arena, void* ptr);
|
||||
void* __osRealloc(Arena* arena, void* ptr, size_t newSize);
|
||||
void __osGetSizes(Arena* arena, size_t* maxFreeBlock, size_t* bytesFree, size_t* bytesAllocated);
|
||||
void __osGetSizes(Arena* arena, size_t* outMaxFree, size_t* outFree, size_t* outAlloc);
|
||||
s32 __osCheckArena(Arena* arena);
|
||||
|
||||
#endif
|
||||
|
@ -29,7 +29,7 @@ MtxF* Matrix_GetCurrent(void);
|
||||
|
||||
/* Basic operations */
|
||||
|
||||
void Matrix_Mult(MtxF* matrix, MatrixMode mode);
|
||||
void Matrix_Mult(MtxF* mf, MatrixMode mode);
|
||||
void Matrix_Translate(f32 x, f32 y, f32 z, MatrixMode mode);
|
||||
void Matrix_Scale(f32 x, f32 y, f32 z, MatrixMode mode);
|
||||
void Matrix_RotateXS(s16 x, MatrixMode mode);
|
||||
|
@ -42,7 +42,7 @@ u32 Quake_SetQuakeValues(s16 quakeIndex, s16 verticalMag, s16 horizontalMag, s16
|
||||
u32 Quake_SetQuakeValues2(s16 quakeIndex, s16 isShakePerpendicular, Vec3s shakePlaneOffset);
|
||||
s16 Quake_Add(Camera* camera, u32 type);
|
||||
s16 Quake_Calc(Camera* camera, QuakeCamCalc* camData);
|
||||
u32 Quake_Remove(s16 quakeIndex);
|
||||
u32 Quake_Remove(s16 index);
|
||||
s32 Quake_NumActiveQuakes(void);
|
||||
void Quake_Init(void);
|
||||
|
||||
|
@ -480,9 +480,9 @@ void func_80144A94(SramContext* sramCtx);
|
||||
void Sram_OpenSave(struct FileSelectState* fileSelect, SramContext* sramCtx);
|
||||
void func_8014546C(SramContext* sramCtx);
|
||||
void func_801457CC(struct FileSelectState* fileSelect, SramContext* sramCtx);
|
||||
void func_80146580(struct FileSelectState* fileSelect, SramContext* sramCtx, s32 fileNum);
|
||||
void func_80146628(struct FileSelectState* fileSelect, SramContext* sramCtx);
|
||||
void Sram_InitSave(struct FileSelectState* fileSelect, SramContext* sramCtx);
|
||||
void func_80146580(struct FileSelectState* fileSelect2, SramContext* sramCtx, s32 fileNum);
|
||||
void func_80146628(struct FileSelectState* fileSelect2, SramContext* sramCtx);
|
||||
void Sram_InitSave(struct FileSelectState* fileSelect2, SramContext* sramCtx);
|
||||
void func_80146DF8(SramContext* sramCtx);
|
||||
void Sram_InitSram(struct GameState* gameState, SramContext* sramCtx);
|
||||
void Sram_Alloc(struct GameState* gameState, SramContext* sramCtx);
|
||||
|
@ -100,7 +100,7 @@ void SubS_TimePathing_ComputeTargetPosXZ(f32* x, f32* z, f32 progress, s32 order
|
||||
s32 SubS_TimePathing_Update(Path* path, f32* progress, s32* elapsedTime, s32 waypointTime, s32 totalTime, s32* waypoint, f32 knots[], Vec3f* targetPos, s32 timeSpeed);
|
||||
void SubS_TimePathing_ComputeInitialY(struct PlayState* play, Path* path, s32 waypoint, Vec3f* targetPos);
|
||||
|
||||
Path* SubS_GetAdditionalPath(struct PlayState* play, u8 pathIndex, s32 max);
|
||||
Path* SubS_GetAdditionalPath(struct PlayState* play, u8 pathIndex, s32 limit);
|
||||
|
||||
Actor* SubS_FindNearestActor(Actor* actor, struct PlayState* play, u8 actorCategory, s16 actorId);
|
||||
|
||||
@ -122,7 +122,7 @@ void SubS_GenShadowTex(Vec3f bodyPartsPos[], Vec3f* worldPos, u8* tex, f32 tween
|
||||
void SubS_DrawShadowTex(Actor* actor, struct GameState* gameState, u8* tex);
|
||||
|
||||
s16 SubS_ComputeTrackPointRot(s16* rot, s16 rotMax, s16 target, f32 slowness, f32 stepMin, f32 stepMax);
|
||||
s32 SubS_TrackPoint(Vec3f* point, Vec3f* focusPos, Vec3s* shapeRot, Vec3s* trackTarget, Vec3s* headRot, Vec3s* torsoRot, TrackOptionsSet* options);
|
||||
s32 SubS_TrackPoint(Vec3f* target, Vec3f* focusPos, Vec3s* shapeRot, Vec3s* trackTarget, Vec3s* headRot, Vec3s* torsoRot, TrackOptionsSet* options);
|
||||
|
||||
s32 SubS_AngleDiffLessEqual(s16 angleA, s16 threshold, s16 angleB);
|
||||
|
||||
@ -130,7 +130,7 @@ Path* SubS_GetPathByIndex(struct PlayState* play, s16 pathIndex, s16 max);
|
||||
s32 SubS_CopyPointFromPath(Path* path, s32 pointIndex, Vec3f* dst);
|
||||
s16 SubS_GetDistSqAndOrientPoints(Vec3f* vecA, Vec3f* vecB, f32* distSq);
|
||||
s32 SubS_MoveActorToPoint(Actor* actor, Vec3f* point, s16 rotStep);
|
||||
s16 SubS_GetDistSqAndOrientPath(Path* path, s32 pointIdx, Vec3f* pos, f32* distSq);
|
||||
s16 SubS_GetDistSqAndOrientPath(Path* path, s32 pointIndex, Vec3f* pos, f32* distSq);
|
||||
|
||||
s8 SubS_IsObjectLoaded(s8 index, struct PlayState* play);
|
||||
s8 SubS_GetObjectIndex(s16 id, struct PlayState* play);
|
||||
|
@ -79,7 +79,7 @@ s32 EnHy_ChangeAnim(SkelAnime* skelAnime, s16 animIndex);
|
||||
EnDoor* EnHy_FindNearestDoor(Actor* actor, PlayState* play);
|
||||
void EnHy_ChangeObjectAndAnim(EnHy* enHy, PlayState* play, s16 animIndex);
|
||||
s32 EnHy_UpdateSkelAnime(EnHy* enHy, PlayState* play);
|
||||
void EnHy_Blink(EnHy* enHy, s32 arg1);
|
||||
void EnHy_Blink(EnHy* enHy, s32 eyeTexMaxIndex);
|
||||
s32 EnHy_Init(EnHy* enHy, PlayState* play, FlexSkeletonHeader* skeletonHeaderSeg, s16 animIndex);
|
||||
void func_800F0BB4(EnHy* enHy, PlayState* play, EnDoor* door, s16 arg3, s16 arg4);
|
||||
s32 func_800F0CE4(EnHy* enHy, PlayState* play, ActorFunc draw, s16 arg3, s16 arg4, f32 arg5);
|
||||
|
@ -4,7 +4,7 @@
|
||||
#include "global.h"
|
||||
|
||||
void Setup_Destroy(GameState* gameState);
|
||||
void Setup_Init(GameState* gameState);
|
||||
void Setup_Init(GameState* thisx);
|
||||
|
||||
typedef struct {
|
||||
/* 0x00 */ GameState state;
|
||||
|
@ -5,22 +5,22 @@ volatile OSTime sIrqMgrResetTime = 0;
|
||||
volatile OSTime sIrqMgrRetraceTime = 0;
|
||||
s32 sIrqMgrRetraceCount = 0;
|
||||
|
||||
void IrqMgr_AddClient(IrqMgr* irqmgr, IrqMgrClient* param_2, OSMesgQueue* param_3) {
|
||||
void IrqMgr_AddClient(IrqMgr* irqmgr, IrqMgrClient* client, OSMesgQueue* msgQueue) {
|
||||
u32 saveMask;
|
||||
|
||||
saveMask = osSetIntMask(1);
|
||||
|
||||
param_2->queue = param_3;
|
||||
param_2->next = irqmgr->callbacks;
|
||||
irqmgr->callbacks = param_2;
|
||||
client->queue = msgQueue;
|
||||
client->next = irqmgr->callbacks;
|
||||
irqmgr->callbacks = client;
|
||||
|
||||
osSetIntMask(saveMask);
|
||||
|
||||
if (irqmgr->prenmiStage > 0) {
|
||||
osSendMesg(param_2->queue, &irqmgr->prenmiMsg.type, OS_MESG_NOBLOCK);
|
||||
osSendMesg(client->queue, &irqmgr->prenmiMsg.type, OS_MESG_NOBLOCK);
|
||||
}
|
||||
if (irqmgr->prenmiStage > 1) {
|
||||
osSendMesg(param_2->queue, &irqmgr->nmiMsg.type, OS_MESG_NOBLOCK);
|
||||
osSendMesg(client->queue, &irqmgr->nmiMsg.type, OS_MESG_NOBLOCK);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,7 @@ void* AudioLoad_SyncLoad(s32 tableType, u32 id, s32* didAllocate);
|
||||
u32 AudioLoad_GetRealTableIndex(s32 tableType, u32 id);
|
||||
void* AudioLoad_SearchCaches(s32 tableType, s32 id);
|
||||
AudioTable* AudioLoad_GetLoadTable(s32 tableType);
|
||||
void AudioLoad_SyncDma(uintptr_t devAddr, u8* addr, size_t size, s32 medium);
|
||||
void AudioLoad_SyncDma(uintptr_t devAddr, u8* ramAddr, size_t size, s32 medium);
|
||||
void AudioLoad_SyncDmaUnkMedium(uintptr_t devAddr, u8* addr, size_t size, s32 unkMediumParam);
|
||||
s32 AudioLoad_Dma(OSIoMesg* mesg, u32 priority, s32 direction, uintptr_t devAddr, void* ramAddr, size_t size,
|
||||
OSMesgQueue* reqQueue, s32 medium, const char* dmaFuncType);
|
||||
|
@ -21,14 +21,14 @@ typedef enum {
|
||||
/* 2 */ HAAS_EFFECT_DELAY_RIGHT // Delay right channel so that left channel is heard first
|
||||
} HaasEffectDelaySide;
|
||||
|
||||
Acmd* AudioSynth_SaveResampledReverbSamplesImpl(Acmd* cmd, u16 dmem, u16 arg2, uintptr_t arg3);
|
||||
Acmd* AudioSynth_SaveResampledReverbSamplesImpl(Acmd* cmd, u16 dmem, u16 size, uintptr_t startAddr);
|
||||
Acmd* AudioSynth_LoadReverbSamplesImpl(Acmd* cmd, u16 dmem, u16 startPos, s32 size, SynthesisReverb* reverb);
|
||||
Acmd* AudioSynth_SaveReverbSamplesImpl(Acmd* cmd, u16 dmem, u16 startPos, s32 size, SynthesisReverb* reverb);
|
||||
Acmd* AudioSynth_ProcessSamples(s16* aiBuf, s32 numSamplesPerUpdate, Acmd* cmd, s32 updateIndex);
|
||||
Acmd* AudioSynth_ProcessSample(s32 noteIndex, NoteSampleState* sampleState, NoteSynthesisState* synthState, s16* aiBuf,
|
||||
s32 numSamplesPerUpdate, Acmd* cmd, s32 updateIndex);
|
||||
Acmd* AudioSynth_ApplySurroundEffect(Acmd* cmd, NoteSampleState* sampleState, NoteSynthesisState* synthState, s32 size,
|
||||
s32 dmem, s32 flags);
|
||||
Acmd* AudioSynth_ApplySurroundEffect(Acmd* cmd, NoteSampleState* sampleState, NoteSynthesisState* synthState,
|
||||
s32 numSamplesPerUpdate, s32 haasDmem, s32 flags);
|
||||
Acmd* AudioSynth_FinalResample(Acmd* cmd, NoteSynthesisState* synthState, s32 size, u16 pitch, u16 inpDmem,
|
||||
s32 resampleFlags);
|
||||
Acmd* AudioSynth_ProcessEnvelope(Acmd* cmd, NoteSampleState* sampleState, NoteSynthesisState* synthState,
|
||||
|
@ -70,7 +70,7 @@ s32 Audio_SetGanonsTowerBgmVolume(u8 targetVolume);
|
||||
|
||||
void Audio_StartMorningSceneSequence(u16 seqId);
|
||||
void Audio_StartSceneSequence(u16 seqId);
|
||||
void Audio_PlaySequenceWithSeqPlayerIO(s8 playerIndex, u16 seqId, u8 fadeTimer, s8 arg3, u8 arg4);
|
||||
void Audio_PlaySequenceWithSeqPlayerIO(s8 playerIndex, u16 seqId, u8 fadeInDuration, s8 ioPort, u8 ioData);
|
||||
void func_801A4428(u8 reverbIndex);
|
||||
void func_801A3038(void);
|
||||
void Audio_PlayAmbience(u8 ambienceId);
|
||||
|
@ -843,10 +843,10 @@ void EnItem00_DrawSprite(EnItem00* this, PlayState* play) {
|
||||
CLOSE_DISPS(play->state.gfxCtx);
|
||||
}
|
||||
|
||||
void EnItem00_DrawHeartContainer(EnItem00* actor, PlayState* play) {
|
||||
void EnItem00_DrawHeartContainer(EnItem00* this, PlayState* play) {
|
||||
s32 pad[2];
|
||||
|
||||
if (Object_GetIndex(&play->objectCtx, OBJECT_GI_HEARTS) == actor->actor.objBankIndex) {
|
||||
if (Object_GetIndex(&play->objectCtx, OBJECT_GI_HEARTS) == this->actor.objBankIndex) {
|
||||
OPEN_DISPS(play->state.gfxCtx);
|
||||
|
||||
func_8012C2DC(play->state.gfxCtx);
|
||||
|
@ -459,8 +459,8 @@ void AnimatedMat_DrawStep(PlayState* play, AnimatedMaterial* matAnim, u32 step)
|
||||
/**
|
||||
* Draws an animated material with a step to only the OPA buffer.
|
||||
*/
|
||||
void AnimatedMat_DrawStepOpa(PlayState* play, AnimatedMaterial* textures, u32 step) {
|
||||
AnimatedMat_DrawMain(play, textures, 1, step, 1);
|
||||
void AnimatedMat_DrawStepOpa(PlayState* play, AnimatedMaterial* matAnim, u32 step) {
|
||||
AnimatedMat_DrawMain(play, matAnim, 1, step, 1);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -8,9 +8,9 @@ s32 SkelAnime_LoopFull(SkelAnime* skelAnime);
|
||||
s32 SkelAnime_LoopPartial(SkelAnime* skelAnime);
|
||||
s32 SkelAnime_Once(SkelAnime* skelAnime);
|
||||
void Animation_PlayLoop(SkelAnime* skelAnime, AnimationHeader* animation);
|
||||
void SkelAnime_UpdateTranslation(SkelAnime* skelAnime, Vec3f* pos, s16 angle);
|
||||
void SkelAnime_UpdateTranslation(SkelAnime* skelAnime, Vec3f* diff, s16 angle);
|
||||
void LinkAnimation_Change(PlayState* play, SkelAnime* skelAnime, LinkAnimationHeader* animation, f32 playSpeed,
|
||||
f32 frame, f32 frameCount, u8 animationMode, f32 morphFrames);
|
||||
f32 startFrame, f32 endFrame, u8 mode, f32 morphFrames);
|
||||
void SkelAnime_CopyFrameTable(SkelAnime* skelAnime, Vec3s* dst, Vec3s* src);
|
||||
|
||||
static AnimationEntryCallback sAnimationLoadDone[] = {
|
||||
|
@ -32,9 +32,9 @@ OSPiHandle* osFlashReInit(u8 latency, u8 pulse, u8 pageSize, u8 relDuration, u32
|
||||
return &__osFlashHandler;
|
||||
}
|
||||
|
||||
void osFlashChange(u32 flash_num) {
|
||||
__osFlashHandler.baseAddress = RDRAM_UNCACHED | (FRAM_STATUS_REGISTER + (flash_num << 17));
|
||||
__osFlashHandler.type = 8 + flash_num;
|
||||
void osFlashChange(u32 flashNum) {
|
||||
__osFlashHandler.baseAddress = RDRAM_UNCACHED | (FRAM_STATUS_REGISTER + (flashNum << 17));
|
||||
__osFlashHandler.type = 8 + flashNum;
|
||||
|
||||
return;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@
|
||||
void BgDblueMovebg_Init(Actor* thisx, PlayState* play);
|
||||
void BgDblueMovebg_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgDblueMovebg_Update(Actor* thisx, PlayState* play);
|
||||
void BgDblueMovebg_Draw(Actor* thisx, PlayState* play);
|
||||
void BgDblueMovebg_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_80A2A1E0(BgDblueMovebg* this, PlayState* play);
|
||||
void func_80A2A32C(BgDblueMovebg* this, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#define THIS ((BgIkanaDharma*)thisx)
|
||||
|
||||
void BgIkanaDharma_Init(Actor* thisx, PlayState* play);
|
||||
void BgIkanaDharma_Init(Actor* thisx, PlayState* play2);
|
||||
void BgIkanaDharma_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgIkanaDharma_Update(Actor* thisx, PlayState* play);
|
||||
void BgIkanaDharma_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
#define THIS ((BgIkanaMirror*)thisx)
|
||||
|
||||
void BgIkanaMirror_Init(Actor* thisx, PlayState* play);
|
||||
void BgIkanaMirror_Init(Actor* thisx, PlayState* play2);
|
||||
void BgIkanaMirror_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgIkanaMirror_Update(Actor* thisx, PlayState* play);
|
||||
void BgIkanaMirror_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define THIS ((BgIngate*)thisx)
|
||||
|
||||
void BgIngate_Init(Actor* thisx, PlayState* play);
|
||||
void BgIngate_Init(Actor* thisx, PlayState* play2);
|
||||
void BgIngate_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgIngate_Update(Actor* thisx, PlayState* play);
|
||||
void BgIngate_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -25,7 +25,7 @@ typedef struct {
|
||||
void BgLastBwall_Init(Actor* thisx, PlayState* play);
|
||||
void BgLastBwall_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgLastBwall_Update(Actor* thisx, PlayState* play);
|
||||
void BgLastBwall_Draw(Actor* thisx, PlayState* play);
|
||||
void BgLastBwall_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void BgLastBwall_InitCollider(ColliderTrisInit* init, Vec3f* pos, Vec3s* rot, ColliderTris* collider,
|
||||
BgLastBwallInitColliderStruct* arg4);
|
||||
|
@ -15,7 +15,7 @@
|
||||
void BgNumaHana_Init(Actor* thisx, PlayState* play);
|
||||
void BgNumaHana_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgNumaHana_Update(Actor* thisx, PlayState* play);
|
||||
void BgNumaHana_Draw(Actor* thisx, PlayState* play);
|
||||
void BgNumaHana_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void BgNumaHana_SetupDoNothing(BgNumaHana* this);
|
||||
void BgNumaHana_DoNothing(BgNumaHana* this, PlayState* play);
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
void BgOpenShutter_Init(Actor* thisx, PlayState* play);
|
||||
void BgOpenShutter_Destroy(Actor* thisx, PlayState* play);
|
||||
void BgOpenShutter_Update(Actor* thisx, PlayState* play);
|
||||
void BgOpenShutter_Update(Actor* thisx, PlayState* play2);
|
||||
void BgOpenShutter_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80ACAD88(BgOpenShutter* this, PlayState* play);
|
||||
|
@ -18,7 +18,7 @@
|
||||
void Boss02_Init(Actor* thisx, PlayState* play);
|
||||
void Boss02_Destroy(Actor* thisx, PlayState* play);
|
||||
void Boss02_Twinmold_Update(Actor* thisx, PlayState* play);
|
||||
void Boss02_Twinmold_Draw(Actor* thisx, PlayState* play);
|
||||
void Boss02_Twinmold_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_809DAA74(Boss02* this, PlayState* play);
|
||||
void func_809DAA98(Boss02* this, PlayState* play);
|
||||
|
@ -78,9 +78,9 @@
|
||||
#define PLATFORM_HEIGHT 440.0f
|
||||
#define WATER_HEIGHT 430.0f
|
||||
|
||||
void Boss03_Init(Actor* thisx, PlayState* play);
|
||||
void Boss03_Init(Actor* thisx, PlayState* play2);
|
||||
void Boss03_Destroy(Actor* thisx, PlayState* play);
|
||||
void Boss03_Update(Actor* thisx, PlayState* play);
|
||||
void Boss03_Update(Actor* thisx, PlayState* play2);
|
||||
void Boss03_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_809E344C(Boss03* this, PlayState* play);
|
||||
|
@ -11,9 +11,9 @@
|
||||
|
||||
#define THIS ((Boss04*)thisx)
|
||||
|
||||
void Boss04_Init(Actor* thisx, PlayState* play);
|
||||
void Boss04_Init(Actor* thisx, PlayState* play2);
|
||||
void Boss04_Destroy(Actor* thisx, PlayState* play);
|
||||
void Boss04_Update(Actor* thisx, PlayState* play);
|
||||
void Boss04_Update(Actor* thisx, PlayState* play2);
|
||||
void Boss04_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_809EC544(Boss04* this);
|
||||
|
@ -18,7 +18,7 @@
|
||||
void Boss06_Init(Actor* thisx, PlayState* play);
|
||||
void Boss06_Destroy(Actor* thisx, PlayState* play);
|
||||
void Boss06_Update(Actor* thisx, PlayState* play);
|
||||
void Boss06_Draw(Actor* thisx, PlayState* play);
|
||||
void Boss06_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_809F24A8(Boss06* this);
|
||||
void func_809F24C8(Boss06* this, PlayState* play);
|
||||
|
@ -19,7 +19,7 @@ void DmAn_Update(Actor* thisx, PlayState* play);
|
||||
void func_80C1C958(DmAn* this, PlayState* play);
|
||||
void func_80C1CAB0(DmAn* this, PlayState* play);
|
||||
void func_80C1CC80(DmAn* this, PlayState* play);
|
||||
void func_80C1D0B0(Actor* this, PlayState* play);
|
||||
void func_80C1D0B0(Actor* thisx, PlayState* play);
|
||||
|
||||
const ActorInit Dm_An_InitVars = {
|
||||
ACTOR_DM_AN,
|
||||
|
@ -15,7 +15,7 @@
|
||||
void DmChar00_Init(Actor* thisx, PlayState* play);
|
||||
void DmChar00_Destroy(Actor* thisx, PlayState* play);
|
||||
void DmChar00_Update(Actor* thisx, PlayState* play);
|
||||
void DmChar00_Draw(Actor* thisx, PlayState* play);
|
||||
void DmChar00_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_80AA67F8(DmChar00* this, PlayState* play);
|
||||
void func_80AA695C(DmChar00* this, PlayState* play);
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
void DmChar01_Init(Actor* thisx, PlayState* play);
|
||||
void DmChar01_Destroy(Actor* thisx, PlayState* play);
|
||||
void DmChar01_Update(Actor* thisx, PlayState* play);
|
||||
void DmChar01_Update(Actor* thisx, PlayState* play2);
|
||||
void DmChar01_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80AA8698(DmChar01* this, PlayState* play);
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#define THIS ((DoorShutter*)thisx)
|
||||
|
||||
void DoorShutter_Init(Actor* thisx, PlayState* play);
|
||||
void DoorShutter_Init(Actor* thisx, PlayState* play2);
|
||||
void DoorShutter_Destroy(Actor* thisx, PlayState* play);
|
||||
void DoorShutter_Update(Actor* thisx, PlayState* play);
|
||||
|
||||
|
@ -21,8 +21,8 @@ void func_80918D64(EffDust* this, PlayState* play);
|
||||
void func_80918FE4(EffDust* this, PlayState* play);
|
||||
void func_80919230(EffDust* this, PlayState* play);
|
||||
|
||||
void func_80919768(Actor* thisx, PlayState* play);
|
||||
void func_809199FC(Actor* thisx, PlayState* play);
|
||||
void func_80919768(Actor* thisx, PlayState* play2);
|
||||
void func_809199FC(Actor* thisx, PlayState* play2);
|
||||
|
||||
const ActorInit Eff_Dust_InitVars = {
|
||||
ACTOR_EFF_DUST,
|
||||
|
@ -35,7 +35,7 @@ void func_808B07A8(EnAm* this, PlayState* play);
|
||||
void func_808B0820(EnAm* this);
|
||||
void func_808B0894(EnAm* this, PlayState* play);
|
||||
void func_808B0B4C(EnAm* this, PlayState* play);
|
||||
void EnAm_PostLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot, Actor* actor);
|
||||
void EnAm_PostLimbDraw(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot, Actor* thisx);
|
||||
|
||||
const ActorInit En_Am_InitVars = {
|
||||
ACTOR_EN_AM,
|
||||
|
@ -18,16 +18,16 @@ typedef struct {
|
||||
/* 0x4 */ f32 unk_4;
|
||||
} struct_80A98F94; // size = 0x8
|
||||
|
||||
void EnAz_Init(Actor* thisx, PlayState* play);
|
||||
void EnAz_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnAz_Update(Actor* thisx, PlayState* play);
|
||||
void EnAz_Draw(Actor* thisx, PlayState* play);
|
||||
void EnAz_Init(Actor* thisx, PlayState* play2);
|
||||
void EnAz_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnAz_Update(Actor* thisx, PlayState* play2);
|
||||
void EnAz_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_80A982E0(PlayState* play, ActorPathing* actorPathing);
|
||||
void func_80A98414(EnAz* this, PlayState* play);
|
||||
s32 func_80A98DA4(PlayState* play, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, Actor* thisx);
|
||||
void func_80A98E48(PlayState* play, s32 limbIndex, Gfx** dList, Vec3s* rot, Actor* thisx);
|
||||
void func_80A98EFC(EnAz* this, PlayState* play, u16 textId, s32 arg3, s32 arg4);
|
||||
void func_80A98EFC(EnAz* this, PlayState* play, u16 textId, s32 animIndex, s32 brotherAnimIndex);
|
||||
void func_80A98F94(struct_80A98F94* yData, f32 frame, f32* yInterp);
|
||||
|
||||
void func_80A95C5C(EnAz* this, PlayState* play);
|
||||
|
@ -14,7 +14,7 @@
|
||||
void EnBbfall_Init(Actor* thisx, PlayState* play);
|
||||
void EnBbfall_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnBbfall_Update(Actor* thisx, PlayState* play);
|
||||
void EnBbfall_Draw(Actor* thisx, PlayState* play);
|
||||
void EnBbfall_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void EnBbfall_SetupWaitForPlayer(EnBbfall* this);
|
||||
void EnBbfall_WaitForPlayer(EnBbfall* this, PlayState* play);
|
||||
|
@ -12,8 +12,8 @@
|
||||
|
||||
#define THIS ((EnBigpo*)thisx)
|
||||
|
||||
void EnBigpo_Init(Actor* thisx, PlayState* play);
|
||||
void EnBigpo_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnBigpo_Init(Actor* thisx, PlayState* play2);
|
||||
void EnBigpo_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnBigpo_Update(Actor* thisx, PlayState* play);
|
||||
void EnBigpo_UpdateFire(Actor* thisx, PlayState* play);
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
#define THIS ((EnBigslime*)thisx)
|
||||
|
||||
void EnBigslime_Init(Actor* thisx, PlayState* play);
|
||||
void EnBigslime_Init(Actor* thisx, PlayState* play2);
|
||||
void EnBigslime_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnBigslime_UpdateGekko(Actor* thisx, PlayState* play);
|
||||
void EnBigslime_DrawGekko(Actor* thisx, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#define THIS ((EnBombf*)thisx)
|
||||
|
||||
void EnBombf_Init(Actor* thisx, PlayState* play);
|
||||
void EnBombf_Init(Actor* thisx, PlayState* play2);
|
||||
void EnBombf_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnBombf_Update(Actor* thisx, PlayState* play);
|
||||
void EnBombf_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
void EnBomjimb_Init(Actor* thisx, PlayState* play);
|
||||
void EnBomjimb_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnBomjimb_Update(Actor* thisx, PlayState* play);
|
||||
void EnBomjimb_Update(Actor* thisx, PlayState* play2);
|
||||
void EnBomjimb_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80C01494(EnBomjimb* this);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void EnCha_Init(Actor* thisx, PlayState* play);
|
||||
void EnCha_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnCha_Update(Actor* thisx, PlayState* play);
|
||||
void EnCha_Update(Actor* thisx, PlayState* play2);
|
||||
void EnCha_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnCha_Idle(EnCha* this, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
void EnCow_Init(Actor* thisx, PlayState* play);
|
||||
void EnCow_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnCow_Update(Actor* thisx, PlayState* play);
|
||||
void EnCow_Update(Actor* thisx, PlayState* play2);
|
||||
void EnCow_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnCow_TalkEnd(EnCow* this, PlayState* play);
|
||||
@ -24,8 +24,8 @@ void EnCow_Talk(EnCow* this, PlayState* play);
|
||||
void EnCow_Idle(EnCow* this, PlayState* play);
|
||||
|
||||
void EnCow_DoTail(EnCow* this, PlayState* play);
|
||||
void EnCow_UpdateTail(Actor* this, PlayState* play);
|
||||
void EnCow_DrawTail(Actor* this, PlayState* play);
|
||||
void EnCow_UpdateTail(Actor* thisx, PlayState* play);
|
||||
void EnCow_DrawTail(Actor* thisx, PlayState* play);
|
||||
|
||||
const ActorInit En_Cow_InitVars = {
|
||||
ACTOR_EN_COW,
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void EnDinofos_Init(Actor* thisx, PlayState* play);
|
||||
void EnDinofos_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnDinofos_Update(Actor* thisx, PlayState* play);
|
||||
void EnDinofos_Update(Actor* thisx, PlayState* play2);
|
||||
void EnDinofos_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_8089B834(EnDinofos* this, PlayState* play);
|
||||
|
@ -19,7 +19,7 @@ void EnDnb_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
s32 func_80A507C0(EnDnbUnkStruct* arg0, Vec3f arg1, Vec3f arg2, u8 arg3, f32 arg4, f32 arg5);
|
||||
s32 func_80A5086C(EnDnbUnkStruct* arg0);
|
||||
s32 func_80A50950(EnDnbUnkStruct* arg0, PlayState* play);
|
||||
s32 func_80A50950(EnDnbUnkStruct* arg0, PlayState* play2);
|
||||
|
||||
const ActorInit En_Dnb_InitVars = {
|
||||
ACTOR_EN_DNB,
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
void EnDodongo_Init(Actor* thisx, PlayState* play);
|
||||
void EnDodongo_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnDodongo_Update(Actor* thisx, PlayState* play);
|
||||
void EnDodongo_Update(Actor* thisx, PlayState* play2);
|
||||
void EnDodongo_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_808773C4(EnDodongo* this);
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#define THIS ((EnDoor*)thisx)
|
||||
|
||||
void EnDoor_Init(Actor* thisx, PlayState* play);
|
||||
void EnDoor_Init(Actor* thisx, PlayState* play2);
|
||||
void EnDoor_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnDoor_Update(Actor* thisx, PlayState* play);
|
||||
void EnDoor_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define THIS ((EnDoorEtc*)thisx)
|
||||
|
||||
void EnDoorEtc_Init(Actor* thisx, PlayState* play);
|
||||
void EnDoorEtc_Init(Actor* thisx, PlayState* play2);
|
||||
void EnDoorEtc_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnDoorEtc_Update(Actor* thisx, PlayState* play);
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define THIS ((EnElf*)thisx)
|
||||
|
||||
void EnElf_Init(Actor* thisx, PlayState* play);
|
||||
void EnElf_Init(Actor* thisx, PlayState* play2);
|
||||
void EnElf_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnElf_Update(Actor* thisx, PlayState* play);
|
||||
void EnElf_Draw(Actor* thisx, PlayState* play);
|
||||
@ -29,9 +29,9 @@ void func_8088E484(EnElf* this, PlayState* play);
|
||||
void func_8088E850(EnElf* this, PlayState* play);
|
||||
void func_8088EFA4(EnElf* this, PlayState* play);
|
||||
void func_8088F214(EnElf* this, PlayState* play);
|
||||
void func_8088F5F4(EnElf* this, PlayState* play, s32 arg2);
|
||||
void func_8088F5F4(EnElf* this, PlayState* play, s32 sparkleLife);
|
||||
void func_8089010C(Actor* thisx, PlayState* play);
|
||||
void func_808908D0(Vec3f* arg0, PlayState* play, u32 arg2);
|
||||
void func_808908D0(Vec3f* vec, PlayState* play, u32 action);
|
||||
|
||||
const ActorInit En_Elf_InitVars = {
|
||||
ACTOR_EN_ELF,
|
||||
|
@ -15,7 +15,7 @@
|
||||
void EnElfbub_Init(Actor* thisx, PlayState* play);
|
||||
void EnElfbub_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnElfbub_Update(Actor* thisx, PlayState* play);
|
||||
void EnElfbub_Draw(Actor* thisx, PlayState* play);
|
||||
void EnElfbub_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void EnElfbub_Pop(EnElfbub* this, PlayState* play);
|
||||
void EnElfbub_Idle(EnElfbub* this, PlayState* play);
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
void EnFirefly_Init(Actor* thisx, PlayState* play);
|
||||
void EnFirefly_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnFirefly_Update(Actor* thisx, PlayState* play);
|
||||
void EnFirefly_Update(Actor* thisx, PlayState* play2);
|
||||
void EnFirefly_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnFirefly_FlyIdle(EnFirefly* this, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
#define THIS ((EnFish*)thisx)
|
||||
|
||||
void EnFish_Init(Actor* thisx, PlayState* play);
|
||||
void EnFish_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnFish_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnFish_Update(Actor* thisx, PlayState* play);
|
||||
void EnFish_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
void EnFish2_Init(Actor* thisx, PlayState* play);
|
||||
void EnFish2_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnFish2_Update(Actor* thisx, PlayState* play);
|
||||
void EnFish2_Update(Actor* thisx, PlayState* play2);
|
||||
void EnFish2_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80B28B5C(EnFish2* this);
|
||||
|
@ -16,12 +16,12 @@
|
||||
|
||||
#define WATER_SURFACE_Y(play) play->colCtx.colHeader->waterBoxes->minPos.y
|
||||
|
||||
void EnFishing_Init(Actor* thisx, PlayState* play);
|
||||
void EnFishing_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnFishing_UpdateFish(Actor* thisx, PlayState* play);
|
||||
void EnFishing_Init(Actor* thisx, PlayState* play2);
|
||||
void EnFishing_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnFishing_UpdateFish(Actor* thisx, PlayState* play2);
|
||||
void EnFishing_DrawFish(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnFishing_UpdateOwner(Actor* thisx, PlayState* play);
|
||||
void EnFishing_UpdateOwner(Actor* thisx, PlayState* play2);
|
||||
void EnFishing_DrawOwner(Actor* thisx, PlayState* play);
|
||||
|
||||
typedef struct {
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#define THIS ((EnFloormas*)thisx)
|
||||
|
||||
void EnFloormas_Init(Actor* thisx, PlayState* play);
|
||||
void EnFloormas_Init(Actor* thisx, PlayState* play2);
|
||||
void EnFloormas_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnFloormas_Update(Actor* thisx, PlayState* play);
|
||||
void EnFloormas_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -73,10 +73,10 @@ typedef enum {
|
||||
} GerudoWhiteAnimations;
|
||||
|
||||
void EnGe1_ChangeAnim(EnGe1* this, s16 animIndex, u8 mode, f32 morphFrames);
|
||||
void EnGe1_ShadowDraw(Actor* actor, Lights* lights, PlayState* play);
|
||||
void EnGe1_ShadowDraw(Actor* thisx, Lights* lights, PlayState* play);
|
||||
void EnGe1_Wait(EnGe1* this, PlayState* play);
|
||||
void EnGe1_PerformCutsceneActions(EnGe1* this, PlayState* play);
|
||||
s32 EnGe1_ValidatePictograph(PlayState* play, Actor* this);
|
||||
s32 EnGe1_ValidatePictograph(PlayState* play, Actor* thisx);
|
||||
|
||||
void EnGe1_Init(Actor* thisx, PlayState* play) {
|
||||
EnGe1* this = THIS;
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define THIS ((EnGg2*)thisx)
|
||||
|
||||
void EnGg2_Init(Actor* thisx, PlayState* play);
|
||||
void EnGg2_Init(Actor* thisx, PlayState* play2);
|
||||
void EnGg2_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnGg2_Update(Actor* thisx, PlayState* play);
|
||||
void EnGg2_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -11,8 +11,8 @@
|
||||
|
||||
#define THIS ((EnHanabi*)thisx)
|
||||
|
||||
void EnHanabi_Init(Actor* thisx, PlayState* play);
|
||||
void EnHanabi_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnHanabi_Init(Actor* thisx, PlayState* play2);
|
||||
void EnHanabi_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnHanabi_Update(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80B23894(EnHanabi* this, PlayState* play);
|
||||
|
@ -15,9 +15,9 @@
|
||||
|
||||
#define THIS ((EnHorse*)thisx)
|
||||
|
||||
void EnHorse_Init(Actor* thisx, PlayState* play);
|
||||
void EnHorse_Init(Actor* thisx, PlayState* play2);
|
||||
void EnHorse_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnHorse_Update(Actor* thisx, PlayState* play);
|
||||
void EnHorse_Update(Actor* thisx, PlayState* play2);
|
||||
void EnHorse_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_8087D540(Actor* thisx, PlayState* play);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void EnIk_Init(Actor* thisx, PlayState* play);
|
||||
void EnIk_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnIk_Update(Actor* thisx, PlayState* play);
|
||||
void EnIk_Update(Actor* thisx, PlayState* play2);
|
||||
void EnIk_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnIk_Thaw(EnIk* this, PlayState* play);
|
||||
|
@ -170,7 +170,7 @@ void func_80B4BA30(Actor* thisx, PlayState* play);
|
||||
void func_80B4C568(Actor* thisx, PlayState* play);
|
||||
void func_80B4CFFC(Actor* thisx, PlayState* play);
|
||||
void func_80B46184(unkStruct80B50350* unkStruct);
|
||||
s32 func_80B450C0(f32* arg0, f32* arg1, f32 arg2, f32 arg3, f32 arg4);
|
||||
s32 func_80B450C0(f32* x1, f32* z1, f32 x2, f32 z2, f32 speed);
|
||||
s32 func_80B4516C(EnInvadepoh* this);
|
||||
void func_80B45A4C(EnInvadePohStruct* s, unkstructInvadepoh4** u);
|
||||
void func_80B45A94(EnInvadePohStruct* s, unkstructInvadepoh4** u);
|
||||
|
@ -16,7 +16,7 @@
|
||||
#define THIS ((EnIshi*)thisx)
|
||||
|
||||
void EnIshi_Init(Actor* thisx, PlayState* play);
|
||||
void EnIshi_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnIshi_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnIshi_Update(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_8095D804(Actor* thisx, PlayState* play);
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
void EnKarebaba_Init(Actor* thisx, PlayState* play);
|
||||
void EnKarebaba_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnKarebaba_Update(Actor* thisx, PlayState* play);
|
||||
void EnKarebaba_Update(Actor* thisx, PlayState* play2);
|
||||
void EnKarebaba_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_808F155C(EnKarebaba* this);
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
void EnKusa_Init(Actor* thisx, PlayState* play);
|
||||
void EnKusa_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnKusa_Update(Actor* thisx, PlayState* play);
|
||||
void EnKusa_Update(Actor* thisx, PlayState* play2);
|
||||
|
||||
s32 EnKusa_SnapToFloor(EnKusa* this, PlayState* play, f32 yOffset);
|
||||
void EnKusa_DropCollectible(EnKusa* this, PlayState* play);
|
||||
|
@ -16,7 +16,7 @@
|
||||
void EnMThunder_Init(Actor* thisx, PlayState* play);
|
||||
void EnMThunder_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnMThunder_Update(Actor* thisx, PlayState* play);
|
||||
void EnMThunder_Draw(Actor* thisx, PlayState* play);
|
||||
void EnMThunder_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void EnMThunder_UnkType_Update(Actor* thisx, PlayState* play);
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void EnMuto_Init(Actor* thisx, PlayState* play);
|
||||
void EnMuto_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnMuto_Update(Actor* thisx, PlayState* play);
|
||||
void EnMuto_Update(Actor* thisx, PlayState* play2);
|
||||
void EnMuto_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnMuto_ChangeAnim(EnMuto* this, s32 animIndex);
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
void EnNutsball_Init(Actor* thisx, PlayState* play);
|
||||
void EnNutsball_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnNutsball_Update(Actor* thisx, PlayState* play);
|
||||
void EnNutsball_Update(Actor* thisx, PlayState* play2);
|
||||
void EnNutsball_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnNutsball_InitColliderParams(EnNutsball* this);
|
||||
|
@ -15,7 +15,7 @@
|
||||
|
||||
void EnPeehat_Init(Actor* thisx, PlayState* play);
|
||||
void EnPeehat_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnPeehat_Update(Actor* thisx, PlayState* play);
|
||||
void EnPeehat_Update(Actor* thisx, PlayState* play2);
|
||||
void EnPeehat_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80897498(EnPeehat* this);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void EnPoh_Init(Actor* thisx, PlayState* play);
|
||||
void EnPoh_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnPoh_Update(Actor* thisx, PlayState* play);
|
||||
void EnPoh_Update(Actor* thisx, PlayState* play2);
|
||||
void EnPoh_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80B2CAA4(EnPoh* this, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#define THIS ((EnPr*)thisx)
|
||||
|
||||
void EnPr_Init(Actor* thisx, PlayState* play);
|
||||
void EnPr_Init(Actor* thisx, PlayState* play2);
|
||||
void EnPr_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnPr_Update(Actor* thisx, PlayState* play);
|
||||
void EnPr_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -28,7 +28,7 @@ void EnRacedog_CalculateFinalStretchTargetSpeed(EnRacedog* this);
|
||||
void EnRacedog_UpdateRaceVariables(EnRacedog* this);
|
||||
void EnRacedog_CheckForFinish(EnRacedog* this);
|
||||
void EnRacedog_UpdateRunAnimationPlaySpeed(EnRacedog* this);
|
||||
s32 EnRacedog_IsOverFinishLine(EnRacedog* this, Vec2f* arg1);
|
||||
s32 EnRacedog_IsOverFinishLine(EnRacedog* this, Vec2f* finishLineCoordinates);
|
||||
void EnRacedog_SpawnFloorDustRing(EnRacedog* this, PlayState* play);
|
||||
void EnRacedog_PlaySfxWalk(EnRacedog* this);
|
||||
|
||||
|
@ -35,7 +35,8 @@ void EnRailgibud_Damage(EnRailgibud* this, PlayState* play);
|
||||
void EnRailgibud_Stunned(EnRailgibud* this, PlayState* play);
|
||||
void EnRailgibud_SetupDead(EnRailgibud* this);
|
||||
void EnRailgibud_Dead(EnRailgibud* this, PlayState* play);
|
||||
void EnRailgibud_SpawnDust(PlayState* play, Vec3f* vec, f32 arg2, s32 arg3, s16 arg4, s16 arg5);
|
||||
void EnRailgibud_SpawnDust(PlayState* play, Vec3f* basePos, f32 randomnessScale, s32 dustCount, s16 dustScale,
|
||||
s16 scaleStep);
|
||||
void EnRailgibud_TurnTowardsPlayer(EnRailgibud* this, PlayState* play);
|
||||
s32 EnRailgibud_PlayerInRangeWithCorrectState(EnRailgibud* this, PlayState* play);
|
||||
s32 EnRailgibud_PlayerOutOfRange(EnRailgibud* this, PlayState* play);
|
||||
|
@ -15,7 +15,7 @@
|
||||
void EnRr_Init(Actor* thisx, PlayState* play);
|
||||
void EnRr_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnRr_Update(Actor* thisx, PlayState* play);
|
||||
void EnRr_Draw(Actor* thisx, PlayState* play);
|
||||
void EnRr_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_808FAF94(EnRr* this, PlayState* play);
|
||||
void func_808FB088(EnRr* this, PlayState* play);
|
||||
|
@ -17,7 +17,7 @@ enum {
|
||||
ENRUPPECROW_EFFECT_LIGHT = 20,
|
||||
};
|
||||
|
||||
void EnRuppecrow_Init(Actor* thisx, PlayState* play);
|
||||
void EnRuppecrow_Init(Actor* thisx, PlayState* play2);
|
||||
void EnRuppecrow_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnRuppecrow_Update(Actor* thisx, PlayState* play);
|
||||
void EnRuppecrow_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define THIS ((EnSyatekiCrow*)thisx)
|
||||
|
||||
void EnSyatekiCrow_Init(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiCrow_Init(Actor* thisx, PlayState* play2);
|
||||
void EnSyatekiCrow_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiCrow_Update(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiCrow_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#define THIS ((EnSyatekiDekunuts*)thisx)
|
||||
|
||||
void EnSyatekiDekunuts_Init(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiDekunuts_Init(Actor* thisx, PlayState* play2);
|
||||
void EnSyatekiDekunuts_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiDekunuts_Update(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiDekunuts_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void EnSyatekiWf_Init(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiWf_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiWf_Update(Actor* thisx, PlayState* play);
|
||||
void EnSyatekiWf_Update(Actor* thisx, PlayState* play2);
|
||||
void EnSyatekiWf_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80A201CC(EnSyatekiWf* this);
|
||||
|
@ -16,7 +16,7 @@
|
||||
void EnTanron2_Init(Actor* thisx, PlayState* play);
|
||||
void EnTanron2_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTanron2_Update(Actor* thisx, PlayState* play);
|
||||
void EnTanron2_Draw(Actor* thisx, PlayState* play);
|
||||
void EnTanron2_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_80BB69C0(EnTanron2* this);
|
||||
void func_80BB69FC(EnTanron2* this, PlayState* play);
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
#define THIS ((EnTanron4*)thisx)
|
||||
|
||||
void EnTanron4_Init(Actor* thisx, PlayState* play);
|
||||
void EnTanron4_Init(Actor* thisx, PlayState* play2);
|
||||
void EnTanron4_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTanron4_Update(Actor* thisx, PlayState* play);
|
||||
void EnTanron4_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -15,10 +15,10 @@
|
||||
|
||||
void EnTanron5_Init(Actor* thisx, PlayState* play);
|
||||
void EnTanron5_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTanron5_Update(Actor* thisx, PlayState* play);
|
||||
void EnTanron5_Update(Actor* thisx, PlayState* play2);
|
||||
void EnTanron5_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80BE5818(Actor* thisx, PlayState* play);
|
||||
void func_80BE5818(Actor* thisx, PlayState* play2);
|
||||
void func_80BE5C10(Actor* thisx, PlayState* play);
|
||||
|
||||
s32 D_80BE5D80 = 0;
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define THIS ((EnTest*)thisx)
|
||||
|
||||
void EnTest_Init(Actor* thisx, PlayState* play);
|
||||
void EnTest_Init(Actor* thisx, PlayState* play2);
|
||||
void EnTest_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTest_Update(Actor* thisx, PlayState* play);
|
||||
void EnTest_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -10,9 +10,9 @@
|
||||
|
||||
#define THIS ((EnTest5*)thisx)
|
||||
|
||||
void EnTest5_Init(Actor* thisx, PlayState* play);
|
||||
void EnTest5_Init(Actor* thisx, PlayState* play2);
|
||||
void EnTest5_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTest5_Update(Actor* thisx, PlayState* play);
|
||||
void EnTest5_Update(Actor* thisx, PlayState* play2);
|
||||
void EnTest5_HandleBottleAction(EnTest5* this, PlayState* play);
|
||||
void EnTest5_SetupAction(EnTest5* this, EnTest5ActionFunc actionFunc);
|
||||
|
||||
|
@ -12,8 +12,8 @@
|
||||
|
||||
#define THIS ((EnTest6*)thisx)
|
||||
|
||||
void EnTest6_Init(Actor* thisx, PlayState* play);
|
||||
void EnTest6_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTest6_Init(Actor* thisx, PlayState* play2);
|
||||
void EnTest6_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnTest6_Update(Actor* thisx, PlayState* play);
|
||||
void EnTest6_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
|
||||
#define THIS ((EnTest7*)thisx)
|
||||
|
||||
void EnTest7_Init(Actor* thisx, PlayState* play);
|
||||
void EnTest7_Init(Actor* thisx, PlayState* play2);
|
||||
void EnTest7_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTest7_Update(Actor* thisx, PlayState* play);
|
||||
void EnTest7_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
void EnThiefbird_Init(Actor* thisx, PlayState* play);
|
||||
void EnThiefbird_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnThiefbird_Update(Actor* thisx, PlayState* play);
|
||||
void EnThiefbird_Update(Actor* thisx, PlayState* play2);
|
||||
void EnThiefbird_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80C11538(EnThiefbird* this);
|
||||
|
@ -14,7 +14,7 @@
|
||||
void EnTorch2_Init(Actor* thisx, PlayState* play);
|
||||
void EnTorch2_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTorch2_Update(Actor* thisx, PlayState* play);
|
||||
void EnTorch2_Draw(Actor* thisx, PlayState* play);
|
||||
void EnTorch2_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void EnTorch2_UpdateIdle(Actor* thisx, PlayState* play);
|
||||
void EnTorch2_UpdateDeath(Actor* thisx, PlayState* play);
|
||||
|
@ -11,10 +11,10 @@
|
||||
|
||||
#define THIS ((EnTwig*)thisx)
|
||||
|
||||
void EnTwig_Init(Actor* thisx, PlayState* play);
|
||||
void EnTwig_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnTwig_Update(Actor* this, PlayState* play);
|
||||
void EnTwig_Draw(EnTwig* this, PlayState* play);
|
||||
void EnTwig_Init(Actor* thisx, PlayState* play2);
|
||||
void EnTwig_Destroy(Actor* thisx, PlayState* play2);
|
||||
void EnTwig_Update(Actor* thisx, PlayState* play2);
|
||||
void EnTwig_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80AC0A54(EnTwig* this, PlayState* play);
|
||||
void func_80AC0A6C(EnTwig* this, PlayState* play);
|
||||
@ -227,7 +227,7 @@ void EnTwig_Update(Actor* thisx, PlayState* play2) {
|
||||
this->actionFunc(this, play);
|
||||
}
|
||||
|
||||
void EnTwig_Draw(EnTwig* thisx, PlayState* play) {
|
||||
void EnTwig_Draw(Actor* thisx, PlayState* play) {
|
||||
EnTwig* this = THIS;
|
||||
|
||||
switch (this->unk_160) {
|
||||
|
@ -22,8 +22,8 @@
|
||||
|
||||
void EnWaterEffect_Init(Actor* thisx, PlayState* play);
|
||||
void EnWaterEffect_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnWaterEffect_Update(Actor* thisx, PlayState* play);
|
||||
void EnWaterEffect_Draw(Actor* thisx, PlayState* play);
|
||||
void EnWaterEffect_Update(Actor* thisx, PlayState* play2);
|
||||
void EnWaterEffect_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void func_80A59C04(Actor* thisx, PlayState* play2);
|
||||
void func_80A5A184(Actor* thisx, PlayState* play2);
|
||||
|
@ -14,8 +14,8 @@
|
||||
|
||||
void EnWizFire_Init(Actor* thisx, PlayState* play);
|
||||
void EnWizFire_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnWizFire_Update(Actor* thisx, PlayState* play);
|
||||
void EnWizFire_Draw(Actor* thisx, PlayState* play);
|
||||
void EnWizFire_Update(Actor* thisx, PlayState* play2);
|
||||
void EnWizFire_Draw(Actor* thisx, PlayState* play2);
|
||||
|
||||
void EnWiz_SetupMoveMagicProjectile(EnWizFire* this, PlayState* play);
|
||||
void EnWiz_MoveMagicProjectile(EnWizFire* this, PlayState* play);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void EnWood02_Init(Actor* thisx, PlayState* play);
|
||||
void EnWood02_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnWood02_Update(Actor* thisx, PlayState* play);
|
||||
void EnWood02_Update(Actor* thisx, PlayState* play2);
|
||||
void EnWood02_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
/**
|
||||
|
@ -15,7 +15,7 @@ void EnZos_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnZos_Update(Actor* thisx, PlayState* play);
|
||||
void EnZos_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void EnZos_ChangeAnim(EnZos* this, s16 arg1, u8 arg2);
|
||||
void EnZos_ChangeAnim(EnZos* this, s16 animIndex, u8 animMode);
|
||||
void func_80BBB2C4(EnZos* this, PlayState* play);
|
||||
void func_80BBB354(EnZos* this, PlayState* play);
|
||||
void func_80BBB4CC(EnZos* this, PlayState* play);
|
||||
|
@ -12,7 +12,7 @@
|
||||
|
||||
#define THIS ((EnZot*)thisx)
|
||||
|
||||
void EnZot_Init(Actor* thisx, PlayState* play);
|
||||
void EnZot_Init(Actor* thisx, PlayState* play2);
|
||||
void EnZot_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnZot_Update(Actor* thisx, PlayState* play);
|
||||
void EnZot_Draw(Actor* thisx, PlayState* play);
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
void ObjArmos_Init(Actor* thisx, PlayState* play);
|
||||
void ObjArmos_Destroy(Actor* thisx, PlayState* play);
|
||||
void ObjArmos_Update(Actor* thisx, PlayState* play);
|
||||
void ObjArmos_Update(Actor* thisx, PlayState* play2);
|
||||
void ObjArmos_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_809A54B4(ObjArmos* this);
|
||||
|
@ -16,7 +16,7 @@ void ObjBoat_Destroy(Actor* thisx, PlayState* play);
|
||||
void ObjBoat_Update(Actor* thisx, PlayState* play);
|
||||
void ObjBoat_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80B9B428(Actor* thisx, PlayState* play);
|
||||
void func_80B9B428(Actor* thisx, PlayState* play2);
|
||||
|
||||
const ActorInit Obj_Boat_InitVars = {
|
||||
ACTOR_OBJ_BOAT,
|
||||
|
@ -25,7 +25,7 @@ void ObjChan_Destroy(Actor* thisx, PlayState* play);
|
||||
void ObjChan_Update(Actor* thisx, PlayState* play);
|
||||
void ObjChan_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void ObjChan_ChandelierAction(ObjChan* this, PlayState* play);
|
||||
void ObjChan_ChandelierAction(ObjChan* this2, PlayState* play);
|
||||
void ObjChan_PotAction(ObjChan* this, PlayState* play);
|
||||
|
||||
const ActorInit Obj_Chan_InitVars = {
|
||||
|
@ -22,7 +22,7 @@ void func_80B13170(ObjDhouse* this, PlayState* play, ObjDhouseStruct1* ptr, ObjD
|
||||
void func_80B13908(ObjDhouse* this);
|
||||
void func_80B1391C(ObjDhouse* this, PlayState* play);
|
||||
void func_80B1392C(ObjDhouse* this);
|
||||
void func_80B13940(ObjDhouse* this, PlayState* play);
|
||||
void func_80B13940(ObjDhouse* this, PlayState* play2);
|
||||
void func_80B139D8(ObjDhouse* this);
|
||||
void func_80B139F4(ObjDhouse* this, PlayState* play);
|
||||
void func_80B13C08(Actor* thisx, PlayState* play);
|
||||
|
@ -12,8 +12,8 @@
|
||||
#define THIS ((ObjFlowerpot*)thisx)
|
||||
|
||||
void ObjFlowerpot_Init(Actor* thisx, PlayState* play);
|
||||
void ObjFlowerpot_Destroy(Actor* thisx, PlayState* play);
|
||||
void ObjFlowerpot_Update(Actor* thisx, PlayState* play);
|
||||
void ObjFlowerpot_Destroy(Actor* thisx, PlayState* play2);
|
||||
void ObjFlowerpot_Update(Actor* thisx, PlayState* play2);
|
||||
void ObjFlowerpot_Draw(Actor* thisx, PlayState* play);
|
||||
|
||||
void func_80A1C818(ObjFlowerpot* this);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user