mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-31 13:10:39 +00:00
- Duke: Add CON support for Duke Nukem 3D 1.1 Shareware.
Based on EDuke32's parsing of the same commands.
This commit is contained in:
parent
889baeff14
commit
79465ffc42
2 changed files with 10 additions and 0 deletions
|
@ -241,6 +241,9 @@ cmd(gmaxammo) // 191
|
|||
cmd(smaxammo) // 192
|
||||
cmd(mapvoxel) // 193
|
||||
cmd(startlevel) // 194
|
||||
cmd(shadeto) // 195
|
||||
cmd(ifplayersl) // 196
|
||||
cmd(endoflevel) // 197
|
||||
|
||||
// RR Deer Huntin'. These are merely here for reference because the game is not supported.
|
||||
// cmd(iffindnewspot)
|
||||
|
|
|
@ -1308,6 +1308,7 @@ int ConCompiler::parsecommand()
|
|||
case concmd_spawn:
|
||||
case concmd_count:
|
||||
case concmd_endofgame:
|
||||
case concmd_endoflevel:
|
||||
case concmd_spritepal:
|
||||
case concmd_cactor:
|
||||
case concmd_quote:
|
||||
|
@ -1585,6 +1586,7 @@ int ConCompiler::parsecommand()
|
|||
case concmd_ifactorhealthl:
|
||||
case concmd_ifsoundid:
|
||||
case concmd_ifsounddist:
|
||||
case concmd_ifplayersl:
|
||||
transnum(tw == concmd_ifai? LABEL_AI : tw == concmd_ifaction? LABEL_ACTION : tw == concmd_ifmove? LABEL_MOVE : LABEL_DEFINE);
|
||||
[[fallthrough]];
|
||||
case concmd_ifonwater:
|
||||
|
@ -3067,6 +3069,11 @@ int ConCompiler::parsecommand()
|
|||
return 0;
|
||||
|
||||
|
||||
case concmd_shadeto:
|
||||
popscriptvalue();
|
||||
transnum(LABEL_DEFINE);
|
||||
popscriptvalue();
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue