summaryrefslogtreecommitdiff
path: root/src/d_net.c
AgeCommit message (Collapse)Author
2010-12-06Fix -solo-net to actually behave the same as other ports.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2198
2010-12-02Register servers with Internet master server.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2181
2010-11-30Remove "-debugfile" command line option and associated variable.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2179
2010-11-27Fix -timer / -avg options to work like Vanilla when playing demos.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2171
2010-05-01Silence printf(DEH_String(...)) warnings, by providing a DEH_printfSimon Howard
function that checks the format string is a valid replacement. Also add DEH_fprintf and DEH_snprintf functions to use throughout the code to do similar checking. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1927
2009-06-07Fix compile with FEATURE_MULTIPLAYER disabled.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1555
2007-08-09Don't crash when all players have quit.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 955
2007-06-30Don't crash if there is a multiplayer demo in the demo loop.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 928
2007-06-22Replace 35 with TICRATE where appropriate.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 925
2007-05-16Rejig net_cl_new_sync and drone to be in d_net.c instead ofSimon Howard
net_client.c. Fix FEATURE_MULTIPLAYER conditional compile. Move some function definitions in d_net.c into headers. Reorganise the Makefile to split out files into sections based on features. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 875
2006-12-24Javadoc-style self-documenting system for command line options.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 806
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-09-30Only allow drone mode when connecting.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 683
2006-09-29Working -left and -right options!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 681
2006-09-29Working drone clients!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 680
2006-05-29Add -autojoin command line parameter to automatically search a local LAN Simon Howard
for a server and join it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 544
2006-05-19Add a config file setting to allow a delay to be specified on startup.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 484
2006-05-05Syncronise the -timer/-avg parameters across all clients to avoid desyncs.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 475
2006-04-14Add ability to play using the Vanilla player sync codeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 470
2006-03-30Split off timer code into separate i_timer.c file. Add d_dedicated.cSimon Howard
and build chocolate-server, a standalone dedicated server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 455
2006-03-30Remove hard-coded use of network modules from server code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 453
2006-03-25New feature to allow compiling without multiplayer supportSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 444
2006-03-25Run the menu at the correct speedSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 441
2006-03-07If running with -timedemo, do not generate new ticcmds throughSimon Howard
NetUpdate. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 414
2006-03-02Remove redundant code, shut up warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 405
2006-03-02Rearrange client connect code; fix name resolving under windowsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 403
2006-02-27Quit with an error when unable to resolve an addressSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 397
2006-02-27Reduce the maximum latency to stop the game pausing and shooting ahead.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 395
2006-02-27Working client sync: adjust the clock to try to match the latency of other Simon Howard
players. Allow the menu ticker to run even if the main game ticker doesn't run. Remove time request/response code (now using game latency). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 394
2006-02-24Remove redundant stuff relating to the old network codeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 388
2006-02-23Replace -client with -connect which takes a hostname/ip to connect to.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 386
2006-02-23Do not allow tics to buffer up in single player (stops the gun instantlySimon Howard
appearing on level start) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 381
2006-02-23Set maketic-gametic lag back to 1 second.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 379
2006-02-23Add lowres_turn to indicate whether we generate angleturns which areSimon Howard
8-bit as opposed to 16-bit. This is used when recording demos without -longtics enabled. Sync this option between clients in a netgame, so that if one player is recording a Vanilla demo, all clients record in lowres. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 378
2006-02-19Move tic number expansion code to common code. Parse game data packetsSimon Howard
received from the server. Strip down d_net.[ch] to work through the new networking code. Remove game sync code. Remove i_net.[ch] as it is no longer needed. Working networking! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 374
2006-01-13Add text-mode I/O functions.Simon Howard
Use text-mode screen for the waiting screen. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 291
2006-01-02Create NET_SV_Shutdown function to shut down the server. Call itSimon Howard
when quitting the game. Print the IP of the server correctly when connecting. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 250
2006-01-02Add a "-client" option to test connecting to a local server.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 247
2006-01-02Encapsulate the event queue code properly. Add a D_PopEvent functionSimon Howard
to read a new event from the event queue. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 241
2006-01-02Neater prefixes: NET_Client -> NET_CL_. NET_Server -> NET_SV_.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 239
2006-01-01Client disconnect codeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 238
2006-01-01Remove GS_WAITINGSTART gamestate. This will be independent of the mainSimon Howard
loop to avoid interfering with the main game code too much. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 237
2005-12-30Fix client code to correctly send reply to server on connection.Simon Howard
Add "waiting screen" while waiting for the game to start. Hook in the new networking code into the main game code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 235
2005-09-22Remove external statistics driver support (-statcopy):Simon Howard
nonfunctional on modern systems and never used. Fix for systems where sizeof(int) != sizeof(void *) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 120
2005-09-08Delay calls so we don't use the entire CPUSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 95
2005-09-04shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 71
2005-08-31Remove the last traces of NORMALUNIXSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 60
2005-08-04Use DOOM_VERSION to define the Doom version (don't conflict withSimon Howard
automake's config.h). Display GPL message instead of anti-piracy messages. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 41
2005-07-23Use ANSI-standard limit constants. Remove LINUX define.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 19
2005-07-23Update copyright to GNU GPLSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 8