summaryrefslogtreecommitdiff
path: root/src/d_main.c
AgeCommit message (Collapse)Author
2007-05-20Initialise sound before network setup to fix bug with sound effects notSimon Howard
playing when playing netgames on Windows (text mode waiting screen shutdown causes sound not to start up?) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 881
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
2007-02-01Search IWAD search directories when loading PWAD files.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 830
2007-01-05Move response file code to m_argv.cSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 817
2006-12-24Javadoc-style self-documenting system for command line options.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 806
2006-12-23Add '-findiwads' command line hack so that the setup program can findSimon Howard
out what games are installed. Provide a drop-down list in setup to allow the game type to be selected. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 803
2006-12-21Split off IWAD-related code into separate d_iwad.c. On Windows, searchSimon Howard
the registry to automatically find the locations of installed IWADs. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 791
2006-12-16Allow -warp 1 to warp to E1M1, -warp 2 -> E2M1, etc. when playing DoomSimon Howard
1. Thanks for RazTK for pointing this out. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 783
2006-11-14Support running as a screensaver under X!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 750
2006-10-25Don't print arguments read from response files - Vanilla Doom doesn't doSimon Howard
it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 737
2006-10-23Move MakeDirectory function into m_misc.c. Move configdir related codeSimon Howard
into m_misc.c. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 715
2006-10-18Shut up warnings in w_wad.c.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 706
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-09-29Working drone clients!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 680
2006-09-25Don't disable screen melt entirely in testcontrols mode; just on startup.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 666
2006-09-25Add "test controls" mode - for setup.exe in the future. Start straightSimon Howard
into the game with no melt effect and display a box showing mouse speed to allow the threshold to be set easily. When escape is pressed, quit straight away. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 662
2006-09-22Add DEH_String() conversions on more strings that are not being converted.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 653
2006-09-21"\0" != NULLSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 642
2006-09-21Fix a lot of warnings (for fussy compilers) and one always-true checkRussell Rice
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 641
2006-09-20Make sure modified copyright banners always end in a newline. If they don't, addSimon Howard
one. This fixes av.wad (thanks to myk for reporting). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 638
2006-09-02Add -nwtmerge option, which behaves the same as NWT's -merge option. What thisSimon Howard
does is load a PWAD, then search through the IWAD sprites list, removing lumps where there are lumps of the same name in the PWAD. The PWAD must then be loaded again with the normal -file option. This is needed to run TiC's Obituary TC: chocolate-doom -nwtmerge obtic2.wad -file obtic1.wad obtic2.wad -deh obtic1.deh Also add W_PrintDirectory debug function, W_AddFile changed to return handle. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 596
2006-09-01Sync the -loadgame parameter across all clients connected to a server.Simon Howard
Loading/saving multiplayer games should all work now. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 593
2006-08-31Call R_ExecuteSetViewSize immediately after calling I_InitGraphics. Simon Howard
I_InitGraphics can change where screens[0] points to, so the player can end up with a blank screen sometimes. Thanks to Kurn for reporting this. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 591
2006-08-31Check for 'ff_end' not 'ff_start' when displaying warning message aboutSimon Howard
merging flats. Some old Vanilla WADs used ff_start..f_end to add extra flats and this message should not be displayed for them. Use American spelling of 'behavior'. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 582
2006-06-29Hugely refactor the response file loading code. Allow arguments to beSimon Howard
enclosed in quotes; this allows long filenames with spaces in to be specified with -file in response files. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 563
2006-05-25Put savegames in separate directories depending on the IWAD.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 531
2006-05-22Allow specifying the full path and filename when playing back demos.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 510
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-09Broadcast searches (currently broken)Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 467
2006-04-06Add the ability to query the current state of servers, and '-query'Simon Howard
command line option to do so. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 464
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-30Dedicated server mode.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 454
2006-03-25New feature to allow compiling without multiplayer supportSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 444
2006-03-24Adjust anti-CPU-hogging sleep times.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 440
2006-03-24Call W_GenerateHashTable to generate the lumpname hashtable. Do Simon Howard
not constantly look up MAP01 to see if this is a store demo. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 438
2006-03-23Separate variables for config file volume levels and sound API internalSimon Howard
volume levels (this is how the Vanilla code behaves). Fixes sound behavior on level 8! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 429
2006-03-15Check for IWADs in the same order as Vanilla DoomSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 419
2006-03-06Do not run TryRunTics until after we have started demo recording. FixSimon Howard
crash when recording demos. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 408
2006-03-01Don't melt the screen on startupSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 400
2006-02-03Support NWT-style WAD merging (-af and -as command line parameters).Simon Howard
Restructure WAD loading so that merged WADs are always loaded before normal PWADs. Remove W_InitMultipleFiles(). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 362
2006-01-23Rearrange the order of startup code to allow replacing the IWAD filenameSimon Howard
via dehacked Subversion-branch: /trunk/chocolate-doom Subversion-revision: 336
2006-01-22Dehacked string replacements for startup messages, IWAD names, demoSimon Howard
names and backgrounds Subversion-branch: /trunk/chocolate-doom Subversion-revision: 316
2006-01-14Include the game version in the settings structure.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 295
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-10Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 280
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-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-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-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