diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-13 00:22:57 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-10-13 00:22:57 -0400 |
commit | bd80f4081451e6ef25b763d5f74891075936fdd0 (patch) | |
tree | 1046b1355f2658243fd4be11aa0e19488ba2e8a3 /include | |
parent | 01a31f374b953b9d40548f8369289a8c6dc48b77 (diff) |
Documented things, updated DEBUG_printf()
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 |