#ifndef CONST_H #define CONST_H #ifdef _WIN32 #pragma once #endif #define STEAM_PARM "-steam" #define AUTO_RESTART "-autoupdate" #define INVALID_STEAM_TICKET "Invalid STEAM UserID Ticket\n" #define INVALID_STEAM_VACBANSTATE "VAC banned from secure server\n" #define INVALID_STEAM_LOGGED_IN_ELSEWHERE "This Steam account is being used in another location\n" #define INVALID_STEAM_LOGON_NOT_CONNECTED "Client not connected to Steam\n" #define INVALID_STEAM_LOGON_TICKET_CANCELED "Client left game (Steam auth ticket has been canceled)\n" #define CLIENTNAME_TIMED_OUT "%s timed out" #define DEFAULT_TICK_INTERVAL (0.015) #define MINIMUM_TICK_INTERVAL (0.001) #define MAXIMUM_TICK_INTERVAL (0.1) #define ABSOLUTE_PLAYER_LIMIT 255 #define ABSOLUTE_PLAYER_LIMIT_DW ( (ABSOLUTE_PLAYER_LIMIT/32) + 1 ) #define MAX_PLAYER_NAME_LENGTH 32 #ifdef _X360 #define MAX_PLAYERS_PER_CLIENT XUSER_MAX_COUNT #else #define MAX_PLAYERS_PER_CLIENT 1 #endif #define MAX_MAP_NAME 96 #define MAX_MAP_NAME_SAVE 32 #define MAX_DISPLAY_MAP_NAME 32 #define MAX_NETWORKID_LENGTH 64 #define SP_MODEL_INDEX_BITS 13 #define MAX_EDICT_BITS 11 #define MAX_EDICTS (1<