-
Notifications
You must be signed in to change notification settings - Fork 224
/
sprites.h
125 lines (118 loc) · 3.73 KB
/
sprites.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
//////////////////////////////////////////////////////////////////////
// This file is part of Remere's Map Editor
//////////////////////////////////////////////////////////////////////
// Remere's Map Editor is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Remere's Map Editor is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//////////////////////////////////////////////////////////////////////
#ifndef RME_SPRITES_H_
#define RME_SPRITES_H_
enum {
EDITOR_SPRITE_SELECTION_MARKER = -1000,
EDITOR_SPRITE_BRUSH_CD_1x1,
EDITOR_SPRITE_BRUSH_CD_3x3,
EDITOR_SPRITE_BRUSH_CD_5x5,
EDITOR_SPRITE_BRUSH_CD_7x7,
EDITOR_SPRITE_BRUSH_CD_9x9,
EDITOR_SPRITE_BRUSH_CD_15x15,
EDITOR_SPRITE_BRUSH_CD_19x19,
EDITOR_SPRITE_BRUSH_SD_1x1,
EDITOR_SPRITE_BRUSH_SD_3x3,
EDITOR_SPRITE_BRUSH_SD_5x5,
EDITOR_SPRITE_BRUSH_SD_7x7,
EDITOR_SPRITE_BRUSH_SD_9x9,
EDITOR_SPRITE_BRUSH_SD_15x15,
EDITOR_SPRITE_BRUSH_SD_19x19,
EDITOR_SPRITE_OPTIONAL_BORDER_TOOL,
EDITOR_SPRITE_ERASER,
EDITOR_SPRITE_PZ_TOOL,
EDITOR_SPRITE_PVPZ_TOOL,
EDITOR_SPRITE_NOLOG_TOOL,
EDITOR_SPRITE_NOPVP_TOOL,
EDITOR_SPRITE_DOOR_NORMAL,
EDITOR_SPRITE_DOOR_LOCKED,
EDITOR_SPRITE_DOOR_MAGIC,
EDITOR_SPRITE_DOOR_QUEST,
EDITOR_SPRITE_WINDOW_NORMAL,
EDITOR_SPRITE_WINDOW_HATCH,
EDITOR_SPRITE_SELECTION_GEM,
EDITOR_SPRITE_DRAWING_GEM,
EDITOR_SPRITE_SPAWNS,
EDITOR_SPRITE_HOUSE_EXIT,
EDITOR_SPRITE_PICKUPABLE_ITEM,
EDITOR_SPRITE_MOVEABLE_ITEM,
EDITOR_SPRITE_PICKUPABLE_MOVEABLE_ITEM,
EDITOR_SPRITE_LAST
};
static const char* selection_marker_xpm16x16[] = {
// columns rows colors chars-per-pixel
"16 16 2 1",
" c None",
". c #000080",
// pixels
" . . . . . . . .",
". . . . . . . . ",
" . . . . . . . .",
". . . . . . . . ",
" . . . . . . . .",
". . . . . . . . ",
" . . . . . . . .",
". . . . . . . . ",
" . . . . . . . .",
". . . . . . . . ",
" . . . . . . . .",
". . . . . . . . ",
" . . . . . . . .",
". . . . . . . . ",
" . . . . . . . .",
". . . . . . . . "
};
static const char* selection_marker_xpm32x32[] = {
// columns rows colors chars-per-pixel
"32 32 2 1",
" c None",
". c #000080",
// pixels
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . ",
" . . . . . . . . . . . . . . . .",
". . . . . . . . . . . . . . . . "
};
#endif