mirror of
https://github.com/TwilitRealm/dusklight.git
synced 2026-05-13 12:28:06 -07:00
e5bf7606ec
to set up lights. this is a somewhat hacky workaround for lighting setup, but it might be good enough?
42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
|
|
#ifndef F_PC_NODE_H_
|
|
#define F_PC_NODE_H_
|
|
|
|
#include "f_pc/f_pc_base.h"
|
|
#include "f_pc/f_pc_layer.h"
|
|
#include "f_pc/f_pc_method.h"
|
|
#include "f_pc/f_pc_profile.h"
|
|
|
|
typedef struct nodedraw_method_class {
|
|
/* 0x00 */ process_method_class base;
|
|
/* 0x10 */ process_method_func draw_method;
|
|
} nodedraw_method_class;
|
|
|
|
typedef struct process_node_class {
|
|
/* 0x000 */ base_process_class base;
|
|
/* 0x0B8 */ nodedraw_method_class* nodedraw_method;
|
|
/* 0x0BC */ layer_class layer;
|
|
/* 0x0E8 */ node_list_class layer_nodelist[16];
|
|
/* 0x1A8 */ s8 unk_0x1A8;
|
|
/* 0x1A9 */ s8 draw_interp_frame;
|
|
} process_node_class;
|
|
|
|
typedef struct node_process_profile_definition {
|
|
/* 0x00 */ process_profile_definition base;
|
|
/* 0x1C */ process_method_class* sub_methods;
|
|
} node_process_profile_definition;
|
|
|
|
int fpcNd_DrawMethod(nodedraw_method_class* pNodeMethod, void* pData);
|
|
int fpcNd_Draw(process_node_class* pProcNode);
|
|
int fpcNd_Execute(process_node_class* pProcNode);
|
|
void* fpcNd_IsCreatingFromUnder(void* pProcNode);
|
|
int fpcNd_IsDeleteTiming(process_node_class* pProcNode);
|
|
int fpcNd_IsDelete(process_node_class* pProcNode);
|
|
int fpcNd_Delete(process_node_class* pProcNode);
|
|
int fpcNd_Create(process_node_class* pProcNode);
|
|
|
|
extern int g_fpcNd_type;
|
|
extern nodedraw_method_class g_fpcNd_Method;
|
|
|
|
#endif
|