summaryrefslogtreecommitdiffstats
path: root/tools/ArtChecker/artobject.cpp
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 /tools/ArtChecker/artobject.cpp
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 'tools/ArtChecker/artobject.cpp')
-rw-r--r--tools/ArtChecker/artobject.cpp46
1 files changed, 46 insertions, 0 deletions
diff --git a/tools/ArtChecker/artobject.cpp b/tools/ArtChecker/artobject.cpp
new file mode 100644
index 0000000..fcd120d
--- /dev/null
+++ b/tools/ArtChecker/artobject.cpp
@@ -0,0 +1,46 @@
+#include <cstring>
+#include "artobject.h"
+
+
+art_object::art_object ( )
+{
+ int i,j;
+
+ for (i=0;i<max_shaders;i++)
+ {
+ for (j=0;j<max_textures;j++)
+ {
+ strcpy(shader_list[i].texture_list[j].name, "no name");
+ shader_list[i].texture_list[j].width =0;
+ shader_list[i].texture_list[j].height =0;
+ shader_list[i].texture_list[j].bpp =0;
+ shader_list[i].texture_list[j].alpha =0;
+ }//end for
+
+ strcpy (shader_list[i].name, "no name");
+ shader_list[i].lit =false;
+ }//end for
+
+ //setting default art vaules
+ art_properties.vertex_count =0;
+ art_properties.poly_count =0;
+ art_properties.animation_frames =0;
+ art_properties.shader_count =0;
+ art_properties.bone_count =0;
+
+ //set default art_object vaules
+
+ strcpy(name,"no name");
+
+}
+
+art_object::~art_object( )
+{
+
+}
+
+
+
+
+
+