mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-05 02:25:57 -04:00
Process profiles and enums cleanup (#1031)
* Fix some profile comments * Add missing static for local visibility data * Move proc name and draw priority enums to f_pc * Add _e suffix to daObjBarrier_c proc enum * Change proc name enum format to match TP * Change draw prio enum format to match TP * Change ItemNo enum format, finish fixing item names * Revert static for cb1 hio * Clean up formatting of profile comments * Fix comment alignment
This commit is contained in:
+9
-11
@@ -6,8 +6,6 @@
|
||||
#include "d/dolzel.h" // IWYU pragma: keep
|
||||
#include "d/actor/d_a_sea.h"
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/d_priority.h"
|
||||
#include "d/d_stage.h"
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
@@ -20,7 +18,7 @@
|
||||
#define GRID_CELLS 65
|
||||
#define GRID_INDEX(x, z) (x + GRID_CELLS * z)
|
||||
|
||||
daSea_packet_c l_cloth;
|
||||
static daSea_packet_c l_cloth;
|
||||
|
||||
f32 daSea_packet_c::BASE_HEIGHT = 1.0f;
|
||||
|
||||
@@ -482,7 +480,7 @@ void daSea_packet_c::CheckRoomChange() {
|
||||
dStage_roomDt_c * room = dComIfGp_roomControl_getStatusRoomDt(dComIfGp_roomControl_getStayNo());
|
||||
if (room != NULL) {
|
||||
mRoomNo = dComIfGp_roomControl_getStayNo();
|
||||
daDaiocta_c* octa = (daDaiocta_c *)fopAcM_SearchByName(PROC_DAIOCTA);
|
||||
daDaiocta_c* octa = (daDaiocta_c *)fopAcM_SearchByName(fpcNm_DAIOCTA_e);
|
||||
if (octa == NULL) {
|
||||
if (mFlags & 0x01) {
|
||||
ClrFlat();
|
||||
@@ -1188,18 +1186,18 @@ static actor_method_class l_daSea_Method = {
|
||||
};
|
||||
|
||||
actor_process_profile_definition g_profile_SEA = {
|
||||
/* LayerID */ fpcLy_CURRENT_e,
|
||||
/* ListID */ 0x0002,
|
||||
/* ListPrio */ fpcPi_CURRENT_e,
|
||||
/* ProcName */ PROC_SEA,
|
||||
/* Layer ID */ fpcLy_CURRENT_e,
|
||||
/* List ID */ 0x0002,
|
||||
/* List Prio */ fpcPi_CURRENT_e,
|
||||
/* Proc Name */ fpcNm_SEA_e,
|
||||
/* Proc SubMtd */ &g_fpcLf_Method.base,
|
||||
/* Size */ sizeof(sea_class),
|
||||
/* SizeOther */ 0,
|
||||
/* Size Other */ 0,
|
||||
/* Parameters */ 0,
|
||||
/* Leaf SubMtd */ &g_fopAc_Method.base,
|
||||
/* Priority */ PRIO_SEA,
|
||||
/* Draw Prio */ fpcDwPi_SEA_e,
|
||||
/* Actor SubMtd */ &l_daSea_Method,
|
||||
/* Status */ fopAcStts_UNK40000_e,
|
||||
/* Group */ fopAc_ACTOR_e,
|
||||
/* CullType */ fopAc_CULLBOX_0_e,
|
||||
/* Cull Type */ fopAc_CULLBOX_0_e,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user