From: Ricardo Cruz Date: Thu, 6 May 2004 21:39:47 +0000 (+0000) Subject: Moved SCREEN_W and SCREEN_H to setup.cpp to avoid ppl using them. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=56dc2f295387a370cf6f77bf446706ceb2dce1a6;p=supertux.git Moved SCREEN_W and SCREEN_H to setup.cpp to avoid ppl using them. SVN-Revision: 1014 --- 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);