CFLAGS in XBlast 2.10.2
Network debugging
- DEBUG_SERVER
server.c debugging, track server network actions (server side)
- DEBUG_CLIENT
client.c debugging, track client network actions (client side)
- DEBUG_GAME
game[_*].c debugging, tracks general events during running network game (server/client side)
- DEBUG_ACTION
tracks action packets during running network game (client side)
- DEBUG_STREAM
com_stream.c debugging, track general tcp connection handling (server/client side)
- DEBUG_S2C
com_to_client.c debugging, track server tcp communication to client (server side)
- DEBUG_C2S
com_to_server.c debugging, track client tcp communication to server (client side)
- DEBUG_DGRAM
com_dgram.c debugging, track shared client/server ping/action transmission (server/client side)
- DEBUG_D2C
com_dg_client.c debugging, track server ping/action transmission (server side)
- DEBUG_D2S
com_dg_server.c debugging, track client ping/action transmission (client side)
- DEBUG_BROWSE
com_browse.c debugging, track shared client/server/central game browsing (server/client side)
- DEBUG_NEWGAME
com_newgame.c debugging, track server game notification to central (server side)
- DEBUG_REPLY
com_reply.c debugging, track server responses to LAN searches (server side)
- DEBUG_QUERY
com_query.c debugging, track client game searching, to central or LAN (client side)
- DEBUG_SOCKET
w32/x11_socket.c debugging, track low-level socket operations (client/server side)
- DEBUG_NAT
force clients to consider themselves behind NAT (client side)
- DEBUG_NETWORK
network.c debugging, track shared server/client data (server/client side)
- DEBUG_TELE
net_tele.c, net_dgram.c: show actual data of network transmissions
- DEBUG_UDP
let datagrams fail randomly, for udp debugging
- DEBUG_LISTEN
tracking events on listening tcp (server side)
- DEBUG_USER
tracking server/client tcp requests to central (server/client side)
- DEBUG_X2C
com_to_central.c debugging, track server/client tcp transmissions to central (server/client side)
- DEBUG_C2X
com_from_central.c debugging, track central tcp transmissions to server/client (central side)
- DEBUG_C2B
com_central.c debugging, track central udp transmissions to server/client (central side)
- DEBUG_BROWSE
com_browse.c debugging, track general game browsing communication
- DEBUG_COMM
track changes to list of active communication objects
- DEBUG_CENTRAL
track general central activity (central side)
- DEBUG_VERSION
show version data exchange
- DEBUG_CHAT
chat.c debugging
Other debugging
- DEBUG
makes Dbg_Output write global error messages to stderr
- DEBUG_ALLOC
debug memory allocation
- DEBUG_XBEVENT
event.c debugging, track generation of xblast events
- DEBUG_RANDOM
random.h: use GameRandomNumber2, otherwise GameRandomNumber1
- DEBUG_MAP
map.c debugging (needs DEBUG as well)
- DEBUG_TEAM
menu_game.c, doesn't seem to have an effect currently
- DEBUG_EVENT
event.c: indicate when polling for events
- DEBUG_SHRINK
shrink.c debugging
- DEBUG_ATOM
x11/w32_atom.c debugging
- DEBUG_JOYSTICK
x11_joystick debugging
- DEBUG_FILE
track file acesses from xblast
- DEBUG_CONFIG
track xblast configurations
- DEBUG_LEVEL
verbose level parser
Options
- SMPF
allow up to 16 players in network games, has its own wait menu
- REQUESTS
extend menu code to allow/show requests in wait menu, experimental
- MINI_XBLAST
half-size xblast window in both dimensions
- OLDIFCODE
activate old interface code that chooses the *first* interface to send
a newgame signal from server to central. Normally default interface is
chosen.
- USER_MINPORT, USER_MAXPORT
define a local port range for client sockets. Careful with these
defines, there is almost no range checking currently.
Other flags
- SCORE
used in bomb.c, effect unknown
- WMS
use timeval.h and GAME_DATADIR=".", don't process command-line??
- W32
use windows.h, winsock2.h, long instead ssize_t
- WINMS32
in util.c: assume windows file system, otherwise unix/linux files
- CYG
not needed currently, indicates compilation in cygwin
- sparc
define u_int32_t
- HAVE_CONFIG
use config.h ??
- HAVE_FCNTL_H
use fcntl.h, otherwise sys/fcntl.h
- UNICODE
w32_mm.h: correctly define joyGetDevCaps
- IPV6
detect interfaces with ipv6 addresses