FreeRTOS Tetris
Macros | Functions | Variables
game.h File Reference

Header file for game.c. More...

#include "tetrisConfig.h"
Include dependency graph for game.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRINT_TASK_ERROR(task)   PRINT_ERROR("Failed to print task ##task");
 Print error message for task. More...
 

Functions

int iGameInit ()
 Initialize the game. More...
 

Variables

TaskHandle_t MainMenuTask
 Task for the Main Menu Task
 
TaskHandle_t GameTask
 Task for the Game Task
 
TaskHandle_t PauseTask
 Task for the Pause Task
 
TaskHandle_t ScoreTask
 Task for the Score Task
 
QueueHandle_t ConnectionQueue
 Queue for the connection status
 
QueueHandle_t GameModeQueue
 Queue for the game mode
 
QueueHandle_t TetrominoQueue
 Queue for receiving tetromino types from opponent
 
SemaphoreHandle_t ScreenLock
 Semaphore for locking the screen
 
SemaphoreHandle_t DrawSignal
 Signal for drawing
 
SemaphoreHandle_t ResetGameSignal
 Signal for resetting the game
 
SemaphoreHandle_t ResetUDPSignal
 Signal for resetting the UDP socket
 
SemaphoreHandle_t NoConnectionSignal
 Signal if the binary is not connected
 

Detailed Description

Header file for game.c.

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