X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FDialog.h;h=59c791e3e280f57b6bcbc6b1accd89fe0a75ed24;hb=64560867a9b6486d601784a2fe4ba6149d31b7aa;hp=96186d308a6da9d44139b2c31bf26ecbe71360a2;hpb=e7b76642d8998c250272a8313ad8aa7c7efff319;p=lugaru.git diff --git a/Source/Dialog.h b/Source/Dialog.h index 96186d3..59c791e 100644 --- a/Source/Dialog.h +++ b/Source/Dialog.h @@ -25,11 +25,11 @@ along with Lugaru. If not, see . #include "Quaternions.h" #include -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 boxes; + std::vector 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;