main.h 390 B

123456789101112131415161718192021
  1. #ifndef MAIN_H_
  2. #define MAIN_H_
  3. #include <tice.h>
  4. #include <debug.h>
  5. #include "lib/scene.h"
  6. #define WALK_SPEED 1
  7. #define RUN_SPEED 3
  8. #define SCALE 3.0
  9. #undef NDEBUG
  10. // #define RESIZE_SPRITES
  11. //#define LOG_UPDATE
  12. //#define LOG_DRAW
  13. #define log(msg) dbg_sprintf(dbgout, "[TBP] %s\n", msg)
  14. #define MAX_WIDTH (LCD_WIDTH - (8 * SCALE))
  15. #define MAX_HEIGHT (LCD_HEIGHT - (16 * SCALE))
  16. #endif