foxygit / doom Log in
commits tags
2006-01-09
Send clients their player number, and indicate on the waiting screen which client we are. Simon Howard fc969e49
Deduce a sane player name by examining environment variables. Add 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. Simon Howard 65c8df25
2006-01-08
Strip carriage returns from the end of lines when reading configuration files. Simon Howard 2d20dee9
Update NEWS Simon Howard 117afd8f
show_endoom config file option to disable the endoom screen Simon Howard 42dca84e
Play some random music for the players while waiting for the game to start. Simon Howard 89d1fc32
Seed the M_Random random number generator from the system time to give it some more randomness. Simon Howard 59aad53b
Add S_MusicPlaying function to query if music is still playing. Simon Howard 96495a0a
Reject new connections if the server is not in the waiting state. Simon Howard d5794db7
Don't grab the mouse on the net waiting screen Simon Howard 02ed6c1b
Allow the server to reject clients Simon Howard 8df3eb7c
Fix double free of addresses Simon Howard 0a55e76d
Fix packet send Simon Howard 8fdfe201
Detect when client connection is disconnected. Simon Howard 2885640d
Send keepalives if the connection is not doing anything else. Send all packets using a new NET_Conn_SendPacket to support this. Simon Howard 15cbdfb7
Move common connection code into net_common.c, shared by server and client code. Simon Howard e15ddb2d
2006-01-07
Send player name and address in the waiting data packets. Display these on the waiting screen, and improve the waiting screen appearance. Simon Howard 79b77612
Only display a warning when unable to emulate a spechit overrun Simon Howard 1432f924
Import the spechit overrun code from prboom-plus. Thanks to Andrey Budko for his investigation into this behavior. Simon Howard a46588d3
Mention the Chocolate Doom wiki, fix a spelling error. Simon Howard b2d085ae
Update NEWS Simon Howard 66a3f0b6
Fix the behavior when expanding sound effects (again). Doom actually 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. Simon Howard aa128638
2006-01-06
Fix the "-skill 0" hack commonly used under DOS Simon Howard 10b519b1
2006-01-05
Fixes for big endian machines (thanks locust) Simon Howard 3fcdb6dc
Specify signed char explicitly for ticcmd_t fields. Simon Howard a78ddf0e
2006-01-02
Move I_InitGraphics call to be invoked earlier in D_DoomMain. Call the NET_WaitForStart function to wait for a start signal in network games. Simon Howard d23401d1
Restructure the waiting screen code. Establish our own separate event loop while waiting for the game to start, to avoid affecting the original code too much. Move some _gui variables to net_client.c. Simon Howard fba617a6
fix client connected function Simon Howard dd2339bc
Create NET_SV_Shutdown function to shut down the server. Call it when quitting the game. Print the IP of the server correctly when connecting. Simon Howard 58656316
Change AddrToString function to use an internal static buffer, for ease of use. Simon Howard f65633b5
Clear the screen AFTER initialising the loading disk buffer, so that bits of loading disk are not visible on the initial screen melt. Simon Howard 6b56827d
Add a "-client" option to test connecting to a local server. Simon Howard 27785be7
Fix connect timeout and shutdown client properly if we fail to connect. Simon Howard 0a14b6d7
Refer to connected clients by their AddrToString() output rather than just the pointer to their struct. Listen for IP connections as well as loopback connections. Simon Howard 33fe9b40
Rename i_net_module -> net_sdl_module. Fix the AddrToString method. Simon Howard 693828ad
Remove test code Simon Howard febe55b7
Fix packet not freed back after being sent. Code to disconnect clients from the server side. Simon Howard 3acf0268
Encapsulate the event queue code properly. Add a D_PopEvent function to read a new event from the event queue. Simon Howard cdbc892c
Make functions static. Remove unused variable. Simon Howard 7f731a10
Neater prefixes: NET_Client -> NET_CL_. NET_Server -> NET_SV_. Simon Howard c1a25efc
2006-01-01
Client disconnect code Simon Howard 93ac1b74
Remove GS_WAITINGSTART gamestate. This will be independent of the main loop to avoid interfering with the main game code too much. Simon Howard 34c3dd25
String read/write functions Simon Howard 0caa1149
2005-12-30
Fix client code to correctly send reply to server on connection. Add "waiting screen" while waiting for the game to start. Hook in the new networking code into the main game code. Simon Howard 75270ad5
Millisecond clock function Simon Howard 694292fa
2005-12-29
Working client connect code Simon Howard f459280f
Add initial client/server connect code. Reorganise sources list in Makefile.am. Simon Howard 37f611e1
Automatically initialise the address table Simon Howard 68e5d097
2005-11-17
Catch SDL_QUIT event on ENDOOM display Simon Howard ef65489c
2005-10-30
Add foundation code for the new networking system Simon Howard 59c7b844

← newer older →