fix compile against newer giflib
[rofl0r-obeditor.git] / src / levels__globals.h
blob19be10b2405751ab503aefb000658ad4ac254ccb
1 /*
2 * le_globals.h
4 * Created on: 27 févr. 2009
5 * Author: pat
6 */
8 #ifndef LE_GLOBALS_H_
9 #define LE_GLOBALS_H_
11 class wxWindow;
12 bool FileLevels_Reload( wxWindow* _parent );
14 class ob_StagesSet;
15 extern ob_StagesSet** levels_sets;
16 extern size_t nb_set;
17 extern ob_StagesSet* curr_set;
19 class ob_StageDeclaration;
20 extern ob_StageDeclaration** stage_list;
21 extern size_t nb_stage;
22 extern ob_StageDeclaration* curr_stage_declaration;
23 extern obFileStage* curr_stageFile;
24 extern int ob_screen_w;
25 extern int ob_screen_h;
27 //-----------------------------------------------------------------
28 // The possibles selection states of an object
29 enum
31 SEL_OFF = 0,
32 SEL_ON = 1,
33 SEL_HIGHLIGHTED = 2,
34 SEL_MORE = 3,
35 SEL_MAX = 3,
38 //-----------------------------------------------------------------
39 // The entries for property pages
40 enum
42 PG_TEXT = 0,
43 PG_ENT_COORDS = 1,
44 PG_ENT_INFOS = 2,
45 PG_ENT_ITEMHOLD = 3,
46 PG_MORE = 4,
47 PG_WAIT = 5,
48 PG_BLOCKADE = 6,
49 PG_SCROLLZ = 7,
50 PG_GROUP = 8,
51 PG_LIGHT = 9,
52 PG_CANJOIN = 10,
53 PG_NOJOIN = 11,
54 PG_PL_SPAWNS = 12,
55 PG_WALLS = 13,
58 // Map Zoom Factor
59 extern float MAP_ZF;
60 extern size_t SCENE_MAP_HEIGHT;
62 #endif /* LE_GLOBALS_H_ */