Qubet
1.0
The ultimate QGL addicting videogame!
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Pages
leveleditor_defines.h
1
// Qubet - Copyright (C) 2011
2
// Enrico Bacis
3
// Daniele Ciriello
4
5
// Qubet is free software: you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation, either version 3 of the License, or
8
// (at your option) any later version.
9
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
15
// You should have received a copy of the GNU General Public License
16
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
19
#ifndef LEVELEDITOR_DEFINES_H
20
#define LEVELEDITOR_DEFINES_H
21
22
// Names used in the LevelEditor View
23
// This name will be in the format 3xx
24
25
#define BUTTON_VOLUME 300
26
#define LENGTH_LABEL 301
27
#define WIDTH_LABEL 302
28
#define BUTTON_ENLARGE 303
29
#define BUTTON_REDUCE 304
30
#define BUTTON_LENGTHEN 305
31
#define BUTTON_SHORTEN 306
32
#define LENGTH_STRING 307
33
#define WIDTH_STRING 308
34
#define LABEL_SET_LEVEL_NAME 309
35
#define BUTTON_BACK 310
36
#define BUTTON_NEXT 311
37
#define FORM_SET_LEVEL_NAME 312
38
#define GRAVITY_LABEL 313
39
#define GRAVITY_STRING 314
40
#define BUTTON_GRAVITY_PLUS 315
41
#define BUTTON_GRAVITY_MINUS 316
42
#define BUTTON_SAVE 317
43
#define BUTTON_CANCEL 318
44
#define BUTTON_CLEAR 319
45
#define BUTTON_EXIT 320
46
47
#define TOOLBAR 325
48
#define OBSTACLE_0 330
49
#define OBSTACLE_1 331
50
#define OBSTACLE_2 332
51
#define OBSTACLE_3 333
52
53
#define MIN_LEVEL_LENGTH 150
54
#define MAX_LEVEL_LENGTH 900
55
56
#define MIN_LEVEL_WIDTH 3
57
#define MAX_LEVEL_WIDTH 15
58
59
#define MIN_GRAVITY 4
60
#define MAX_GRAVITY 20
61
62
#define TYPE_OBSTACLE 1
63
67
enum
{
// Primary Actions
68
DO_NOTHING,
69
INITIAL_MOVEMENT,
70
GO_TO_SET_NAME_VIEW,
71
GO_TO_SET_PARAM_VIEW,
72
GO_TO_SET_GRAVITY_VIEW,
73
GO_TO_EDITING_LEVEL_VIEW,
74
EXIT_TO_MENU,
75
76
// Secondary Actions
77
ROTATE_VOLUMECUBE
78
};
79
83
enum
{ SET_NAME_VIEW, SET_PARAM_VIEW, SET_GRAVITY_VIEW, EDITING_LEVEL_VIEW};
84
85
#endif // LEVELEDITOR_DEFINES_H
Generated on Mon Oct 27 2014 13:34:35 for Qubet by
1.8.6