diff --git a/source/games/duke/src/condef.h b/source/games/duke/src/condef.h index a20985bca..685fbe82e 100644 --- a/source/games/duke/src/condef.h +++ b/source/games/duke/src/condef.h @@ -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) diff --git a/source/games/duke/src/gamedef.cpp b/source/games/duke/src/gamedef.cpp index 332da843f..7646e535d 100644 --- a/source/games/duke/src/gamedef.cpp +++ b/source/games/duke/src/gamedef.cpp @@ -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; }