commit eb1ea531fdba58cddfd583a6e7cef81a10f87242
Merge: 204814c7 78ca3a89
Author: Simon Howard <fraggle+github@gmail.com>
AuthorDate: Sat Sep 13 01:29:27 2014 -0400
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sat Sep 13 01:30:54 2014 -0400
Add support for the BEX extended string syntax.
Boom added an alternate method for overriding Dehacked strings, using
the [STRINGS] section with special symbolic names for each of the
strings that can possibly be replaced.
This format is used in the Freedoom DEHACKED lump (deliberately, so
that the Freedoom WAD does not include the original text to be
replaced). As we want to have support for the Freedoom IWADs with
Chocolate Doom, add support for the BEX [STRINGS] section, but
protected by a magic comment that must be included in Dehacked/BEX
files that use it.
Thanks to Fabian Greffrath for implementing this.
src/deh_io.c | 37 ++++-
src/deh_io.h | 2 +-
src/deh_main.c | 31 ++++-
src/deh_main.h | 1 +
src/doom/Makefile.am | 1 +
src/doom/deh_bexstr.c | 376 ++++++++++++++++++++++++++++++++++++++++++++++++++
src/doom/deh_doom.c | 3 +
7 files changed, 447 insertions(+), 4 deletions(-)