summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-01-12Only start new games when in the waiting-for-start state.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 285
2006-01-12Game start packetsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 284
2006-01-12Combine mouse motion for tics into single events.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 283
2006-01-12Interpret the dehacked "max health" setting properly.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 282
2006-01-11ticcmd diffs: allow compare and patching ticcmds, and reading/writingSimon Howard
ticdiffs to packets. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 281
2006-01-10Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 280
2006-01-10Reliable packet transport mechanismSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 279
2006-01-09Send clients their player number, and indicate on the waiting screenSimon Howard
which client we are. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 278
2006-01-09Deduce a sane player name by examining environment variables. AddSimon Howard
a "player_name" setting to chocolate-doom.cfg. Transmit the name to the server and use the names players send in the waiting data list. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 277
2006-01-08Strip carriage returns from the end of lines when reading configurationSimon Howard
files. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 276
2006-01-08Update NEWSSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 275
2006-01-08show_endoom config file option to disable the endoom screenSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 274
2006-01-08Play some random music for the players while waiting for the game toSimon Howard
start. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 273
2006-01-08Seed the M_Random random number generator from the system time to giveSimon Howard
it some more randomness. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 272
2006-01-08Add S_MusicPlaying function to query if music is still playing.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 271
2006-01-08Reject new connections if the server is not in the waiting state.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 270
2006-01-08Don't grab the mouse on the net waiting screenSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 269
2006-01-08Allow the server to reject clientsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 268
2006-01-08Fix double free of addressesSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 267
2006-01-08Fix packet sendSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 266
2006-01-08Detect when client connection is disconnected.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 265
2006-01-08Send keepalives if the connection is not doing anything else.Simon Howard
Send all packets using a new NET_Conn_SendPacket to support this. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 264
2006-01-08Move common connection code into net_common.c, shared by serverSimon Howard
and client code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 263
2006-01-07Send player name and address in the waiting data packets. Display theseSimon Howard
on the waiting screen, and improve the waiting screen appearance. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 262
2006-01-07Only display a warning when unable to emulate a spechit overrunSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 261
2006-01-07Import the spechit overrun code from prboom-plus. Thanks to Andrey BudkoSimon Howard
for his investigation into this behavior. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 260
2006-01-07Mention the Chocolate Doom wiki, fix a spelling error.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 259
2006-01-07Update NEWSSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 258
2006-01-07Fix the behavior when expanding sound effects (again). Doom actuallySimon Howard
does play sounds of any sample rate, but the sound effects in Scientist 2 are corrupted. Add some tests to check that the sound effect header is correct, and generic sound rate conversion code. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 257
2006-01-06Fix the "-skill 0" hack commonly used under DOSSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 256
2006-01-05Fixes for big endian machines (thanks locust)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 255
2006-01-05Specify signed char explicitly for ticcmd_t fields.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 254
2006-01-02Move I_InitGraphics call to be invoked earlier in D_DoomMain. Call theSimon Howard
NET_WaitForStart function to wait for a start signal in network games. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 253
2006-01-02Restructure the waiting screen code. Establish our own separate eventSimon Howard
loop while waiting for the game to start, to avoid affecting the original code too much. Move some _gui variables to net_client.c. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 252
2006-01-02fix client connected functionSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 251
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-02Change AddrToString function to use an internal static buffer, forSimon Howard
ease of use. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 249
2006-01-02Clear the screen AFTER initialising the loading disk buffer, so thatSimon Howard
bits of loading disk are not visible on the initial screen melt. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 248
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-02Fix connect timeout and shutdown client properly if we fail to connect.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 246
2006-01-02Refer to connected clients by their AddrToString() output rather than justSimon Howard
the pointer to their struct. Listen for IP connections as well as loopback connections. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 245
2006-01-02Rename i_net_module -> net_sdl_module. Fix the AddrToString method.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 244
2006-01-02Remove test codeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 243
2006-01-02Fix packet not freed back after being sent.Simon Howard
Code to disconnect clients from the server side. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 242
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-02Make functions static. Remove unused variable.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 240
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
2006-01-01String read/write functionsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 236