summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-10 13:49:22 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-10 13:50:54 -0400
commit088a31ea1940babe3d65c9d56b61f8e574a88358 (patch)
tree8021867ce9f862df2df43fff035cd4fb811bdae7 /src/pso
parente9f51ba7022a2ca5fcaa378503429a628bad572a (diff)
TObject: Add `{,dis}allow_rendering_shadows()`
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TObject2.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index 7c9e1c3..5b1a90a 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -1,5 +1,9 @@
#include "pso/TObject.h"
+void TObject::allow_rendering_shadows() {
+ clear_flags(DISALLOW_RENDER_SHADOWS);
+}
+
void TObject::clear_flag_9() {
clear_flags(BIT_9);
}
@@ -31,3 +35,7 @@ void TObject::allow_rendering() {
void TObject::disallow_rendering() {
set_flags(DISALLOW_RENDER);
}
+
+void TObject::disallow_rendering_shadows() {
+ set_flags(DISALLOW_RENDER_SHADOWS);
+}