Initial publish
Dependencies: mbed
Fork of el17dg by
game/constants.h
- Committer:
- Noximilien
- Date:
- 2019-05-07
- Revision:
- 40:e3bbda7444fa
- Parent:
- 29:579e00b7f118
File content as of revision 40:e3bbda7444fa:
#ifndef CONSTANTS_H #define CONSTANTS_H #include "N5110.h" /** * This file containts the constants that are used accross the whole game, */ const int screen_width = WIDTH; const int screen_height = HEIGHT; const int game_area_x = 0; const int game_area_y = 7; const int game_area_width = 84; const int game_area_height = screen_height - game_area_y; const float joy_threshold_max_y = 0.6; const float joy_threshold_min_y = 0.4; const float joy_threshold_max_x = 0.6; const float joy_threshold_min_x = 0.4; #endif