summaryrefslogtreecommitdiff
path: root/src/net_gui.c
AgeCommit message (Collapse)Author
2014-04-12net: Add -nodes command line argument.Simon Howard
This matches the -nodes parameter that ipxsetup has; interpret it as an "auto-start" parameter that launches the game when the intended number of clients have joined the server.
2014-04-01Replace all snprintf() calls with M_snprintf().Simon Howard
The Windows API has an _snprintf function that is not the same as Unix's snprintf(): if the string is truncated then no trailing NUL character is appended. This makes the function unsafe. Define a replacement/wrapper called M_snprintf that works the same but always appends a trailing NUL, for safety on Windows and other OSes that behave like this. Do the same thing for vsnprintf(), and update HACKING to list snprintf/vsnprintf as forbidden functions. This fixes #375; thanks to Quasar for pointing out the different behavior of these functions.
2014-03-30Eliminate some uses of sprintf() from common code.Simon Howard
As part of this, add DIR_SEPARATOR_S as a string version of the DIR_SEPARATOR macro. Change M_TempFile() to return a string allocated on the C heap rather than the zone heap. This is a first step towards fixing #371.
2013-10-20Fix icon at multiplayer wait screen (thanks Alexandre Xavier).Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2715
2013-10-15Remove call to I_SetWindowTitle() that is no longer needed.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2709
2013-08-31Add notification window to the waiting screen to show whether the serverSimon Howard
was added to the global master server. Subversion-branch: /branches/v2-branch Subversion-revision: 2629
2013-04-02Split game start sequence into two-stage process. This is the firstSimon Howard
stage in refactoring the way that network startup works. Subversion-branch: /branches/v2-branch Subversion-revision: 2580
2012-10-28Merge from trunk.Simon Howard
Subversion-branch: /branches/v2-branch Subversion-revision: 2537
2012-10-25Switch from MD5 to SHA-1 for network digests.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2530
2011-10-19Send MAXPLAYERS value for game on connect to server. Make server adaptSimon Howard
its player limit to match. Update GUI code to adjust waiting screen list size appropriately. Subversion-branch: /branches/v2-branch Subversion-revision: 2442
2011-10-19Change MAXPLAYERS to NET_MAXPLAYERS and add back individual MAXPLAYERSSimon Howard
defines for each game. Refactor "waiting screen" data code. Subversion-branch: /branches/v2-branch Subversion-revision: 2441
2010-12-10Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2214
2010-12-10Remove "Error:" from the message displayed by I_Error, to match Vanilla.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2210
2010-11-20Remove dependency of network code on Doom code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 2163
2010-09-14Re-enable multiplayer support for Doom only, in preparation for networkSimon Howard
code refactoring. Subversion-branch: /branches/raven-branch Subversion-revision: 2087
2009-11-21Merge from trunk.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1737
2009-09-30Change British English spellings to American English, for consistency.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1699
2008-10-31- Delete the "all-in-one" project file and rename the solution file toRussell Rice
chocolate.sln - Create separate msvc projects for all games supported, which work the same as the codeblocks ones - Include fixes (nothing compiler specific, just additions of stdio.h) to build with msvc Subversion-branch: /branches/raven-branch Subversion-revision: 1371
2008-09-08Remove unneeded doomstat.h include.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1214
2008-09-06Remove dependencies of i_video.c on doom/ code.Simon Howard
Subversion-branch: /branches/raven-branch Subversion-revision: 1205
2008-09-06Remove includes of doomdef.h where possible, move generic parts into topSimon Howard
level. Subversion-branch: /branches/raven-branch Subversion-revision: 1204
2007-03-10Lots of changes/additions:Russell Rice
* Add libpcsound codeblocks project * Use libraries that are built and project dependencies inside main chocolate-doom/setup project and remove source files. * libraries are now built in the "lib" top level directory * Fix some warnings Subversion-branch: /trunk/chocolate-doom Subversion-revision: 852
2007-01-07Display a message on the console with details when WAD/DEH checksums doSimon Howard
not match. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 825
2006-11-16Increase buffer size to fixes crashes due to buffer overruns.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 754
2006-10-24Shut up compiler warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 728
2006-10-24Detect failures to initialise textscreen library and bomb out with anSimon Howard
error mess age. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 727
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-10-14Display drone indicator on the netgame waiting screen if drones are connected.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 699
2006-10-14Display a different message from the normal WAD directory warning ifSimon Howard
players are mixing Freedoom/Original IWADs. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 698
2006-10-14Change wording on netgame warning message.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 697
2006-10-06Send deh/wad md5sums to players at the waiting screen. Display a warningSimon Howard
on the waiting screen if the checksums differ from the other players. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 689
2006-08-31Use the new TXT_Sleep function in Doom.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 579
2006-05-29Add textscreen.h top level header to avoid having to include all txt_*Simon Howard
headers individually. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 542
2006-05-29Allow struts to force height as well as width. Hide "start game" buttonSimon Howard
for players which are not the game controller. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 541
2006-05-29Add strut class to allow table column width to be forced.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 539
2006-05-26Switch netgame waiting screen to use the new text mode GUI system.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 534
2006-05-19Split off text mode gui desktop code into a separate file. Rename someSimon Howard
of the functions in txt_gui.c. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 483
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-24Adjust anti-CPU-hogging sleep times.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 440
2006-03-11Fix bug with corruption of long player names. Remove tab characters.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 416
2006-01-23Make the network waiting screen not thrash the CPU so much.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 335
2006-01-14Set the window caption and titleSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 294
2006-01-14Detect if disconnected from the server while waiting for the game start.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 293
2006-01-14Change the format of color commands. Reorganise the waiting dialog.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 292
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-12Game start packetsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 284
2006-01-10Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 280
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-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-08Don't grab the mouse on the net waiting screenSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 269