summaryrefslogtreecommitdiff
path: root/src/deh_text.c
AgeCommit message (Collapse)Author
2014-10-18dehacked: Allow override of string replacements.Simon Howard
If loading two dehacked patches and both replace the same string, the second replacement should override the first. Change the API function DEH_AddStringReplacement so that the from_text and to_text are implicitly duplicated, and we can free to_text and replace it later if we subsequently change it to something else.
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.
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-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-09-06Remove includes of doomdef.h where possible, move generic parts into topSimon Howard
level. Subversion-branch: /branches/raven-branch Subversion-revision: 1204
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-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-10-05Dehacked information checksum generationSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 687
2006-08-31Bomb out with an error when a dehacked string is set that is longer thanSimon Howard
is possible in Vanilla Doom with normal dehacked. Chocolate Doom is unforgiving! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 580
2006-01-22Catch calls to DEH_String before DEH_Init is calledSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 314
2005-10-08Proper dehacked error/warning framework. Catch a load more errors.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 175
2005-10-03Dehacked text substitutionsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 160
2005-10-03Replace end of section functions with NULLs as they arent currently beingSimon Howard
used for anything. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 157
2005-10-02The beginnings of dehacked supportSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 153