commit 099916fc
Missing file
git-svn-id: https://blockattack.svn.sourceforge.net/svnroot/blockattack/trunk@120 9d7177f8-192b-0410-8f35-a16a89829b06
Changed files
| A | source/code/global.hpp |
diff --git a/source/code/global.hpp b/source/code/global.hpp
new file mode 100644
index 0000000..f9bb64a
--- /dev/null
+++ b/source/code/global.hpp
@@ -0,0 +1,28 @@
+/*
+ * File: global.hpp
+ * Author: poul
+ *
+ * Created on 5. juni 2011, 18:26
+ */
+
+#ifndef _GLOBAL_HPP
+#define _GLOBAL_HPP
+
+#include "CppSdl/CppSdlImageHolder.hpp"
+#include "Libs/NFont.h"
+
+void MainMenu();
+void ResetFullscreen();
+
+extern CppSdl::CppSdlImageHolder menuMarked;
+extern CppSdl::CppSdlImageHolder menuUnmarked;
+extern NFont nf_scoreboard_font;
+extern bool MusicEnabled; //true if background music is enabled
+extern bool SoundEnabled; //true if sound effects is enabled
+extern bool bFullscreen; //true if game is running fullscreen
+extern char player1name[30];
+extern char player2name[30];
+extern SDL_Surface *screen; //The whole screen;
+
+#endif /* _GLOBAL_HPP */
+