Crossfire Client, Branches
R11627
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
cconfig.h
Go to the documentation of this file.
1
/*
2
* static char *rcsid_commands_c =
3
* "$Id: cconfig.h 6899 2007-08-09 07:10:37Z mwedel $";
4
*/
5
/*
6
Crossfire client, a client program for the crossfire program.
7
8
Copyright (C) 2001 Mark Wedel & Crossfire Development Team
9
10
This program is free software; you can redistribute it and/or modify
11
it under the terms of the GNU General Public License as published by
12
the Free Software Foundation; either version 2 of the License, or
13
(at your option) any later version.
14
15
This program is distributed in the hope that it will be useful,
16
but WITHOUT ANY WARRANTY; without even the implied warranty of
17
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
GNU General Public License for more details.
19
20
You should have received a copy of the GNU General Public License
21
along with this program; if not, write to the Free Software
22
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23
24
The author can be reached via e-mail to crossfire-devel@real-time.com
25
*/
26
27
/* This contains various configuration options. Most all of thse
28
* can be overridden via command line options, but setting them
29
* here can provide nice defaults.
30
*/
31
32
/* This is how often the client checks for X events, as well as how often
33
* it performs animations (or will). This value can be most anything.
34
* IT is only configurable because the exact value it needs to be set to
35
* has to be figured out. This value is in microseconds (100,000 microseconds=
36
* 0.1 seconds
37
*/
38
39
#define MAX_TIME 100000
40
41
42
/* This is the default port to connect to the server with. */
43
#define EPORT 13327
44
45
/* This is the default port to connect to the server with in string form. */
46
#define DEFPORT "13327"
47
48
/* Set to default server you want the client to connect to. This can
49
* be especially useful if your installing the client binary on a LAN
50
* and want people to just be able to run it without options and connect
51
* to some server. localhost is the default. Remember to use double
52
* quotes around your server name.
53
* Comment this out - by default, things connect to metaserver so
54
* this is normally ignored in any case. If this is not commented out,
55
* the the client will automatically try to connect to this - useful
56
* if inside a firewall and have a local server. Using -server ""
57
* can then bypass this setting
58
*/
59
60
/* #define SERVER "localhost" */
61
62
/* Server to contact to get information about crossfire servers.
63
* This is not the server you play on, but rather a central repository
64
* that lists the servers.
65
* METASERVER controls default behaviour (same as -metaserver options) -
66
* if set to TRUE, we try to get metaserver information, if false, we do
67
* not. If you are behind a firewall, you probably want this off by
68
* default.
69
* METASERVER2 is controlled via --disable-metaserver2 when configure
70
* is run - by default, it is enabled.
71
*/
72
73
#define META_SERVER "crossfire.real-time.com"
74
#define META_PORT 13326
75
#define METASERVER TRUE
76
77
78
/* If you uncomment this, the gtk client will dump information about
79
* how long it took to update the display. If your having
80
* performance problems, this may be a more useful way to see
81
* what your performance really is like. The data will be dumped
82
* to stderr, with timings in microseconds. A general rule of thumb
83
* is you want the update times to be less than 100,000 microseconds
84
*/
85
/*
86
#define TIME_MAP_REDRAW
87
*/
crossfire-code
client
branches
1.12
common
cconfig.h
Generated on Fri Nov 16 2018 02:05:34 for Crossfire Client, Branches by
1.8.6