must include doomdef.h in cmdlib.h to get TICRATE.