mirror of
https://github.com/zeldaret/tww.git
synced 2026-09-11 12:05:22 -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:
+1
-2
@@ -8,7 +8,6 @@
|
||||
#include "d/d_com_inf_game.h"
|
||||
#include "d/actor/d_a_player.h"
|
||||
#include "d/actor/d_a_tag_light.h"
|
||||
#include "d/d_procname.h"
|
||||
|
||||
const dDetect_c::Attr_c dDetect_c::M_attr = {
|
||||
/* maxDistXZ */ 500.0f,
|
||||
@@ -105,7 +104,7 @@ bool dDetect_c::chk_quake_area(const cXyz* pos) const {
|
||||
|
||||
/* 8009C32C-8009C588 .text search_tag_light__9dDetect_cFPvPv */
|
||||
void* dDetect_c::search_tag_light(void* i_proc, void* i_pos) {
|
||||
if (fopAc_IsActor(i_proc) && fopAcM_GetName(i_proc) == PROC_Tag_Light) {
|
||||
if (fopAc_IsActor(i_proc) && fopAcM_GetName(i_proc) == fpcNm_Tag_Light_e) {
|
||||
daTagLight::Act_c* light = (daTagLight::Act_c*)i_proc;
|
||||
const cXyz* pos = (const cXyz*)i_pos;
|
||||
if (light->chk_inside(pos)) {
|
||||
|
||||
Reference in New Issue
Block a user