JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Changes from August-November 2006 -- detailed history was lost.
[vor.git] / globals.h
index 11ae5c4..7f47314 100644 (file)
--- a/globals.h
+++ b/globals.h
@@ -2,7 +2,8 @@
 #define VOR_GLOBALS_H
 
 #include <SDL.h>
-#include "SFont.h"
+#include <inttypes.h>
+#include "font.h"
 
 struct bangdots {
        // Bang dots have the same colour as shield dots.
@@ -37,7 +38,7 @@ extern SDL_Surface
        *surf_rock[NROCKS],     // THE ROCKS
        *surf_font_big; // The big font
 
-extern SFont_Font *g_font;
+extern font *g_font;
 
 // Structure global variables
 extern struct enginedots edot[MAXENGINEDOTS], *dotptr;
@@ -48,15 +49,9 @@ extern char topline[1024];
 extern char *initerror;
 
 extern float screendx, screendy;
-extern float xscroll, yscroll;
-extern float yscroll;
-extern float scrollvel;
-
-// All movement is based on t_frame.
-// All speeds are pixels/tick, with 20 ticks per second.
-extern float t_frame;  // length of this frame (in ticks = 1/20th second)
 
 extern int score;
+extern int g_easy;
 extern float fadetimer, faderate;
 
 extern int pausedown, paused;
@@ -69,4 +64,6 @@ extern Uint16 heatcolor[W*3];
 
 extern char *data_dir;
 
+extern uint32_t initial_rocks, final_rocks;
+
 #endif // VOR_GLOBALS_H