float min[3];
float max[3];
float dist;
- bool hint;
+ qboolean hint;
- bool Build(char *def);
+ qboolean Build(char *def);
};
class CPortals {
void FixColors();
- char fn[PATH_MAX];
+ char fn[_MAX_PATH];
int zbuffer;
int polygons;
int lines;
- bool show_3d;
- bool aa_3d;
- bool fog;
+ qboolean show_3d;
+ qboolean aa_3d;
+ qboolean fog;
COLORREF color_3d;
float width_3d; // in 8'ths
float fp_color_3d[4];
float fp_color_fog[4];
float trans_3d;
float clip_range;
- bool clip;
+ qboolean clip;
- bool show_2d;
- bool aa_2d;
+ qboolean show_2d;
+ qboolean aa_2d;
COLORREF color_2d;
float width_2d; // in 8'ths
float fp_color_2d[4];
CBspPortal *portal;
int *portal_sort;
- bool hint_flags;
+ qboolean hint_flags;
// CBspNode *node;
unsigned int node_count;
protected:
int refCount;
+#ifdef _WIN32
+ CRITICAL_SECTION protect;
+#endif
public: