mirror of
https://github.com/zeldaret/tp
synced 2026-08-01 08:17:31 -04:00
A few f_pc files (#26)
* f_pc_base, one non matching * some of f_pc_manager * f_pc_node OK * f_pc_pause partly * started node_req * more progress * most of node req * delete unused asm * node req header and param names * param renaming * header for manager * review comment struct names * fpcM_Management OK * int -> s32 * merge master * most of f_pc_create_iter * f_pc_stdcreate_req OK * f_pc_fstcreate OK * f_pc_leaf OK * f_pc_draw OK * f_pc_deletor partly * fix parameter type in f_pc_pause * review * review, use cPh enum and fix process_profile_definition struct * convert f_pc files to C * matched more functions * fix global.h * fix variable types * format * mpre Phs enum * fix merge errors * fix gamepad stopPatternedRumble * format * delete leftover files from merge * move asm to correct folder * revert f_pc from C to CPP * remove C hacks and format * format * OK
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
|
||||
#include "SComponent/c_node.h"
|
||||
|
||||
struct node_list_class {
|
||||
typedef struct node_list_class {
|
||||
node_class* mpHead;
|
||||
node_class* mpTail;
|
||||
int mSize;
|
||||
};
|
||||
} node_list_class;
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "SComponent/c_list.h"
|
||||
#include "SComponent/c_node_iter.h"
|
||||
#include "global.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -2,11 +2,13 @@
|
||||
#ifndef SCOMPONENT_C_NODE_H
|
||||
#define SCOMPONENT_C_NODE_H
|
||||
|
||||
struct node_class {
|
||||
node_class* mpPrevNode;
|
||||
#include "global.h"
|
||||
|
||||
typedef struct node_class {
|
||||
struct node_class* mpPrevNode;
|
||||
void* mpData;
|
||||
node_class* mpNextNode;
|
||||
};
|
||||
struct node_class* mpNextNode;
|
||||
} node_class;
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -12,10 +12,10 @@ enum cPhs__Step {
|
||||
cPhs_NEXT_e = 0x06,
|
||||
};
|
||||
|
||||
struct request_of_phase_process_class {
|
||||
typedef struct request_of_phase_process_class {
|
||||
cPhs__Handler* mpHandlerTable;
|
||||
int mPhaseStep;
|
||||
};
|
||||
} request_of_phase_process_class;
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
#include "SComponent/c_tree.h"
|
||||
#include "global.h"
|
||||
|
||||
struct create_tag_class {
|
||||
typedef struct create_tag_class {
|
||||
node_class mpNode;
|
||||
void* mpTagData;
|
||||
s8 mbIsUse;
|
||||
};
|
||||
} create_tag_class;
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -4,16 +4,17 @@
|
||||
|
||||
#include "SComponent/c_node_iter.h"
|
||||
#include "SComponent/c_tag.h"
|
||||
#include "global.h"
|
||||
|
||||
struct method_filter {
|
||||
typedef struct method_filter {
|
||||
cNdIt_MethodFunc mpMethodFunc;
|
||||
void* mpUserData;
|
||||
};
|
||||
} method_filter;
|
||||
|
||||
struct judge_filter {
|
||||
typedef struct judge_filter {
|
||||
cNdIt_JudgeFunc mpJudgeFunc;
|
||||
void* mpUserData;
|
||||
};
|
||||
} judge_filter;
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
|
||||
#include "SComponent/c_list.h"
|
||||
#include "SComponent/c_node.h"
|
||||
#include "global.h"
|
||||
|
||||
struct node_lists_tree_class {
|
||||
typedef struct node_lists_tree_class {
|
||||
node_list_class* mpLists;
|
||||
int mNumLists;
|
||||
};
|
||||
} node_lists_tree_class;
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
|
||||
#include "SComponent/c_node_iter.h"
|
||||
#include "SComponent/c_tree.h"
|
||||
#include "global.h"
|
||||
|
||||
extern "C" {
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef __C_XYZ_H_
|
||||
#define __C_XYZ_H_
|
||||
|
||||
#include "global.h"
|
||||
|
||||
class cXyz : public Vec {};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user