summaryrefslogtreecommitdiff
path: root/src/deh_main.h
AgeCommit message (Collapse)Author
2014-10-18Fix dehacked patch loading order.Simon Howard
The order in which we load dehacked patches is important. Change the order so that IWAD dehacked patches are loaded before any others, and so if, for example, we're playing with Freedoom, the Freedoom string replacements can be overridden by those from extra mods we're playing with. As part of this, ditch DEH_Init() and use DEH_ParseCommandLine() instead to handle the -deh option. Remove the DEH_Init() message from startup and show messages about dehacked patches that we load with the WAD files that we load.
2014-09-13dehacked: Load Freedoom DEHACKED lump on startup.Simon Howard
If using one of the Freedoom IWADs, detect it by checking for the FREEDOOM lump, and then load its DEHACKED lump to apply the cosmetic string changes that it includes. In case we're using an old version of one of the Freedoom IWADs, don't bomb out with an error while parsing the DEHACKED lump.
2014-09-11improvements to the [STRINGS] section parserFabian Greffrath
- restructure DEH_ReadLine() to avoid use of "goto" - bex_string_t type name ends in "_t" - declare constant table as "static const" - add magic comment *allow-extended-strings* and corresponding variable deh_allow_extended_strings - fix logical error when no [STRINGS] section is registered to which corrent_section could be compared
2014-05-05Clean up file headers.Simon Howard
This change rewrites and simplifies the copyright headers at the top of all source files: * Remove "Emacs style mode select" line; this line was included in the headers for the originally released source files and appears to be to set the file type for old versions of Emacs. I'm not sure entirely why it was required but I don't think it is any more. * Remove "You should have received a copy of..." text from copyright header. This refers to the old 59 Temple Place address where the FSF headquarters used to be located and is no longer correct. Rather than change to the new address, just remove the paragraph as it is superfluous anyway. This fixes #311. * Remove ---- separator lines so that the file headers are barer and more simplified.
2014-03-16doom: Add -dehlump parameter to load DEHACKED lumps.Simon Howard
Lots of otherwise Vanilla-compatible WADs contain DEHACKED lumps. Allow these to be loaded by adding a -dehlump command line parameter. Thanks to Fabian Greffrath for the suggestion (fixes #349).
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
2010-12-10Merge from trunk. This is slightly out of date as I did the mergeSimon Howard
several days ago. Subversion-branch: /branches/raven-branch Subversion-revision: 2212
2010-11-30Add support for HACX v1.2 IWAD file.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2176
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
2010-02-02Move parts of dehacked code into top-level common code, to allow futureSimon Howard
HHE and SEH support. Subversion-branch: /branches/raven-branch Subversion-revision: 1841
2008-09-14Add -nocheat command line parameter to disable applying cheats fromSimon Howard
dehacked files. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1227
2008-09-07Move dehacked code to doom/. Split dehacked string replacement code intoSimon Howard
common code and remove dependencies on deh_main.h. Subversion-branch: /branches/raven-branch Subversion-revision: 1210
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-29Add magic dehacked comment to enable long cheat sequences (also for ChexSimon Howard
Quest support) Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1160
2008-07-26Allow magic comments in dehacked files that disable the DOS dehackedSimon Howard
text replacement limit, so that we can use a dehacked patch to emulate chex.exe. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1158
2006-10-28Display a warning when setting dehacked fields that would overflowSimon Howard
buffers in Vanilla dehacked. This should help pick up bugs like the one in Batman Doom. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 742
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-10-06Send deh/wad checksums to the server when connecting.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 688
2006-10-05Dehacked information checksum generationSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 687
2005-10-17DEH_CheckCommandLine -> DEH_Init, for consistency with other InitSimon Howard
functions Subversion-branch: /trunk/chocolate-doom Subversion-revision: 214
2005-10-12doomfeatures.h to allow certain features to be disabled in the buildSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 190
2005-10-03Dehacked text substitutionsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 160
2005-10-02The beginnings of dehacked supportSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 153