blob: b740b2767505c9af40da0bb983de11da1f19381c (
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
25
|
#ifndef DATA_LOCALGAME_H
#define DATA_LOCALGAME_H
#include "data_types.h"
#define SCREEN_BPP 24
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*/
|