-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdef_display.h
74 lines (64 loc) · 1.33 KB
/
def_display.h
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
/*
* def_display.h
* tractionedge
*
* Created by Steven Hamilton on 24/03/10.
* Copyright 2010 scorch.org. All rights reserved.
*
*/
#ifndef __DEF_DISPLAY_H__
#define __DEF_DISPLAY_H__
//display
float const FRAMERATE = 0.02f;
int const MAPWIDTH = 40;
int const MAPHEIGHT = 30;
int const SCREENWIDTH = 800;
int const SCREENHEIGHT = 600;
int const TILEWIDTH = 16;
int const TILEHEIGHT = 16;
int const TEXTPADDING = 4;
int const STORYTEXTWIDTH = 64;
int const CONSOLEPANELHEIGHT = 6;
int const MASTERTILEIMAGEWIDTH = 160;
int const MASTERTILEIMAGEHEIGHT = 160;
int const COLORBLACK = 0;
int const COLORDARKGREY = 1;
int const COLORMIDDLEGREY = 2;
int const COLORLIGHTGREY = 3;
int const COLORRED = 4;
int const COLORDARKRED = 5;
int const COLORGREEN = 6;
int const COLORDARKGREEN = 7;
int const COLORYELLOW = 8;
int const COLORORANGE = 9;
int const COLORBROWN = 10;
int const COLORBLUE = 11;
int const COLORCYAN = 12;
int const COLORMAGENTA = 13;
int const COLORPURPLE = 14;
int const COLORWHITE = 15;
//fonts
int const FONTSIZELARGE = 24;
int const FONTSIZEMEDIUM = 20;
int const FONTSIZESMALL = 16;
int const FONTSIZESMALLX = 10;
int const FONTSIZETINY = 12;
enum font_t{
TITLE,
BODYTINY,
BODYSMALL,
BODYMEDIUM,
BODYLARGE
};
enum fontStyle_t{
REGULAR,
BOLD,
ITALIC
};
//UI
enum uiViewType_t{
BASECHAR,
PREPCHAR,
DETAIL
};
#endif