@@ -23,8 +23,8 @@ enum SceneMeshBuildType {
2323 COPY
2424};
2525
26- class Obj {
27- explicit Obj ();
26+ class SceneMesh {
27+ explicit SceneMesh ();
2828
2929 static GLuint tileTextureId;
3030
@@ -33,8 +33,8 @@ class Obj {
3333 static void updateObjDialogControls (HWND hDlg);
3434
3535public:
36- static Obj & getInstance () {
37- static Obj instance;
36+ static SceneMesh & getInstance () {
37+ static SceneMesh instance;
3838 return instance;
3939 }
4040
@@ -49,13 +49,12 @@ class Obj {
4949 std::vector<std::string> files;
5050 std::string objToLoad;
5151 std::vector<bool > objLoadDone;
52- bool startedObjGeneration ;
53- bool blenderObjStarted ;
54- bool blenderObjGenerationDone ;
52+ bool startedSceneMeshGeneration ;
53+ bool blenderSceneMeshBuildStarted ;
54+ bool blenderSceneMeshGenerationDone ;
5555 bool blendFileOnlyBuild;
5656 bool blendFileAndObjBuild;
5757 bool filterToIncludeBox;
58- bool glacier2ObjDebugLogsEnabled;
5958 bool errorBuilding;
6059 bool skipExtractingAlocsOrPrims;
6160 bool errorExtracting;
@@ -69,7 +68,7 @@ class Obj {
6968 bool blendFileBuilt;
7069 bool extractTextures;
7170 bool applyTextures;
72- static HWND hObjDialog ;
71+ static HWND hSceneMeshDialog ;
7372 Model model;
7473
7574 static char * openSetBlenderFileDialog ();
@@ -88,9 +87,9 @@ class Obj {
8887
8988 void buildObjFromNavp (bool alsoLoadIntoUi);
9089
91- void buildObjFromScene ();
90+ void buildSceneMeshFromScene ();
9291
93- void finalizeObjBuild ();
92+ void finalizeSceneMeshBuild ();
9493
9594 void renderObj () const ;
9695
@@ -140,13 +139,13 @@ class Obj {
140139
141140 static INT_PTR ObjSettingsDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
142141
143- void showObjDialog ();
142+ void showSceneMeshDialog ();
144143
145144 std::optional<std::jthread> backgroundWorker;
146145
147146 void finalizeExtractResources ();
148147
149148 bool shouldExtractTextures () const ;
150149
151- void extractResourcesAndStartObjBuild ();
150+ void extractResourcesAndStartSceneMeshBuild ();
152151};
0 commit comments