summaryrefslogtreecommitdiff
path: root/src/d/actor/d_a_obj_barrier.cpp
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-15 00:45:59 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2023-10-15 00:45:59 -0400
commit0ca314c74652f51ce171ff74dee48f4ef8b8de28 (patch)
treea0dd8893a9be2414a715c2aec659c96614a7c89c /src/d/actor/d_a_obj_barrier.cpp
parent98140ed1cd23c873b0082193dcc34fb7732c841c (diff)
Add attention flags enum, use enums in more places
Diffstat (limited to 'src/d/actor/d_a_obj_barrier.cpp')
-rw-r--r--src/d/actor/d_a_obj_barrier.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/d/actor/d_a_obj_barrier.cpp b/src/d/actor/d_a_obj_barrier.cpp
index 0f85bb63..fda774cc 100644
--- a/src/d/actor/d_a_obj_barrier.cpp
+++ b/src/d/actor/d_a_obj_barrier.cpp
@@ -106,7 +106,7 @@ static const dCcD_SrcCyl l_cyl_at_src = {
// dCcD_SrcGObjInf
{
/* Flags */ 0,
- /* SrcObjAt Type */ 0x800,
+ /* SrcObjAt Type */ AT_TYPE_UNK800,
/* SrcObjAt Atp */ 1,
/* SrcObjAt SPrm */ 5,
/* SrcObjTg Type */ 0,
@@ -126,9 +126,7 @@ static const dCcD_SrcCyl l_cyl_at_src = {
},
// cM3dGCylS
{
- /* Center */ 0.0f,
- 0.0f,
- 0.0f,
+ /* Center */ 0.0f, 0.0f, 0.0f,
/* Radius */ 1000.0f,
/* Height */ 10000.0f,
},
@@ -141,7 +139,7 @@ static const dCcD_SrcCyl l_cyl_tg_src = {
/* SrcObjAt Type */ 0,
/* SrcObjAt Atp */ 0,
/* SrcObjAt SPrm */ 0,
- /* SrcObjTg Type */ 0xFF3DFEFF,
+ /* SrcObjTg Type */ ~(AT_TYPE_WATER | AT_TYPE_UNK20000 | AT_TYPE_UNK400000 | AT_TYPE_UNK800000),
/* SrcObjTg SPrm */ 9,
/* SrcObjCo SPrm */ 0,
/* SrcGObjAt Se */ 0,
@@ -158,9 +156,7 @@ static const dCcD_SrcCyl l_cyl_tg_src = {
},
// cM3dGCylS
{
- /* Center */ 0.0f,
- 0.0f,
- 0.0f,
+ /* Center */ 0.0f, 0.0f, 0.0f,
/* Radius */ 1000.0f,
/* Height */ 10000.0f,
},