Initial publish
Dependencies: mbed
Fork of el17dg by
game/constants.h
- Committer:
- Noximilien
- Date:
- 2019-03-31
- Revision:
- 23:240bc00ef25b
- Parent:
- 22:4dc3c95f2146
- Child:
- 26:676874c42883
File content as of revision 23:240bc00ef25b:
#ifndef CONSTANTS_H #define CONSTANTS_H const int screen_width = 84; const int screen_height = 48; 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