]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Dialog.h
DialogBox is protected on Windows, rename to DialogScene
[lugaru.git] / Source / Dialog.h
index 96186d308a6da9d44139b2c31bf26ecbe71360a2..59c791e3e280f57b6bcbc6b1accd89fe0a75ed24 100644 (file)
@@ -25,11 +25,11 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 #include "Quaternions.h"
 #include <vector>
 
-class DialogBox
+class DialogScene
 {
 public:
-    DialogBox(FILE* tfile);
-    DialogBox(ifstream &ipstream);
+    DialogScene(FILE* tfile);
+    DialogScene(ifstream &ipstream);
     void save(FILE* tfile);
 
     int location;
@@ -56,7 +56,7 @@ public:
 
     int type;
     int gonethrough;
-    std::vector<DialogBox> boxes;
+    std::vector<DialogScene> scenes;
     XYZ participantlocation[10];
     float participantyaw[10];
 
@@ -65,7 +65,7 @@ public:
 
     static bool inDialog() { return (indialogue != -1); }
     static Dialog& currentDialog() { return dialogs[whichdialogue]; }
-    static DialogBox& currentBox() { return currentDialog().boxes[indialogue]; }
+    static DialogScene& currentScene() { return currentDialog().scenes[indialogue]; }
 
     static int indialogue;
     static int whichdialogue;