diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 10 | ||||
-rw-r--r-- | include/entities.h | 10 |
2 files changed, 6 insertions, 14 deletions
diff --git a/include/common.h b/include/common.h index b57999d..7df147f 100644 --- a/include/common.h +++ b/include/common.h @@ -24,14 +24,14 @@ enum _TYPE { //these are the main types of entities enum GENDER{ MALE, FEMALE, - NONE + NONE }; #include <Quest.h> #include <entities.h> -#define SCREEN_WIDTH 640 -#define SCREEN_HEIGHT 480 +#define SCREEN_WIDTH 1280 +#define SCREEN_HEIGHT 720 //#define FULLSCREEN #define HLINE 3 //base unit of the world @@ -53,6 +53,8 @@ extern Mix_Music *music; extern Mix_Chunk *horn; GLuint loadTexture(const char *fileName); -void DEBUG_printf(const char *s,...); +void DEBUG_prints(const char* file, int line, const char *s,...); + +#define DEBUG_printf( message, ...) DEBUG_prints(__FILE__, __LINE__, message, __VA_ARGS__) //IF THERE IS NO VA_ARGS AT THE END OF A CALL, SUBSTITUTE IT WITH [ NULL ] #endif // COMMON_H diff --git a/include/entities.h b/include/entities.h index 833ebe1..ecfe539 100644 --- a/include/entities.h +++ b/include/entities.h @@ -95,14 +95,4 @@ ENTITY TYPES | 2 MOBS |->1 Skirl - - - - - - - - - - **/
\ No newline at end of file |