summaryrefslogtreecommitdiff
path: root/src/d_main.c
AgeCommit message (Collapse)Author
2011-03-09Add support for the alternate version of the Final Doom executable thatSimon Howard
fixes the demo loop crash (thanks Porsche Monty, Enjay). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2297
2010-12-28Make demo loop handling of DEMO4 case depend on the executable versionSimon Howard
being emulated: the Vanilla versions did not have any conditional behavior based on gamemode/gamemission. This has the side effect of causing the game to exit with an error when playing with Final Doom, but this is Vanilla behavior. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2230
2010-12-25Remove the -wart parameter (thanks Sander van Dijk).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2226
2010-12-18Add a M_CheckParmWithArgs function, that behaves like M_CheckParm butSimon Howard
also checks that extra options were provided on the command line (thanks Sander van Dijk). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2223
2010-12-14Check that an address is provided to the -query command line optionSimon Howard
(thanks Sander van Dijk). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2221
2010-12-04Rename search command line options: -search to search the Internet,Simon Howard
-localsearch to search local LAN. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2193
2010-12-04Fix formatting for -masterquery to match -search.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2191
2010-12-02More refactoring of querying code, to not be specific to the purpose ofSimon Howard
printing out a list. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2184
2010-12-02Refactor query code and add a -masterquery command line parameter toSimon Howard
query the master server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2182
2010-11-30Remove "-debugfile" command line option and associated variable.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2179
2010-11-30Add support for HACX v1.2 IWAD file.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2176
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-09-30Change British English spellings to American English, for consistency.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1699
2009-06-12On Windows CE systems without a keyboard, patch the default settings toSimon Howard
use hardware keys. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1600
2009-06-07Remove call to setbuf.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1566
2008-09-21Don't play DEMO4 if gameversion is emulating chex.exe - it only playsSimon Howard
demos 1-3. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1264
2008-08-24Update missing chex.deh to reference its location in the idgamesSimon Howard
repository. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1191
2008-08-02Search for chex.deh in WAD path.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1169
2008-07-31Automatically load chex.deh on startup if playing in chex mode.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1165
2008-07-25Initial chex.exe emulation.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1155
2008-05-02Add W_CacheLumpNum,Name API to WAD code for releasing a lump back toSimon Howard
cache when it is no longer needed. Switch existing code to use the new API instead of Z_ChangeTag. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1134
2008-03-09Split out configuration file code from m_misc.c into m_config.c. MoveSimon Howard
screenshot code into v_video.c Add M_FileLength common function for finding the length of an open file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1102
2007-12-13Add @vanilla tag for Vanilla doom command line options. Add missingSimon Howard
documentation for -nosound, -nomusic, -nosfx. Fix up some bugs with the docgen wikitext output and allow control over output of Vanilla options. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 984
2007-06-22Replace 35 with TICRATE where appropriate.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 925
2007-06-21Add arrlen() macro as a clearer way of doing sizeof(array) /Simon Howard
sizeof(*array) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 922
2007-06-17Split i_sound.c into i_sdlsound.c, i_sdlmusic.c, with generic "soundSimon Howard
driver" modules, one for PC speaker and one for digital output. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 913
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