Add thread30.h and link to it

This commit is contained in:
Ryan Myers
2021-09-14 08:03:31 -04:00
parent dbee8d0efc
commit bf2896b8ef
5 changed files with 17 additions and 4 deletions
+1
View File
@@ -19,6 +19,7 @@
#include "object_models.h"
#include "printf.h"
#include "textures_sprites.h"
#include "thread30.h"
/**
* @file Contains all the code used for every menu in the game.
-1
View File
@@ -651,7 +651,6 @@ void render_textured_rectangle(Gfx **dlist, DrawTexture *arg1,
s32 arg2, s32 arg3, u8 red, u8 green, u8 blue, u8 alpha); // Non Matching src/unknown_078050.c
void load_level_for_menu(s32 levelId, s32 numberOfPlayers, s32 cutsceneId); //src/unknown_06B2B0.c
void func_80078D00(Gfx**, void *element, s32, s32, f32, f32, u32, s32); //Non Matching src/unknown_078050.c
s32 get_thread30_level_id_to_load(void); //src/thread30.c
void func_8001D5E0(f32 arg0, f32 arg1, f32 arg2); //unknown_00BC20
void gParticlePtrList_addObject(Object *object); //src/unknown_00BC20.c
s32 get_random_number_from_range(s32, s32); // Non Matching src/unknown_070110.c
+1 -3
View File
@@ -1,7 +1,7 @@
/* The comment below is needed for this file to be picked up by generate_ld */
/* RAM_POS: 0x800C7350 */
#include "types.h"
#include "thread30.h"
#include "macros.h"
#include "libultra_internal.h"
@@ -31,8 +31,6 @@ extern void *gThread30Stack;
/*****************************/
void thread30(void *arg);
/**
* Initalizes and starts thread30()
*/
+14
View File
@@ -0,0 +1,14 @@
#ifndef _THREAD30_H_
#define _THREAD30_H_
#include "types.h"
void create_and_start_thread30(void);
void stop_thread30(void);
s32 get_thread30_level_id_to_load(void);
void tick_thread30(void);
s32 get_thread30_load_delay(void);
s32 set_level_to_load_in_background(s32 levelId, s32 cutsceneId);
void thread30(void *arg);
#endif
+1
View File
@@ -17,6 +17,7 @@
#include "gzip.h"
#include "printf.h"
#include "thread0_epc.h"
#include "thread30.h"
/************ .rodata ************/