blob: b6de4d8399e302fde4ce5e8767be967de4b552ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* Copyright (c) 2019-2020, yzrh <yzrh@noema.org>
*
* SPDX-License-Identifier: Apache-2.0
*/
typedef struct {
SDL_Texture *texture;
SDL_Rect pos;
bool cache;
} Snake_Text;
typedef enum {
SNAKE_FOREGROUND,
SNAKE_BACKGROUND,
SNAKE_BACKGROUND_SHADE,
SNAKE_RED,
SNAKE_GREEN,
SNAKE_BLUE,
SNAKE_YELLOW,
SNAKE_MAGENTA,
SNAKE_CYAN,
SNAKE_WHITE,
SNAKE_BLACK
} Snake_Colour;
|