Rise
The Vieneo Province
polyobj.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Viewscreen\globals.h"
4 
5 class GameClass;
6 
7 class PolyObj
8 {
9  GameClass* game = nullptr;
10  Logger* logger = nullptr;
12  char filename[MAX_PATH] = { 0 };
13  unsigned short componentTotal = 0;
14 
15 public:
16  PolyObj() {}
17  PolyObj(GameClass* prmGame);
18  s_polygon_object LoadDAW(const char* filename) const;
19  void LoadDIX(const char* prmFilename);
20  unsigned short GetComponents() const;
21  s_mesh_component GetComponent(short i) const;
22  void ReleaseComponents();
23  ~PolyObj();
24 };
void LoadDIX(const char *prmFilename)
Definition: polyobj.cpp:91
Definition: polyobj.h:7
unsigned short componentTotal
Definition: polyobj.h:13
char filename[MAX_PATH]
Definition: polyobj.h:12
Definition: Logger.h:9
void ReleaseComponents()
Definition: polyobj.cpp:197
~PolyObj()
Definition: polyobj.cpp:208
s_mesh_component GetComponent(short i) const
Definition: polyobj.cpp:189
s_mesh_component * componentarray
Definition: polyobj.h:11
Logger * logger
Definition: polyobj.h:10
s_polygon_object LoadDAW(const char *filename) const
Definition: polyobj.cpp:21
unsigned short GetComponents() const
Definition: polyobj.cpp:184
GameClass * game
Definition: polyobj.h:9
PolyObj()
Definition: polyobj.h:16