mirror of
https://github.com/nzp-team/vhlt.git
synced 2024-11-28 06:42:25 +00:00
106 lines
2.3 KiB
C
106 lines
2.3 KiB
C
#ifndef MESSAGES_H__
|
|
#define MESSAGES_H__
|
|
#include "cmdlib.h" //--vluzacn
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif
|
|
|
|
typedef struct
|
|
{
|
|
const char* title;
|
|
const char* text;
|
|
const char* howto;
|
|
}
|
|
MessageTable_t;
|
|
|
|
typedef enum
|
|
{
|
|
assume_first = 0,
|
|
|
|
// generic
|
|
assume_NoMemory,
|
|
assume_ValidPointer,
|
|
assume_BadWorkcount,
|
|
|
|
// qcsg
|
|
assume_MISSING_BRACKET_IN_TEXTUREDEF,
|
|
assume_PLANE_WITH_NO_NORMAL,
|
|
assume_BRUSH_WITH_COPLANAR_FACES,
|
|
assume_BRUSH_OUTSIDE_WORLD,
|
|
assume_MIXED_FACE_CONTENTS,
|
|
assume_BRUSH_NOT_ALLOWED_IN_WORLD,
|
|
assume_BRUSH_NOT_ALLOWED_IN_ENTITY,
|
|
assume_NO_VISIBILE_BRUSHES,
|
|
assume_ONLY_ORIGIN,
|
|
assume_COULD_NOT_FIND_WAD,
|
|
assume_MAX_TRIANGLES,
|
|
assume_MAX_SWITCHED_LIGHTS,
|
|
assume_MAX_TEXFILES,
|
|
|
|
// qbsp
|
|
assume_LEAK,
|
|
assume_MAX_LEAF_FACES,
|
|
assume_MAX_WEDGES,
|
|
assume_MAX_WVERTS,
|
|
assume_MAX_SUPERFACEEDGES,
|
|
assume_EmptySolid,
|
|
|
|
// vis
|
|
assume_LEAF_PORTAL_SAW_INTO_LEAF,
|
|
assume_MAX_PORTALS_ON_LEAF,
|
|
assume_VALID_NETVIS_STATE,
|
|
|
|
// qrad
|
|
assume_MAX_TEXLIGHTS,
|
|
assume_MAX_PATCHES,
|
|
assume_TransferError,
|
|
assume_BadSurfaceExtents,
|
|
assume_MalformedTextureFace,
|
|
assume_NoLights,
|
|
assume_BadLightType,
|
|
assume_MAX_SINGLEMAP,
|
|
|
|
// common
|
|
assume_THREAD_ERROR,
|
|
assume_MAX_MAP_PLANES,
|
|
assume_MAX_MAP_TEXTURES,
|
|
assume_MAX_MAP_MIPTEX,
|
|
assume_MAX_MAP_TEXINFO,
|
|
assume_MAX_MAP_SIDES,
|
|
assume_MAX_MAP_BRUSHES,
|
|
assume_MAX_MAP_ENTITIES,
|
|
assume_MAX_ENGINE_ENTITIES,
|
|
assume_MAX_MAP_MODELS,
|
|
assume_MAX_MAP_VERTS,
|
|
assume_MAX_MAP_EDGES,
|
|
assume_MAX_MAP_CLIPNODES,
|
|
assume_MAX_MAP_MARKSURFACES,
|
|
assume_MAX_MAP_FACES,
|
|
assume_MAX_MAP_SURFEDGES,
|
|
assume_MAX_MAP_NODES,
|
|
assume_COMPRESSVIS_OVERFLOW,
|
|
assume_DECOMPRESSVIS_OVERFLOW,
|
|
#ifdef ZHLT_MAX_MAP_LEAFS
|
|
assume_MAX_MAP_LEAFS,
|
|
#endif
|
|
// AJM: added in
|
|
assume_TOOL_CANCEL,
|
|
assume_GENERIC,
|
|
// KGP: added
|
|
assume_MAX_MAP_LIGHTING,
|
|
assume_MAX_INTERNAL_MAP_PLANES,
|
|
#ifdef HLRAD_TEXTURE
|
|
assume_COULD_NOT_LOCATE_WAD,
|
|
#endif
|
|
#ifdef ZHLT_64BIT_FIX
|
|
assume_NO_EXTENT_FILE,
|
|
#endif
|
|
|
|
assume_last
|
|
}
|
|
assume_msgs;
|
|
|
|
extern const MessageTable_t* GetAssume(assume_msgs id);
|
|
|
|
#endif // commonc MESSAGES_H__
|