Go to the documentation of this file.
33 #ifndef TETRIS_CONFIG_H
34 #define TETRIS_CONFIG_H
42 #include <SDL2/SDL_scancode.h>
65 #define USER_NAME_1 "tetrisdominator420"
66 #define USER_NAME_2 "xXTetrisGodXx"
67 #define USER_NAME_3 "iplaytetrislul"
68 #define USER_NAME_4 "isuckattetris69"
69 #define USER_NAME_5 "xX360NOSCOPEXx"
70 #define USER_NAME_6 "fischlipp"
71 #define DEFAULT_USER_NAME USER_NAME_1 // If the player does not select a user name, the default one is given
81 #define SQUARE_WIDTH 40
82 #define NUMBER_OF_TETRIS_COLORS 6
83 #define BACKGROUND_COLOR ((unsigned int) 0x656565)
92 #define ENABLE_SOUND_EFFECTS 0
98 #define FALLING_SOUND "../resources/waveforms/user_waveforms/falling.wav"
99 #define GAME_OVER_SOUND "../resources/waveforms/user_waveforms/gameover.wav"
100 #define ROW_FULL_SOUND "../resources/waveforms/user_waveforms/linefull.wav"
101 #define THUMP_SOUND "../resources/waveforms/user_waveforms/thump.wav"
108 #define BLUE_SQUARE "../resources/images/blue_square.png"
109 #define GREEN_SQUARE "../resources/images/green_square.png"
110 #define YELLOW_SQUARE "../resources/images/yellow_square.png"
111 #define RED_SQUARE "../resources/images/red_square.png"
112 #define LIGHT_BLUE_SQUARE "../resources/images/light_blue_square.png"
113 #define PURPLE_SQUARE "../resources/images/purple_square.png"
114 #define GREY_SQUARE "../resources/images/grey_square.png"
119 #endif // TETRIS_CONFIG_H
A simple interface to play wav files using the SDL2 Mixer library.
Small verbose utilities for showing FreeRTOS functionality.
Utilities required by other TUM_XXX files.
A couple of drop in replacements for printf and fprintf to be used for thread safe printing when usin...
Manages fonts used in TUM Draw.
File containing some configuration for the FreeRTOS Emulator.
Utilities required by other TUM_XXX files.
File containing all global enumerations.