summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleo2002-03-10 03:19:00 +0000
committerleo2002-03-10 03:19:00 +0000
commitc3376adeb807b35fd5f6ec95a44d3d6efae8b217 (patch)
tree3bf223f8ce8974d35bb192e192e5dd229dc67d2d
parentf887f7402fdc665913343a2598599d3b5ead05b0 (diff)
Added the Console to the globals file.
git-svn-id: http://svn.leocad.org/trunk@278 c7d43263-9d01-0410-8a33-9dba5d9f93d6
-rw-r--r--common/globals.cpp1
-rw-r--r--common/globals.h13
2 files changed, 9 insertions, 5 deletions
diff --git a/common/globals.cpp b/common/globals.cpp
index 903abf5..f0e885c 100644
--- a/common/globals.cpp
+++ b/common/globals.cpp
@@ -1,3 +1,4 @@
+//
// Global variables common to all platforms.
//
diff --git a/common/globals.h b/common/globals.h
index cd119e0..53d3d20 100644
--- a/common/globals.h
+++ b/common/globals.h
@@ -1,5 +1,9 @@
-// Global variables.
-//
+#ifndef _GLOBALS_H_
+#define _GLOBALS_H_
+
+#include "defines.h"
+#include "typedefs.h"
+#include "console.h"
class Project;
extern Project* project;
@@ -10,10 +14,9 @@ extern Messenger* messenger;
class MainWnd;
extern MainWnd* main_window;
-#include "defines.h"
-#include "typedefs.h"
-
extern unsigned char FlatColorArray[31][3];
extern unsigned char ColorArray[31][4];
extern const char* colornames[LC_MAXCOLORS];
extern const char* altcolornames[LC_MAXCOLORS];
+
+#endif // _GLOBALS_H_ \ No newline at end of file