summaryrefslogtreecommitdiff
path: root/src/m_misc.c
AgeCommit message (Collapse)Author
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
2008-02-28Add fixes for MSVC warnings (thanks entryway).Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1095
2008-02-26Minor config file documentation fixes.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1092
2008-02-25Replace manpage header, footer, environment files with a single templateSimon Howard
file. Generate documentation for the default.cfg and chocolate-doom.cfg configuration files. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1091
2008-02-24Switch to using CONFIG_VARIABLE_ macros for the configuration fileSimon Howard
tables. Add documentation for each value (for autogenerating documentation). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1090
2008-02-11Add support for sample rate conversion using libsamplerate (thanks toSimon Howard
David Flater for this patch). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1076
2008-01-24Make lookup tables const where possible.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1015
2008-01-20Refactor the video mode configuration system.Simon Howard
The previous system was built around the program choosing a screen mode from the user's settings, this is based around choosing settings from the specified screen mode. As such, the old screenmultiply config variable is now gone. Also, aspect ratio correction is now on by default. Add new aspect ratio correction functions for horizontal squashing (as a complement to the existing vertical stretching). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1005
2007-12-13Add missing argument to the extraconfig command line parameter.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 986
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-08-31Use gcc packed attribute for all structures read/written to disk. ThisSimon Howard
fixes architectures where structure fields are aligned differently to optimise reads, causing the game to crash. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 960
2007-08-08Make M_FileExists work on directories.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 949
2007-08-06Remove duplicate FileExists function.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 944
2007-07-08Make the numeric keypad behave like Vanilla does.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 935
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-20Add new configuration options for the mouse and joystick for controlsSimon Howard
that are available through the keyboard. Justification: this is already possible through advanced mouse drivers and programs like js2x, so there might as well be a proper interface for it. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 918
2007-06-14Add configuration file variable to change the sound sample rateSimon Howard
(snd_samplerate) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 906
2007-05-31Initial joystick support.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 887
2007-03-16Add back shiftxform table so that the shift key works in multiplayerSimon Howard
chat when vanilla_keyboard_mapping is enabled. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 861
2007-03-16Add config file option to enable/disable native keyboard bindings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 860
2007-03-15Use SDL for endianness byte swapping. m_swap.c removed; m_swap.h renamedSimon Howard
to i_swap.h. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 857
2007-03-10Ignore the HOME environment variable on Windows - just behave likeSimon Howard
Vanilla Doom. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 853
2007-02-23Add a configuration file value to allow the SDL video driver to beSimon Howard
explicitly specified. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 838
2007-01-06temp -> tempdirRussell Rice
update codeblocks projects (which is a new format, latest cb svn build is needed) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 822
2007-01-06Choose the locations for temporary files more intelligently.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 821
2006-12-24Javadoc-style self-documenting system for command line options.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 806
2006-12-22Add definitions for PATH and directory separators.Simon Howard
Allow multiple directories to be specified in DOOMWADDIR, in the same way as PATH. Make -iwad search through all search paths for the specified IWAD. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 799
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-15Split off scaling code into i_scale.c. Add aspect ratio correctionSimon Howard
stretching (fullscreen 320x240, 640x480, etc)! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 771
2006-11-19Silence warnings in debug buildRussell Rice
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 756
2006-10-23Detect when keyboard variables are changed and convert back so that theSimon Howard
new values are saved to the config file. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 721
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-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
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-21Set default sound devices to SNDDEVICE_SB, so that sfx and music are on by Simon Howard
default. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 649
2006-09-21Use DEFAULT_INT enum value rather than 0.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 643
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-16Undo previous commit: 'comport' and 'showmessages' are only generatedSimon Howard
by setup.exe. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 608
2006-09-16Preserve 'comport' variable in configuration files even though it is unused.Simon Howard
Add 'showmessages' which is a duplicate of 'show_messages' but is how Vanilla Doom behaves! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 607
2006-09-15Interpret the snd_sfxdevice and snd_musicdevice values in the configurationSimon Howard
file and act the same as Vanilla Doom. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 606
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-31Allow the demo size limit to be disabled through the config file.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 581
2006-05-29Change the mouse acceleration behavior to accelerate by multiplying by aSimon Howard
linear amount when a threshold is exceeded. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 535
2006-05-26Add an option to disable autoadjusting the video mode.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 532
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-03-25New feature to allow compiling without multiplayer supportSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 444
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-02-15Remove the savegame buffer entirely. Keep the old savegame size limitSimon Howard
bug add a "vanilla_savegame_limit" config file option which allows the limit to be disabled if necessary. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 367
2006-01-20Import differences from stable branch.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 309
2006-01-10Shut up compiler warningsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 280