The Quake III Arena sources as originally released under the GPL license on August... master
authorTravis Bradshaw <travis.bradshaw@idsoftware.com>
Tue, 31 Jan 2012 19:41:34 +0000 (13:41 -0600)
committerTravis Bradshaw <travis.bradshaw@idsoftware.com>
Tue, 31 Jan 2012 19:41:34 +0000 (13:41 -0600)
1409 files changed:
COPYING.txt [new file with mode: 0644]
README.txt [new file with mode: 0644]
code/Construct [new file with mode: 0644]
code/Makefile [new file with mode: 0644]
code/botlib/aasfile.h [new file with mode: 0644]
code/botlib/be_aas_bsp.h [new file with mode: 0644]
code/botlib/be_aas_bspq3.c [new file with mode: 0644]
code/botlib/be_aas_cluster.c [new file with mode: 0644]
code/botlib/be_aas_cluster.h [new file with mode: 0644]
code/botlib/be_aas_debug.c [new file with mode: 0644]
code/botlib/be_aas_debug.h [new file with mode: 0644]
code/botlib/be_aas_def.h [new file with mode: 0644]
code/botlib/be_aas_entity.c [new file with mode: 0644]
code/botlib/be_aas_entity.h [new file with mode: 0644]
code/botlib/be_aas_file.c [new file with mode: 0644]
code/botlib/be_aas_file.h [new file with mode: 0644]
code/botlib/be_aas_funcs.h [new file with mode: 0644]
code/botlib/be_aas_main.c [new file with mode: 0644]
code/botlib/be_aas_main.h [new file with mode: 0644]
code/botlib/be_aas_move.c [new file with mode: 0644]
code/botlib/be_aas_move.h [new file with mode: 0644]
code/botlib/be_aas_optimize.c [new file with mode: 0644]
code/botlib/be_aas_optimize.h [new file with mode: 0644]
code/botlib/be_aas_reach.c [new file with mode: 0644]
code/botlib/be_aas_reach.h [new file with mode: 0644]
code/botlib/be_aas_route.c [new file with mode: 0644]
code/botlib/be_aas_route.h [new file with mode: 0644]
code/botlib/be_aas_routealt.c [new file with mode: 0644]
code/botlib/be_aas_routealt.h [new file with mode: 0644]
code/botlib/be_aas_sample.c [new file with mode: 0644]
code/botlib/be_aas_sample.h [new file with mode: 0644]
code/botlib/be_ai_char.c [new file with mode: 0644]
code/botlib/be_ai_chat.c [new file with mode: 0644]
code/botlib/be_ai_gen.c [new file with mode: 0644]
code/botlib/be_ai_goal.c [new file with mode: 0644]
code/botlib/be_ai_move.c [new file with mode: 0644]
code/botlib/be_ai_weap.c [new file with mode: 0644]
code/botlib/be_ai_weight.c [new file with mode: 0644]
code/botlib/be_ai_weight.h [new file with mode: 0644]
code/botlib/be_ea.c [new file with mode: 0644]
code/botlib/be_interface.c [new file with mode: 0644]
code/botlib/be_interface.h [new file with mode: 0644]
code/botlib/botlib.vcproj [new file with mode: 0644]
code/botlib/l_crc.c [new file with mode: 0644]
code/botlib/l_crc.h [new file with mode: 0644]
code/botlib/l_libvar.c [new file with mode: 0644]
code/botlib/l_libvar.h [new file with mode: 0644]
code/botlib/l_log.c [new file with mode: 0644]
code/botlib/l_log.h [new file with mode: 0644]
code/botlib/l_memory.c [new file with mode: 0644]
code/botlib/l_memory.h [new file with mode: 0644]
code/botlib/l_precomp.c [new file with mode: 0644]
code/botlib/l_precomp.h [new file with mode: 0644]
code/botlib/l_script.c [new file with mode: 0644]
code/botlib/l_script.h [new file with mode: 0644]
code/botlib/l_struct.c [new file with mode: 0644]
code/botlib/l_struct.h [new file with mode: 0644]
code/botlib/l_utils.h [new file with mode: 0644]
code/botlib/lcc.mak [new file with mode: 0644]
code/botlib/linux-i386.mak [new file with mode: 0644]
code/bspc/Conscript [new file with mode: 0644]
code/bspc/Makefile [new file with mode: 0644]
code/bspc/_files.c [new file with mode: 0644]
code/bspc/aas_areamerging.c [new file with mode: 0644]
code/bspc/aas_areamerging.h [new file with mode: 0644]
code/bspc/aas_cfg.c [new file with mode: 0644]
code/bspc/aas_cfg.h [new file with mode: 0644]
code/bspc/aas_create.c [new file with mode: 0644]
code/bspc/aas_create.h [new file with mode: 0644]
code/bspc/aas_edgemelting.c [new file with mode: 0644]
code/bspc/aas_edgemelting.h [new file with mode: 0644]
code/bspc/aas_facemerging.c [new file with mode: 0644]
code/bspc/aas_facemerging.h [new file with mode: 0644]
code/bspc/aas_file.c [new file with mode: 0644]
code/bspc/aas_file.h [new file with mode: 0644]
code/bspc/aas_gsubdiv.c [new file with mode: 0644]
code/bspc/aas_gsubdiv.h [new file with mode: 0644]
code/bspc/aas_map.c [new file with mode: 0644]
code/bspc/aas_map.h [new file with mode: 0644]
code/bspc/aas_prunenodes.c [new file with mode: 0644]
code/bspc/aas_prunenodes.h [new file with mode: 0644]
code/bspc/aas_store.c [new file with mode: 0644]
code/bspc/aas_store.h [new file with mode: 0644]
code/bspc/aasfile.h [new file with mode: 0644]
code/bspc/be_aas_bspc.c [new file with mode: 0644]
code/bspc/be_aas_bspc.h [new file with mode: 0644]
code/bspc/brushbsp.c [new file with mode: 0644]
code/bspc/bspc.c [new file with mode: 0644]
code/bspc/bspc.sln [new file with mode: 0644]
code/bspc/bspc.vcproj [new file with mode: 0644]
code/bspc/cfgq3.c [new file with mode: 0644]
code/bspc/csg.c [new file with mode: 0644]
code/bspc/faces.c [new file with mode: 0644]
code/bspc/gldraw.c [new file with mode: 0644]
code/bspc/glfile.c [new file with mode: 0644]
code/bspc/l_bsp_ent.c [new file with mode: 0644]
code/bspc/l_bsp_ent.h [new file with mode: 0644]
code/bspc/l_bsp_hl.c [new file with mode: 0644]
code/bspc/l_bsp_hl.h [new file with mode: 0644]
code/bspc/l_bsp_q1.c [new file with mode: 0644]
code/bspc/l_bsp_q1.h [new file with mode: 0644]
code/bspc/l_bsp_q2.c [new file with mode: 0644]
code/bspc/l_bsp_q2.h [new file with mode: 0644]
code/bspc/l_bsp_q3.c [new file with mode: 0644]
code/bspc/l_bsp_q3.h [new file with mode: 0644]
code/bspc/l_bsp_sin.c [new file with mode: 0644]
code/bspc/l_bsp_sin.h [new file with mode: 0644]
code/bspc/l_cmd.c [new file with mode: 0644]
code/bspc/l_cmd.h [new file with mode: 0644]
code/bspc/l_log.c [new file with mode: 0644]
code/bspc/l_log.h [new file with mode: 0644]
code/bspc/l_math.c [new file with mode: 0644]
code/bspc/l_math.h [new file with mode: 0644]
code/bspc/l_mem.c [new file with mode: 0644]
code/bspc/l_mem.h [new file with mode: 0644]
code/bspc/l_poly.c [new file with mode: 0644]
code/bspc/l_poly.h [new file with mode: 0644]
code/bspc/l_qfiles.c [new file with mode: 0644]
code/bspc/l_qfiles.h [new file with mode: 0644]
code/bspc/l_threads.c [new file with mode: 0644]
code/bspc/l_threads.h [new file with mode: 0644]
code/bspc/l_utils.c [new file with mode: 0644]
code/bspc/l_utils.h [new file with mode: 0644]
code/bspc/lcc.mak [new file with mode: 0644]
code/bspc/leakfile.c [new file with mode: 0644]
code/bspc/linux-i386.mak [new file with mode: 0644]
code/bspc/map.c [new file with mode: 0644]
code/bspc/map_hl.c [new file with mode: 0644]
code/bspc/map_q1.c [new file with mode: 0644]
code/bspc/map_q2.c [new file with mode: 0644]
code/bspc/map_q3.c [new file with mode: 0644]
code/bspc/map_sin.c [new file with mode: 0644]
code/bspc/nodraw.c [new file with mode: 0644]
code/bspc/portals.c [new file with mode: 0644]
code/bspc/prtfile.c [new file with mode: 0644]
code/bspc/q2files.h [new file with mode: 0644]
code/bspc/q3files.h [new file with mode: 0644]
code/bspc/qbsp.h [new file with mode: 0644]
code/bspc/qfiles.h [new file with mode: 0644]
code/bspc/sinfiles.h [new file with mode: 0644]
code/bspc/tetrahedron.c [new file with mode: 0644]
code/bspc/tetrahedron.h [new file with mode: 0644]
code/bspc/textures.c [new file with mode: 0644]
code/bspc/tree.c [new file with mode: 0644]
code/bspc/writebsp.c [new file with mode: 0644]
code/cgame.lnt [new file with mode: 0644]
code/cgame/Conscript [new file with mode: 0644]
code/cgame/cg_consolecmds.c [new file with mode: 0644]
code/cgame/cg_draw.c [new file with mode: 0644]
code/cgame/cg_drawtools.c [new file with mode: 0644]
code/cgame/cg_effects.c [new file with mode: 0644]
code/cgame/cg_ents.c [new file with mode: 0644]
code/cgame/cg_event.c [new file with mode: 0644]
code/cgame/cg_info.c [new file with mode: 0644]
code/cgame/cg_local.h [new file with mode: 0644]
code/cgame/cg_localents.c [new file with mode: 0644]
code/cgame/cg_main.c [new file with mode: 0644]
code/cgame/cg_marks.c [new file with mode: 0644]
code/cgame/cg_newdraw.c [new file with mode: 0644]
code/cgame/cg_particles.c [new file with mode: 0644]
code/cgame/cg_players.c [new file with mode: 0644]
code/cgame/cg_playerstate.c [new file with mode: 0644]
code/cgame/cg_predict.c [new file with mode: 0644]
code/cgame/cg_public.h [new file with mode: 0644]
code/cgame/cg_scoreboard.c [new file with mode: 0644]
code/cgame/cg_servercmds.c [new file with mode: 0644]
code/cgame/cg_snapshot.c [new file with mode: 0644]
code/cgame/cg_syscalls.asm [new file with mode: 0644]
code/cgame/cg_syscalls.c [new file with mode: 0644]
code/cgame/cg_view.c [new file with mode: 0644]
code/cgame/cg_weapons.c [new file with mode: 0644]
code/cgame/cgame.bat [new file with mode: 0644]
code/cgame/cgame.def [new file with mode: 0644]
code/cgame/cgame.plg [new file with mode: 0644]
code/cgame/cgame.q3asm [new file with mode: 0644]
code/cgame/cgame.sh [new file with mode: 0644]
code/cgame/cgame.vcproj [new file with mode: 0644]
code/cgame/cgame_ta.bat [new file with mode: 0644]
code/cgame/cgame_ta.q3asm [new file with mode: 0644]
code/cgame/cgame_ta.sh [new file with mode: 0644]
code/cgame/tr_types.h [new file with mode: 0644]
code/clean.bat [new file with mode: 0644]
code/client/cl_cgame.c [new file with mode: 0644]
code/client/cl_cin.c [new file with mode: 0644]
code/client/cl_console.c [new file with mode: 0644]
code/client/cl_input.c [new file with mode: 0644]
code/client/cl_keys.c [new file with mode: 0644]
code/client/cl_main.c [new file with mode: 0644]
code/client/cl_net_chan.c [new file with mode: 0644]
code/client/cl_parse.c [new file with mode: 0644]
code/client/cl_scrn.c [new file with mode: 0644]
code/client/cl_ui.c [new file with mode: 0644]
code/client/client.h [new file with mode: 0644]
code/client/keys.h [new file with mode: 0644]
code/client/snd_adpcm.c [new file with mode: 0644]
code/client/snd_dma.c [new file with mode: 0644]
code/client/snd_local.h [new file with mode: 0644]
code/client/snd_mem.c [new file with mode: 0644]
code/client/snd_mix.c [new file with mode: 0644]
code/client/snd_public.h [new file with mode: 0644]
code/client/snd_wavelet.c [new file with mode: 0644]
code/game.lnt [new file with mode: 0644]
code/game/Conscript [new file with mode: 0644]
code/game/ai_chat.c [new file with mode: 0644]
code/game/ai_chat.h [new file with mode: 0644]
code/game/ai_cmd.c [new file with mode: 0644]
code/game/ai_cmd.h [new file with mode: 0644]
code/game/ai_dmnet.c [new file with mode: 0644]
code/game/ai_dmnet.h [new file with mode: 0644]
code/game/ai_dmq3.c [new file with mode: 0644]
code/game/ai_dmq3.h [new file with mode: 0644]
code/game/ai_main.c [new file with mode: 0644]
code/game/ai_main.h [new file with mode: 0644]
code/game/ai_team.c [new file with mode: 0644]
code/game/ai_team.h [new file with mode: 0644]
code/game/ai_vcmd.c [new file with mode: 0644]
code/game/ai_vcmd.h [new file with mode: 0644]
code/game/be_aas.h [new file with mode: 0644]
code/game/be_ai_char.h [new file with mode: 0644]
code/game/be_ai_chat.h [new file with mode: 0644]
code/game/be_ai_gen.h [new file with mode: 0644]
code/game/be_ai_goal.h [new file with mode: 0644]
code/game/be_ai_move.h [new file with mode: 0644]
code/game/be_ai_weap.h [new file with mode: 0644]
code/game/be_ea.h [new file with mode: 0644]
code/game/bg_lib.c [new file with mode: 0644]
code/game/bg_lib.h [new file with mode: 0644]
code/game/bg_local.h [new file with mode: 0644]
code/game/bg_misc.c [new file with mode: 0644]
code/game/bg_pmove.c [new file with mode: 0644]
code/game/bg_public.h [new file with mode: 0644]
code/game/bg_slidemove.c [new file with mode: 0644]
code/game/botlib.h [new file with mode: 0644]
code/game/chars.h [new file with mode: 0644]
code/game/g_active.c [new file with mode: 0644]
code/game/g_arenas.c [new file with mode: 0644]
code/game/g_bot.c [new file with mode: 0644]
code/game/g_client.c [new file with mode: 0644]
code/game/g_cmds.c [new file with mode: 0644]
code/game/g_combat.c [new file with mode: 0644]
code/game/g_items.c [new file with mode: 0644]
code/game/g_local.h [new file with mode: 0644]
code/game/g_main.c [new file with mode: 0644]
code/game/g_mem.c [new file with mode: 0644]
code/game/g_misc.c [new file with mode: 0644]
code/game/g_missile.c [new file with mode: 0644]
code/game/g_mover.c [new file with mode: 0644]
code/game/g_public.h [new file with mode: 0644]
code/game/g_rankings.c [new file with mode: 0644]
code/game/g_rankings.h [new file with mode: 0644]
code/game/g_session.c [new file with mode: 0644]
code/game/g_spawn.c [new file with mode: 0644]
code/game/g_svcmds.c [new file with mode: 0644]
code/game/g_syscalls.asm [new file with mode: 0644]
code/game/g_syscalls.c [new file with mode: 0644]
code/game/g_target.c [new file with mode: 0644]
code/game/g_team.c [new file with mode: 0644]
code/game/g_team.h [new file with mode: 0644]
code/game/g_trigger.c [new file with mode: 0644]
code/game/g_utils.c [new file with mode: 0644]
code/game/g_weapon.c [new file with mode: 0644]
code/game/game.bat [new file with mode: 0644]
code/game/game.def [new file with mode: 0644]
code/game/game.q3asm [new file with mode: 0644]
code/game/game.sh [new file with mode: 0644]
code/game/game.vcproj [new file with mode: 0644]
code/game/game_ta.bat [new file with mode: 0644]
code/game/game_ta.q3asm [new file with mode: 0644]
code/game/game_ta.sh [new file with mode: 0644]
code/game/inv.h [new file with mode: 0644]
code/game/match.h [new file with mode: 0644]
code/game/q_math.c [new file with mode: 0644]
code/game/q_shared.c [new file with mode: 0644]
code/game/q_shared.h [new file with mode: 0644]
code/game/surfaceflags.h [new file with mode: 0644]
code/game/syn.h [new file with mode: 0644]
code/installdebug.bat [new file with mode: 0644]
code/installrelease.bat [new file with mode: 0644]
code/installvms.bat [new file with mode: 0644]
code/jpeg-6/README [new file with mode: 0644]
code/jpeg-6/jcapimin.c [new file with mode: 0644]
code/jpeg-6/jcapistd.c [new file with mode: 0644]
code/jpeg-6/jccoefct.c [new file with mode: 0644]
code/jpeg-6/jccolor.c [new file with mode: 0644]
code/jpeg-6/jcdctmgr.c [new file with mode: 0644]
code/jpeg-6/jchuff.c [new file with mode: 0644]
code/jpeg-6/jchuff.h [new file with mode: 0644]
code/jpeg-6/jcinit.c [new file with mode: 0644]
code/jpeg-6/jcmainct.c [new file with mode: 0644]
code/jpeg-6/jcmarker.c [new file with mode: 0644]
code/jpeg-6/jcmaster.c [new file with mode: 0644]
code/jpeg-6/jcomapi.c [new file with mode: 0644]
code/jpeg-6/jconfig.h [new file with mode: 0644]
code/jpeg-6/jcparam.c [new file with mode: 0644]
code/jpeg-6/jcphuff.c [new file with mode: 0644]
code/jpeg-6/jcprepct.c [new file with mode: 0644]
code/jpeg-6/jcsample.c [new file with mode: 0644]
code/jpeg-6/jctrans.c [new file with mode: 0644]
code/jpeg-6/jdapimin.c [new file with mode: 0644]
code/jpeg-6/jdapistd.c [new file with mode: 0644]
code/jpeg-6/jdatadst.c [new file with mode: 0644]
code/jpeg-6/jdatasrc.c [new file with mode: 0644]
code/jpeg-6/jdcoefct.c [new file with mode: 0644]
code/jpeg-6/jdcolor.c [new file with mode: 0644]
code/jpeg-6/jdct.h [new file with mode: 0644]
code/jpeg-6/jddctmgr.c [new file with mode: 0644]
code/jpeg-6/jdhuff.c [new file with mode: 0644]
code/jpeg-6/jdhuff.h [new file with mode: 0644]
code/jpeg-6/jdinput.c [new file with mode: 0644]
code/jpeg-6/jdmainct.c [new file with mode: 0644]
code/jpeg-6/jdmarker.c [new file with mode: 0644]
code/jpeg-6/jdmaster.c [new file with mode: 0644]
code/jpeg-6/jdmerge.c [new file with mode: 0644]
code/jpeg-6/jdphuff.c [new file with mode: 0644]
code/jpeg-6/jdpostct.c [new file with mode: 0644]
code/jpeg-6/jdsample.c [new file with mode: 0644]
code/jpeg-6/jdtrans.c [new file with mode: 0644]
code/jpeg-6/jerror.c [new file with mode: 0644]
code/jpeg-6/jerror.h [new file with mode: 0644]
code/jpeg-6/jfdctflt.c [new file with mode: 0644]
code/jpeg-6/jfdctfst.c [new file with mode: 0644]
code/jpeg-6/jfdctint.c [new file with mode: 0644]
code/jpeg-6/jidctflt.c [new file with mode: 0644]
code/jpeg-6/jidctfst.c [new file with mode: 0644]
code/jpeg-6/jidctint.c [new file with mode: 0644]
code/jpeg-6/jidctred.c [new file with mode: 0644]
code/jpeg-6/jinclude.h [new file with mode: 0644]
code/jpeg-6/jload.c [new file with mode: 0644]
code/jpeg-6/jmemansi.c [new file with mode: 0644]
code/jpeg-6/jmemdos.c [new file with mode: 0644]
code/jpeg-6/jmemmgr.c [new file with mode: 0644]
code/jpeg-6/jmemname.c [new file with mode: 0644]
code/jpeg-6/jmemnobs.c [new file with mode: 0644]
code/jpeg-6/jmemsys.h [new file with mode: 0644]
code/jpeg-6/jmorecfg.h [new file with mode: 0644]
code/jpeg-6/jpegint.h [new file with mode: 0644]
code/jpeg-6/jpeglib.h [new file with mode: 0644]
code/jpeg-6/jpegtran.c [new file with mode: 0644]
code/jpeg-6/jquant1.c [new file with mode: 0644]
code/jpeg-6/jquant2.c [new file with mode: 0644]
code/jpeg-6/jutils.c [new file with mode: 0644]
code/jpeg-6/jversion.h [new file with mode: 0644]
code/macosx/BuildRelease [new file with mode: 0644]
code/macosx/CGMouseDeltaFix.h [new file with mode: 0644]
code/macosx/CGMouseDeltaFix.m [new file with mode: 0644]
code/macosx/CGPrivateAPI.h [new file with mode: 0644]
code/macosx/GenerateQGL.pl [new file with mode: 0644]
code/macosx/Performance.rtf [new file with mode: 0644]
code/macosx/Q3Controller.h [new file with mode: 0644]
code/macosx/Q3Controller.m [new file with mode: 0644]
code/macosx/Quake3.icns [new file with mode: 0644]
code/macosx/Quake3.nib/classes.nib [new file with mode: 0644]
code/macosx/Quake3.nib/info.nib [new file with mode: 0644]
code/macosx/Quake3.nib/objects.nib [new file with mode: 0644]
code/macosx/Quake3.pbproj/apple.pbxuser [new file with mode: 0644]
code/macosx/Quake3.pbproj/project.pbxproj [new file with mode: 0644]
code/macosx/RecordDemo.zsh [new file with mode: 0644]
code/macosx/banner.jpg [new file with mode: 0644]
code/macosx/botlib.log [new file with mode: 0644]
code/macosx/macosx_display.h [new file with mode: 0644]
code/macosx/macosx_display.m [new file with mode: 0644]
code/macosx/macosx_glimp.h [new file with mode: 0644]
code/macosx/macosx_glimp.m [new file with mode: 0644]
code/macosx/macosx_glsmp_mutex.m [new file with mode: 0644]
code/macosx/macosx_glsmp_null.m [new file with mode: 0644]
code/macosx/macosx_glsmp_ports.m [new file with mode: 0644]
code/macosx/macosx_input.m [new file with mode: 0644]
code/macosx/macosx_local.h [new file with mode: 0644]
code/macosx/macosx_qgl.h [new file with mode: 0644]
code/macosx/macosx_sndcore.m [new file with mode: 0644]
code/macosx/macosx_snddma.m [new file with mode: 0644]
code/macosx/macosx_sys.m [new file with mode: 0644]
code/macosx/macosx_timers.h [new file with mode: 0644]
code/macosx/macosx_timers.m [new file with mode: 0644]
code/macosx/timedemo.zsh [new file with mode: 0644]
code/null/mac_net.c [new file with mode: 0644]
code/null/null_client.c [new file with mode: 0644]
code/null/null_glimp.c [new file with mode: 0644]
code/null/null_input.c [new file with mode: 0644]
code/null/null_main.c [new file with mode: 0644]
code/null/null_net.c [new file with mode: 0644]
code/null/null_snddma.c [new file with mode: 0644]
code/opts.lnt [new file with mode: 0644]
code/q3_ui/Conscript [new file with mode: 0644]
code/q3_ui/compile.bat [new file with mode: 0644]
code/q3_ui/keycodes.h [new file with mode: 0644]
code/q3_ui/q3_ui.bat [new file with mode: 0644]
code/q3_ui/q3_ui.q3asm [new file with mode: 0644]
code/q3_ui/q3_ui.sh [new file with mode: 0644]
code/q3_ui/q3_ui.vcproj [new file with mode: 0644]
code/q3_ui/ui.def [new file with mode: 0644]
code/q3_ui/ui.q3asm [new file with mode: 0644]
code/q3_ui/ui_addbots.c [new file with mode: 0644]
code/q3_ui/ui_atoms.c [new file with mode: 0644]
code/q3_ui/ui_cdkey.c [new file with mode: 0644]
code/q3_ui/ui_cinematics.c [new file with mode: 0644]
code/q3_ui/ui_confirm.c [new file with mode: 0644]
code/q3_ui/ui_connect.c [new file with mode: 0644]
code/q3_ui/ui_controls2.c [new file with mode: 0644]
code/q3_ui/ui_credits.c [new file with mode: 0644]
code/q3_ui/ui_demo2.c [new file with mode: 0644]
code/q3_ui/ui_display.c [new file with mode: 0644]
code/q3_ui/ui_gameinfo.c [new file with mode: 0644]
code/q3_ui/ui_ingame.c [new file with mode: 0644]
code/q3_ui/ui_loadconfig.c [new file with mode: 0644]
code/q3_ui/ui_local.h [new file with mode: 0644]
code/q3_ui/ui_login.c [new file with mode: 0644]
code/q3_ui/ui_main.c [new file with mode: 0644]
code/q3_ui/ui_menu.c [new file with mode: 0644]
code/q3_ui/ui_mfield.c [new file with mode: 0644]
code/q3_ui/ui_mods.c [new file with mode: 0644]
code/q3_ui/ui_network.c [new file with mode: 0644]
code/q3_ui/ui_options.c [new file with mode: 0644]
code/q3_ui/ui_playermodel.c [new file with mode: 0644]
code/q3_ui/ui_players.c [new file with mode: 0644]
code/q3_ui/ui_playersettings.c [new file with mode: 0644]
code/q3_ui/ui_preferences.c [new file with mode: 0644]
code/q3_ui/ui_qmenu.c [new file with mode: 0644]
code/q3_ui/ui_rankings.c [new file with mode: 0644]
code/q3_ui/ui_rankstatus.c [new file with mode: 0644]
code/q3_ui/ui_removebots.c [new file with mode: 0644]
code/q3_ui/ui_saveconfig.c [new file with mode: 0644]
code/q3_ui/ui_serverinfo.c [new file with mode: 0644]
code/q3_ui/ui_servers2.c [new file with mode: 0644]
code/q3_ui/ui_setup.c [new file with mode: 0644]
code/q3_ui/ui_signup.c [new file with mode: 0644]
code/q3_ui/ui_sound.c [new file with mode: 0644]
code/q3_ui/ui_sparena.c [new file with mode: 0644]
code/q3_ui/ui_specifyleague.c [new file with mode: 0644]
code/q3_ui/ui_specifyserver.c [new file with mode: 0644]
code/q3_ui/ui_splevel.c [new file with mode: 0644]
code/q3_ui/ui_sppostgame.c [new file with mode: 0644]
code/q3_ui/ui_spreset.c [new file with mode: 0644]
code/q3_ui/ui_spskill.c [new file with mode: 0644]
code/q3_ui/ui_startserver.c [new file with mode: 0644]
code/q3_ui/ui_team.c [new file with mode: 0644]
code/q3_ui/ui_teamorders.c [new file with mode: 0644]
code/q3_ui/ui_video.c [new file with mode: 0644]
code/qcommon/cm_load.c [new file with mode: 0644]
code/qcommon/cm_local.h [new file with mode: 0644]
code/qcommon/cm_patch.c [new file with mode: 0644]
code/qcommon/cm_patch.h [new file with mode: 0644]
code/qcommon/cm_polylib.c [new file with mode: 0644]
code/qcommon/cm_polylib.h [new file with mode: 0644]
code/qcommon/cm_public.h [new file with mode: 0644]
code/qcommon/cm_test.c [new file with mode: 0644]
code/qcommon/cm_trace.c [new file with mode: 0644]
code/qcommon/cmd.c [new file with mode: 0644]
code/qcommon/cmd.c.save [new file with mode: 0644]
code/qcommon/common.c [new file with mode: 0644]
code/qcommon/cvar.c [new file with mode: 0644]
code/qcommon/files.c [new file with mode: 0644]
code/qcommon/huffman.c [new file with mode: 0644]
code/qcommon/md4.c [new file with mode: 0644]
code/qcommon/msg.c [new file with mode: 0644]
code/qcommon/net_chan.c [new file with mode: 0644]
code/qcommon/qcommon.h [new file with mode: 0644]
code/qcommon/qfiles.h [new file with mode: 0644]
code/qcommon/unzip.c [new file with mode: 0644]
code/qcommon/unzip.h [new file with mode: 0644]
code/qcommon/vm.c [new file with mode: 0644]
code/qcommon/vm_interpreted.c [new file with mode: 0644]
code/qcommon/vm_local.h [new file with mode: 0644]
code/qcommon/vm_ppc.c [new file with mode: 0644]
code/qcommon/vm_ppc_new.c [new file with mode: 0644]
code/qcommon/vm_x86.c [new file with mode: 0644]
code/quake3.sln [new file with mode: 0644]
code/quake3.vcproj [new file with mode: 0644]
code/renderer.lnt [new file with mode: 0644]
code/renderer/qgl.h [new file with mode: 0644]
code/renderer/qgl_linked.h [new file with mode: 0644]
code/renderer/ref_trin.def [new file with mode: 0644]
code/renderer/renderer.vcproj [new file with mode: 0644]
code/renderer/tr_animation.c [new file with mode: 0644]
code/renderer/tr_backend.c [new file with mode: 0644]
code/renderer/tr_bsp.c [new file with mode: 0644]
code/renderer/tr_cmds.c [new file with mode: 0644]
code/renderer/tr_curve.c [new file with mode: 0644]
code/renderer/tr_flares.c [new file with mode: 0644]
code/renderer/tr_font.c [new file with mode: 0644]
code/renderer/tr_image.c [new file with mode: 0644]
code/renderer/tr_init.c [new file with mode: 0644]
code/renderer/tr_light.c [new file with mode: 0644]
code/renderer/tr_local.h [new file with mode: 0644]
code/renderer/tr_main.c [new file with mode: 0644]
code/renderer/tr_marks.c [new file with mode: 0644]
code/renderer/tr_mesh.c [new file with mode: 0644]
code/renderer/tr_model.c [new file with mode: 0644]
code/renderer/tr_noise.c [new file with mode: 0644]
code/renderer/tr_public.h [new file with mode: 0644]
code/renderer/tr_scene.c [new file with mode: 0644]
code/renderer/tr_shade.c [new file with mode: 0644]
code/renderer/tr_shade_calc.c [new file with mode: 0644]
code/renderer/tr_shader.c [new file with mode: 0644]
code/renderer/tr_shadows.c [new file with mode: 0644]
code/renderer/tr_sky.c [new file with mode: 0644]
code/renderer/tr_surface.c [new file with mode: 0644]
code/renderer/tr_world.c [new file with mode: 0644]
code/run.bat [new file with mode: 0644]
code/runrelease.bat [new file with mode: 0644]
code/server/server.h [new file with mode: 0644]
code/server/sv_bot.c [new file with mode: 0644]
code/server/sv_ccmds.c [new file with mode: 0644]
code/server/sv_client.c [new file with mode: 0644]
code/server/sv_game.c [new file with mode: 0644]
code/server/sv_init.c [new file with mode: 0644]
code/server/sv_main.c [new file with mode: 0644]
code/server/sv_net_chan.c [new file with mode: 0644]
code/server/sv_rankings.c [new file with mode: 0644]
code/server/sv_snapshot.c [new file with mode: 0644]
code/server/sv_world.c [new file with mode: 0644]
code/splines/Splines.vcproj [new file with mode: 0644]
code/splines/math_angles.cpp [new file with mode: 0644]
code/splines/math_angles.h [new file with mode: 0644]
code/splines/math_matrix.cpp [new file with mode: 0644]
code/splines/math_matrix.h [new file with mode: 0644]
code/splines/math_quaternion.cpp [new file with mode: 0644]
code/splines/math_quaternion.h [new file with mode: 0644]
code/splines/math_vector.cpp [new file with mode: 0644]
code/splines/math_vector.h [new file with mode: 0644]
code/splines/q_parse.cpp [new file with mode: 0644]
code/splines/q_shared.cpp [new file with mode: 0644]
code/splines/q_shared.h [new file with mode: 0644]
code/splines/q_shared.hpp [new file with mode: 0644]
code/splines/splines.cpp [new file with mode: 0644]
code/splines/splines.h [new file with mode: 0644]
code/splines/util_list.h [new file with mode: 0644]
code/splines/util_str.cpp [new file with mode: 0644]
code/splines/util_str.h [new file with mode: 0644]
code/ui/Conscript [new file with mode: 0644]
code/ui/compile.bat [new file with mode: 0644]
code/ui/keycodes.h [new file with mode: 0644]
code/ui/ui.bat [new file with mode: 0644]
code/ui/ui.def [new file with mode: 0644]
code/ui/ui.q3asm [new file with mode: 0644]
code/ui/ui.vcproj [new file with mode: 0644]
code/ui/ui_atoms.c [new file with mode: 0644]
code/ui/ui_gameinfo.c [new file with mode: 0644]
code/ui/ui_local.h [new file with mode: 0644]
code/ui/ui_main.c [new file with mode: 0644]
code/ui/ui_players.c [new file with mode: 0644]
code/ui/ui_public.h [new file with mode: 0644]
code/ui/ui_shared.c [new file with mode: 0644]
code/ui/ui_shared.h [new file with mode: 0644]
code/ui/ui_syscalls.asm [new file with mode: 0644]
code/ui/ui_syscalls.c [new file with mode: 0644]
code/ui/ui_util.c [new file with mode: 0644]
code/unix/ChangeLog [new file with mode: 0644]
code/unix/Cons_gcc.pm [new file with mode: 0644]
code/unix/Conscript-client [new file with mode: 0644]
code/unix/Conscript-dedicated [new file with mode: 0644]
code/unix/Conscript-pk3 [new file with mode: 0644]
code/unix/Conscript-sdk [new file with mode: 0644]
code/unix/Conscript-setup [new file with mode: 0644]
code/unix/LinuxSupport/CHANGES-1.32.txt [new file with mode: 0644]
code/unix/LinuxSupport/INSTALL [new file with mode: 0644]
code/unix/LinuxSupport/index.html [new file with mode: 0644]
code/unix/LinuxSupport/udp_wide_README.txt [new file with mode: 0644]
code/unix/LinuxSupport/udp_wide_broadcast.patch [new file with mode: 0644]
code/unix/Makefile [new file with mode: 0644]
code/unix/Makefile.Game [new file with mode: 0644]
code/unix/Quake3.kdelnk [new file with mode: 0644]
code/unix/README.EULA [new file with mode: 0644]
code/unix/README.Linux [new file with mode: 0644]
code/unix/README.Q3Test [new file with mode: 0644]
code/unix/build_setup.sh [new file with mode: 0644]
code/unix/cons [new file with mode: 0644]
code/unix/extract_ver.pl [new file with mode: 0644]
code/unix/ftol.nasm [new file with mode: 0644]
code/unix/linux_common.c [new file with mode: 0644]
code/unix/linux_glimp.c [new file with mode: 0644]
code/unix/linux_joystick.c [new file with mode: 0644]
code/unix/linux_local.h [new file with mode: 0644]
code/unix/linux_qgl.c [new file with mode: 0644]
code/unix/linux_signals.c [new file with mode: 0644]
code/unix/linux_snd.c [new file with mode: 0644]
code/unix/matha.s [new file with mode: 0644]
code/unix/pcons-2.3.1 [new file with mode: 0644]
code/unix/q3test.spec.sh [new file with mode: 0644]
code/unix/qasm.h [new file with mode: 0644]
code/unix/quake3.gif [new file with mode: 0644]
code/unix/quake3.xpm [new file with mode: 0644]
code/unix/run-target.sh [new file with mode: 0644]
code/unix/snapvector.nasm [new file with mode: 0644]
code/unix/snd_mixa.s [new file with mode: 0644]
code/unix/sys_dosa.s [new file with mode: 0644]
code/unix/unix_glw.h [new file with mode: 0644]
code/unix/unix_main.c [new file with mode: 0644]
code/unix/unix_net.c [new file with mode: 0644]
code/unix/unix_shared.c [new file with mode: 0644]
code/unix/vm_x86.c [new file with mode: 0644]
code/unix/vm_x86a.s [new file with mode: 0644]
code/win32/background.bmp [new file with mode: 0644]
code/win32/clear.bmp [new file with mode: 0644]
code/win32/glw_win.h [new file with mode: 0644]
code/win32/icon2.ico [new file with mode: 0644]
code/win32/mod-sdk-setup/GameSource.VCT [new file with mode: 0644]
code/win32/mod-sdk-setup/QIIIA Game Source License.doc [new file with mode: 0644]
code/win32/mod-sdk-setup/bin/lcc.exe [new file with mode: 0644]
code/win32/mod-sdk-setup/bin/q3asm.exe [new file with mode: 0644]
code/win32/mod-sdk-setup/bin/q3cpp.exe [new file with mode: 0644]
code/win32/mod-sdk-setup/bin/q3rcc.exe [new file with mode: 0644]
code/win32/qe3.ico [new file with mode: 0644]
code/win32/resource.h [new file with mode: 0644]
code/win32/win_gamma.c [new file with mode: 0644]
code/win32/win_glimp.c [new file with mode: 0644]
code/win32/win_input.c [new file with mode: 0644]
code/win32/win_local.h [new file with mode: 0644]
code/win32/win_main.c [new file with mode: 0644]
code/win32/win_net.c [new file with mode: 0644]
code/win32/win_qgl.c [new file with mode: 0644]
code/win32/win_shared.c [new file with mode: 0644]
code/win32/win_snd.c [new file with mode: 0644]
code/win32/win_syscon.c [new file with mode: 0644]
code/win32/win_wndproc.c [new file with mode: 0644]
code/win32/winquake.rc [new file with mode: 0644]
common/aselib.c [new file with mode: 0644]
common/aselib.h [new file with mode: 0644]
common/bspfile.c [new file with mode: 0644]
common/bspfile.h [new file with mode: 0644]
common/cmdlib.c [new file with mode: 0644]
common/cmdlib.h [new file with mode: 0644]
common/imagelib.c [new file with mode: 0644]
common/imagelib.h [new file with mode: 0644]
common/l3dslib.c [new file with mode: 0644]
common/l3dslib.h [new file with mode: 0644]
common/mathlib.c [new file with mode: 0644]
common/mathlib.h [new file with mode: 0644]
common/md4.c [new file with mode: 0644]
common/mutex.c [new file with mode: 0644]
common/mutex.h [new file with mode: 0644]
common/polylib.c [new file with mode: 0644]
common/polylib.h [new file with mode: 0644]
common/polyset.h [new file with mode: 0644]
common/qfiles.h [new file with mode: 0644]
common/scriplib.c [new file with mode: 0644]
common/scriplib.h [new file with mode: 0644]
common/surfaceflags.h [new file with mode: 0644]
common/threads.c [new file with mode: 0644]
common/threads.h [new file with mode: 0644]
common/trilib.c [new file with mode: 0644]
common/trilib.h [new file with mode: 0644]
lcc/COPYRIGHT [new file with mode: 0644]
lcc/LOG [new file with mode: 0644]
lcc/README [new file with mode: 0644]
lcc/README.id [new file with mode: 0644]
lcc/alpha/osf/tst/8q.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/8q.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/8q.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/array.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/array.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/array.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/cf.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/cf.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/cf.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/cq.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/cq.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/cq.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/cvt.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/cvt.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/cvt.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/fields.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/fields.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/fields.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/front.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/front.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/incr.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/incr.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/incr.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/init.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/init.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/init.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/limits.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/limits.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/limits.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/paranoia.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/paranoia.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/paranoia.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/sort.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/sort.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/sort.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/spill.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/spill.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/spill.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/stdarg.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/stdarg.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/stdarg.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/struct.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/struct.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/struct.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/switch.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/switch.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/switch.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/wf1.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/wf1.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/wf1.sbk [new file with mode: 0644]
lcc/alpha/osf/tst/yacc.1bk [new file with mode: 0644]
lcc/alpha/osf/tst/yacc.2bk [new file with mode: 0644]
lcc/alpha/osf/tst/yacc.sbk [new file with mode: 0644]
lcc/bin/lcc.exe [new file with mode: 0644]
lcc/bin/q3cpp.exe [new file with mode: 0644]
lcc/bin/q3rcc.exe [new file with mode: 0644]
lcc/buildnt.bat [new file with mode: 0644]
lcc/buildnt.sh [new file with mode: 0644]
lcc/cpp/cpp.c [new file with mode: 0644]
lcc/cpp/cpp.h [new file with mode: 0644]
lcc/cpp/eval.c [new file with mode: 0644]
lcc/cpp/getopt.c [new file with mode: 0644]
lcc/cpp/hideset.c [new file with mode: 0644]
lcc/cpp/include.c [new file with mode: 0644]
lcc/cpp/lex.c [new file with mode: 0644]
lcc/cpp/macro.c [new file with mode: 0644]
lcc/cpp/nlist.c [new file with mode: 0644]
lcc/cpp/tokens.c [new file with mode: 0644]
lcc/cpp/unix.c [new file with mode: 0644]
lcc/custom.mk [new file with mode: 0644]
lcc/doc/4.html [new file with mode: 0644]
lcc/doc/bprint.1 [new file with mode: 0644]
lcc/doc/bprint.pdf [new file with mode: 0644]
lcc/doc/install.html [new file with mode: 0644]
lcc/doc/lcc.1 [new file with mode: 0644]
lcc/doc/lcc.pdf [new file with mode: 0644]
lcc/etc/bprint.c [new file with mode: 0644]
lcc/etc/gcc-solaris.c [new file with mode: 0644]
lcc/etc/irix.c [new file with mode: 0644]
lcc/etc/lcc.c [new file with mode: 0644]
lcc/etc/linux.c [new file with mode: 0644]
lcc/etc/ops.c [new file with mode: 0644]
lcc/etc/osf.c [new file with mode: 0644]
lcc/etc/solaris.c [new file with mode: 0644]
lcc/etc/win32.c [new file with mode: 0644]
lcc/include/alpha/osf/assert.h [new file with mode: 0644]
lcc/include/alpha/osf/ctype.h [new file with mode: 0644]
lcc/include/alpha/osf/errno.h [new file with mode: 0644]
lcc/include/alpha/osf/float.h [new file with mode: 0644]
lcc/include/alpha/osf/limits.h [new file with mode: 0644]
lcc/include/alpha/osf/locale.h [new file with mode: 0644]
lcc/include/alpha/osf/math.h [new file with mode: 0644]
lcc/include/alpha/osf/setjmp.h [new file with mode: 0644]
lcc/include/alpha/osf/signal.h [new file with mode: 0644]
lcc/include/alpha/osf/stdarg.h [new file with mode: 0644]
lcc/include/alpha/osf/stddef.h [new file with mode: 0644]
lcc/include/alpha/osf/stdio.h [new file with mode: 0644]
lcc/include/alpha/osf/stdlib.h [new file with mode: 0644]
lcc/include/alpha/osf/string.h [new file with mode: 0644]
lcc/include/alpha/osf/time.h [new file with mode: 0644]
lcc/include/mips/irix/assert.h [new file with mode: 0644]
lcc/include/mips/irix/ctype.h [new file with mode: 0644]
lcc/include/mips/irix/errno.h [new file with mode: 0644]
lcc/include/mips/irix/float.h [new file with mode: 0644]
lcc/include/mips/irix/limits.h [new file with mode: 0644]
lcc/include/mips/irix/locale.h [new file with mode: 0644]
lcc/include/mips/irix/math.h [new file with mode: 0644]
lcc/include/mips/irix/setjmp.h [new file with mode: 0644]
lcc/include/mips/irix/signal.h [new file with mode: 0644]
lcc/include/mips/irix/stdarg.h [new file with mode: 0644]
lcc/include/mips/irix/stddef.h [new file with mode: 0644]
lcc/include/mips/irix/stdio.h [new file with mode: 0644]
lcc/include/mips/irix/stdlib.h [new file with mode: 0644]
lcc/include/mips/irix/string.h [new file with mode: 0644]
lcc/include/mips/irix/time.h [new file with mode: 0644]
lcc/include/sparc/solaris/assert.h [new file with mode: 0644]
lcc/include/sparc/solaris/ctype.h [new file with mode: 0644]
lcc/include/sparc/solaris/errno.h [new file with mode: 0644]
lcc/include/sparc/solaris/float.h [new file with mode: 0644]
lcc/include/sparc/solaris/limits.h [new file with mode: 0644]
lcc/include/sparc/solaris/locale.h [new file with mode: 0644]
lcc/include/sparc/solaris/math.h [new file with mode: 0644]
lcc/include/sparc/solaris/setjmp.h [new file with mode: 0644]
lcc/include/sparc/solaris/signal.h [new file with mode: 0644]
lcc/include/sparc/solaris/stdarg.h [new file with mode: 0644]
lcc/include/sparc/solaris/stddef.h [new file with mode: 0644]
lcc/include/sparc/solaris/stdio.h [new file with mode: 0644]
lcc/include/sparc/solaris/stdlib.h [new file with mode: 0644]
lcc/include/sparc/solaris/string.h [new file with mode: 0644]
lcc/include/sparc/solaris/time.h [new file with mode: 0644]
lcc/include/x86/linux/assert.h [new file with mode: 0644]
lcc/include/x86/linux/float.h [new file with mode: 0644]
lcc/include/x86/linux/stdarg.h [new file with mode: 0644]
lcc/lburg/gram.c [new file with mode: 0644]
lcc/lburg/gram.y [new file with mode: 0644]
lcc/lburg/lburg.1 [new file with mode: 0644]
lcc/lburg/lburg.c [new file with mode: 0644]
lcc/lburg/lburg.h [new file with mode: 0644]
lcc/lib/assert.c [new file with mode: 0644]
lcc/lib/bbexit.c [new file with mode: 0644]
lcc/lib/yynull.c [new file with mode: 0644]
lcc/makefile [new file with mode: 0644]
lcc/makefile.nt [new file with mode: 0644]
lcc/mips/irix/tst/8q.1bk [new file with mode: 0644]
lcc/mips/irix/tst/8q.2bk [new file with mode: 0644]
lcc/mips/irix/tst/8q.sbk [new file with mode: 0644]
lcc/mips/irix/tst/array.1bk [new file with mode: 0644]
lcc/mips/irix/tst/array.2bk [new file with mode: 0644]
lcc/mips/irix/tst/array.sbk [new file with mode: 0644]
lcc/mips/irix/tst/cf.1bk [new file with mode: 0644]
lcc/mips/irix/tst/cf.2bk [new file with mode: 0644]
lcc/mips/irix/tst/cf.sbk [new file with mode: 0644]
lcc/mips/irix/tst/cq.1bk [new file with mode: 0644]
lcc/mips/irix/tst/cq.2bk [new file with mode: 0644]
lcc/mips/irix/tst/cq.sbk [new file with mode: 0644]
lcc/mips/irix/tst/cvt.1bk [new file with mode: 0644]
lcc/mips/irix/tst/cvt.2bk [new file with mode: 0644]
lcc/mips/irix/tst/cvt.sbk [new file with mode: 0644]
lcc/mips/irix/tst/fields.1bk [new file with mode: 0644]
lcc/mips/irix/tst/fields.2bk [new file with mode: 0644]
lcc/mips/irix/tst/fields.sbk [new file with mode: 0644]
lcc/mips/irix/tst/front.2bk [new file with mode: 0644]
lcc/mips/irix/tst/front.sbk [new file with mode: 0644]
lcc/mips/irix/tst/incr.2bk [new file with mode: 0644]
lcc/mips/irix/tst/incr.sbk [new file with mode: 0644]
lcc/mips/irix/tst/init.1bk [new file with mode: 0644]
lcc/mips/irix/tst/init.2bk [new file with mode: 0644]
lcc/mips/irix/tst/init.sbk [new file with mode: 0644]
lcc/mips/irix/tst/limits.1bk [new file with mode: 0644]
lcc/mips/irix/tst/limits.2bk [new file with mode: 0644]
lcc/mips/irix/tst/limits.sbk [new file with mode: 0644]
lcc/mips/irix/tst/paranoia.1bk [new file with mode: 0644]
lcc/mips/irix/tst/paranoia.2bk [new file with mode: 0644]
lcc/mips/irix/tst/paranoia.sbk [new file with mode: 0644]
lcc/mips/irix/tst/sort.1bk [new file with mode: 0644]
lcc/mips/irix/tst/sort.2bk [new file with mode: 0644]
lcc/mips/irix/tst/sort.sbk [new file with mode: 0644]
lcc/mips/irix/tst/spill.2bk [new file with mode: 0644]
lcc/mips/irix/tst/spill.sbk [new file with mode: 0644]
lcc/mips/irix/tst/stdarg.1bk [new file with mode: 0644]
lcc/mips/irix/tst/stdarg.2bk [new file with mode: 0644]
lcc/mips/irix/tst/stdarg.sbk [new file with mode: 0644]
lcc/mips/irix/tst/struct.1bk [new file with mode: 0644]
lcc/mips/irix/tst/struct.2bk [new file with mode: 0644]
lcc/mips/irix/tst/struct.sbk [new file with mode: 0644]
lcc/mips/irix/tst/switch.1bk [new file with mode: 0644]
lcc/mips/irix/tst/switch.2bk [new file with mode: 0644]
lcc/mips/irix/tst/switch.sbk [new file with mode: 0644]
lcc/mips/irix/tst/wf1.1bk [new file with mode: 0644]
lcc/mips/irix/tst/wf1.2bk [new file with mode: 0644]
lcc/mips/irix/tst/wf1.sbk [new file with mode: 0644]
lcc/mips/irix/tst/yacc.1bk [new file with mode: 0644]
lcc/mips/irix/tst/yacc.2bk [new file with mode: 0644]
lcc/mips/irix/tst/yacc.sbk [new file with mode: 0644]
lcc/msdev/rcc.dsp [new file with mode: 0644]
lcc/msdev/rcc.dsw [new file with mode: 0644]
lcc/packing.lst [new file with mode: 0644]
lcc/sparc/solaris/tst/8q.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/8q.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/8q.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/array.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/array.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/array.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/cf.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/cf.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/cf.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/cq.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/cq.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/cq.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/cvt.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/cvt.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/cvt.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/fields.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/fields.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/fields.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/front.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/front.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/incr.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/incr.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/incr.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/init.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/init.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/init.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/limits.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/limits.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/limits.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/paranoia.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/paranoia.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/paranoia.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/sort.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/sort.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/sort.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/spill.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/spill.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/spill.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/stdarg.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/stdarg.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/stdarg.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/struct.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/struct.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/struct.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/switch.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/switch.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/switch.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/wf1.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/wf1.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/wf1.sbk [new file with mode: 0644]
lcc/sparc/solaris/tst/yacc.1bk [new file with mode: 0644]
lcc/sparc/solaris/tst/yacc.2bk [new file with mode: 0644]
lcc/sparc/solaris/tst/yacc.sbk [new file with mode: 0644]
lcc/src/2html.c [new file with mode: 0644]
lcc/src/alloc.c [new file with mode: 0644]
lcc/src/alpha.md [new file with mode: 0644]
lcc/src/asdl.c [new file with mode: 0644]
lcc/src/bind.c [new file with mode: 0644]
lcc/src/bytecode.c [new file with mode: 0644]
lcc/src/c.h [new file with mode: 0644]
lcc/src/config.h [new file with mode: 0644]
lcc/src/dag.c [new file with mode: 0644]
lcc/src/dagcheck.md [new file with mode: 0644]
lcc/src/decl.c [new file with mode: 0644]
lcc/src/enode.c [new file with mode: 0644]
lcc/src/error.c [new file with mode: 0644]
lcc/src/event.c [new file with mode: 0644]
lcc/src/expr.c [new file with mode: 0644]
lcc/src/gen.c [new file with mode: 0644]
lcc/src/init.c [new file with mode: 0644]
lcc/src/inits.c [new file with mode: 0644]
lcc/src/input.c [new file with mode: 0644]
lcc/src/lex.c [new file with mode: 0644]
lcc/src/list.c [new file with mode: 0644]
lcc/src/main.c [new file with mode: 0644]
lcc/src/mips.md [new file with mode: 0644]
lcc/src/null.c [new file with mode: 0644]
lcc/src/output.c [new file with mode: 0644]
lcc/src/pass2.c [new file with mode: 0644]
lcc/src/prof.c [new file with mode: 0644]
lcc/src/profio.c [new file with mode: 0644]
lcc/src/rcc.asdl [new file with mode: 0644]
lcc/src/run.sh [new file with mode: 0644]
lcc/src/simp.c [new file with mode: 0644]
lcc/src/sparc.md [new file with mode: 0644]
lcc/src/stab.c [new file with mode: 0644]
lcc/src/stab.h [new file with mode: 0644]
lcc/src/stmt.c [new file with mode: 0644]
lcc/src/string.c [new file with mode: 0644]
lcc/src/sym.c [new file with mode: 0644]
lcc/src/symbolic.c [new file with mode: 0644]
lcc/src/token.h [new file with mode: 0644]
lcc/src/trace.c [new file with mode: 0644]
lcc/src/tree.c [new file with mode: 0644]
lcc/src/types.c [new file with mode: 0644]
lcc/src/x86.md [new file with mode: 0644]
lcc/src/x86linux.md [new file with mode: 0644]
lcc/tst/8q.0 [new file with mode: 0644]
lcc/tst/8q.c [new file with mode: 0644]
lcc/tst/array.0 [new file with mode: 0644]
lcc/tst/array.c [new file with mode: 0644]
lcc/tst/cf.0 [new file with mode: 0644]
lcc/tst/cf.c [new file with mode: 0644]
lcc/tst/cq.0 [new file with mode: 0644]
lcc/tst/cq.c [new file with mode: 0644]
lcc/tst/cvt.0 [new file with mode: 0644]
lcc/tst/cvt.c [new file with mode: 0644]
lcc/tst/fields.0 [new file with mode: 0644]
lcc/tst/fields.c [new file with mode: 0644]
lcc/tst/front.0 [new file with mode: 0644]
lcc/tst/front.c [new file with mode: 0644]
lcc/tst/incr.0 [new file with mode: 0644]
lcc/tst/incr.c [new file with mode: 0644]
lcc/tst/init.0 [new file with mode: 0644]
lcc/tst/init.c [new file with mode: 0644]
lcc/tst/limits.0 [new file with mode: 0644]
lcc/tst/limits.c [new file with mode: 0644]
lcc/tst/paranoia.0 [new file with mode: 0644]
lcc/tst/paranoia.c [new file with mode: 0644]
lcc/tst/sort.0 [new file with mode: 0644]
lcc/tst/sort.c [new file with mode: 0644]
lcc/tst/spill.0 [new file with mode: 0644]
lcc/tst/spill.c [new file with mode: 0644]
lcc/tst/stdarg.0 [new file with mode: 0644]
lcc/tst/stdarg.c [new file with mode: 0644]
lcc/tst/struct.0 [new file with mode: 0644]
lcc/tst/struct.c [new file with mode: 0644]
lcc/tst/switch.0 [new file with mode: 0644]
lcc/tst/switch.c [new file with mode: 0644]
lcc/tst/wf1.0 [new file with mode: 0644]
lcc/tst/wf1.c [new file with mode: 0644]
lcc/tst/yacc.0 [new file with mode: 0644]
lcc/tst/yacc.c [new file with mode: 0644]
lcc/x86/linux/tst/8q.1bk [new file with mode: 0644]
lcc/x86/linux/tst/8q.2bk [new file with mode: 0644]
lcc/x86/linux/tst/8q.sbk [new file with mode: 0644]
lcc/x86/linux/tst/array.1bk [new file with mode: 0644]
lcc/x86/linux/tst/array.2bk [new file with mode: 0644]
lcc/x86/linux/tst/array.sbk [new file with mode: 0644]
lcc/x86/linux/tst/cf.1bk [new file with mode: 0644]
lcc/x86/linux/tst/cf.2bk [new file with mode: 0644]
lcc/x86/linux/tst/cf.sbk [new file with mode: 0644]
lcc/x86/linux/tst/cq.1bk [new file with mode: 0644]
lcc/x86/linux/tst/cq.2bk [new file with mode: 0644]
lcc/x86/linux/tst/cq.sbk [new file with mode: 0644]
lcc/x86/linux/tst/cvt.1bk [new file with mode: 0644]
lcc/x86/linux/tst/cvt.2bk [new file with mode: 0644]
lcc/x86/linux/tst/cvt.sbk [new file with mode: 0644]
lcc/x86/linux/tst/fields.1bk [new file with mode: 0644]
lcc/x86/linux/tst/fields.2bk [new file with mode: 0644]
lcc/x86/linux/tst/fields.sbk [new file with mode: 0644]
lcc/x86/linux/tst/front.2bk [new file with mode: 0644]
lcc/x86/linux/tst/front.sbk [new file with mode: 0644]
lcc/x86/linux/tst/incr.1bk [new file with mode: 0644]
lcc/x86/linux/tst/incr.2bk [new file with mode: 0644]
lcc/x86/linux/tst/incr.sbk [new file with mode: 0644]
lcc/x86/linux/tst/init.1bk [new file with mode: 0644]
lcc/x86/linux/tst/init.2bk [new file with mode: 0644]
lcc/x86/linux/tst/init.sbk [new file with mode: 0644]
lcc/x86/linux/tst/limits.1bk [new file with mode: 0644]
lcc/x86/linux/tst/limits.2bk [new file with mode: 0644]
lcc/x86/linux/tst/limits.sbk [new file with mode: 0644]
lcc/x86/linux/tst/paranoia.1bk [new file with mode: 0644]
lcc/x86/linux/tst/paranoia.2bk [new file with mode: 0644]
lcc/x86/linux/tst/paranoia.sbk [new file with mode: 0644]
lcc/x86/linux/tst/sort.1bk [new file with mode: 0644]
lcc/x86/linux/tst/sort.2bk [new file with mode: 0644]
lcc/x86/linux/tst/sort.sbk [new file with mode: 0644]
lcc/x86/linux/tst/spill.1bk [new file with mode: 0644]
lcc/x86/linux/tst/spill.2bk [new file with mode: 0644]
lcc/x86/linux/tst/spill.sbk [new file with mode: 0644]
lcc/x86/linux/tst/stdarg.1bk [new file with mode: 0644]
lcc/x86/linux/tst/stdarg.2bk [new file with mode: 0644]
lcc/x86/linux/tst/stdarg.sbk [new file with mode: 0644]
lcc/x86/linux/tst/struct.1bk [new file with mode: 0644]
lcc/x86/linux/tst/struct.2bk [new file with mode: 0644]
lcc/x86/linux/tst/struct.sbk [new file with mode: 0644]
lcc/x86/linux/tst/switch.1bk [new file with mode: 0644]
lcc/x86/linux/tst/switch.2bk [new file with mode: 0644]
lcc/x86/linux/tst/switch.sbk [new file with mode: 0644]
lcc/x86/linux/tst/wf1.1bk [new file with mode: 0644]
lcc/x86/linux/tst/wf1.2bk [new file with mode: 0644]
lcc/x86/linux/tst/wf1.sbk [new file with mode: 0644]
lcc/x86/linux/tst/yacc.1bk [new file with mode: 0644]
lcc/x86/linux/tst/yacc.2bk [new file with mode: 0644]
lcc/x86/linux/tst/yacc.sbk [new file with mode: 0644]
lcc/x86/win32/tst/8q.1bk [new file with mode: 0644]
lcc/x86/win32/tst/8q.2bk [new file with mode: 0644]
lcc/x86/win32/tst/8q.sbk [new file with mode: 0644]
lcc/x86/win32/tst/array.1bk [new file with mode: 0644]
lcc/x86/win32/tst/array.2bk [new file with mode: 0644]
lcc/x86/win32/tst/array.sbk [new file with mode: 0644]
lcc/x86/win32/tst/cf.1bk [new file with mode: 0644]
lcc/x86/win32/tst/cf.2bk [new file with mode: 0644]
lcc/x86/win32/tst/cf.sbk [new file with mode: 0644]
lcc/x86/win32/tst/cq.1bk [new file with mode: 0644]
lcc/x86/win32/tst/cq.2bk [new file with mode: 0644]
lcc/x86/win32/tst/cq.sbk [new file with mode: 0644]
lcc/x86/win32/tst/cvt.1bk [new file with mode: 0644]
lcc/x86/win32/tst/cvt.2bk [new file with mode: 0644]
lcc/x86/win32/tst/cvt.sbk [new file with mode: 0644]
lcc/x86/win32/tst/fields.1bk [new file with mode: 0644]
lcc/x86/win32/tst/fields.2bk [new file with mode: 0644]
lcc/x86/win32/tst/fields.sbk [new file with mode: 0644]
lcc/x86/win32/tst/front.2bk [new file with mode: 0644]
lcc/x86/win32/tst/front.sbk [new file with mode: 0644]
lcc/x86/win32/tst/incr.1bk [new file with mode: 0644]
lcc/x86/win32/tst/incr.2bk [new file with mode: 0644]
lcc/x86/win32/tst/incr.sbk [new file with mode: 0644]
lcc/x86/win32/tst/init.1bk [new file with mode: 0644]
lcc/x86/win32/tst/init.2bk [new file with mode: 0644]
lcc/x86/win32/tst/init.sbk [new file with mode: 0644]
lcc/x86/win32/tst/limits.1bk [new file with mode: 0644]
lcc/x86/win32/tst/limits.2bk [new file with mode: 0644]
lcc/x86/win32/tst/limits.sbk [new file with mode: 0644]
lcc/x86/win32/tst/paranoia.1bk [new file with mode: 0644]
lcc/x86/win32/tst/paranoia.2bk [new file with mode: 0644]
lcc/x86/win32/tst/paranoia.sbk [new file with mode: 0644]
lcc/x86/win32/tst/sort.1bk [new file with mode: 0644]
lcc/x86/win32/tst/sort.2bk [new file with mode: 0644]
lcc/x86/win32/tst/sort.sbk [new file with mode: 0644]
lcc/x86/win32/tst/spill.1bk [new file with mode: 0644]
lcc/x86/win32/tst/spill.2bk [new file with mode: 0644]
lcc/x86/win32/tst/spill.sbk [new file with mode: 0644]
lcc/x86/win32/tst/stdarg.1bk [new file with mode: 0644]
lcc/x86/win32/tst/stdarg.2bk [new file with mode: 0644]
lcc/x86/win32/tst/stdarg.sbk [new file with mode: 0644]
lcc/x86/win32/tst/struct.1bk [new file with mode: 0644]
lcc/x86/win32/tst/struct.2bk [new file with mode: 0644]
lcc/x86/win32/tst/struct.sbk [new file with mode: 0644]
lcc/x86/win32/tst/switch.1bk [new file with mode: 0644]
lcc/x86/win32/tst/switch.2bk [new file with mode: 0644]
lcc/x86/win32/tst/switch.sbk [new file with mode: 0644]
lcc/x86/win32/tst/wf1.1bk [new file with mode: 0644]
lcc/x86/win32/tst/wf1.2bk [new file with mode: 0644]
lcc/x86/win32/tst/wf1.sbk [new file with mode: 0644]
lcc/x86/win32/tst/yacc.1bk [new file with mode: 0644]
lcc/x86/win32/tst/yacc.2bk [new file with mode: 0644]
lcc/x86/win32/tst/yacc.sbk [new file with mode: 0644]
libs/cmdlib.h [new file with mode: 0644]
libs/cmdlib/cmdlib.cpp [new file with mode: 0644]
libs/cmdlib/cmdlib.vcproj [new file with mode: 0644]
libs/jpeg6/README [new file with mode: 0644]
libs/jpeg6/jchuff.h [new file with mode: 0644]
libs/jpeg6/jcomapi.cpp [new file with mode: 0644]
libs/jpeg6/jconfig.h [new file with mode: 0644]
libs/jpeg6/jdapimin.cpp [new file with mode: 0644]
libs/jpeg6/jdapistd.cpp [new file with mode: 0644]
libs/jpeg6/jdatasrc.cpp [new file with mode: 0644]
libs/jpeg6/jdcoefct.cpp [new file with mode: 0644]
libs/jpeg6/jdcolor.cpp [new file with mode: 0644]
libs/jpeg6/jdct.h [new file with mode: 0644]
libs/jpeg6/jddctmgr.cpp [new file with mode: 0644]
libs/jpeg6/jdhuff.cpp [new file with mode: 0644]
libs/jpeg6/jdhuff.h [new file with mode: 0644]
libs/jpeg6/jdinput.cpp [new file with mode: 0644]
libs/jpeg6/jdmainct.cpp [new file with mode: 0644]
libs/jpeg6/jdmarker.cpp [new file with mode: 0644]
libs/jpeg6/jdmaster.cpp [new file with mode: 0644]
libs/jpeg6/jdpostct.cpp [new file with mode: 0644]
libs/jpeg6/jdsample.cpp [new file with mode: 0644]
libs/jpeg6/jdtrans.cpp [new file with mode: 0644]
libs/jpeg6/jerror.cpp [new file with mode: 0644]
libs/jpeg6/jerror.h [new file with mode: 0644]
libs/jpeg6/jfdctflt.cpp [new file with mode: 0644]
libs/jpeg6/jidctflt.cpp [new file with mode: 0644]
libs/jpeg6/jinclude.h [new file with mode: 0644]
libs/jpeg6/jmemmgr.cpp [new file with mode: 0644]
libs/jpeg6/jmemnobs.cpp [new file with mode: 0644]
libs/jpeg6/jmemsys.h [new file with mode: 0644]
libs/jpeg6/jmorecfg.h [new file with mode: 0644]
libs/jpeg6/jpeg6.vcproj [new file with mode: 0644]
libs/jpeg6/jpegint.h [new file with mode: 0644]
libs/jpeg6/jpgload.cpp [new file with mode: 0644]
libs/jpeg6/jutils.cpp [new file with mode: 0644]
libs/jpeg6/jversion.h [new file with mode: 0644]
libs/jpeglib.h [new file with mode: 0644]
libs/pak/pak.vcproj [new file with mode: 0644]
libs/pak/pakstuff.cpp [new file with mode: 0644]
libs/pak/unzip.cpp [new file with mode: 0644]
libs/pak/unzip.h [new file with mode: 0644]
libs/pakstuff.h [new file with mode: 0644]
libs/str.h [new file with mode: 0644]
q3asm/Makefile [new file with mode: 0644]
q3asm/README.Id [new file with mode: 0644]
q3asm/cmdlib.c [new file with mode: 0644]
q3asm/cmdlib.h [new file with mode: 0644]
q3asm/lib.txt [new file with mode: 0644]
q3asm/mathlib.h [new file with mode: 0644]
q3asm/notes.txt [new file with mode: 0644]
q3asm/ops.txt [new file with mode: 0644]
q3asm/opstrings.h [new file with mode: 0644]
q3asm/q3asm.c [new file with mode: 0644]
q3asm/q3asm.sln [new file with mode: 0644]
q3asm/q3asm.vcproj [new file with mode: 0644]
q3asm/qfiles.h [new file with mode: 0644]
q3map/brush.c [new file with mode: 0644]
q3map/brush_primit.c [new file with mode: 0644]
q3map/bsp.c [new file with mode: 0644]
q3map/facebsp.c [new file with mode: 0644]
q3map/fog.c [new file with mode: 0644]
q3map/gldraw.c [new file with mode: 0644]
q3map/glfile.c [new file with mode: 0644]
q3map/leakfile.c [new file with mode: 0644]
q3map/light.c [new file with mode: 0644]
q3map/light.h [new file with mode: 0644]
q3map/light_trace.c [new file with mode: 0644]
q3map/lightmaps.c [new file with mode: 0644]
q3map/lightv.c [new file with mode: 0644]
q3map/makefile [new file with mode: 0644]
q3map/map.c [new file with mode: 0644]
q3map/mesh.c [new file with mode: 0644]
q3map/mesh.h [new file with mode: 0644]
q3map/misc_model.c [new file with mode: 0644]
q3map/nodraw.c [new file with mode: 0644]
q3map/patch.c [new file with mode: 0644]
q3map/portals.c [new file with mode: 0644]
q3map/prtfile.c [new file with mode: 0644]
q3map/q3map.sln [new file with mode: 0644]
q3map/q3map.vcproj [new file with mode: 0644]
q3map/qbsp.h [new file with mode: 0644]
q3map/shaders.c [new file with mode: 0644]
q3map/shaders.h [new file with mode: 0644]
q3map/soundv.c [new file with mode: 0644]
q3map/surface.c [new file with mode: 0644]
q3map/terrain.c [new file with mode: 0644]
q3map/tjunction.c [new file with mode: 0644]
q3map/tree.c [new file with mode: 0644]
q3map/vis.c [new file with mode: 0644]
q3map/vis.h [new file with mode: 0644]
q3map/visflow.c [new file with mode: 0644]
q3map/writebsp.c [new file with mode: 0644]
q3radiant/BMP.H [new file with mode: 0644]
q3radiant/BRUSH.H [new file with mode: 0644]
q3radiant/BSInput.cpp [new file with mode: 0644]
q3radiant/BSInput.h [new file with mode: 0644]
q3radiant/BSPFILE.H [new file with mode: 0644]
q3radiant/Bmp.cpp [new file with mode: 0644]
q3radiant/Brush.cpp [new file with mode: 0644]
q3radiant/BrushScript.cpp [new file with mode: 0644]
q3radiant/CAMERA.H [new file with mode: 0644]
q3radiant/CSG.CPP [new file with mode: 0644]
q3radiant/CamWnd.cpp [new file with mode: 0644]
q3radiant/CamWnd.h [new file with mode: 0644]
q3radiant/CapDialog.cpp [new file with mode: 0644]
q3radiant/CapDialog.h [new file with mode: 0644]
q3radiant/CharBuffer.h [new file with mode: 0644]
q3radiant/ChildFrm.cpp [new file with mode: 0644]
q3radiant/ChildFrm.h [new file with mode: 0644]
q3radiant/CommandsDlg.cpp [new file with mode: 0644]
q3radiant/CommandsDlg.h [new file with mode: 0644]
q3radiant/DRAG.CPP [new file with mode: 0644]
q3radiant/DialogInfo.cpp [new file with mode: 0644]
q3radiant/DialogInfo.h [new file with mode: 0644]
q3radiant/DialogTextures.cpp [new file with mode: 0644]
q3radiant/DialogTextures.h [new file with mode: 0644]
q3radiant/DialogThick.cpp [new file with mode: 0644]
q3radiant/DialogThick.h [new file with mode: 0644]
q3radiant/DlgEvent.cpp [new file with mode: 0644]
q3radiant/DlgEvent.h [new file with mode: 0644]
q3radiant/ECLASS.CPP [new file with mode: 0644]
q3radiant/ENTITY.CPP [new file with mode: 0644]
q3radiant/ENTITY.H [new file with mode: 0644]
q3radiant/ENTITYW.H [new file with mode: 0644]
q3radiant/EPAIRS.H [new file with mode: 0644]
q3radiant/EditWnd.cpp [new file with mode: 0644]
q3radiant/EditWnd.h [new file with mode: 0644]
q3radiant/EntityListDlg.cpp [new file with mode: 0644]
q3radiant/EntityListDlg.h [new file with mode: 0644]
q3radiant/EpairsWrapper.h [new file with mode: 0644]
q3radiant/FNMATCH.CPP [new file with mode: 0644]
q3radiant/FNMATCH.H [new file with mode: 0644]
q3radiant/FindTextureDlg.cpp [new file with mode: 0644]
q3radiant/FindTextureDlg.h [new file with mode: 0644]
q3radiant/GLINGR.H [new file with mode: 0644]
q3radiant/GLInterface.cpp [new file with mode: 0644]
q3radiant/GLW_WIN.H [new file with mode: 0644]
q3radiant/GroupBar.cpp [new file with mode: 0644]
q3radiant/GroupBar.h [new file with mode: 0644]
q3radiant/GroupDlg.cpp [new file with mode: 0644]
q3radiant/GroupDlg.h [new file with mode: 0644]
q3radiant/IBSPFrontend.h [new file with mode: 0644]
q3radiant/ICON1.ICO [new file with mode: 0644]
q3radiant/IEpairs.cpp [new file with mode: 0644]
q3radiant/IEpairs.h [new file with mode: 0644]
q3radiant/IMessaging.h [new file with mode: 0644]
q3radiant/IPluginEntities.h [new file with mode: 0644]
q3radiant/ISelectedFace.h [new file with mode: 0644]
q3radiant/IShaders.cpp [new file with mode: 0644]
q3radiant/IShaders.h [new file with mode: 0644]
q3radiant/LBMLIB.CPP [new file with mode: 0644]
q3radiant/LBMLIB.H [new file with mode: 0644]
q3radiant/LstToolBar.cpp [new file with mode: 0644]
q3radiant/LstToolBar.h [new file with mode: 0644]
q3radiant/MAP.CPP [new file with mode: 0644]
q3radiant/MAP.H [new file with mode: 0644]
q3radiant/MATHLIB.CPP [new file with mode: 0644]
q3radiant/MATHLIB.H [new file with mode: 0644]
q3radiant/MRU.CPP [new file with mode: 0644]
q3radiant/MRU.H [new file with mode: 0644]
q3radiant/MainFrm.cpp [new file with mode: 0644]
q3radiant/MainFrm.h [new file with mode: 0644]
q3radiant/MapInfo.cpp [new file with mode: 0644]
q3radiant/MapInfo.h [new file with mode: 0644]
q3radiant/Messaging.cpp [new file with mode: 0644]
q3radiant/Messaging.h [new file with mode: 0644]
q3radiant/NameDlg.cpp [new file with mode: 0644]
q3radiant/NameDlg.h [new file with mode: 0644]
q3radiant/NewProjDlg.cpp [new file with mode: 0644]
q3radiant/NewProjDlg.h [new file with mode: 0644]
q3radiant/PARSE.CPP [new file with mode: 0644]
q3radiant/PARSE.H [new file with mode: 0644]
q3radiant/PMESH.CPP [new file with mode: 0644]
q3radiant/PMESH.H [new file with mode: 0644]
q3radiant/POINTS.CPP [new file with mode: 0644]
q3radiant/PatchDensityDlg.cpp [new file with mode: 0644]
q3radiant/PatchDensityDlg.h [new file with mode: 0644]
q3radiant/PatchDialog.cpp [new file with mode: 0644]
q3radiant/PatchDialog.h [new file with mode: 0644]
q3radiant/PlugIn.cpp [new file with mode: 0644]
q3radiant/PlugIn.h [new file with mode: 0644]
q3radiant/PlugInManager.cpp [new file with mode: 0644]
q3radiant/PlugInManager.h [new file with mode: 0644]
q3radiant/PluginEntities.cpp [new file with mode: 0644]
q3radiant/PrefsDlg.cpp [new file with mode: 0644]
q3radiant/PrefsDlg.h [new file with mode: 0644]
q3radiant/QE3.CPP [new file with mode: 0644]
q3radiant/QE3.H [new file with mode: 0644]
q3radiant/QEDEFS.H [new file with mode: 0644]
q3radiant/QERTYPES.H [new file with mode: 0644]
q3radiant/QFILES.H [new file with mode: 0644]
q3radiant/QGL.H [new file with mode: 0644]
q3radiant/QGL_WIN.C [new file with mode: 0644]
q3radiant/QGL_WIN.CPP [new file with mode: 0644]
q3radiant/RADBSP.CPP [new file with mode: 0644]
q3radiant/RADEditView.cpp [new file with mode: 0644]
q3radiant/RADEditView.h [new file with mode: 0644]
q3radiant/RADEditWnd.cpp [new file with mode: 0644]
q3radiant/RADEditWnd.h [new file with mode: 0644]
q3radiant/RADKEYS.INI [new file with mode: 0644]
q3radiant/Radiant.clw [new file with mode: 0644]
q3radiant/Radiant.cpp [new file with mode: 0644]
q3radiant/Radiant.h [new file with mode: 0644]
q3radiant/Radiant.rc [new file with mode: 0644]
q3radiant/Radiant.sln [new file with mode: 0644]
q3radiant/Radiant.vcproj [new file with mode: 0644]
q3radiant/RadiantDoc.cpp [new file with mode: 0644]
q3radiant/RadiantDoc.h [new file with mode: 0644]
q3radiant/RadiantView.cpp [new file with mode: 0644]
q3radiant/RadiantView.h [new file with mode: 0644]
q3radiant/RotateDlg.cpp [new file with mode: 0644]
q3radiant/RotateDlg.h [new file with mode: 0644]
q3radiant/SELECT.CPP [new file with mode: 0644]
q3radiant/SELECT.H [new file with mode: 0644]
q3radiant/ScaleDialog.cpp [new file with mode: 0644]
q3radiant/ScaleDialog.h [new file with mode: 0644]
q3radiant/ScriptDlg.cpp [new file with mode: 0644]
q3radiant/ScriptDlg.h [new file with mode: 0644]
q3radiant/SelectedFace.cpp [new file with mode: 0644]
q3radiant/ShaderEdit.cpp [new file with mode: 0644]
q3radiant/ShaderEdit.h [new file with mode: 0644]
q3radiant/ShaderInfo.cpp [new file with mode: 0644]
q3radiant/ShaderInfo.h [new file with mode: 0644]
q3radiant/StdAfx.cpp [new file with mode: 0644]
q3radiant/StdAfx.h [new file with mode: 0644]
q3radiant/SurfaceDlg.cpp [new file with mode: 0644]
q3radiant/SurfaceDlg.h [new file with mode: 0644]
q3radiant/SurfacePlugin.cpp [new file with mode: 0644]
q3radiant/TexEdit.cpp [new file with mode: 0644]
q3radiant/TexEdit.h [new file with mode: 0644]
q3radiant/TexWnd.cpp [new file with mode: 0644]
q3radiant/TexWnd.h [new file with mode: 0644]
q3radiant/TextureBar.cpp [new file with mode: 0644]
q3radiant/TextureBar.h [new file with mode: 0644]
q3radiant/TextureLayout.cpp [new file with mode: 0644]
q3radiant/TextureLayout.h [new file with mode: 0644]
q3radiant/TextureLoad.cpp [new file with mode: 0644]
q3radiant/TextureLoad.h [new file with mode: 0644]
q3radiant/Textures.h [new file with mode: 0644]
q3radiant/ToolWnd.cpp [new file with mode: 0644]
q3radiant/ToolWnd.h [new file with mode: 0644]
q3radiant/Undo.cpp [new file with mode: 0644]
q3radiant/Undo.h [new file with mode: 0644]
q3radiant/VERTSEL.CPP [new file with mode: 0644]
q3radiant/VIEW.H [new file with mode: 0644]
q3radiant/WIN_CAM.CPP [new file with mode: 0644]
q3radiant/WIN_DLG.CPP [new file with mode: 0644]
q3radiant/WIN_QE3.CPP [new file with mode: 0644]
q3radiant/WIN_QE3.RC2 [new file with mode: 0644]
q3radiant/WIN_XY.CPP [new file with mode: 0644]
q3radiant/WIN_Z.CPP [new file with mode: 0644]
q3radiant/WaveOpen.cpp [new file with mode: 0644]
q3radiant/WaveOpen.h [new file with mode: 0644]
q3radiant/Win_ent.cpp [new file with mode: 0644]
q3radiant/Win_main.cpp [new file with mode: 0644]
q3radiant/Winding.cpp [new file with mode: 0644]
q3radiant/Winding.h [new file with mode: 0644]
q3radiant/XY.H [new file with mode: 0644]
q3radiant/XYWnd.cpp [new file with mode: 0644]
q3radiant/XYWnd.h [new file with mode: 0644]
q3radiant/Z.CPP [new file with mode: 0644]
q3radiant/Z.H [new file with mode: 0644]
q3radiant/ZView.cpp [new file with mode: 0644]
q3radiant/ZView.h [new file with mode: 0644]
q3radiant/ZWnd.cpp [new file with mode: 0644]
q3radiant/ZWnd.h [new file with mode: 0644]
q3radiant/brush_primit.cpp [new file with mode: 0644]
q3radiant/cameratargetdlg.cpp [new file with mode: 0644]
q3radiant/cameratargetdlg.h [new file with mode: 0644]
q3radiant/cbrushstub.cpp [new file with mode: 0644]
q3radiant/dlgcamera.cpp [new file with mode: 0644]
q3radiant/dlgcamera.h [new file with mode: 0644]
q3radiant/igl.h [new file with mode: 0644]
q3radiant/iscriplib.h [new file with mode: 0644]
q3radiant/isurfaceplugin.h [new file with mode: 0644]
q3radiant/qerplugin.h [new file with mode: 0644]
q3radiant/res/BEVEL.BMP [new file with mode: 0644]
q3radiant/res/BITMAP2.BMP [new file with mode: 0644]
q3radiant/res/BMP00001.BMP [new file with mode: 0644]
q3radiant/res/BMP00002.BMP [new file with mode: 0644]
q3radiant/res/BMP0002.BMP [new file with mode: 0644]
q3radiant/res/DEFTEX.WAL [new file with mode: 0644]
q3radiant/res/ENDCAP.BMP [new file with mode: 0644]
q3radiant/res/IBEVEL.BMP [new file with mode: 0644]
q3radiant/res/IENDCAP.BMP [new file with mode: 0644]
q3radiant/res/Q.BMP [new file with mode: 0644]
q3radiant/res/RADIANT3.GIF [new file with mode: 0644]
q3radiant/res/Radiant.ico [new file with mode: 0644]
q3radiant/res/Radiant.rc2 [new file with mode: 0644]
q3radiant/res/RadiantDoc.ico [new file with mode: 0644]
q3radiant/res/TOOLBAR1.BMP [new file with mode: 0644]
q3radiant/res/TOOLBAR2.BMP [new file with mode: 0644]
q3radiant/res/Toolbar.bmp [new file with mode: 0644]
q3radiant/res/VIEWDEFA.BMP [new file with mode: 0644]
q3radiant/res/VIEWOPPO.BMP [new file with mode: 0644]
q3radiant/res/bmp00003.bmp [new file with mode: 0644]
q3radiant/res/icon2.ico [new file with mode: 0644]
q3radiant/res/logo_sm3dfx.bmp [new file with mode: 0644]
q3radiant/res/shaderbar.bmp [new file with mode: 0644]
q3radiant/res/shaderdoc.ico [new file with mode: 0644]
q3radiant/res/shaderframe.ico [new file with mode: 0644]
q3radiant/resource.h [new file with mode: 0644]
q3radiant/splines/Splines.vcproj [new file with mode: 0644]
q3radiant/splines/math_angles.cpp [new file with mode: 0644]
q3radiant/splines/math_angles.h [new file with mode: 0644]
q3radiant/splines/math_matrix.cpp [new file with mode: 0644]
q3radiant/splines/math_matrix.h [new file with mode: 0644]
q3radiant/splines/math_quaternion.cpp [new file with mode: 0644]
q3radiant/splines/math_quaternion.h [new file with mode: 0644]
q3radiant/splines/math_vector.cpp [new file with mode: 0644]
q3radiant/splines/math_vector.h [new file with mode: 0644]
q3radiant/splines/q_parse.cpp [new file with mode: 0644]
q3radiant/splines/q_shared.cpp [new file with mode: 0644]
q3radiant/splines/q_shared.h [new file with mode: 0644]
q3radiant/splines/splines.cpp [new file with mode: 0644]
q3radiant/splines/splines.h [new file with mode: 0644]
q3radiant/splines/util_list.h [new file with mode: 0644]
q3radiant/splines/util_str.cpp [new file with mode: 0644]
q3radiant/splines/util_str.h [new file with mode: 0644]
q3radiant/terrain.cpp [new file with mode: 0644]
q3radiant/terrain.h [new file with mode: 0644]
ui/hud.txt [new file with mode: 0644]
ui/hud2.txt [new file with mode: 0644]
ui/ingame.txt [new file with mode: 0644]
ui/menudef.h [new file with mode: 0644]
ui/menus.txt [new file with mode: 0644]

diff --git a/COPYING.txt b/COPYING.txt
new file mode 100644 (file)
index 0000000..98443f3
--- /dev/null
@@ -0,0 +1,281 @@
+                   GNU GENERAL PUBLIC LICENSE
+                      Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                       51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                           Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+\f
+                   GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+\f
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+\f
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+\f
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                           NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                    END OF TERMS AND CONDITIONS
+\f
diff --git a/README.txt b/README.txt
new file mode 100644 (file)
index 0000000..0dcc701
--- /dev/null
@@ -0,0 +1,193 @@
+Quake III Arena GPL source release
+==================================
+
+This file contains the following sections:
+
+LICENSE
+GENERAL NOTES
+COMPILING ON WIN32
+COMPILING ON GNU/LINUX
+COMPILING ON MAC
+
+LICENSE
+=======
+
+See COPYING.txt for the GNU GENERAL PUBLIC LICENSE
+
+Some source code in this release is not covered by the GPL:
+
+IO on .zip files using portions of zlib
+-----------------------------------------------------------------------------
+lines  file(s)
+4299   code/qcommon/unzip.c
+4546   libs/pak/unzip.cpp
+Copyright (C) 1998 Gilles Vollant
+zlib is Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler
+
+  This software is provided 'as-is', without any express or implied
+  warranty.  In no event will the authors be held liable for any damages
+  arising from the use of this software.
+
+  Permission is granted to anyone to use this software for any purpose,
+  including commercial applications, and to alter it and redistribute it
+  freely, subject to the following restrictions:
+
+  1. The origin of this software must not be misrepresented; you must not
+     claim that you wrote the original software. If you use this software
+     in a product, an acknowledgment in the product documentation would be
+     appreciated but is not required.
+  2. Altered source versions must be plainly marked as such, and must not be
+     misrepresented as being the original software.
+  3. This notice may not be removed or altered from any source distribution.
+
+MD4 Message-Digest Algorithm
+-----------------------------------------------------------------------------
+lines  file(s)
+299            code/qcommon/md4.c
+277            common/md4.c
+Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved.
+
+License to copy and use this software is granted provided that it is identified 
+as the <93>RSA Data Security, Inc. MD4 Message-Digest Algorithm<94> in all mater
+ial mentioning or referencing this software or this function.
+License is also granted to make and use derivative works provided that such work
+s are identified as <93>derived from the RSA Data Security, Inc. MD4 Message-Dig
+est Algorithm<94> in all material mentioning or referencing the derived work.
+RSA Data Security, Inc. makes no representations concerning either the merchanta
+bility of this software or the suitability of this software for any particular p
+urpose. It is provided <93>as is<94> without express or implied warranty of any 
+kind.
+
+checksums are used to validate pak files
+
+standard C library replacement routines
+-----------------------------------------------------------------------------
+lines  file(s)
+1324   code/game/bg_lib.c
+Copyright (c) 1992, 1993
+The Regents of the University of California. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in the
+   documentation and/or other materials provided with the distribution.
+3. All advertising materials mentioning features or use of this software
+   must display the following acknowledgement:
+     This product includes software developed by the University of
+     California, Berkeley and its contributors.
+4. Neither the name of the University nor the names of its contributors
+   may be used to endorse or promote products derived from this software
+   without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+
+ADPCM coder/decoder
+-----------------------------------------------------------------------------
+lines  file(s)
+330            code/client/snd_adpcm.c
+Copyright 1992 by Stichting Mathematisch Centrum, Amsterdam, The
+Netherlands.
+
+                        All Rights Reserved
+
+Permission to use, copy, modify, and distribute this software and its 
+documentation for any purpose and without fee is hereby granted, 
+provided that the above copyright notice appear in all copies and that
+both that copyright notice and this permission notice appear in 
+supporting documentation, and that the names of Stichting Mathematisch
+Centrum or CWI not be used in advertising or publicity pertaining to
+distribution of the software without specific, written prior permission.
+
+STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
+THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
+FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
+FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+JPEG library
+-----------------------------------------------------------------------------
+code/jpeg-6
+libs/jpeg6
+Copyright (C) 1991-1995, Thomas G. Lane
+
+Permission is hereby granted to use, copy, modify, and distribute this
+software (or portions thereof) for any purpose, without fee, subject to these
+conditions:
+(1) If any part of the source code for this software is distributed, then this
+README file must be included, with this copyright and no-warranty notice
+unaltered; and any additions, deletions, or changes to the original files
+must be clearly indicated in accompanying documentation.
+(2) If only executable code is distributed, then the accompanying
+documentation must state that "this software is based in part on the work of
+the Independent JPEG Group".
+(3) Permission for use of this software is granted only if the user accepts
+full responsibility for any undesirable consequences; the authors accept
+NO LIABILITY for damages of any kind.
+
+These conditions apply to any software derived from or based on the IJG code,
+not just to the unmodified library.  If you use our work, you ought to
+acknowledge us.
+
+NOTE: unfortunately the README that came with our copy of the library has
+been lost, so the one from release 6b is included instead. There are a few
+'glue type' modifications to the library to make it easier to use from
+the engine, but otherwise the dependency can be easily cleaned up to a
+better release of the library.
+
+
+GENERAL NOTES
+=============
+
+A short summary of the file layout:
+
+code/                                  Quake III Arena source code ( renderer, game code, OS layer etc. )
+code/bspc                              bot routes compiler source code
+lcc/                                   the retargetable C compiler ( produces assembly to be turned into qvm bytecode by q3asm )
+q3asm/                                 assembly to qvm bytecode compiler
+q3map/                                 map compiler ( .map -> .bsp ) - this is the version that comes with Q3Radiant 200f
+q3radiant/                             Q3Radiant map editor build 200f ( common/ and libs/ are support dirs for radiant )
+
+While we made sure we were still able to compile the game on Windows, GNU/Linux and Mac, this build didn't get any kind of extensive testing so it may not work completely right. Whenever an id game is released under GPL, several projects start making the source code more friendly to nowaday's compilers and environements. If you are picking up this release weeks/months/years after we uploaded it, you probably want to look around on the net for cleaned up versions of this codebase as well.
+
+COMPILING ON WIN32
+==================
+
+VC7 / Visual C++ 2003 project files are provided:
+code/quake3.sln
+q3radiant/Radiant.sln
+
+To compile the qvms, you need to run some batch files:
+you will need to have lcc.exe q3cpp.exe q3rcc.exe and q3asm.exe in your path
+( some precompiled binaries are provided in lcc/bin and code/win32/mod-sdk-setup/bin )
+the qvm batch files are in code/game code/cgame code/q3_ui code/ui ..
+
+COMPILING ON GNU/LINUX
+==================
+
+the build system using cons, which may be known as scons's perl ancestor now
+you don't have to track it down though, the build script is provided in the tree
+you will need nasm and gcc 2.95
+make sure you have the X Direct Graphics Access and X Video Mode extensions headers for your X11
+a typical compile command goes like this:
+[..]/code$ ./unix/cons -- gcc=gcc-2.95 g++=g++-2.95
+
+COMPILING ON MAC
+================
+
+project file for OSX compile is in code/macosx/Quake3.pbproj
diff --git a/code/Construct b/code/Construct
new file mode 100644 (file)
index 0000000..82e6e0d
--- /dev/null
@@ -0,0 +1,431 @@
+# -*- mode: perl -*-
+# cons script for cgame game q3_ui ui .so and .qvm builds
+#
+# Oct. 2001 TTimo <ttimo@idsoftware.com>
+#
+
+# the top directory is
+# <config>-<cpu>-<OS>-<libc version>
+# where:
+#   <config> is "debug" or "release"
+#   <cpu> is "x86" or "ppc"
+#   <OS> is "Linux" "BSD" "IRIX" etc.
+#   <libc version> is major.minor of libc config
+
+# source the compiler version utility
+BEGIN {
+  push @INC, './unix';
+}
+use Cons_gcc;
+
+# defaults
+$config = 'debug';
+$do_smp = 1;
+$do_masterserver = 0;
+$do_authserver = 0;
+$do_authport = 0;
+$do_setup = 0;
+$do_bspc = 0;
+$do_sdk = 0;
+$do_pk3 = 0;
+# those are exported
+$DO_WIN32 = 0;
+$NO_VM = 0;
+$NO_SO = 0;
+$CC='gcc';
+$CXX='g++';
+
+# detect an sdk build (don't attempt client build and other things)
+if ( -r 'unix/Conscript-client' )
+{
+  $no_core = 0;
+}
+else
+{
+  $no_core = 1;
+}
+
+# detection of CPU type
+$cpu = `uname -m`;
+chop ($cpu);
+if ($cpu +~ /i?86/)
+{
+  $cpu = 'x86';
+}
+# OS
+$OS = `uname`;
+chop ($OS);
+# hacky win32 detection and win32 specifics code
+if ($OS =~ CYGWIN)
+{
+       $DO_WIN32 = 1;
+}
+else
+{
+       # libc .. do the little magic!
+       $libc_cmd = '/lib/libc.so.6 |grep "GNU C "|grep version|awk -F "version " \'{ print $2 }\'|cut -b -3';
+       $libc = `$libc_cmd`;
+       chop ($libc);
+}
+
+if ($DO_WIN32 eq 1)
+{
+       print("Win32 build\n");
+
+       $config = $ARGV[0];
+
+       # TODO: option to override $Q3BASE from command line
+       $Q3BASE = $ENV{Q3BASE}; # FIXME: this doesn't play nice with cygwin path syntax
+       print("\$Q3BASE: $Q3BASE\n");   
+
+       if($config eq 'debug')
+       {
+         $DIR = 'Debug';
+               system("cp -v $DIR/quake3.exe \$Q3BASE");
+               system("cp -v $DIR/cgamex86.dll $DIR/qagamex86.dll $DIR/uix86.dll \$Q3BASE/baseq3");
+       }
+       elsif ($config eq 'debug-TA')
+       {
+               $DIR = 'Debug_TA';
+               system("cp -v $DIR/quake3.exe \$Q3BASE");
+               system("cp -v $DIR/cgamex86.dll $DIR/qagamex86.dll $DIR/uix86.dll \$Q3BASE/missionpack");
+       }
+       elsif($config eq 'release-TA')
+       {
+               $DIR = 'Release_TA';
+               # spank!
+               system("./spank.sh");
+               system("cp -v $DIR/quake3.exe \$Q3BASE");
+       }
+       else
+       {
+               printf("ERROR: no config option (debug debug-TA release-TA)");
+               exit;
+       }
+
+       # copy selected stuff to shared media
+       $DESTDIR='/cygdrive/e/incoming/Id/q3-1.32';
+       system("cp -v $DIR/quake3.exe $DESTDIR");
+       system("cp -v /cygdrive/e/Q3SetupMedia/quake3/CHANGES-1.32.txt $DESTDIR");
+
+       exit;   
+}
+
+if(@ARGV gt 0)
+{
+  foreach $cmdopt (@ARGV)
+  {
+    if(lc($cmdopt) eq 'release')
+    {
+      $config = 'release';
+      next;
+    }
+    elsif(lc($cmdopt) eq 'debug')
+    {
+      $config = 'debug';
+      next;
+    }
+    elsif(lc($cmdopt) eq 'novm')
+    {
+      $NO_VM = 1;
+      next;
+    }
+    elsif(lc($cmdopt) eq 'noso')
+    {
+      $NO_SO = 1;
+      next;
+    }
+    elsif(lc($cmdopt) eq 'nosmp')
+    {
+      $do_smp = 0;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'master_server=.*')
+    {
+      $do_masterserver = 1;
+      $master_server = lc($cmdopt);
+      $master_server =~ s/master_server=(.*)/\1/;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'auth_server=.*')
+    {
+      $do_authserver = 1;
+      $auth_server = lc($cmdopt);
+      $auth_server =~ s/auth_server=(.*)/\1/;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'auth_port=.*')
+    {
+      $do_authport = 1;
+      $auth_port = lc($cmdopt);
+      $auth_port =~ s/auth_port=(.*)/\1/;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'setup')
+    {
+      $do_setup = 1;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'bspc')
+    {
+      $do_bspc = 1;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'sdk')
+    {
+      $do_sdk = 1;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'pk3')
+    {
+      $do_pk3 = 1;
+      next;
+    }
+       elsif(lc($cmdopt) =~ 'gcc=.*')
+    {
+      $CC=lc($cmdopt);
+      $CC =~ s/gcc=(.*)/\1/;
+      next;
+    }
+    elsif(lc($cmdopt) =~ 'g\+\+=.*')
+    {
+      $CXX=lc($cmdopt);
+      $CXX=~s/g\+\+=(.*)/\1/;
+      next;
+    }
+    else
+    {
+      # output an error & exit
+      print("Error\n  $0: Unknown command line option: [ $cmdopt ]\n");
+      system("cons -h");
+      exit;
+    }
+  }
+}
+
+if (($do_setup eq 1) && ($config ne 'release'))
+{
+  print("Error\n  $0: 'setup' requires 'release'\n");
+  exit;
+}
+
+# sdk
+if ($do_sdk eq 1)
+{
+  # extract the Q3 version from q_shared.h
+  $line = `cat game/q_shared.h | grep Q3_VERSION`;
+  chomp $line;
+  $line =~ s/.*Q3\ (.*)\"/$1/;
+  $Q3_VER = $line;
+  $SDK_NAME = "linuxq3a-sdk-$Q3_VER.x86.run";
+  Default "unix/$SDK_NAME";
+  Export qw( SDK_NAME Q3_VER );
+  Build 'unix/Conscript-sdk';
+  return;
+}
+
+# build the config directory
+$CONFIG_DIR = $config . '-' . $cpu . '-' . $OS . '-' . $libc;
+
+$COMMON_CFLAGS = '-pipe -fsigned-char ';
+
+if ($config eq 'debug')
+{
+  # use -Werror for better QA  
+  $BASE_CFLAGS = $COMMON_CFLAGS . '-g -Wall -Werror -O ';
+       $BSPC_BASE_CFLAGS = $COMMON_CFLAGS . '-g -O -DLINUX -DBSPC -Dstricmp=strcasecmp ';
+}
+else
+{
+  $BASE_CFLAGS = $COMMON_CFLAGS . '-DNDEBUG -O6 -mcpu=pentiumpro -march=pentium -fomit-frame-pointer -ffast-math -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fno-strict-aliasing -fstrength-reduce ';
+       $BSPC_BASE_CFLAGS = $BASE_CFLAGS . '-DLINUX -DBSPC -Dstricmp=strcasecmp ';
+}
+
+if ($do_masterserver eq 1)
+{
+       $BASE_CFLAGS .= "-DMASTER_SERVER_NAME=\\\"$master_server\\\" ";
+}
+
+if ($do_authserver eq 1)
+{
+       $BASE_CFLAGS .= "-DAUTHORIZE_SERVER_NAME=\\\"$auth_server\\\" ";
+}
+
+if ($do_authport eq 1)
+{
+       $BASE_CFLAGS .= "-DPORT_AUTHORIZE=$auth_port ";
+}
+
+my @gcc_version = Cons_gcc::get_gcc_version($CC);
+print("GCC version: $gcc_version[1] - $gcc_version[2]\n");
+# with 2.95 you can link with gcc, this avoids nasty useless libstdc++ dependency
+if ($gcc_version[0] eq '2')
+{
+       $LINK = $CC;
+} else {
+       $LINK = $CXX;
+}
+
+my @ccache = Cons_gcc::get_ccache();
+if ($ccache[0] eq '1')
+{
+  $CC = $ccache[1] . " " . $CC;
+  $CXX = $ccache[1] . " " . $CXX;
+}
+
+print 'cpu : ' . $cpu . "\nOS  : " . $OS . "\n";
+print "libc: " . $libc . "\n";
+print "configured for " . $config . " build\n";
+print 'CFLAGS: ' . $BASE_CFLAGS . "\n";
+
+# install config
+$INSTALL_BASEDIR='#install';
+
+Default $INSTALL_BASEDIR;
+
+sub build_tools {
+  system("mkdir qvmtools 2>/dev/null");
+  if (@_[0] eq 'q3lcc')
+  {
+    system("cd ../lcc ; make all ; cp /tmp/lcc ../code/qvmtools/q3lcc ; cp /tmp/rcc ../code/qvmtools/q3rcc ; cp /tmp/cpp ../code/qvmtools/q3cpp");
+  }
+  elsif (@_[0] eq 'q3asm')
+  {
+    system("cd ../q3asm ; make ; cp q3asm ../code/qvmtools");
+  }
+  else
+  {
+    printf("build_tools: @_[0] unrecognized command\n");
+    die;
+  }
+  return 1;
+}
+
+# build tools
+$env_tools = new cons();
+Command $env_tools 'qvmtools/q3lcc', '[perl] &build_tools(\'q3lcc\')';
+Command $env_tools 'qvmtools/q3asm', '[perl] &build_tools(\'q3asm\')';
+
+if ($do_bspc eq 1)
+{
+       # build bspc
+       $BUILD_DIR = $CONFIG_DIR . '/bspc';
+       Link $BUILD_DIR => '.';
+       $INSTALL_DIR = $INSTALL_BASEDIR . '/utils';
+       Export qw( BSPC_BASE_CFLAGS BUILD_DIR INSTALL_DIR CC CXX LINK );
+       Build $BUILD_DIR . '/bspc/Conscript';
+}
+
+# build vanilla Q3
+$TARGET_DIR='Q3';
+
+$INSTALL_DIR = $INSTALL_BASEDIR . '/baseq3';
+
+$BUILD_DIR = $CONFIG_DIR . '/' . $TARGET_DIR . '/cgame';
+Link $BUILD_DIR => '.';
+Export qw( BASE_CFLAGS TARGET_DIR INSTALL_DIR NO_VM NO_SO CC CXX LINK );
+Build $BUILD_DIR . '/cgame/Conscript';
+
+$BUILD_DIR = $CONFIG_DIR . '/' . $TARGET_DIR . '/game';
+Link $BUILD_DIR => '.';
+Export qw( BASE_CFLAGS TARGET_DIR INSTALL_DIR NO_VM NO_SO CC CXX LINK );
+Build $BUILD_DIR . '/game/Conscript';
+
+$BUILD_DIR = $CONFIG_DIR . '/' . $TARGET_DIR . '/q3_ui';
+Link $BUILD_DIR => '.';
+Export qw( BASE_CFLAGS TARGET_DIR INSTALL_DIR NO_VM NO_SO CC CXX LINK );
+Build $BUILD_DIR . '/q3_ui/Conscript';
+  
+# build TA
+$TARGET_DIR='TA';
+
+$INSTALL_DIR = $INSTALL_BASEDIR . '/missionpack';
+
+$BUILD_DIR = $CONFIG_DIR . "/" . $TARGET_DIR . '/cgame';
+Link $BUILD_DIR => '.';
+Export qw( BASE_CFLAGS TARGET_DIR INSTALL_DIR NO_VM NO_SO CC CXX LINK );
+Build $BUILD_DIR . '/cgame/Conscript';
+
+$BUILD_DIR = $CONFIG_DIR . "/" . $TARGET_DIR . '/game';
+Link $BUILD_DIR => '.';
+Export qw( BASE_CFLAGS TARGET_DIR INSTALL_DIR NO_VM NO_SO CC CXX LINK );
+Build $BUILD_DIR . '/game/Conscript';
+
+$BUILD_DIR = $CONFIG_DIR . '/' . $TARGET_DIR . '/ui';
+Link $BUILD_DIR => '.';
+Export qw( BASE_CFLAGS TARGET_DIR INSTALL_DIR NO_VM NO_SO CC CXX LINK );
+Build $BUILD_DIR . '/ui/Conscript';
+
+# core
+if ($no_core eq 1)
+{
+  return;
+}
+
+$INSTALL_DIR = $INSTALL_BASEDIR;
+$BUILD_DIR = $CONFIG_DIR . '/core/dedicated';
+Link $BUILD_DIR => '.';
+$hack = $BASE_CFLAGS; # hit me!
+$BASE_CFLAGS .= '-DDEDICATED ';
+Export qw( BASE_CFLAGS BUILD_DIR INSTALL_DIR CC CXX LINK );
+Build $BUILD_DIR . '/unix/Conscript-dedicated';
+$BASE_CFLAGS = $hack;
+
+
+
+$TARGETNAME = 'linuxquake3';
+$BUILD_DIR = $CONFIG_DIR . '/core/client';
+$BASE_LDFLAGS = '';
+
+Link $BUILD_DIR => '.';
+Export qw( BASE_CFLAGS BASE_LDFLAGS BUILD_DIR INSTALL_DIR TARGETNAME CC CXX LINK );
+Build $BUILD_DIR . '/unix/Conscript-client';
+
+if ($do_smp eq 1)
+{
+       $TARGETNAME = 'linuxquake3-smp';
+       $BUILD_DIR = $CONFIG_DIR . '/core/client-smp';
+       $BASE_CFLAGS .= '-DSMP ';
+       $BASE_LDFLAGS = '-lpthread ';
+       
+  Link $BUILD_DIR => '.';
+  Export qw( BASE_CFLAGS BASE_LDFLAGS BUILD_DIR INSTALL_DIR TARGETNAME CC CXX LINK );
+  Build $BUILD_DIR . '/unix/Conscript-client'; 
+}
+
+if ($NO_VM eq 0 && $do_pk3 eq 1)
+{
+       # build the PK3s
+       $INSTALL_DIR = $INSTALL_BASEDIR;
+       $BUILD_DIR = $CONFIG_DIR . '/pk3-builder';
+       Link $BUILD_DIR => 'unix';
+       Export qw( INSTALL_DIR BUILD_DIR CONFIG_DIR CC CXX LINK );
+       Build $BUILD_DIR . '/Conscript-pk3';
+}
+
+if ($do_setup eq 1)
+{
+  Link $CONFIG_DIR => '.';
+  Export qw( INSTALL_BASEDIR );
+  Build $CONFIG_DIR . '/unix/Conscript-setup';
+}
+
+Help 
+"
+Usage: cons [-h] [ -- [release|debug] [novm] [noso] [nosmp] [master_server=<adr>] [auth_server=<adr>] [auth_port=<port>] [pk3] [bspc] [setup] [sdk]]
+Default build type is Debug, specifying '-- release' on the
+command line builds a Release version (NOTE that this option
+only affects the native libraries).
+
+novm: will not build the VMs
+noso: will not build the so
+
+below are for core builds only:
+
+nosmp : do not build the SMP-enabled version of the renderer
+pk3   : generate the pk3s on the fly (defined in unix/Conscript-pk3)
+bspc  : build bspc
+setup : build setup 
+sdk   : build the mod sdk
+"
+;
diff --git a/code/Makefile b/code/Makefile
new file mode 100644 (file)
index 0000000..5e403ae
--- /dev/null
@@ -0,0 +1,3 @@
+# nasty ugly to get build system working from Anjuta
+all:
+       if [ `hostname` == sparkle ] ; then ./unix/pcons-2.3.1 -j4 -- novm noso ; else ./unix/cons ; fi
diff --git a/code/botlib/aasfile.h b/code/botlib/aasfile.h
new file mode 100644 (file)
index 0000000..7fdc26a
--- /dev/null
@@ -0,0 +1,267 @@
+/*
+===========================================================================
+Copyright (C) 1999-2005 Id Software, Inc.
+
+This file is part of Quake III Arena source code.
+
+Quake III Arena source code is free software; you can redistribute it
+and/or modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of the License,
+or (at your option) any later version.
+
+Quake III Arena source code is distributed in the hope that it will be
+useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Foobar; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+===========================================================================
+*/
+
+
+//NOTE:        int =   default signed
+//                             default long
+
+#define AASID                                          (('S'<<24)+('A'<<16)+('A'<<8)+'E')
+#define AASVERSION_OLD                         4
+#define AASVERSION                                     5
+
+//presence types
+#define PRESENCE_NONE                          1
+#define PRESENCE_NORMAL                                2
+#define PRESENCE_CROUCH                                4
+
+//travel types
+#define MAX_TRAVELTYPES                                32
+#define TRAVEL_INVALID                         1               //temporary not possible
+#define TRAVEL_WALK                                    2               //walking
+#define TRAVEL_CROUCH                          3               //crouching
+#define TRAVEL_BARRIERJUMP                     4               //jumping onto a barrier
+#define TRAVEL_JUMP                                    5               //jumping
+#define TRAVEL_LADDER                          6               //climbing a ladder
+#define TRAVEL_WALKOFFLEDGE                    7               //walking of a ledge
+#define TRAVEL_SWIM                                    8               //swimming
+#define TRAVEL_WATERJUMP                       9               //jump out of the water
+#define TRAVEL_TELEPORT                                10              //teleportation
+#define TRAVEL_ELEVATOR                                11              //travel by elevator
+#define TRAVEL_ROCKETJUMP                      12              //rocket jumping required for travel
+#define TRAVEL_BFGJUMP                         13              //bfg jumping required for travel
+#define TRAVEL_GRAPPLEHOOK                     14              //grappling hook required for travel
+#define TRAVEL_DOUBLEJUMP                      15              //double jump
+#define TRAVEL_RAMPJUMP                                16              //ramp jump
+#define TRAVEL_STRAFEJUMP                      17              //strafe jump
+#define TRAVEL_JUMPPAD                         18              //jump pad
+#define TRAVEL_FUNCBOB                         19              //func bob
+
+//additional travel flags
+#define TRAVELTYPE_MASK                                0xFFFFFF
+#define TRAVELFLAG_NOTTEAM1                    (1 << 24)
+#define TRAVELFLAG_NOTTEAM2                    (2 << 24)
+
+//face flags
+#define FACE_SOLID                                     1               //just solid at the other side
+#define FACE_LADDER                                    2               //ladder
+#define FACE_GROUND                                    4               //standing on ground when in this face
+#define FACE_GAP                                       8               //gap in the ground
+#define FACE_LIQUID                                    16              //face seperating two areas with liquid
+#define FACE_LIQUIDSURFACE                     32              //face seperating liquid and air
+#define FACE_BRIDGE                                    64              //can walk over this face if bridge is closed
+
+//area contents
+#define AREACONTENTS_WATER                             1
+#define AREACONTENTS_LAVA                              2
+#define AREACONTENTS_SLIME                             4
+#define AREACONTENTS_CLUSTERPORTAL             8
+#define AREACONTENTS_TELEPORTAL                        16
+#define AREACONTENTS_ROUTEPORTAL               32
+#define AREACONTENTS_TELEPORTER                        64
+#define AREACONTENTS_JUMPPAD                   128
+#define AREACONTENTS_DONOTENTER                        256
+#define        AREACONTENTS_VIEWPORTAL                 512
+#define AREACONTENTS_MOVER                             1024
+#define AREACONTENTS_NOTTEAM1                  2048
+#define AREACONTENTS_NOTTEAM2                  4096
+//number of model of the mover inside this area
+#define AREACONTENTS_MODELNUMSHIFT             24
+#define AREACONTENTS_MAXMODELNUM               0xFF
+#define AREACONTENTS_MODELNUM                  (AREACONTENTS_MAXMODELNUM << AREACONTENTS_MODELNUMSHIFT)
+
+//area flags
+#define AREA_GROUNDED                          1               //bot can stand on the ground
+#define AREA_LADDER                                    2               //area contains one or more ladder faces
+#define AREA_LIQUID                                    4               //area contains a liquid
+#define AREA_DISABLED                          8               //area is disabled for routing when set
+#define AREA_BRIDGE                                    16              //area ontop of a bridge
+
+//aas file header lumps
+#define AAS_LUMPS                                      14
+#define AASLUMP_BBOXES                         0
+#define AASLUMP_VERTEXES                       1
+#define AASLUMP_PLANES                         2
+#define AASLUMP_EDGES                          3
+#define AASLUMP_EDGEINDEX                      4
+#define AASLUMP_FACES                          5
+#define AASLUMP_FACEINDEX                      6
+#define AASLUMP_AREAS                          7
+#define AASLUMP_AREASETTINGS           8
+#define AASLUMP_REACHABILITY           9
+#define AASLUMP_NODES                          10
+#define AASLUMP_PORTALS                                11
+#define AASLUMP_PORTALINDEX                    12
+#define AASLUMP_CLUSTERS                       13
+
+//========== bounding box =========
+
+//bounding box
+typedef struct aas_bbox_s
+{
+       int presencetype;
+       int flags;
+       vec3_t mins, maxs;
+} aas_bbox_t;
+
+//============ settings ===========
+
+//reachability to another area
+typedef struct aas_reachability_s
+{
+       int areanum;                                            //number of the reachable area
+       int facenum;                                            //number of the face towards the other area
+       int edgenum;                                            //number of the edge towards the other area
+       vec3_t start;                                           //start point of inter area movement
+       vec3_t end;                                                     //end point of inter area movement
+       int traveltype;                                 //type of travel required to get to the area
+       unsigned short int traveltime;//travel time of the inter area movement
+} aas_reachability_t;
+
+//area settings
+typedef struct aas_areasettings_s
+{
+       //could also add all kind of statistic fields
+       int contents;                                           //contents of the area
+       int areaflags;                                          //several area flags
+       int presencetype;                                       //how a bot can be present in this area
+       int cluster;                                            //cluster the area belongs to, if negative it's a portal
+       int clusterareanum;                             //number of the area in the cluster
+       int numreachableareas;                  //number of reachable areas from this one
+       int firstreachablearea;                 //first reachable area in the reachable area index
+} aas_areasettings_t;
+
+//cluster portal
+typedef struct aas_portal_s
+{
+       int areanum;                                            //area that is the actual portal
+       int frontcluster;                                       //cluster at front of portal
+       int backcluster;                                        //cluster at back of portal
+       int clusterareanum[2];                  //number of the area in the front and back cluster
+} aas_portal_t;
+
+//cluster portal index
+typedef int aas_portalindex_t;
+
+//cluster
+typedef struct aas_cluster_s
+{
+       int numareas;                                           //number of areas in the cluster
+       int numreachabilityareas;                       //number of areas with reachabilities
+       int numportals;                                         //number of cluster portals
+       int firstportal;                                        //first cluster portal in the index
+} aas_cluster_t;
+
+//============ 3d definition ============
+
+typedef vec3_t aas_vertex_t;
+
+//just a plane in the third dimension
+typedef struct aas_plane_s
+{
+       vec3_t normal;                                          //normal vector of the plane
+       float dist;                                                     //distance of the plane (normal vector * distance = point in plane)
+       int type;
+} aas_plane_t;
+
+//edge
+typedef struct aas_edge_s
+{
+       int v[2];                                                       //numbers of the vertexes of this edge
+} aas_edge_t;
+
+//edge index, negative if vertexes are reversed
+typedef int aas_edgeindex_t;
+
+//a face bounds an area, often it will also seperate two areas
+typedef struct aas_face_s
+{
+       int planenum;                                           //number of the plane this face is in
+       int faceflags;                                          //face flags (no use to create face settings for just this field)
+       int numedges;                                           //number of edges in the boundary of the face
+       int firstedge;                                          //first edge in the edge index
+       int frontarea;                                          //area at the front of this face
+       int backarea;                                           //area at the back of this face
+} aas_face_t;
+
+//face index, stores a negative index if backside of face
+typedef int aas_faceindex_t;
+
+//area with a boundary of faces
+typedef struct aas_area_s
+{
+       int areanum;                                            //number of this area
+       //3d definition
+       int numfaces;                                           //number of faces used for the boundary of the area
+       int firstface;                                          //first face in the face index used for the boundary of the area
+       vec3_t mins;                                            //mins of the area
+       vec3_t maxs;                                            //maxs of the area
+       vec3_t center;                                          //'center' of the area
+} aas_area_t;
+
+//nodes of the bsp tree
+typedef struct aas_node_s
+{
+       int planenum;
+       int children[2];                                        //child nodes of this node, or areas as leaves when negative
+                                                                               //when a child is zero it's a solid leaf
+} aas_node_t;
+
+//=========== aas file ===============
+
+//header lump
+typedef struct
+{
+       int fileofs;
+       int filelen;
+} aas_lump_t;
+
+//aas file header
+typedef struct aas_header_s
+{
+       int ident;
+       int version;
+       int bspchecksum;
+       //data entries
+       aas_lump_t lumps[AAS_LUMPS];
+} aas_header_t;
+
+
+//====== additional information ======
+/*
+
+-      when a node child is a solid leaf the node child number is zero
+-      two adjacent areas (sharing a plane at opposite sides) share a face
+       this face is a portal between the areas
+-      when an area uses a face from the faceindex with a positive index
+       then the face plane normal points into the area
+-      the face edges are stored counter clockwise using the edgeindex
+-      two adjacent convex areas (sharing a face) only share One face
+       this is a simple result of the areas being convex
+-      the areas can't have a mixture of ground and gap faces
+       other mixtures of faces in one area are allowed
+-      areas with the AREACONTENTS_CLUSTERPORTAL in the settings have
+       the cluster number set to the negative portal number
+-      edge zero is a dummy
+-      face zero is a dummy
+-      area zero is a dummy
+-      node zero is a dummy
+*/
diff --git a/code/botlib/be_aas_bsp.h b/code/botlib/be_aas_bsp.h
new file mode 100644 (file)
index 0000000..aa05e4b
--- /dev/null
@@ -0,0 +1,89 @@
+/*
+===========================================================================
+Copyright (C) 1999-2005 Id Software, Inc.
+
+This file is part of Quake III Arena source code.
+
+Quake III Arena source code is free software; you can redistribute it
+and/or modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of the License,
+or (at your option) any later version.
+
+Quake III Arena source code is distributed in the hope that it will be
+useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Foobar; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+===========================================================================
+*/
+
+/*****************************************************************************
+ * name:               be_aas_bsp.h
+ *
+ * desc:               AAS
+ *
+ * $Archive: /source/code/botlib/be_aas_bsp.h $
+ *
+ *****************************************************************************/
+
+#ifdef AASINTERN
+//loads the given BSP file
+int AAS_LoadBSPFile(void);
+//dump the loaded BSP data
+void AAS_DumpBSPData(void);
+//unlink the given entity from the bsp tree leaves
+void AAS_UnlinkFromBSPLeaves(bsp_link_t *leaves);
+//link the given entity to the bsp tree leaves of the given model
+bsp_link_t *AAS_BSPLinkEntity(vec3_t absmins,
+                                                                               vec3_t absmaxs,
+                                                                               int entnum,
+                                                                               int modelnum);
+
+//calculates collision with given entity
+qboolean AAS_EntityCollision(int entnum,
+                                                                               vec3_t start,
+                                                                               vec3_t boxmins,
+                                                                               vec3_t boxmaxs,
+                                                                               vec3_t end,
+                                                                               int contentmask,
+                                                                               bsp_trace_t *trace);
+//for debugging
+void AAS_PrintFreeBSPLinks(char *str);
+//
+#endif //AASINTERN
+
+#define MAX_EPAIRKEY           128
+
+//trace through the world
+bsp_trace_t AAS_Trace( vec3_t start,
+                                                               vec3_t mins,
+                                                               vec3_t maxs,
+                                                               vec3_t end,
+                                                               int passent,
+                                                               int contentmask);
+//returns the contents at the given point
+int AAS_PointContents(vec3_t point);
+//returns true when p2 is in the PVS of p1
+qboolean AAS_inPVS(vec3_t p1, vec3_t p2);
+//returns true when p2 is in the PHS of p1
+qboolean AAS_inPHS(vec3_t p1, vec3_t p2);
+//returns true if the given areas are connected
+qboolean AAS_AreasConnected(int area1, int area2);
+//creates a list with entities totally or partly within the given box
+int AAS_BoxEntities(vec3_t absmins, vec3_t absmaxs, int *list, int maxcount);
+//gets the mins, maxs and origin of a BSP model
+void AAS_BSPModelMinsMaxsOrigin(int modelnum, vec3_t angles, vec3_t mins, vec3_t maxs, vec3_t origin);
+//handle to the next bsp entity
+int AAS_NextBSPEntity(int ent);
+//return the value of the BSP epair key
+int AAS_ValueForBSPEpairKey(int ent, char *key, char *value, int size);
+//get a vector for the BSP epair key
+int AAS_VectorForBSPEpairKey(int ent, char *key, vec3_t v);
+//get a float for the BSP epair key
+int AAS_FloatForBSPEpairKey(int ent, char *key, float *value);
+//get an integer for the BSP epair key
+int AAS_IntForBSPEpairKey(int ent, char *key, int *value);
+
diff --git a/code/botlib/be_aas_bspq3.c b/code/botlib/be_aas_bspq3.c
new file mode 100644 (file)
index 0000000..97c286d
--- /dev/null
@@ -0,0 +1,487 @@
+/*
+===========================================================================
+Copyright (C) 1999-2005 Id Software, Inc.
+
+This file is part of Quake III Arena source code.
+
+Quake III Arena source code is free software; you can redistribute it
+and/or modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of the License,
+or (at your option) any later version.
+
+Quake III Arena source code is distributed in the hope that it will be
+useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Foobar; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+===========================================================================
+*/
+
+/*****************************************************************************
+ * name:               be_aas_bspq3.c
+ *
+ * desc:               BSP, Environment Sampling
+ *
+ * $Archive: /MissionPack/code/botlib/be_aas_bspq3.c $
+ *
+ *****************************************************************************/
+
+#include "../game/q_shared.h"
+#include "l_memory.h"
+#include "l_script.h"
+#include "l_precomp.h"
+#include "l_struct.h"
+#include "aasfile.h"
+#include "../game/botlib.h"
+#include "../game/be_aas.h"
+#include "be_aas_funcs.h"
+#include "be_aas_def.h"
+
+extern botlib_import_t botimport;
+
+//#define TRACE_DEBUG
+
+#define ON_EPSILON             0.005
+//#define DEG2RAD( a ) (( a * M_PI ) / 180.0F)
+
+#define MAX_BSPENTITIES                2048
+
+typedef struct rgb_s
+{
+       int red;
+       int green;
+       int blue;
+} rgb_t;
+
+//bsp entity epair
+typedef struct bsp_epair_s
+{
+       char *key;
+       char *value;
+       struct bsp_epair_s *next;
+} bsp_epair_t;
+
+//bsp data entity
+typedef struct bsp_entity_s
+{
+       bsp_epair_t *epairs;
+} bsp_entity_t;
+
+//id Sofware BSP data
+typedef struct bsp_s
+{
+       //true when bsp file is loaded
+       int loaded;
+       //entity data
+       int entdatasize;
+       char *dentdata;
+       //bsp entities
+       int numentities;
+       bsp_entity_t entities[MAX_BSPENTITIES];
+} bsp_t;
+
+//global bsp
+bsp_t bspworld;
+
+
+#ifdef BSP_DEBUG
+typedef struct cname_s
+{
+       int value;
+       char *name;
+} cname_t;
+
+cname_t contentnames[] =
+{
+       {CONTENTS_SOLID,"CONTENTS_SOLID"},
+       {CONTENTS_WINDOW,"CONTENTS_WINDOW"},
+       {CONTENTS_AUX,"CONTENTS_AUX"},
+       {CONTENTS_LAVA,"CONTENTS_LAVA"},
+       {CONTENTS_SLIME,"CONTENTS_SLIME"},
+       {CONTENTS_WATER,"CONTENTS_WATER"},
+       {CONTENTS_MIST,"CONTENTS_MIST"},
+       {LAST_VISIBLE_CONTENTS,"LAST_VISIBLE_CONTENTS"},
+
+       {CONTENTS_AREAPORTAL,"CONTENTS_AREAPORTAL"},
+       {CONTENTS_PLAYERCLIP,"CONTENTS_PLAYERCLIP"},
+       {CONTENTS_MONSTERCLIP,"CONTENTS_MONSTERCLIP"},
+       {CONTENTS_CURRENT_0,"CONTENTS_CURRENT_0"},
+       {CONTENTS_CURRENT_90,"CONTENTS_CURRENT_90"},
+       {CONTENTS_CURRENT_180,"CONTENTS_CURRENT_180"},
+       {CONTENTS_CURRENT_270,"CONTENTS_CURRENT_270"},
+       {CONTENTS_CURRENT_UP,"CONTENTS_CURRENT_UP"},
+       {CONTENTS_CURRENT_DOWN,"CONTENTS_CURRENT_DOWN"},
+       {CONTENTS_ORIGIN,"CONTENTS_ORIGIN"},
+       {CONTENTS_MONSTER,"CONTENTS_MONSTER"},
+       {CONTENTS_DEADMONSTER,"CONTENTS_DEADMONSTER"},
+       {CONTENTS_DETAIL,"CONTENTS_DETAIL"},
+       {CONTENTS_TRANSLUCENT,"CONTENTS_TRANSLUCENT"},
+       {CONTENTS_LADDER,"CONTENTS_LADDER"},
+       {0, 0}
+};
+
+void PrintContents(int contents)
+{
+       int i;
+
+       for (i = 0; contentnames[i].value; i++)
+       {
+               if (contents & contentnames[i].value)
+               {
+                       botimport.Print(PRT_MESSAGE, "%s\n", contentnames[i].name);
+               } //end if
+       } //end for
+} //end of the function PrintContents
+
+#endif // BSP_DEBUG
+//===========================================================================
+// traces axial boxes of any size through the world
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+bsp_trace_t AAS_Trace(vec3_t start, vec3_t mins, vec3_t maxs, vec3_t end, int passent, int contentmask)
+{
+       bsp_trace_t bsptrace;
+       botimport.Trace(&bsptrace, start, mins, maxs, end, passent, contentmask);
+       return bsptrace;
+} //end of the function AAS_Trace
+//===========================================================================
+// returns the contents at the given point
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+int AAS_PointContents(vec3_t point)
+{
+       return botimport.PointContents(point);
+} //end of the function AAS_PointContents
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+qboolean AAS_EntityCollision(int entnum,
+                                       vec3_t start, vec3_t boxmins, vec3_t boxmaxs, vec3_t end,
+                                                               int contentmask, bsp_trace_t *trace)
+{
+       bsp_trace_t enttrace;
+
+       botimport.EntityTrace(&enttrace, start, boxmins, boxmaxs, end, entnum, contentmask);
+       if (enttrace.fraction < trace->fraction)
+       {
+               Com_Memcpy(trace, &enttrace, sizeof(bsp_trace_t));
+               return qtrue;
+       } //end if
+       return qfalse;
+} //end of the function AAS_EntityCollision
+//===========================================================================
+// returns true if in Potentially Hearable Set
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+qboolean AAS_inPVS(vec3_t p1, vec3_t p2)
+{
+       return botimport.inPVS(p1, p2);
+} //end of the function AAS_InPVS
+//===========================================================================
+// returns true if in Potentially Visible Set
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+qboolean AAS_inPHS(vec3_t p1, vec3_t p2)
+{
+       return qtrue;
+} //end of the function AAS_inPHS
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+void AAS_BSPModelMinsMaxsOrigin(int modelnum, vec3_t angles, vec3_t mins, vec3_t maxs, vec3_t origin)
+{
+       botimport.BSPModelMinsMaxsOrigin(modelnum, angles, mins, maxs, origin);
+} //end of the function AAS_BSPModelMinsMaxs
+//===========================================================================
+// unlinks the entity from all leaves
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+void AAS_UnlinkFromBSPLeaves(bsp_link_t *leaves)
+{
+} //end of the function AAS_UnlinkFromBSPLeaves
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+bsp_link_t *AAS_BSPLinkEntity(vec3_t absmins, vec3_t absmaxs, int entnum, int modelnum)
+{
+       return NULL;
+} //end of the function AAS_BSPLinkEntity
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+int AAS_BoxEntities(vec3_t absmins, vec3_t absmaxs, int *list, int maxcount)
+{
+       return 0;
+} //end of the function AAS_BoxEntities
+//===========================================================================
+//
+// Parameter:                  -
+// Returns:                            -
+// Changes Globals:            -
+//===========================================================================
+int AAS_NextBSPEntity(int ent)
+{
+       ent++;
+       if (ent >= 1 && ent < bspworld.numentities) return ent;
+       return 0;
+} //end of the function AAS_NextBSPEntity
+//===========================================================================
+//
+// Parameter:                  -
+// Returns:                            -
+// Changes Globals:            -
+//===========================================================================
+int AAS_BSPEntityInRange(int ent)
+{
+       if (ent <= 0 || ent >= bspworld.numentities)
+       {
+               botimport.Print(PRT_MESSAGE, "bsp entity out of range\n");
+               return qfalse;
+       } //end if
+       return qtrue;
+} //end of the function AAS_BSPEntityInRange
+//===========================================================================
+//
+// Parameter:                  -
+// Returns:                            -
+// Changes Globals:            -
+//===========================================================================
+int AAS_ValueForBSPEpairKey(int ent, char *key, char *value, int size)
+{
+       bsp_epair_t *epair;
+
+       value[0] = '\0';
+       if (!AAS_BSPEntityInRange(ent)) return qfalse;
+       for (epair = bspworld.entities[ent].epairs; epair; epair = epair->next)
+       {
+               if (!strcmp(epair->key, key))
+               {
+                       strncpy(value, epair->value, size-1);
+                       value[size-1] = '\0';
+                       return qtrue;
+               } //end if
+       } //end for
+       return qfalse;
+} //end of the function AAS_FindBSPEpair
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+int AAS_VectorForBSPEpairKey(int ent, char *key, vec3_t v)
+{
+       char buf[MAX_EPAIRKEY];
+       double v1, v2, v3;
+
+       VectorClear(v);
+       if (!AAS_ValueForBSPEpairKey(ent, key, buf, MAX_EPAIRKEY)) return qfalse;
+       //scanf into doubles, then assign, so it is vec_t size independent
+       v1 = v2 = v3 = 0;
+       sscanf(buf, "%lf %lf %lf", &v1, &v2, &v3);
+       v[0] = v1;
+       v[1] = v2;
+       v[2] = v3;
+       return qtrue;
+} //end of the function AAS_VectorForBSPEpairKey
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+int AAS_FloatForBSPEpairKey(int ent, char *key, float *value)
+{
+       char buf[MAX_EPAIRKEY];
+       
+       *value = 0;
+       if (!AAS_ValueForBSPEpairKey(ent, key, buf, MAX_EPAIRKEY)) return qfalse;
+       *value = atof(buf);
+       return qtrue;
+} //end of the function AAS_FloatForBSPEpairKey
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+int AAS_IntForBSPEpairKey(int ent, char *key, int *value)
+{
+       char buf[MAX_EPAIRKEY];
+       
+       *value = 0;
+       if (!AAS_ValueForBSPEpairKey(ent, key, buf, MAX_EPAIRKEY)) return qfalse;
+       *value = atoi(buf);
+       return qtrue;
+} //end of the function AAS_IntForBSPEpairKey
+//===========================================================================
+//
+// Parameter:                  -
+// Returns:                            -
+// Changes Globals:            -
+//===========================================================================
+void AAS_FreeBSPEntities(void)
+{
+       int i;
+       bsp_entity_t *ent;
+       bsp_epair_t *epair, *nextepair;
+
+       for (i = 1; i < bspworld.numentities; i++)
+       {
+               ent = &bspworld.entities[i];
+               for (epair = ent->epairs; epair; epair = nextepair)
+               {
+                       nextepair = epair->next;
+                       //
+                       if (epair->key) FreeMemory(epair->key);
+                       if (epair->value) FreeMemory(epair->value);
+                       FreeMemory(epair);
+               } //end for
+       } //end for
+       bspworld.numentities = 0;
+} //end of the function AAS_FreeBSPEntities
+//===========================================================================
+//
+// Parameter:                  -
+// Returns:                            -
+// Changes Globals:            -
+//===========================================================================
+void AAS_ParseBSPEntities(void)
+{
+       script_t *script;
+       token_t token;
+       bsp_entity_t *ent;
+       bsp_epair_t *epair;
+
+       script = LoadScriptMemory(bspworld.dentdata, bspworld.entdatasize, "entdata");
+       SetScriptFlags(script, SCFL_NOSTRINGWHITESPACES|SCFL_NOSTRINGESCAPECHARS);//SCFL_PRIMITIVE);
+
+       bspworld.numentities = 1;
+
+       while(PS_ReadToken(script, &token))
+       {
+               if (strcmp(token.string, "{"))
+               {
+                       ScriptError(script, "invalid %s\n", token.string);
+                       AAS_FreeBSPEntities();
+                       FreeScript(script);
+                       return;
+               } //end if
+               if (bspworld.numentities >= MAX_BSPENTITIES)
+               {
+                       botimport.Print(PRT_MESSAGE, "too many entities in BSP file\n");
+                       break;
+               } //end if
+               ent = &bspworld.entities[bspworld.numentities];
+               bspworld.numentities++;
+               ent->epairs = NULL;
+               while(PS_ReadToken(script, &token))
+               {
+                       if (!strcmp(token.string, "}")) break;
+                       epair = (bsp_epair_t *) GetClearedHunkMemory(sizeof(bsp_epair_t));
+                       epair->next = ent->epairs;
+                       ent->epairs = epair;
+                       if (token.type != TT_STRING)
+                       {
+                               ScriptError(script, "invalid %s\n", token.string);
+                               AAS_FreeBSPEntities();
+                               FreeScript(script);
+                               return;
+                       } //end if
+                       StripDoubleQuotes(token.string);
+                       epair->key = (char *) GetHunkMemory(strlen(token.string) + 1);
+                       strcpy(epair->key, token.string);
+                       if (!PS_ExpectTokenType(script, TT_STRING, 0, &token))
+                       {
+                               AAS_FreeBSPEntities();
+                               FreeScript(script);
+                               return;
+                       } //end if
+                       StripDoubleQuotes(token.string);
+                       epair->value = (char *) GetHunkMemory(strlen(token.string) + 1);
+                       strcpy(epair->value, token.string);
+               } //end while
+               if (strcmp(token.string, "}"))
+               {
+                       ScriptError(script, "missing }\n");
+                       AAS_FreeBSPEntities();
+                       FreeScript(script);
+                       return;
+               } //end if
+       } //end while
+       FreeScript(script);
+} //end of the function AAS_ParseBSPEntities
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+int AAS_BSPTraceLight(vec3_t start, vec3_t end, vec3_t endpos, int *red, int *green, int *blue)
+{
+       return 0;
+} //end of the function AAS_BSPTraceLight
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+void AAS_DumpBSPData(void)
+{
+       AAS_FreeBSPEntities();
+
+       if (bspworld.dentdata) FreeMemory(bspworld.dentdata);
+       bspworld.dentdata = NULL;
+       bspworld.entdatasize = 0;
+       //
+       bspworld.loaded = qfalse;
+       Com_Memset( &bspworld, 0, sizeof(bspworld) );
+} //end of the function AAS_DumpBSPData
+//===========================================================================
+// load an bsp file
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+int AAS_LoadBSPFile(void)
+{
+       AAS_DumpBSPData();
+       bspworld.entdatasize = strlen(botimport.BSPEntityData()) + 1;
+       bspworld.dentdata = (char *) GetClearedHunkMemory(bspworld.entdatasize);
+       Com_Memcpy(bspworld.dentdata, botimport.BSPEntityData(), bspworld.entdatasize);
+       AAS_ParseBSPEntities();
+       bspworld.loaded = qtrue;
+       return BLERR_NOERROR;
+} //end of the function AAS_LoadBSPFile
diff --git a/code/botlib/be_aas_cluster.c b/code/botlib/be_aas_cluster.c
new file mode 100644 (file)
index 0000000..118dd0a
--- /dev/null
@@ -0,0 +1,1545 @@
+/*
+===========================================================================
+Copyright (C) 1999-2005 Id Software, Inc.
+
+This file is part of Quake III Arena source code.
+
+Quake III Arena source code is free software; you can redistribute it
+and/or modify it under the terms of the GNU General Public License as
+published by the Free Software Foundation; either version 2 of the License,
+or (at your option) any later version.
+
+Quake III Arena source code is distributed in the hope that it will be
+useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with Foobar; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+===========================================================================
+*/
+
+/*****************************************************************************
+ * name:               be_aas_cluster.c
+ *
+ * desc:               area clustering
+ *
+ * $Archive: /MissionPack/code/botlib/be_aas_cluster.c $
+ *
+ *****************************************************************************/
+
+#include "../game/q_shared.h"
+#include "l_memory.h"
+#include "l_script.h"
+#include "l_precomp.h"
+#include "l_struct.h"
+#include "l_log.h"
+#include "l_memory.h"
+#include "l_libvar.h"
+#include "aasfile.h"
+#include "../game/botlib.h"
+#include "../game/be_aas.h"
+#include "be_aas_funcs.h"
+#include "be_aas_def.h"
+
+extern botlib_import_t botimport;
+
+#define AAS_MAX_PORTALS                                        65536
+#define AAS_MAX_PORTALINDEXSIZE                        65536
+#define AAS_MAX_CLUSTERS                               65536
+//
+#define MAX_PORTALAREAS                        1024
+
+// do not flood through area faces, only use reachabilities
+int nofaceflood = qtrue;
+
+//===========================================================================
+//
+// Parameter:                          -
+// Returns:                                    -
+// Changes Globals:            -
+//===========================================================================
+void AAS_RemoveClusterAreas(void)
+{
+       int i;
+
+       for (i = 1; i < aasworld.numareas; i++)
+       {