xTetris-Game
Loading...
Searching...
No Matches
src
struct.h
Go to the documentation of this file.
1
#ifndef STRUCT_H
2
#define STRUCT_H
3
4
5
struct
Cell
{
6
int
status
;
7
};
8
typedef
struct
Cell
**
BoardPtr
;
9
10
struct
Move
{
11
int
piece
;
12
int
rotation
;
13
int
row
;
14
int
col
;
15
};
16
typedef
struct
Move
*
MovePtr
;
17
18
struct
TetrominoCell
{
19
int
status
;
20
};
21
typedef
struct
TetrominoCell
****
TetrominoPtr
;
22
23
24
#endif
TetrominoPtr
struct TetrominoCell **** TetrominoPtr
Definition
struct.h:21
BoardPtr
struct Cell ** BoardPtr
Definition
struct.h:8
MovePtr
struct Move * MovePtr
Definition
struct.h:16
Cell
Definition
struct.h:5
Cell::status
int status
Definition
struct.h:6
Move
Definition
struct.h:10
Move::row
int row
Definition
struct.h:13
Move::rotation
int rotation
Definition
struct.h:12
Move::piece
int piece
Definition
struct.h:11
Move::col
int col
Definition
struct.h:14
TetrominoCell
Definition
struct.h:18
TetrominoCell::status
int status
Definition
struct.h:19
Generated by
1.10.0