Crossfire Client, Branch  R11627
cconfig.h
Go to the documentation of this file.
00001 /*
00002  * static char *rcsid_commands_c =
00003  *   "$Id: cconfig.h 6899 2007-08-09 07:10:37Z mwedel $";
00004  */
00005 /*
00006     Crossfire client, a client program for the crossfire program.
00007 
00008     Copyright (C) 2001 Mark Wedel & Crossfire Development Team
00009 
00010     This program is free software; you can redistribute it and/or modify
00011     it under the terms of the GNU General Public License as published by
00012     the Free Software Foundation; either version 2 of the License, or
00013     (at your option) any later version.
00014 
00015     This program is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00018     GNU General Public License for more details.
00019 
00020     You should have received a copy of the GNU General Public License
00021     along with this program; if not, write to the Free Software
00022     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00023 
00024     The author can be reached via e-mail to crossfire-devel@real-time.com
00025 */
00026 
00027 /* This contains various configuration options.  Most all of thse
00028  * can be overridden via command line options, but setting them
00029  * here can provide nice defaults.
00030  */
00031 
00032 /* This is how often the client checks for X events, as well as how often
00033  * it performs animations (or will).  This value can be most anything.
00034  * IT is only configurable because the exact value it needs to be set to
00035  * has to be figured out.  This value is in microseconds (100,000 microseconds=
00036  * 0.1 seconds
00037  */
00038 
00039 #define MAX_TIME 100000
00040 
00041 
00042 /* This is the default port to connect to the server with. */
00043 #define EPORT 13327
00044 
00045 /* This is the default port to connect to the server with in string form. */
00046 #define DEFPORT "13327"
00047 
00048 /* Set to default server you want the client to connect to.  This can
00049  * be especially useful if your installing the client binary on a LAN
00050  * and want people to just be able to run it without options and connect
00051  * to some server.  localhost is the default.  Remember to use double
00052  * quotes around your server name.
00053  * Comment this out - by default, things connect to metaserver so
00054  * this is normally ignored in any case.  If this is not commented out,
00055  * the the client will automatically try to connect to this - useful
00056  * if inside a firewall and have a local server.  Using -server ""
00057  * can then bypass this setting
00058  */
00059 
00060 /* #define SERVER "localhost" */
00061 
00062 /* Server to contact to get information about crossfire servers.
00063  * This is not the server you play on, but rather a central repository
00064  * that lists the servers.
00065  * METASERVER controls default behaviour (same as -metaserver options) -
00066  * if set to TRUE, we try to get metaserver information, if false, we do
00067  * not.  If you are behind a firewall, you probably want this off by
00068  * default.
00069  * METASERVER2 is controlled via --disable-metaserver2 when configure
00070  * is run - by default, it is enabled.
00071  */
00072 
00073 #define META_SERVER "crossfire.real-time.com"
00074 #define META_PORT   13326
00075 #define METASERVER  TRUE
00076 
00077 
00078 /* If you uncomment this, the gtk client will dump information about
00079  * how long it took to update the display.  If your having
00080  * performance problems, this may be a more useful way to see
00081  * what your performance really is like.  The data will be dumped
00082  * to stderr, with timings in microseconds.  A general rule of thumb
00083  * is you want the update times to be less than 100,000 microseconds
00084  */
00085 /*
00086 #define TIME_MAP_REDRAW
00087 */