|
FreeRTOS Tetris
|
Module that allows some configurations of the game. More...

Emulator Configuration | |
| #define | WINDOW_TITLE "FreeRTOS Tetris" |
| Window title. | |
| #define | SCREEN_WIDTH 700 |
| Window width. | |
| #define | SCREEN_HEIGHT 640 |
| Window height. | |
| #define | RESOURCES_DIRECTORY "../resources" |
| Directory path for resources, e.g. images. | |
| #define | FONTS_DIRECTORY "../resources/fonts" |
| Direcotory path for fonts. | |
| #define | GAMEBOY_FONT "Early GameBoy.ttf" |
| Gameboy Font (default Font) | |
| #define | DEFAULT_FONT GAMEBOY_FONT |
| Default Font. | |
| #define | DEFAULT_FONT_SIZE 15 |
| Default Font Size. | |
| #define | configFPS_LIMIT 1 |
| #define | configFPS_LIMIT_RATE 50 |
| #define | mainGENERIC_PRIORITY (tskIDLE_PRIORITY) |
| #define | mainGENERIC_STACK_SIZE ((unsigned short)2560) |
Game window configuration | |
| #define | FIGURE_SIZE 5 |
| Maximum length/width of a Tetromino. | |
| #define | COLS 10 |
| Number of columns, that the board contains. | |
| #define | ROWS 16 |
| Number of rows, that the board contains. | |
| #define | SQUARE_WIDTH 40 |
| Pixel width/height of one square. | |
| #define | NUMBER_OF_TETRIS_COLORS 6 |
| Number of colors. | |
| #define | BACKGROUND_COLOR ((unsigned int) 0x656565) |
| Background color (can be any HEX color) | |
Sound effects. | |
Set ENABLE_SOUND_EFFECTS to 1 to enable sound effects. Sound effects may not be synchronized at all time. | |
| #define | ENABLE_SOUND_EFFECTS 0 |
| Whether sound effects should be enabled. | |
Module that allows some configurations of the game.
1.8.17