blob: 9153d6e78efa8c0c752d71f0f428fb99ff2371e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#ifndef DATA_LOCALGAME_H
#define DATA_LOCALGAME_H
#include "data_types.h"
typedef struct {
SDL_Rect screen;
} gameConfig_t;
typedef struct {
SDL_Surface *screen, *terrain, *stencil;
SDL_Rect viewport; // Viewport top-left corner coords in screen
int dirtRectsCount; // Dirt rectangle to refresh for current tick
SDL_Rect *dirtRects;
} gameGraphics_t;
typedef struct {
id_t levelPack;
id_t level;
} serverParams_t;
#endif /*DATA_LOCALGAME_H*/
|