Some funny things in there:
switch (gamemap) {
case 24: /* Secret level? */
nextmap = 4;
break;
Source: https://github.com/Olde-Skuul/doom3do/blob/master/source/gam...