FreeRTOS Tetris
Typedefs | Enumerations
enum.h File Reference

File containing all global enumerations. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum game_mode game_mode_t
 Game modes supported by the "opponent".
 
typedef enum rotation rotation_t
 Rotations.
 
typedef enum color color_t
 Tetromino colors.
 
typedef enum tetromino_type tetromino_type_t
 Tetromino types.
 
typedef enum player_mode player_mode_t
 Player modes.
 

Enumerations

enum  game_mode {
  NO_MODE = 0, FAIR = 1, EASY = 2, HARD = 3,
  RANDOM = 4, DETERMINISTIC = 5
}
 Game modes supported by the "opponent". More...
 
enum  rotation { NO_ROTATION = 0, LEFT = 1, RIGHT = 2 }
 Rotations. More...
 
enum  color {
  NO_COLOR = 0, TETRIS_BLUE = 1, TETRIS_GREEN = 2, TETRIS_YELLOW = 3,
  TETRIS_RED = 4, TETRIS_LIGHT_BLUE = 5, TETRIS_PURPLE = 6
}
 Tetromino colors.
 
enum  tetromino_type {
  NO_TYPE = 0, S = 1, Z = 2, J = 3,
  L = 4, T = 5, O = 6, I = 7
}
 Tetromino types.
 
enum  player_mode { NO_PLAYER = 0, SINGLE_PLAYER = 1, MULTI_PLAYER = 2 }
 Player modes.
 

Detailed Description

File containing all global enumerations.

Authors
Philipp Karg (phili.nosp@m.pp.k.nosp@m.arg@t.nosp@m.um.d.nosp@m.e)
Date
08.04.2022