Files
af/include/m_lib.h
T
emilybrooks 2b9ed4a58d ac_toudai matched 12 functions, 2 non-equivalent (#65)
* first commit

* matched the gSegments thing

* more progress

* matched aTOU_actor_dt

* matched aTOU_set_bgOffset and imported data

* named everything

* cleanup, work on draw functions

* cleanup

* review

* Revert "review"

This reverts commit 229788b683.

* format

* removed change to ac_structure.h

* temp changing data symbols

* format

* review

* fix conflicts

* fix season u32 thing
2023-09-11 11:02:09 -07:00

74 lines
2.1 KiB
C

#ifndef M_LIB_H
#define M_LIB_H
#include "ultra64.h"
#include "z64math.h"
#include "unk.h"
struct Game_Play;
void mem_copy(void* dst, void* src, u32 size);
s32 mem_clear(void* ptr, size_t size, u8 value);
// void mem_cmp();
f32 cos_s(s16 angle);
f32 sin_s(s16 angle);
// void chase_angle();
// void chase_s();
s32 chase_f(f32* arg0, f32 arg1, f32 arg2);
// void chase_angle2();
// void chase_s2();
// void chase_s3();
// void chase_f2();
// void chase_f3();
// void inter_float();
// void stick_ratio_set();
// void get_random_timer();
// void get_random_pattern_timer();
void xyz_t_move(Vec3f* dst, Vec3f* src);
void xyz_t_move_s_xyz(Vec3f* dst, Vec3s* src);
// void xyz_t_add();
// void xyz_t_sub();
// void xyz_t_sub_ss();
// void xyz_t_mult_v();
// void search_position_distance();
// void search_position_distance2();
f32 search_position_distanceXZ(Vec3f* arg0, Vec3f* arg1);
// void search_position_high();
s16 search_position_angleY(Vec3f* arg0, Vec3f* arg1);
// void search_position_angleX();
// void ValueSet_process();
// void ValueSet__s_char();
// void ValueSet__u_char();
// void ValueSet__s_short();
// void ValueSet__u_short();
// void ValueSet__s_int();
// void ValueSet__u_int();
// void ValueSet__float();
// void ValueSet__float_x1000();
// void ValueSet__xyz_t();
// void ValueSet__xyz_t_x1000();
// void ValueSet__s_xyz();
f32 add_calc(f32* pValue, f32 target, f32 fraction, f32 maxStep, f32 minStep);
// void add_calc2();
// void add_calc0();
// void add_calc_a();
// void add_calc_short_angle2();
// void add_calc_short_angle3();
// void adds();
// void rgba_t_move();
UNK_RET none_proc1(void);
// void none_proc2();
// void Cheap_gfx_display();
// void Cheap_gfx_display_xlu();
s32 _Game_play_isPause(struct Game_Play* game_play);
void *Lib_SegmentedToVirtual(void *ptr); //original name unknown, taken from majora's mask
// void func_8009ADE0_jp();
// void func_8009AE28_jp();
// void func_8009AE44_jp();
f32 check_percent_abs(f32 x, f32 min, f32 max, f32 scale, int shift_by_min);
// void get_percent_forAccelBrake();
// void Game_play_Projection_Trans();
// void get_percent();
#endif