summaryrefslogtreecommitdiffstats
path: root/game/code/roads/roadrendertest.h
diff options
context:
space:
mode:
authorSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
committerSvxy <aidan61605@gmail.com>2023-05-31 23:31:32 +0200
commiteb4b3404aa00220d659e532151dab13d642c17a3 (patch)
tree7e1107c4995489a26c4007e41b53ea8d00ab2134 /game/code/roads/roadrendertest.h
downloadThe-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.gz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.bz2
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.lz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.xz
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.tar.zst
The-Simpsons-Hit-and-Run-eb4b3404aa00220d659e532151dab13d642c17a3.zip
Diffstat (limited to 'game/code/roads/roadrendertest.h')
-rw-r--r--game/code/roads/roadrendertest.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/game/code/roads/roadrendertest.h b/game/code/roads/roadrendertest.h
new file mode 100644
index 0000000..78a4e22
--- /dev/null
+++ b/game/code/roads/roadrendertest.h
@@ -0,0 +1,60 @@
+//=============================================================================
+// Copyright (C) 2002 Radical Entertainment Ltd. All rights reserved.
+//
+// File: roadrendertest.h
+//
+// Description: Blahblahblah
+//
+// History: 27/06/2002 + Created -- Cary Brisebois
+//
+//=============================================================================
+
+#ifndef ROADRENDERTEST_H
+#define ROADRENDERTEST_H
+
+#ifndef RAD_RELEASE
+//========================================
+// Nested Includes
+//========================================
+#include <radmath/radmath.hpp>
+#include <roads/roadsegment.h>
+#include <render/Culling/ReserveArray.h>
+
+#include <p3d/drawable.hpp>
+
+//========================================
+// Forward References
+//========================================
+
+//=============================================================================
+//
+// Synopsis: Blahblahblah
+//
+//=============================================================================
+
+class RoadRenderTest : public tDrawable
+{
+public:
+ RoadRenderTest();
+ virtual ~RoadRenderTest();
+
+ void Display();
+ void DisplaySpawnSegments();
+ void DisplayTerrainType( void );
+
+ ReserveArray<RoadSegment*> mSegments;
+
+private:
+
+ bool mDisplay;
+ bool mDisplaySpawnSegments;
+ bool mDisplayTerrainTypes;
+
+ //Prevent wasteful constructor creation.
+ RoadRenderTest( const RoadRenderTest& roadrendertest );
+ RoadRenderTest& operator=( const RoadRenderTest& roadrendertest );
+};
+
+#endif
+
+#endif //ROADRENDERTEST_H