- Fixed: The source no longer built with GCC.
- Added a cheap pitch shifting for underwater environments that should be fairly close to Duke's. It sounds okay for some sounds, but others like the BFG, where the timing of the sound actually matters, don't sound good. I shall have to replace it with a real pitch shifter DSP unit. SVN r819 (trunk)
This commit is contained in:
parent
8244d1ea07
commit
087e34bbb3
10 changed files with 208 additions and 362 deletions
|
|
@ -352,7 +352,7 @@ struct XlatParseContext
|
|||
}
|
||||
}
|
||||
|
||||
int PrintError (char *s)
|
||||
int PrintError (const char *s)
|
||||
{
|
||||
if (SourceFile != NULL)
|
||||
Printf ("%s, line %d: %s\n", SourceFile, SourceLine, s);
|
||||
|
|
@ -397,7 +397,7 @@ void ParseXlatLump(const char *lumpname, void *pParser, XlatParseContext *contex
|
|||
context->SourceFile = lumpname;
|
||||
|
||||
char *sourcep = lumpdata;
|
||||
while (tokentype = context->GetToken(sourcep, &token))
|
||||
while ( (tokentype = context->GetToken(sourcep, &token)) )
|
||||
{
|
||||
// It is much easier to handle include statements outside the main parser.
|
||||
if (tokentype == INCLUDE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue