]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - plugins/surface_quake2/surfaceflagsdialog_quake2.h
error check and bail if permission denied during gamepack install
[xonotic/netradiant.git] / plugins / surface_quake2 / surfaceflagsdialog_quake2.h
1 /*
2    Copyright (C) 1999-2007 id Software, Inc. and contributors.
3    For a list of contributors, see the accompanying CONTRIBUTORS file.
4
5    This file is part of GtkRadiant.
6
7    GtkRadiant is free software; you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation; either version 2 of the License, or
10    (at your option) any later version.
11
12    GtkRadiant is distributed in the hope that it will be useful,
13    but WITHOUT ANY WARRANTY; without even the implied warranty of
14    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    GNU General Public License for more details.
16
17    You should have received a copy of the GNU General Public License
18    along with GtkRadiant; if not, write to the Free Software
19    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20  */
21
22 #ifndef _SURFACEFLAGSDIALOG_QUAKE2_H
23   #define _SURFACEFLAGSDIALOG_QUAKE2_H
24
25
26 #define QUAKE2_SURF_LIGHT              0x1
27 #define QUAKE2_SURF_SLICK              0x2
28 #define QUAKE2_SURF_SKY                0x4
29 #define QUAKE2_SURF_WARP               0x8
30 #define QUAKE2_SURF_TRANS33     0x10
31 #define QUAKE2_SURF_TRANS66     0x20
32 #define QUAKE2_SURF_FLOWING     0x40
33 #define QUAKE2_SURF_NODRAW             0x80
34 #define QUAKE2_SURF_HINT               0x100
35 #define QUAKE2_SURF_SKIP               0x200
36
37
38 #define QUAKE2_CONTENTS_SOLID       0x1
39 #define QUAKE2_CONTENTS_WINDOW      0x2
40 #define QUAKE2_CONTENTS_AUX     0x4
41 #define QUAKE2_CONTENTS_LAVA        0x8
42 #define QUAKE2_CONTENTS_SLIME       0x10
43 #define QUAKE2_CONTENTS_WATER       0x20
44 #define QUAKE2_CONTENTS_MIST        0x40
45
46 #define QUAKE2_CONTENTS_AREAPORTAL  0x8000
47 #define QUAKE2_CONTENTS_PLAYERCLIP  0x10000
48 #define QUAKE2_CONTENTS_MONSTERCLIP    0x20000
49 #define QUAKE2_CONTENTS_CURRENT_0   0x40000
50 #define QUAKE2_CONTENTS_CURRENT_90  0x80000
51 #define QUAKE2_CONTENTS_CURRENT_180 0x100000
52 #define QUAKE2_CONTENTS_CURRENT_270 0x200000
53 #define QUAKE2_CONTENTS_CURRENT_UP  0x400000
54 #define QUAKE2_CONTENTS_CURRENT_DOWN    0x800000
55 #define QUAKE2_CONTENTS_ORIGIN      0x1000000
56
57 #define QUAKE2_CONTENTS_DETAIL      0x8000000
58 #define QUAKE2_CONTENTS_TRANSLUCENT 0x10000000
59 #define QUAKE2_CONTENTS_LADDER      0x20000000
60 /*
61    extern GtkWidget *notebook1;
62
63    extern  GtkWidget *surface_lightbutton;
64    extern  GtkWidget *surface_slickbutton;
65    extern  GtkWidget *surface_skybutton;
66    extern  GtkWidget *surface_warpbutton;
67    extern  GtkWidget *surface_trans33button;
68    extern  GtkWidget *surface_trans66button;
69    extern  GtkWidget *surface_flowingbutton;
70    extern  GtkWidget *surface_nodrawbutton;
71    extern  GtkWidget *surface_hintbutton;
72    extern  GtkWidget *surface_skipbutton;
73
74    extern GtkWidget *content_solidbutton;
75    extern GtkWidget *content_windowbutton;
76    extern GtkWidget *content_auxbutton;
77    extern GtkWidget *content_lavabutton;
78    extern GtkWidget *content_slimebutton;
79    extern GtkWidget *content_waterbutton;
80    extern GtkWidget *content_mistbutton;
81    extern GtkWidget *content_areaportalbutton;
82    extern GtkWidget *content_playerclipbutton;
83    extern GtkWidget *content_monsterclipbutton;
84    extern GtkWidget *content_current0button;
85    extern GtkWidget *content_current90button;
86    extern GtkWidget *content_current180button;
87    extern GtkWidget *content_current270button;
88    extern GtkWidget *content_currentUPbutton;
89    extern GtkWidget *content_currentDOWNbutton;
90    extern GtkWidget *content_originbutton;
91    extern GtkWidget *content_detailbutton;
92    extern GtkWidget *content_translucentbutton;
93    extern GtkWidget *content_ladderbutton;
94
95    extern  GtkWidget *surfacebutton;
96    extern  GtkWidget *contentbutton;
97
98    extern  GtkWidget *value_entry;
99    extern  gboolean setup_buttons;
100
101    extern  int working_surface_flags;
102    extern  int surface_mask;
103    extern  int working_content_flags;
104    extern  int content_mask;
105    extern  int working_value;
106  */
107
108 #endif // _SURFACEFLAGSDIALOG_QUAKE2_H