From 56dc2f295387a370cf6f77bf446706ceb2dce1a6 Mon Sep 17 00:00:00 2001 From: Ricardo Cruz Date: Thu, 6 May 2004 21:39:47 +0000 Subject: [PATCH] Moved SCREEN_W and SCREEN_H to setup.cpp to avoid ppl using them. SVN-Revision: 1014 --- src/defines.h | 5 ----- src/setup.cpp | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/defines.h b/src/defines.h index 2810cf6e7..163f1bdd3 100644 --- a/src/defines.h +++ b/src/defines.h @@ -48,11 +48,6 @@ enum DyingType { DYING_FALLING = 2 }; -/* Screen proprities: */ -/* Don't use this to test for the actual screen sizes. Use screen->w/h instead! */ -#define SCREEN_W 640 -#define SCREEN_H 480 - /* Sizes: */ #define SMALL 0 diff --git a/src/setup.cpp b/src/setup.cpp index 5118cfdc0..ad6a2009f 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -62,6 +62,11 @@ #define DATA_PREFIX "./data/" #endif +/* Screen proprities: */ +/* Don't use this to test for the actual screen sizes. Use screen->w/h instead! */ +#define SCREEN_W 640 +#define SCREEN_H 480 + /* Local function prototypes: */ void seticon(void); -- 2.11.0