/* * PVVMUD a 3D MUD * Copyright (C) 1998-1999 Programvareverkstedet (pvv@pvv.org) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #ifndef _PVVMUD_H #define _PVVMUD_H #include "mudtypes.h" #define cdebug cerr // Added to handle history-system in console #define KEY_UP 120 #define KEY_DOWN 121 #ifndef MAX #define MAX(a,b) (a > b ? a : b) #endif #ifndef MIN #define MIN(a,b) (a < b ? a : b) #endif // PROTOCOL_VERSION 0xAABB give Version AA.BB #define PROTOCOL_VERSION 0x0001 // Version 0.1 #define SERVER_CLIENT_PORT 4242 #define SERVER_GOS_PORT 4243 #define SERVER_WORLDSRV_PORT 4244 #define GOS_CLIENT_PORT 4252 #define GOS_SERVER_PORT 4253 #define WORLDSRV_CLIENT_PORT 4262 #define WORLDSRV_SERVER_PORT 4263 #ifdef PVVMUDCLIENT #include "client.H" #endif // PVVMUDCLIENT // Define this if you like all your communication to be crypted // #define CRYPTO #endif /* _PVVMUD_H */