thirtyflightsofloving/missionpack
Knightmare66 45a81cf57b Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs.
Cleaned up strig handling functions in game DLLs.
Refactored ThrowGib(), ThrowHead() and ThrowDebris() functions in missionpack DLL.
2021-01-26 00:08:08 -05:00
..
extractfuncs Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
dm_ball.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
dm_tag.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
fmod.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
g_ai.c Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
g_camera.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
g_chase.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
g_cmds.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_combat.c Fixed potential crash in game DLLs from a monster accidentally shooting a corpse in coop mode. 2021-01-21 18:30:55 -05:00
g_crane.c Added POSTTHINK_CHILD_MOVEMENT macro to new movewith host entities in g_spawn.c->SpawnEntities() in default Lazarus DLL. 2020-10-29 13:03:20 -04:00
g_fog.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_func.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_func_decs.h Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_func_list.h Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_items.c Fixed mega health always sound being played on pickup for health items with custom count in both default Lazarus and missionpack DLLs. 2020-12-03 03:38:07 -05:00
g_jetpack.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_lights.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
g_local.h Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_lock.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_main.c Added LMCTF / LM Escape plasma rifle to missionpack DLL. 2020-08-09 02:45:19 -04:00
g_mappack.c Added support for making model_spawn start off by setting delay to 1 along with toggle flag for both default Lazarus and missionpack DLLs. 2020-12-14 00:09:31 -05:00
g_misc.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_misc_q1.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_mmove_decs.h Added support for making model_spawn start off by setting delay to 1 along with toggle flag for both default Lazarus and missionpack DLLs. 2020-12-14 00:09:31 -05:00
g_mmove_list.h Added support for making model_spawn start off by setting delay to 1 along with toggle flag for both default Lazarus and missionpack DLLs. 2020-12-14 00:09:31 -05:00
g_monster.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_newai.c Added POSTTHINK_CHILD_MOVEMENT macro to new movewith host entities in g_spawn.c->SpawnEntities() in default Lazarus DLL. 2020-10-29 13:03:20 -04:00
g_newdm.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
g_newfnc.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_newtarg.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_newtrig.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
g_newutils.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
g_newweap.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
g_patchplayermodels.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
g_pendulum.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_phys.c Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
g_reflect.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
g_save.c Added LMCTF / LM Escape plasma rifle to missionpack DLL. 2020-08-09 02:45:19 -04:00
g_sound.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_spawn.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_sphere.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_svcmds.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
g_target.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_thing.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_tracktrain.c Added POSTTHINK_CHILD_MOVEMENT macro to new movewith host entities in g_spawn.c->SpawnEntities() in default Lazarus DLL. 2020-10-29 13:03:20 -04:00
g_trigger.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_turret.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
g_utils.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_utils_q1.c Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
g_vehicle.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_weapon.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
g_weapon_q1.c Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
game.def Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
game.h Const-ified string parms for filesystem funcs, function exports, and related func in game DLLs. 2020-08-11 02:08:18 -04:00
km_cvar.c Added integer and description fields to cvar_t struct in game DLLs. 2020-08-23 18:04:50 -04:00
km_cvar.h Added integer and description fields to cvar_t struct in game DLLs. 2020-08-23 18:04:50 -04:00
laz_misc.h Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
license.txt Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_actor.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_actor.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_actor_weap.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_berserk.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_berserk.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_boss2.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_boss2.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_boss3.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
m_boss5.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
m_boss31.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_boss31.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_boss32.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_boss32.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_brain.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_brain.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_brainbeta.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_carrier.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
m_carrier.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_chick.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_chick.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_dog.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_dog.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_fixbot.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_fixbot.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_flash.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_flipper.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_flipper.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_float.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_float.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_flyer.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_flyer.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_gekk.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_gekk.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_gladb.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_gladiator.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_gladiator.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_gunner.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_gunner.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_hover.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_hover.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_infantry.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_infantry.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_insane.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_insane.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_medic.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_medic.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_move.c Added LMCTF / LM Escape plasma rifle to missionpack DLL. 2020-08-09 02:45:19 -04:00
m_move2.c Added LMCTF / LM Escape plasma rifle to missionpack DLL. 2020-08-09 02:45:19 -04:00
m_mutant.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_mutant.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_parasite.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_parasite.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_player.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_q1dog.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1dog.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1enforcer.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1enforcer.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1fiend.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1fiend.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1freddie.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1freddie.h Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
m_q1grunt.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1grunt.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1hknight.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1hknight.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1knight.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1knight.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1ogre.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1ogre.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1rotfish.c Fixed PatchMonsterModel() skin names for certain monsters. 2021-01-02 15:58:52 -05:00
m_q1rotfish.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1scrag.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1scrag.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1shalrath.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1shalrath.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1shambler.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1shambler.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1tarbaby.c Fixed PatchMonsterModel() skin names for certain monsters. 2021-01-02 15:58:52 -05:00
m_q1tarbaby.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_q1zombie.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_q1zombie.h Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
m_rider.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_soldier.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_soldier.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_soldierh.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_stalker.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_stalker.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_supertank.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_supertank.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_tank.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_tank.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_turret.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_turret.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_vulture.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_vulture.h Added missing settable spawn health for info_player_start 2020-02-13 18:49:26 -05:00
m_widow.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
m_widow.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
m_widow2.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
m_widow2.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
menu.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
missionpack.dsp Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
missionpack.dsw Renamed project files for official mission pack support DLL. 2020-02-15 14:53:26 -05:00
missionpack.rc Added separate resource file for 64-bit build of missionpack DLL. 2020-08-15 03:21:41 -04:00
missionpack_2008.rc Fixed health reverting to previous max_health value on map change when game is not saved first. 2020-08-17 00:41:24 -04:00
missionpack_2008.sln Renamed project files for official mission pack support DLL. 2020-02-15 14:53:26 -05:00
missionpack_2008.vcproj Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
p_chasecam.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
p_client.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
p_hud.c Added LMCTF / LM Escape plasma rifle to missionpack DLL. 2020-08-09 02:45:19 -04:00
p_menu.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
p_menu.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
p_text.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
p_text.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
p_trail.c Added POSTTHINK_CHILD_MOVEMENT macro to new movewith host entities in g_spawn.c->SpawnEntities() in default Lazarus DLL. 2020-10-29 13:03:20 -04:00
p_view.c Added LMCTF / LM Escape plasma rifle to missionpack DLL. 2020-08-09 02:45:19 -04:00
p_weapon.c Added freddie and vulture monsters to missionpack DLL. 2020-12-03 17:00:15 -05:00
pak.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
plasma.h Added LMCTF / LM Escape plasma rifle to missionpack DLL. 2020-08-09 02:45:19 -04:00
q_shared.c Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
q_shared.h Fixed missing sounds for buttons, doors, plats, etc. in id/rogue/xatrix maps caused by custom sound code in Lazarus and missionpack DLLs. 2020-08-25 03:55:40 -04:00
readme.txt Added missing CTFSay_Team() to client commands list. 2020-02-21 22:01:52 -05:00
resource.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
z_acannon.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
z_ai.c Added support for quake2:// URLs. 2020-04-07 02:02:54 -04:00
z_anim.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
z_boss.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
z_boss.h Added support for quake2:// URLs. 2020-04-07 02:02:54 -04:00
z_camera.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
z_handler.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
z_handler.h Added support for quake2:// URLs. 2020-04-07 02:02:54 -04:00
z_hound.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
z_hound.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
z_item.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
z_sentien.c Fixed shootable func_door_secret not working in default Lazarus and missionpack DLLs. 2021-01-26 00:08:08 -05:00
z_sentien.h Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
z_trigger.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00
z_weapon.c Implemented entity class IDs in missionpack DLL. 2020-09-04 03:39:59 -04:00

This is the source code to the official missionpack support DLL for KMQuake2 (The Reckoning + Ground Zero).
It also supports most features from the Lazarus mod.

Note this source code is under the original "Limited Program Source Code License" from id Software,
NOT the GPL.  It should not be mixed with GPLed code.