summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--context.h1
-rw-r--r--include/pso/TObject.h1
-rw-r--r--src/pso/TObject2.cpp4
3 files changed, 6 insertions, 0 deletions
diff --git a/context.h b/context.h
index 4896f3a..f59aade 100644
--- a/context.h
+++ b/context.h
@@ -295,6 +295,7 @@ public:
void allow_rendering_shadows();
void disallow_rendering();
void allow_rendering();
+ void toggle_flag_3();
void set_flag_3();
void clear_flag_3();
void queue_destruction();
diff --git a/include/pso/TObject.h b/include/pso/TObject.h
index e9af709..851e4e2 100644
--- a/include/pso/TObject.h
+++ b/include/pso/TObject.h
@@ -125,6 +125,7 @@ public:
void allow_rendering_shadows();
void disallow_rendering();
void allow_rendering();
+ void toggle_flag_3();
void set_flag_3();
void clear_flag_3();
void queue_destruction();
diff --git a/src/pso/TObject2.cpp b/src/pso/TObject2.cpp
index 5b1a90a..f020bd3 100644
--- a/src/pso/TObject2.cpp
+++ b/src/pso/TObject2.cpp
@@ -28,6 +28,10 @@ void TObject::set_flag_3() {
set_flags(BIT_3);
}
+void TObject::toggle_flag_3() {
+ toggle_flags(BIT_3);
+}
+
void TObject::allow_rendering() {
clear_flags(DISALLOW_RENDER);
}