mirror of
https://github.com/zestydevy/dinosaur-planet.git
synced 2024-11-26 23:00:23 +00:00
fefb6fad90
* Split out handwritten assembly from model.c * Identify a bunch more libultra functions * Start DLL 31 decomp * Improve dll.c decomp * Improve actor, model, object * Decomp generic_stack.c * Decomp generic_queue.c * Update m2ctx.py * Fix cc warning level for dlls * Misc decomp
59 lines
1.4 KiB
C
59 lines
1.4 KiB
C
#ifndef _FUNCTIONS_H
|
|
#define _FUNCTIONS_H
|
|
|
|
#include "game/actor/actor.h"
|
|
|
|
void bootproc(void);
|
|
void idle(void * arg);
|
|
void mainproc(void * arg);
|
|
|
|
void test_write(void);
|
|
void main_no_expPak(void);
|
|
void main_expPak(void);
|
|
void threadTimerTick(void);
|
|
void check_dongle(void);
|
|
|
|
void func_80017254(s32);
|
|
void func_800175D4(s32 a0);
|
|
void update_PlayerPosBuffer(void);
|
|
TActor * get_player(void);
|
|
|
|
void replace_loaded_dll_list(DLLInst arg0[], s32 arg1);
|
|
|
|
s32 read_file_region(u32 id, void *dst, u32 offset, s32 size);
|
|
|
|
void dl_get_debug_info2(Gfx*, u32*, char**, u32*, s32*, u32*, char**, u32*, s32*);
|
|
void dl_segment(Gfx **gdl, u32 segment, void *base);
|
|
|
|
void stop_alSyn_thread();
|
|
|
|
void func_80060B94(Gfx**);
|
|
|
|
OSSched *get_ossched(void);
|
|
|
|
TActor **TActor_getter(s32 idx, s32 *count);
|
|
|
|
void transform_point_by_actor(f32 x, f32 y, f32 z, f32 *ox, f32 *oy, f32 *oz, TActor *actor);
|
|
|
|
void update_pi_manager_array(s32 index, s32 value);
|
|
|
|
void add_object_to_array(TActor *actor, s32 param2);
|
|
|
|
void write_c_file_label_pointers(char *cFileLabel, s32 a1);
|
|
|
|
s32 func_with_status_reg();
|
|
void set_status_reg(s32);
|
|
|
|
void func_800267A4(TActor *actor);
|
|
TActor *func_8002394C();
|
|
s32 func_80023D30(TActor*,s32,f32,s32);
|
|
s32 func_80024108(TActor*,f32,f32,s32);
|
|
s32 func_80025F40(TActor*,s32,s32,s32);
|
|
|
|
s32 mainGetBit(s32);
|
|
void mainSetBits(s32, s32);
|
|
|
|
void draw_actor(TActor*,s32,s32,s32,s32,float);
|
|
|
|
#endif //_FUNCTIONS_H
|