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


/code/Makefile:
--------------------------------------------------------------------------------
1 | # nasty ugly to get build system working from Anjuta
2 | all:
3 | 	if [ `hostname` == sparkle ] ; then ./unix/pcons-2.3.1 -j4 -- novm noso ; else ./unix/cons ; fi
4 | 


--------------------------------------------------------------------------------
/code/botlib/be_aas_optimize.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | /*****************************************************************************
24 |  * name:		be_aas_optimize.h
25 |  *
26 |  * desc:		AAS
27 |  *
28 |  * $Archive: /source/code/botlib/be_aas_optimize.h $
29 |  *
30 |  *****************************************************************************/
31 | 
32 | void AAS_Optimize(void);
33 | 
34 | 


--------------------------------------------------------------------------------
/code/botlib/l_crc.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | typedef unsigned short crc_t;
24 | 
25 | void CRC_Init(unsigned short *crcvalue);
26 | void CRC_ProcessByte(unsigned short *crcvalue, byte data);
27 | unsigned short CRC_Value(unsigned short crcvalue);
28 | unsigned short CRC_ProcessString(unsigned char *data, int length);
29 | void CRC_ContinueProcessString(unsigned short *crc, char *data, int length);
30 | 


--------------------------------------------------------------------------------
/code/botlib/lcc.mak:
--------------------------------------------------------------------------------
 1 | #
 2 | # Makefile for Gladiator Bot library: gladiator.dll
 3 | # Intended for LCC-Win32
 4 | #
 5 | 
 6 | CC=lcc
 7 | CFLAGS=-DC_ONLY -o
 8 | OBJS= be_aas_bspq2.obj \
 9 | 	be_aas_bsphl.obj \
10 | 	be_aas_cluster.obj \
11 | 	be_aas_debug.obj \
12 | 	be_aas_entity.obj \
13 | 	be_aas_file.obj \
14 | 	be_aas_light.obj \
15 | 	be_aas_main.obj \
16 | 	be_aas_move.obj \
17 | 	be_aas_optimize.obj \
18 | 	be_aas_reach.obj \
19 | 	be_aas_route.obj \
20 | 	be_aas_routealt.obj \
21 | 	be_aas_sample.obj \
22 | 	be_aas_sound.obj \
23 | 	be_ai2_dm.obj \
24 | 	be_ai2_dmnet.obj \
25 | 	be_ai2_main.obj \
26 | 	be_ai_char.obj \
27 | 	be_ai_chat.obj \
28 | 	be_ai_goal.obj \
29 | 	be_ai_load.obj \
30 | 	be_ai_move.obj \
31 | 	be_ai_weap.obj \
32 | 	be_ai_weight.obj \
33 | 	be_ea.obj \
34 | 	be_interface.obj \
35 | 	l_crc.obj \
36 | 	l_libvar.obj \
37 | 	l_log.obj \
38 | 	l_memory.obj \
39 | 	l_precomp.obj \
40 | 	l_script.obj \
41 | 	l_struct.obj \
42 | 	l_utils.obj \
43 | 	q_shared.obj
44 | 
45 | all:	gladiator.dll
46 | 
47 | gladiator.dll:	$(OBJS)
48 | 	lcclnk -dll -entry GetBotAPI *.obj botlib.def -o gladiator.dll
49 | 
50 | clean:
51 | 	del *.obj gladiator.dll
52 | 
53 | %.obj: %.c
54 | 	$(CC) $(CFLAGS) 
lt;
55 | 
56 | 


--------------------------------------------------------------------------------
/code/bspc/aas_areamerging.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | void AAS_MergeAreas(void);
24 | 
25 | 


--------------------------------------------------------------------------------
/code/bspc/aas_edgemelting.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | void AAS_MeltAreaFaceWindings(void);
24 | 
25 | 


--------------------------------------------------------------------------------
/code/bspc/aas_facemerging.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | void AAS_MergeAreaFaces(void);
24 | void AAS_MergeAreaPlaneFaces(void);
25 | 


--------------------------------------------------------------------------------
/code/bspc/aas_file.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | qboolean AAS_WriteAASFile(char *filename);
24 | qboolean AAS_LoadAASFile(char *filename, int fpoffset, int fplength);
25 | 
26 | 


--------------------------------------------------------------------------------
/code/bspc/aas_gsubdiv.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | //works with the global tmpaasworld
24 | void AAS_GravitationalSubdivision(void);
25 | void AAS_LadderSubdivision(void);
26 | 


--------------------------------------------------------------------------------
/code/bspc/aas_map.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | void AAS_CreateMapBrushes(mapbrush_t *brush, entity_t *mapent, int addbevels);
24 | 


--------------------------------------------------------------------------------
/code/bspc/aas_prunenodes.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | void AAS_PruneNodes(void);
24 | 
25 | 


--------------------------------------------------------------------------------
/code/bspc/be_aas_bspc.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | void AAS_CalcReachAndClusters(struct quakefile_s *qf);
24 | 


--------------------------------------------------------------------------------
/code/bspc/bspc.sln:
--------------------------------------------------------------------------------
 1 | Microsoft Visual Studio Solution File, Format Version 8.00
 2 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "bspc", "bspc.vcproj", "{4E4EBC16-F345-4667-84E1-86633BAFDAE6}"
 3 | 	ProjectSection(ProjectDependencies) = postProject
 4 | 	EndProjectSection
 5 | EndProject
 6 | Global
 7 | 	GlobalSection(SourceCodeControl) = preSolution
 8 | 		SccNumberOfProjects = 1
 9 | 		SccProjectUniqueName0 = bspc.vcproj
10 | 		SccProjectName0 = \u0022$/source/code/bspc\u0022,\u0020IGAAAAAA
11 | 		SccLocalPath0 = .
12 | 		SccProvider0 = MSSCCI:Perforce\u0020SCM
13 | 	EndGlobalSection
14 | 	GlobalSection(SolutionConfiguration) = preSolution
15 | 		Debug = Debug
16 | 		Release = Release
17 | 	EndGlobalSection
18 | 	GlobalSection(ProjectConfiguration) = postSolution
19 | 		{4E4EBC16-F345-4667-84E1-86633BAFDAE6}.Debug.ActiveCfg = Debug|Win32
20 | 		{4E4EBC16-F345-4667-84E1-86633BAFDAE6}.Debug.Build.0 = Debug|Win32
21 | 		{4E4EBC16-F345-4667-84E1-86633BAFDAE6}.Release.ActiveCfg = Release|Win32
22 | 		{4E4EBC16-F345-4667-84E1-86633BAFDAE6}.Release.Build.0 = Release|Win32
23 | 	EndGlobalSection
24 | 	GlobalSection(ExtensibilityGlobals) = postSolution
25 | 	EndGlobalSection
26 | 	GlobalSection(ExtensibilityAddIns) = postSolution
27 | 	EndGlobalSection
28 | EndGlobal
29 | 


--------------------------------------------------------------------------------
/code/bspc/lcc.mak:
--------------------------------------------------------------------------------
 1 | #
 2 | # Makefile for the BSPC tool for the Gladiator Bot
 3 | # Intended for LCC-Win32
 4 | #
 5 | 
 6 | CC=lcc
 7 | CFLAGS=-DC_ONLY -o
 8 | OBJS= _files.obj\
 9 | 	aas_areamerging.obj\
10 | 	aas_cfg.obj\
11 | 	aas_create.obj\
12 | 	aas_edgemelting.obj\
13 | 	aas_facemerging.obj\
14 | 	aas_file.obj\
15 | 	aas_gsubdiv.obj\
16 | 	aas_map.obj\
17 | 	aas_prunenodes.obj\
18 | 	aas_store.obj\
19 | 	brushbsp.obj\
20 | 	bspc.obj\
21 | 	csg.obj\
22 | 	faces.obj\
23 | 	glfile.obj\
24 | 	l_bsp_hl.obj\
25 | 	l_bsp_q1.obj\
26 | 	l_bsp_q2.obj\
27 | 	l_bsp_sin.obj\
28 | 	l_cmd.obj\
29 | 	l_log.obj\
30 | 	l_math.obj\
31 | 	l_mem.obj\
32 | 	l_poly.obj\
33 | 	l_qfiles.obj\
34 | 	l_script.obj\
35 | 	l_threads.obj\
36 | 	l_utils.obj\
37 | 	leakfile.obj\
38 | 	map.obj\
39 | 	map_hl.obj\
40 | 	map_q1.obj\
41 | 	map_q2.obj\
42 | 	map_q2_new.obj\
43 | 	map_sin.obj\
44 | 	nodraw.obj\
45 | 	portals.obj\
46 | 	prtfile.obj\
47 | 	textures.obj\
48 | 	tree.obj\
49 | 	writebsp.obj
50 | 
51 | all:	bspc.exe
52 | 
53 | bspc.exe:	$(OBJS)
54 | 	lcclnk
55 | 
56 | clean:
57 | 	del *.obj bspc.exe
58 | 
59 | %.obj: %.c
60 | 	$(CC) $(CFLAGS) 
lt;
61 | 
62 | 


--------------------------------------------------------------------------------
/code/bspc/tetrahedron.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | void TH_AASToTetrahedrons(char *filename);
24 | 
25 | 


--------------------------------------------------------------------------------
/code/cgame.lnt:
--------------------------------------------------------------------------------
 1 | opts.lnt
 2 | 
 3 | game\bg_misc.c
 4 | game\bg_pmove.c
 5 | game\q_math.c
 6 | game\q_shared.c
 7 | cgame\cg_consolecmds.c
 8 | cgame\cg_draw.c
 9 | cgame\cg_drawtools.c
10 | cgame\cg_effects.c
11 | cgame\cg_ents.c
12 | cgame\cg_event.c
13 | cgame\cg_info.c
14 | cgame\cg_localents.c
15 | cgame\cg_main.c
16 | cgame\cg_marks.c
17 | cgame\cg_players.c
18 | cgame\cg_playerstate.c
19 | cgame\cg_predict.c
20 | cgame\cg_scoreboard.c
21 | cgame\cg_servercmds.c
22 | cgame\cg_snapshot.c
23 | cgame\cg_syscalls.c
24 | cgame\cg_view.c
25 | cgame\cg_weapons.c
26 | 


--------------------------------------------------------------------------------
/code/cgame/cgame.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | 	vmMain
3 | 	dllEntry
4 | 


--------------------------------------------------------------------------------
/code/cgame/cgame.q3asm:
--------------------------------------------------------------------------------
 1 | -o "\quake3\baseq3\vm\cgame"
 2 | cg_main
 3 | ..\cg_syscalls
 4 | cg_consolecmds
 5 | cg_draw
 6 | cg_drawtools
 7 | cg_effects
 8 | cg_ents
 9 | cg_event
10 | cg_info
11 | cg_localents
12 | cg_marks
13 | cg_players
14 | cg_playerstate
15 | cg_predict
16 | cg_scoreboard
17 | cg_servercmds
18 | cg_snapshot
19 | cg_view
20 | cg_weapons
21 | bg_slidemove
22 | bg_pmove
23 | bg_lib
24 | bg_misc
25 | q_math
26 | q_shared
27 | 


--------------------------------------------------------------------------------
/code/cgame/cgame.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 | mkdir -p vm
 4 | cd vm
 5 | 
 6 | CC="q3lcc -DQ3_VM -DCGAME -S -Wf-target=bytecode -Wf-g -I../../cgame -I../../game -I../../q3_ui"
 7 | 
 8 | $CC ../cg_syscalls.c
 9 | $CC ../../game/bg_misc.c
10 | $CC ../../game/bg_pmove.c
11 | $CC ../../game/bg_slidemove.c
12 | $CC ../../game/bg_lib.c
13 | $CC ../../game/q_math.c
14 | $CC ../../game/q_shared.c
15 | $CC ../cg_consolecmds.c
16 | $CC ../cg_draw.c
17 | $CC ../cg_drawtools.c
18 | $CC ../cg_effects.c
19 | $CC ../cg_ents.c
20 | $CC ../cg_event.c
21 | $CC ../cg_info.c
22 | $CC ../cg_localents.c
23 | $CC ../cg_main.c
24 | $CC ../cg_marks.c
25 | $CC ../cg_players.c
26 | $CC ../cg_playerstate.c
27 | $CC ../cg_predict.c
28 | $CC ../cg_scoreboard.c
29 | $CC ../cg_servercmds.c
30 | $CC ../cg_snapshot.c
31 | $CC ../cg_view.c
32 | $CC ../cg_weapons.c
33 | 
34 | q3asm -f ../cgame
35 | 
36 | cd ..
37 | 


--------------------------------------------------------------------------------
/code/cgame/cgame_ta.q3asm:
--------------------------------------------------------------------------------
 1 | -o "\quake3\missionpack\vm\cgame"
 2 | cg_main
 3 | ..\cg_syscalls
 4 | cg_consolecmds
 5 | cg_draw
 6 | cg_drawtools
 7 | cg_effects
 8 | cg_ents
 9 | cg_event
10 | cg_info
11 | cg_localents
12 | cg_marks
13 | cg_players
14 | cg_playerstate
15 | cg_predict
16 | cg_scoreboard
17 | cg_servercmds
18 | cg_snapshot
19 | cg_view
20 | cg_weapons
21 | bg_slidemove
22 | bg_pmove
23 | bg_lib
24 | bg_misc
25 | q_math
26 | q_shared
27 | ui_shared
28 | cg_newdraw
29 | 


--------------------------------------------------------------------------------
/code/cgame/cgame_ta.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 | mkdir -p vm
 4 | cd vm
 5 | 
 6 | CC="q3lcc -DQ3_VM  -DCGAME -DMISSIONPACK -S -Wf-target=bytecode -Wf-g -I../../cgame -I../../game -I../../ui"
 7 | 
 8 | $CC  ../cg_syscalls.c
 9 | $CC ../../game/bg_misc.c
10 | $CC ../../game/bg_pmove.c
11 | $CC ../../game/bg_slidemove.c
12 | $CC ../../game/bg_lib.c
13 | $CC ../../game/q_math.c
14 | $CC ../../game/q_shared.c
15 | $CC ../cg_consolecmds.c
16 | $CC ../cg_draw.c
17 | $CC ../cg_drawtools.c
18 | $CC ../cg_effects.c
19 | $CC ../cg_ents.c
20 | $CC ../cg_event.c
21 | $CC ../cg_info.c
22 | $CC ../cg_localents.c
23 | $CC ../cg_main.c
24 | $CC ../cg_marks.c
25 | $CC ../cg_players.c
26 | $CC ../cg_playerstate.c
27 | $CC ../cg_predict.c
28 | $CC ../cg_scoreboard.c
29 | $CC ../cg_servercmds.c
30 | $CC ../cg_snapshot.c
31 | $CC ../cg_view.c
32 | $CC ../cg_weapons.c
33 | $CC ../../ui/ui_shared.c
34 | $CC ../cg_newdraw.c
35 | 
36 | q3asm -f ../cgame_ta
37 | 
38 | cd ..
39 | 


--------------------------------------------------------------------------------
/code/game.lnt:
--------------------------------------------------------------------------------
 1 | opts.lnt
 2 | 
 3 | game\bg_misc.c
 4 | game\bg_pmove.c
 5 | game\bg_slidemove.c
 6 | game\q_math.c
 7 | game\q_shared.c
 8 | 
 9 | botai\ai_chat.c
10 | botai\ai_cmd.c
11 | botai\ai_dmnet.c
12 | botai\ai_dmq3.c
13 | botai\ai_main.c
14 | botai\ai_team.c
15 | 
16 | game\g_active.c
17 | game\g_arenas.c
18 | game\g_bot.c
19 | game\g_client.c
20 | game\g_cmds.c
21 | game\g_combat.c
22 | game\g_items.c
23 | game\g_main.c
24 | game\g_mem.c
25 | game\g_misc.c
26 | game\g_missile.c
27 | game\g_mover.c
28 | game\g_session.c
29 | game\g_spawn.c
30 | game\g_svcmds.c
31 | game\g_target.c
32 | game\g_team.c
33 | game\g_trigger.c
34 | game\g_utils.c
35 | game\g_weapon.c
36 | 


--------------------------------------------------------------------------------
/code/game/game.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | 	dllEntry
3 | 	vmMain
4 | 


--------------------------------------------------------------------------------
/code/game/game.q3asm:
--------------------------------------------------------------------------------
 1 | -o "\quake3\baseq3\vm\qagame"
 2 | g_main
 3 | ..\g_syscalls
 4 | bg_misc
 5 | bg_lib
 6 | bg_pmove
 7 | bg_slidemove
 8 | q_math
 9 | q_shared
10 | ai_dmnet
11 | ai_dmq3
12 | ai_team
13 | ai_main
14 | ai_chat
15 | ai_cmd
16 | ai_vcmd
17 | g_active
18 | g_arenas
19 | g_bot
20 | g_client
21 | g_cmds
22 | g_combat
23 | g_items
24 | g_mem
25 | g_misc
26 | g_missile
27 | g_mover
28 | g_session
29 | g_spawn
30 | g_svcmds
31 | g_target
32 | g_team
33 | g_trigger
34 | g_utils
35 | g_weapon
36 | 


--------------------------------------------------------------------------------
/code/game/game.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 | mkdir -p vm
 4 | cd vm
 5 | 
 6 | CC="q3lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g -I../../cgame -I../../game -I../../q3_ui"
 7 | 
 8 | $CC  ../g_main.c
 9 | $CC  ../g_syscalls.c
10 | 
11 | $CC  ../bg_misc.c
12 | $CC  ../bg_lib.c
13 | $CC  ../bg_pmove.c
14 | $CC  ../bg_slidemove.c
15 | $CC  ../q_math.c
16 | $CC  ../q_shared.c
17 | 
18 | $CC  ../ai_vcmd.c
19 | $CC  ../ai_dmnet.c
20 | $CC  ../ai_dmq3.c
21 | $CC  ../ai_main.c
22 | $CC  ../ai_chat.c
23 | $CC  ../ai_cmd.c
24 | $CC  ../ai_team.c
25 | 
26 | $CC  ../g_active.c
27 | $CC  ../g_arenas.c
28 | $CC  ../g_bot.c
29 | $CC  ../g_client.c
30 | $CC  ../g_cmds.c
31 | $CC  ../g_combat.c
32 | $CC  ../g_items.c
33 | $CC  ../g_mem.c
34 | $CC  ../g_misc.c
35 | $CC  ../g_missile.c
36 | $CC  ../g_mover.c
37 | $CC  ../g_session.c
38 | $CC  ../g_spawn.c
39 | $CC  ../g_svcmds.c
40 | $CC  ../g_target.c
41 | $CC  ../g_team.c
42 | $CC  ../g_trigger.c
43 | $CC  ../g_utils.c
44 | $CC  ../g_weapon.c
45 | 
46 | q3asm -f ../game
47 | 
48 | cd ..
49 | 


--------------------------------------------------------------------------------
/code/game/game_ta.q3asm:
--------------------------------------------------------------------------------
 1 | -o "\quake3\missionpack\vm\qagame"
 2 | g_main
 3 | ..\g_syscalls
 4 | bg_misc
 5 | bg_lib
 6 | bg_pmove
 7 | bg_slidemove
 8 | q_math
 9 | q_shared
10 | ai_dmnet
11 | ai_dmq3
12 | ai_team
13 | ai_main
14 | ai_chat
15 | ai_cmd
16 | g_active
17 | g_arenas
18 | g_bot
19 | g_client
20 | g_cmds
21 | g_combat
22 | g_items
23 | g_mem
24 | g_misc
25 | g_missile
26 | g_mover
27 | g_session
28 | g_spawn
29 | g_svcmds
30 | g_target
31 | g_team
32 | g_trigger
33 | g_utils
34 | g_weapon
35 | ai_vcmd
36 | 


--------------------------------------------------------------------------------
/code/game/game_ta.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 | mkdir -p vm
 4 | cd vm
 5 | 
 6 | CC="q3lcc -DQ3_VM -DMISSIONPACK -S -Wf-target=bytecode -Wf-g -I../../cgame -I../../game -I../../ui"
 7 | 
 8 | $CC  ../g_main.c
 9 | $CC  ../g_syscalls.c
10 | 
11 | $CC  ../bg_misc.c
12 | $CC  ../bg_lib.c
13 | $CC  ../bg_pmove.c
14 | $CC  ../bg_slidemove.c
15 | $CC  ../q_math.c
16 | $CC  ../q_shared.c
17 | 
18 | $CC  ../ai_vcmd.c
19 | $CC  ../ai_dmnet.c
20 | $CC  ../ai_dmq3.c
21 | $CC  ../ai_main.c
22 | $CC  ../ai_chat.c
23 | $CC  ../ai_cmd.c
24 | $CC  ../ai_team.c
25 | 
26 | $CC  ../g_active.c
27 | $CC  ../g_arenas.c
28 | $CC  ../g_bot.c
29 | $CC  ../g_client.c
30 | $CC  ../g_cmds.c
31 | $CC  ../g_combat.c
32 | $CC  ../g_items.c
33 | $CC  ../g_mem.c
34 | $CC  ../g_misc.c
35 | $CC  ../g_missile.c
36 | $CC  ../g_mover.c
37 | $CC  ../g_session.c
38 | $CC  ../g_spawn.c
39 | $CC  ../g_svcmds.c
40 | $CC  ../g_target.c
41 | $CC  ../g_team.c
42 | $CC  ../g_trigger.c
43 | $CC  ../g_utils.c
44 | $CC  ../g_weapon.c
45 | 
46 | q3asm -f ../game_ta
47 | 
48 | cd ..
49 | 


--------------------------------------------------------------------------------
/code/installdebug.bat:
--------------------------------------------------------------------------------
1 | call closefiles
2 | copy debug\quake3.exe g:\quake3
3 | copy debug\qagamex86.dll g:\quake3
4 | copy debug\cgamex86.dll g:\quake3
5 | copy debug\uix86.dll g:\quake3
6 | 
7 | 


--------------------------------------------------------------------------------
/code/installrelease.bat:
--------------------------------------------------------------------------------
 1 | cd game
 2 | call game_ta
 3 | call game
 4 | cd ..\cgame
 5 | call cgame_ta
 6 | call cgame
 7 | cd ..\ui
 8 | call ui
 9 | cd ..\q3_ui
10 | call q3_ui
11 | cd ..
12 | call closefiles
13 | copy release_ta\quake3.exe g:\quake3\quake3.exe
14 | call installvms


--------------------------------------------------------------------------------
/code/installvms.bat:
--------------------------------------------------------------------------------
1 | copy \quake3\missionpack\vm\cgame.* g:\quake3\missionpack\vm
2 | copy \quake3\missionpack\vm\qagame.* g:\quake3\missionpack\vm
3 | copy \quake3\missionpack\vm\ui.* g:\quake3\missionpack\vm
4 | copy \quake3\baseq3\vm\cgame.* g:\quake3\baseq3\vm
5 | copy \quake3\baseq3\vm\qagame.* g:\quake3\baseq3\vm
6 | copy \quake3\baseq3\vm\q3_ui.qvm g:\quake3\baseq3\vm\ui.qvm
7 | 
8 | 


--------------------------------------------------------------------------------
/code/jpeg-6/jchuff.h:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * jchuff.h
 3 |  *
 4 |  * Copyright (C) 1991-1995, Thomas G. Lane.
 5 |  * This file is part of the Independent JPEG Group's software.
 6 |  * For conditions of distribution and use, see the accompanying README file.
 7 |  *
 8 |  * This file contains declarations for Huffman entropy encoding routines
 9 |  * that are shared between the sequential encoder (jchuff.c) and the
10 |  * progressive encoder (jcphuff.c).  No other modules need to see these.
11 |  */
12 | 
13 | /* Derived data constructed for each Huffman table */
14 | 
15 | typedef struct {
16 |   unsigned int ehufco[256];	/* code for each symbol */
17 |   char ehufsi[256];		/* length of code for each symbol */
18 |   /* If no code has been allocated for a symbol S, ehufsi[S] contains 0 */
19 | } c_derived_tbl;
20 | 
21 | /* Short forms of external names for systems with brain-damaged linkers. */
22 | 
23 | #ifdef NEED_SHORT_EXTERNAL_NAMES
24 | #define jpeg_make_c_derived_tbl	jMkCDerived
25 | #define jpeg_gen_optimal_table	jGenOptTbl
26 | #endif /* NEED_SHORT_EXTERNAL_NAMES */
27 | 
28 | /* Expand a Huffman table definition into the derived format */
29 | EXTERN void jpeg_make_c_derived_tbl JPP((j_compress_ptr cinfo,
30 | 				JHUFF_TBL * htbl, c_derived_tbl ** pdtbl));
31 | 
32 | /* Generate an optimal table definition given the specified counts */
33 | EXTERN void jpeg_gen_optimal_table JPP((j_compress_ptr cinfo,
34 | 					JHUFF_TBL * htbl, long freq[]));
35 | 


--------------------------------------------------------------------------------
/code/jpeg-6/jconfig.h:
--------------------------------------------------------------------------------
 1 | /* jconfig.wat --- jconfig.h for Watcom C/C++ on MS-DOS or OS/2. */
 2 | /* see jconfig.doc for explanations */
 3 | 
 4 | #define HAVE_PROTOTYPES
 5 | #define HAVE_UNSIGNED_CHAR
 6 | #define HAVE_UNSIGNED_SHORT
 7 | /* #define void char */
 8 | /* #define const */
 9 | #define CHAR_IS_UNSIGNED
10 | #define HAVE_STDDEF_H
11 | #define HAVE_STDLIB_H
12 | #undef NEED_BSD_STRINGS
13 | #undef NEED_SYS_TYPES_H
14 | #undef NEED_FAR_POINTERS	/* Watcom uses flat 32-bit addressing */
15 | #undef NEED_SHORT_EXTERNAL_NAMES
16 | #undef INCOMPLETE_TYPES_BROKEN
17 | 
18 | #define JDCT_DEFAULT  JDCT_FLOAT
19 | #define JDCT_FASTEST  JDCT_FLOAT
20 | 
21 | #ifdef JPEG_INTERNALS
22 | 
23 | #undef RIGHT_SHIFT_IS_UNSIGNED
24 | 
25 | #endif /* JPEG_INTERNALS */
26 | 
27 | #ifdef JPEG_CJPEG_DJPEG
28 | 
29 | #define BMP_SUPPORTED		/* BMP image file format */
30 | #define GIF_SUPPORTED		/* GIF image file format */
31 | #define PPM_SUPPORTED		/* PBMPLUS PPM/PGM image file format */
32 | #undef RLE_SUPPORTED		/* Utah RLE image file format */
33 | #define TARGA_SUPPORTED		/* Targa image file format */
34 | 
35 | #undef TWO_FILE_COMMANDLINE	/* optional */
36 | #define USE_SETMODE		/* Needed to make one-file style work in Watcom */
37 | #undef NEED_SIGNAL_CATCHER	/* Define this if you use jmemname.c */
38 | #undef DONT_USE_B_MODE
39 | #undef PROGRESS_REPORT		/* optional */
40 | 
41 | #endif /* JPEG_CJPEG_DJPEG */
42 | 


--------------------------------------------------------------------------------
/code/jpeg-6/jversion.h:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * jversion.h
 3 |  *
 4 |  * Copyright (C) 1991-1995, Thomas G. Lane.
 5 |  * This file is part of the Independent JPEG Group's software.
 6 |  * For conditions of distribution and use, see the accompanying README file.
 7 |  *
 8 |  * This file contains software version identification.
 9 |  */
10 | 
11 | 
12 | #define JVERSION	"6  2-Aug-95"
13 | 
14 | #define JCOPYRIGHT	"Copyright (C) 1995, Thomas G. Lane"
15 | 


--------------------------------------------------------------------------------
/code/macosx/BuildRelease:
--------------------------------------------------------------------------------
 1 | #!/bin/zsh
 2 | 
 3 | APPNAME="Quake3"
 4 | PACKAGENAME= Quake3
 5 | 
 6 | (cd $OMNI_SOURCE_ROOT; ./Build Quake3 install)
 7 | 
 8 | rm -rf "/tmp/$APPNAME"
 9 | mkdir "/tmp/$APPNAME"
10 | cp "Read Me.rtf" "/tmp/$APPNAME"
11 | 
12 | cd /Users/Shared/$USER/InstalledProducts
13 | gnutar cf - FAKK2.app | (cd "/tmp/$APPNAME"; gnutar xf -)
14 | 
15 | cd "/tmp/$APPNAME"
16 | sudo ~bungi/Unix/bin/files2image $PACKAGENAME ./*
17 | 
18 | 


--------------------------------------------------------------------------------
/code/macosx/CGMouseDeltaFix.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | #import <ApplicationServices/ApplicationServices.h>
23 | 
24 | extern void CGFix_Initialize();
25 | 
26 | extern void CGFix_GetLastMouseDelta(CGMouseDelta *dx, CGMouseDelta *dy);
27 | 
28 | 


--------------------------------------------------------------------------------
/code/macosx/Q3Controller.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | #import <AppKit/AppKit.h>
24 | 
25 | @interface Q3Controller : NSObject
26 | {
27 |     IBOutlet NSPanel *bannerPanel;
28 | }
29 | 
30 | #ifndef DEDICATED
31 | - (IBAction)paste:(id)sender;
32 | - (IBAction)requestTerminate:(id)sender;
33 | 
34 | - (void) showBanner;
35 | #endif
36 | 
37 | - (void)quakeMain;
38 | 
39 | @end
40 | 
41 | 


--------------------------------------------------------------------------------
/code/macosx/Quake3.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/macosx/Quake3.icns


--------------------------------------------------------------------------------
/code/macosx/Quake3.nib/classes.nib:
--------------------------------------------------------------------------------
 1 | {
 2 |     IBClasses = (
 3 |         {
 4 |             ACTIONS = {showHelp = id; }; 
 5 |             CLASS = FirstResponder; 
 6 |             LANGUAGE = ObjC; 
 7 |             SUPERCLASS = NSObject; 
 8 |         }, 
 9 |         {
10 |             ACTIONS = {paste = id; requestTerminate = id; }; 
11 |             CLASS = Q3Controller; 
12 |             LANGUAGE = ObjC; 
13 |             OUTLETS = {bannerPanel = id; }; 
14 |             SUPERCLASS = NSObject; 
15 |         }
16 |     ); 
17 |     IBVersion = 1; 
18 | }


--------------------------------------------------------------------------------
/code/macosx/Quake3.nib/info.nib:
--------------------------------------------------------------------------------
 1 | <?xml version="1.0" encoding="UTF-8"?>
 2 | <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
 3 | <plist version="0.9">
 4 | <dict>
 5 | 	<key>IBEditorPositions</key>
 6 | 	<dict>
 7 | 		<key>29</key>
 8 | 		<string>69 252 121 44 0 0 1152 746 </string>
 9 | 	</dict>
10 | 	<key>IBFramework Version</key>
11 | 	<string>248.0</string>
12 | 	<key>IBOpenObjects</key>
13 | 	<array>
14 | 		<integer>29</integer>
15 | 	</array>
16 | 	<key>IBSystem Version</key>
17 | 	<string>5V21</string>
18 | </dict>
19 | </plist>
20 | 


--------------------------------------------------------------------------------
/code/macosx/Quake3.nib/objects.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/macosx/Quake3.nib/objects.nib


--------------------------------------------------------------------------------
/code/macosx/RecordDemo.zsh:
--------------------------------------------------------------------------------
 1 | #!/bin/zsh -x
 2 | 
 3 | /Local/Public/bungi/BuildOutput/Quake3.app/Contents/MacOS/Quake3 \
 4 |   +set sv_pure 0 \
 5 |   +set g_syncronousClients 1 \
 6 |   +map q3dm6 \
 7 |   +record foo
 8 | 
 9 | 
10 | 


--------------------------------------------------------------------------------
/code/macosx/banner.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/macosx/banner.jpg


--------------------------------------------------------------------------------
/code/macosx/timedemo.zsh:
--------------------------------------------------------------------------------
 1 | #!/bin/zsh
 2 | 
 3 | buildRoot=./build
 4 | executable=$buildRoot/Quake3.app/Contents/MacOS/Quake3
 5 | ls -l $executable
 6 | 
 7 | flags="$flags +set timedemo 1"
 8 | flags="$flags +set s_initsound 0"
 9 | flags="$flags +set vm_cgame 1"
10 | flags="$flags +set vm_game 1"
11 | flags="$flags +set r_texturebits 16"
12 | flags="$flags +set r_depthbits 16"
13 | flags="$flags +set r_colorbits 16"
14 | flags="$flags +set stencilbits 8"
15 | 
16 | flags="$flags +set r_appleTransformHint 1"
17 | 
18 | echo flags=$flags
19 | 
20 | function demo {
21 |     echo Demo $*
22 |     $executable $flags +demo $* |& egrep "(seconds|VM)"
23 | }
24 | 
25 | demo foo
26 | 
27 | 


--------------------------------------------------------------------------------
/code/null/null_input.c:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | #include "../client/client.h"
23 | 
24 | void IN_Init( void ) {
25 | }
26 | 
27 | void IN_Frame (void) {
28 | }
29 | 
30 | void IN_Shutdown( void ) {
31 | }
32 | 
33 | void Sys_SendKeyEvents (void) {
34 | }
35 | 
36 | 


--------------------------------------------------------------------------------
/code/opts.lnt:
--------------------------------------------------------------------------------
 1 | -e64	// type mismatch (enum to int)
 2 | -e641	// converting enum to int
 3 | -e734	// loss of precision
 4 | -e736	// loss of precision
 5 | -e747	// float to double prototype coersion
 6 | -e534	// ignoring return value
 7 | -e524	// loss of precision (float to int)
 8 | -e732	// loss of sign (float to unsigned char)
 9 | -e702	// shift right of signed quantity
10 | -e737	// loss of sign bit (int to unsigned int)
11 | -e713	// loss of precision (unsigned int to int)
12 | -e701	// shift left of signed quantity
13 | 
14 | -e765	// external could be made static
15 | 
16 | -d__LINT__
17 | -ig:\quake3\bin_nt\supplement\ansi
18 | -ig:\quake3\bin_nt\supplement
19 | -igame
20 | -ibotai
21 | -icgame
22 | -igame
23 | -iserver
24 | -iclient
25 | -iqcommon
26 | -irenderer
27 | 


--------------------------------------------------------------------------------
/code/q3_ui/compile.bat:
--------------------------------------------------------------------------------
1 | lcc -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1
2 | 
3 | 


--------------------------------------------------------------------------------
/code/q3_ui/q3_ui.q3asm:
--------------------------------------------------------------------------------
 1 | -o "\quake3\baseq3\vm\ui"
 2 | ui_main
 3 | ..\..\ui\ui_syscalls
 4 | ui_gameinfo
 5 | ui_atoms
 6 | ui_cinematics
 7 | ui_connect
 8 | ui_controls2
 9 | ui_demo2
10 | ui_mfield
11 | ui_credits
12 | ui_menu
13 | ui_ingame
14 | ui_confirm
15 | ui_setup
16 | ui_options
17 | ui_display
18 | ui_sound
19 | ui_network
20 | ui_playermodel
21 | ui_players
22 | ui_playersettings
23 | ui_preferences
24 | ui_qmenu
25 | ui_serverinfo
26 | ui_servers2
27 | ui_sparena
28 | ui_specifyserver
29 | ui_sppostgame
30 | ui_splevel
31 | ui_spskill
32 | ui_startserver
33 | ui_team
34 | ui_video
35 | ui_addbots
36 | ui_removebots
37 | ui_teamorders
38 | ui_cdkey
39 | ui_mods
40 | bg_misc
41 | bg_lib
42 | q_math
43 | q_shared
44 | 


--------------------------------------------------------------------------------
/code/q3_ui/q3_ui.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | 
 3 | mkdir -p vm
 4 | cd vm
 5 | 
 6 | CC="q3lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g -I../../cgame -I../../game -I../../q3_ui "
 7 | 
 8 | $CC ../ui_main.c
 9 | $CC ../ui_cdkey.c
10 | $CC ../ui_ingame.c
11 | $CC ../ui_confirm.c
12 | $CC ../ui_setup.c
13 | $CC ../../game/bg_misc.c
14 | $CC ../../game/bg_lib.c
15 | $CC ../../game/q_math.c
16 | $CC ../../game/q_shared.c
17 | $CC ../ui_gameinfo.c
18 | $CC ../ui_atoms.c
19 | $CC ../ui_connect.c
20 | $CC ../ui_controls2.c
21 | $CC ../ui_demo2.c
22 | $CC ../ui_mfield.c
23 | $CC ../ui_credits.c
24 | $CC ../ui_menu.c
25 | $CC ../ui_options.c
26 | $CC ../ui_display.c
27 | $CC ../ui_sound.c
28 | $CC ../ui_network.c
29 | $CC ../ui_playermodel.c
30 | $CC ../ui_players.c
31 | $CC ../ui_playersettings.c
32 | $CC ../ui_preferences.c
33 | $CC ../ui_qmenu.c
34 | $CC ../ui_serverinfo.c
35 | $CC ../ui_servers2.c
36 | $CC ../ui_sparena.c
37 | $CC ../ui_specifyserver.c
38 | $CC ../ui_splevel.c
39 | $CC ../ui_sppostgame.c
40 | $CC ../ui_startserver.c
41 | $CC ../ui_syscalls.c
42 | $CC ../ui_team.c
43 | $CC ../ui_video.c
44 | $CC ../ui_cinematics.c
45 | $CC ../ui_spskill.c
46 | $CC ../ui_addbots.c
47 | $CC ../ui_removebots.c
48 | $CC ../ui_loadconfig.c
49 | $CC ../ui_saveconfig.c
50 | $CC ../ui_teamorders.c
51 | $CC ../ui_mods.c
52 | 
53 | q3asm -f ../q3_ui
54 | 
55 | cd ..
56 | 


--------------------------------------------------------------------------------
/code/q3_ui/ui.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | 	vmMain
3 | 	dllEntry
4 | 


--------------------------------------------------------------------------------
/code/q3_ui/ui.q3asm:
--------------------------------------------------------------------------------
 1 | -o "\quake3\baseq3\vm\ui"
 2 | ui_main
 3 | ..\ui_syscalls
 4 | ui_gameinfo
 5 | ui_atoms
 6 | ui_cinematics
 7 | ui_connect
 8 | ui_controls2
 9 | ui_demo2
10 | ui_mfield
11 | ui_credits
12 | ui_menu
13 | ui_ingame
14 | ui_confirm
15 | ui_setup
16 | ui_options
17 | ui_display
18 | ui_sound
19 | ui_network
20 | ui_playermodel
21 | ui_players
22 | ui_playersettings
23 | ui_preferences
24 | ui_qmenu
25 | ui_serverinfo
26 | ui_servers2
27 | ui_sparena
28 | ui_specifyserver
29 | ui_sppostgame
30 | ui_splevel
31 | ui_spskill
32 | ui_startserver
33 | ui_team
34 | ui_video
35 | ui_addbots
36 | ui_removebots
37 | ui_teamorders
38 | ui_loadconfig
39 | ui_saveconfig
40 | ui_cdkey
41 | ui_mods
42 | bg_misc
43 | bg_lib
44 | q_math
45 | q_shared
46 | 


--------------------------------------------------------------------------------
/code/qcommon/md4.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/qcommon/md4.c


--------------------------------------------------------------------------------
/code/renderer.lnt:
--------------------------------------------------------------------------------
 1 | opts.lnt
 2 | 
 3 | renderer\tr_bsp.c
 4 | renderer\tr_calc.c
 5 | renderer\tr_calc_c.c
 6 | renderer\tr_curve.c
 7 | renderer\tr_draw.c
 8 | renderer\tr_image.c
 9 | renderer\tr_init.c
10 | renderer\tr_light.c
11 | renderer\tr_main.c
12 | renderer\tr_mesh.c
13 | renderer\tr_misc.c
14 | renderer\tr_model.c
15 | renderer\tr_noise.c
16 | renderer\tr_shade.c
17 | renderer\tr_shader.c
18 | renderer\tr_sky.c
19 | renderer\tr_stripify.c
20 | renderer\tr_subdivide.c
21 | renderer\tr_surf.c
22 | renderer\tr_world.c
23 | 
24 | game\q_math.c
25 | game\q_shared.c
26 | 
27 | null\null_glimp.c
28 | 


--------------------------------------------------------------------------------
/code/renderer/ref_trin.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | 	GetRefAPI
3 | 


--------------------------------------------------------------------------------
/code/run.bat:
--------------------------------------------------------------------------------
1 | debug\quake3 +set fs_basepath \quake3 +set fs_cdpath g:\quake3 + %1 %2 %3 %4 %5 %6 %7 %8 %9
2 | 


--------------------------------------------------------------------------------
/code/runrelease.bat:
--------------------------------------------------------------------------------
1 | release\quake3 +set fs_basepath \quake3 +set fs_cdpath g:\quake3 + %1 %2 %3 %4 %5 %6 %7 %8 %9
2 | 


--------------------------------------------------------------------------------
/code/ui/compile.bat:
--------------------------------------------------------------------------------
1 | lcc -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1
2 | 
3 | 


--------------------------------------------------------------------------------
/code/ui/ui.bat:
--------------------------------------------------------------------------------
 1 | rem make sure we have a safe environement
 2 | set LIBRARY=
 3 | set INCLUDE=
 4 | 
 5 | mkdir vm
 6 | cd vm
 7 | 
 8 | set cc=lcc -DMISSIONPACK -DQ3_VM -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1
 9 | 
10 | %cc% ../ui_main.c
11 | @if errorlevel 1 goto quit
12 | %cc% ../../game/bg_misc.c
13 | @if errorlevel 1 goto quit
14 | %cc% ../../game/bg_lib.c
15 | @if errorlevel 1 goto quit
16 | %cc% ../../game/q_math.c
17 | @if errorlevel 1 goto quit
18 | %cc% ../../game/q_shared.c
19 | @if errorlevel 1 goto quit
20 | %cc% ../ui_atoms.c
21 | @if errorlevel 1 goto quit
22 | %cc% ../ui_players.c
23 | @if errorlevel 1 goto quit
24 | %cc% ../ui_util.c
25 | @if errorlevel 1 goto quit
26 | %cc% ../ui_shared.c
27 | @if errorlevel 1 goto quit
28 | %cc% ../ui_gameinfo.c
29 | @if errorlevel 1 goto quit
30 | 
31 | q3asm -f ../ui
32 | :quit
33 | cd ..
34 | 


--------------------------------------------------------------------------------
/code/ui/ui.def:
--------------------------------------------------------------------------------
1 | EXPORTS
2 | 	vmMain
3 | 	dllEntry
4 | 


--------------------------------------------------------------------------------
/code/ui/ui.q3asm:
--------------------------------------------------------------------------------
 1 | -o "\quake3\missionpack\vm\ui"
 2 | ui_main
 3 | ..\ui_syscalls
 4 | ui_atoms
 5 | ui_players
 6 | ui_util
 7 | ui_shared
 8 | ui_gameinfo
 9 | bg_misc
10 | bg_lib
11 | q_math
12 | q_shared
13 | 


--------------------------------------------------------------------------------
/code/ui/ui_util.c:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | // ui_util.c
23 | //
24 | // origin: rad
25 | // new ui support stuff
26 | // 
27 | // memory, string alloc
28 | 
29 | 
30 | 


--------------------------------------------------------------------------------
/code/unix/Cons_gcc.pm:
--------------------------------------------------------------------------------
 1 | #
 2 | # Some utilities to handle gcc compiler setup
 3 | #
 4 | 
 5 | package Cons_gcc;
 6 | 
 7 | # pass the compiler name
 8 | # returns an array, first element is 2 for 2.x 3 for 3.x, then full version, then machine info
 9 | sub get_gcc_version
10 | {
11 |   my @ret;
12 |   my ($CC) = @_;
13 |   my $version=`$CC --version | head -1`;
14 |   chop($version);
15 |   my $machine=`$CC -dumpmachine`;
16 |   chop($machine);
17 |   if($version =~ '2\.[0-9]*\.[0-9]*')
18 |   {
19 |     push @ret, '2';
20 |   } else {
21 |     push @ret, '3';
22 |   }
23 |   push @ret, $version;
24 |   push @ret, $machine;
25 |   return @ret;
26 | }
27 | 
28 | # http://ccache.samba.org/
29 | # check ccache existence and path
30 | # returns an array, first element 0 / 1, then path
31 | sub get_ccache
32 | {
33 |   my @ret;  
34 |   $ccache_path=`which ccache`;
35 |   chop($ccache_path);
36 |   if(-x $ccache_path)
37 |   {
38 |     push @ret, '1';
39 |     push @ret, $ccache_path;
40 |     return @ret;
41 |   }
42 |   push @ret, '0';
43 |   return @ret;
44 | }
45 | 
46 | # close package
47 | 1;
48 | 


--------------------------------------------------------------------------------
/code/unix/Conscript-setup:
--------------------------------------------------------------------------------
 1 | # setup
 2 | 
 3 | Import qw( INSTALL_BASEDIR );
 4 | 
 5 | $env = new cons(
 6 |   # add this path so setup script finds brandelf
 7 |   ENV => { PATH => $ENV{PATH} . ":" . $ENV{HOME} . "./usr/bin", },
 8 | );
 9 | 
10 | sub launch {
11 |   # need to get the correct version (i.e. from SP source)
12 |   $version = `cat game/q_shared.h | grep Q3_VERSION`;
13 |   chomp $version;
14 |   $version =~ s/.*Q3\ (.*)\"/$1/;
15 |   print("version: $version\n");
16 |   system("cd unix ; ./build_setup.sh $version");
17 | 
18 |   return 1;
19 | }
20 | 
21 | # no dependency to PB, we get it directly from the tree and not in install/
22 | Depends $env "$INSTALL_BASEDIR/foo",
23 |   "$INSTALL_BASEDIR/linuxq3ded",
24 |   "$INSTALL_BASEDIR/linuxquake3-smp",
25 |   "$INSTALL_BASEDIR/linuxquake3";
26 |   # during developement phase, we generate and copy the pk3 on the fly
27 |   # then those should move to the media tree
28 | # those have been finalized and moved to the media tree
29 | #  "$INSTALL_BASEDIR/baseq3/pak8.pk3",
30 | #  "$INSTALL_BASEDIR/missionpack/pak3.pk3";
31 |   
32 |   
33 | Command $env "$INSTALL_BASEDIR/foo", "[perl] &launch()";
34 | 


--------------------------------------------------------------------------------
/code/unix/LinuxSupport/udp_wide_README.txt:
--------------------------------------------------------------------------------
 1 | UDP Wide Broadcast Patch for Kernel 2.4.19
 2 | 
 3 | Main purpose is to allow Quake 3 servers, and all games powered by the
 4 | engine, to be visible in the server browser when the servers are being run on
 5 | aliased IP addresses and multiple NICs using the +set net_ip option.
 6 | 
 7 | To apply the patch run "patch -p1 < udp_wide_broadcast.patch" from your
 8 | source directory and recompile.
 9 | 
10 | Add "echo "1" > /proc/sys/net/ipv4/udp_wide_broadcast" to one of your startup
11 | scripts, i.e./etc/rc.d/rc.local, and run thousands of servers from your
12 | computer.
13 | 
14 | 
15 | Patch by:
16 | Rogier Mulhujzen <linux@bsdchicks.com>
17 | John Tobin <ogre@sirinet.net>
18 | 
19 | A patch with the same functionality for FreeBSD is available from
20 | http://www.bsdchicks.com/patches
21 | 


--------------------------------------------------------------------------------
/code/unix/Quake3.kdelnk:
--------------------------------------------------------------------------------
 1 | # KDE Config File
 2 | [KDE Desktop Entry]
 3 | Name=Quake3
 4 | Name[C]=Quake3
 5 | MimeType=
 6 | Exec=/usr/local/games/quake3/linuxquake3
 7 | Comment=Quake3: Arena by id Software
 8 | Icon=quake3.xpm
 9 | TerminalOptions=
10 | Path=
11 | Type=Application
12 | Terminal=0
13 | 


--------------------------------------------------------------------------------
/code/unix/README.EULA:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/unix/README.EULA


--------------------------------------------------------------------------------
/code/unix/extract_ver.pl:
--------------------------------------------------------------------------------
 1 | #!/usr/bin/env perl
 2 | # extracting version string from game/q_shared.h
 3 | # hacked from Wolf build process
 4 | 
 5 | # extract the wolf version from q_shared.h
 6 | $line = `cat ../game/q_shared.h | grep Q3_VERSION`;
 7 | chomp $line;
 8 | $line =~ s/.*Q3\ (.*)\"/$1/;
 9 | print "$line\n";
10 | 


--------------------------------------------------------------------------------
/code/unix/q3test.spec.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | # Generate Quake3 test
 3 | # $1 is version
 4 | # $2 is release
 5 | # $3 is arch
 6 | # $4 is install dir (assumed to be in /var/tmp)
 7 | cat <<EOF
 8 | %define name q3test
 9 | %define version ${1}
10 | %define release ${2}
11 | %define arch ${3}
12 | %define builddir \$RPM_BUILD_DIR/%{name}-%{version}
13 | Name:		%{name}
14 | Version:	%{version}
15 | Release:	%{release}
16 | Vendor:		id Software
17 | Packager:	Dave "Zoid" Kirsch <zoid@idsoftware.com>
18 | URL:		http://www.idsoftware.com/
19 | Source:		q3test-%{version}.tar.gz
20 | Group:		Games
21 | Copyright:	Restricted
22 | Icon:		quake3.gif
23 | BuildRoot:	/var/tmp/%{name}-%{version}
24 | Summary:	Q3Test for Linux
25 | 
26 | %description
27 | 
28 | %install
29 | 
30 | %files
31 | 
32 | %attr(644,root,root) $4/README.EULA
33 | %attr(644,root,root) $4/README.Q3Test
34 | %attr(644,root,root) $4/README.Linux
35 | %attr(644,root,root) $4/Quake3.kdelnk
36 | %attr(644,root,root) $4/quake3.xpm
37 | %attr(755,root,root) $4/linuxquake3
38 | %attr(755,root,root) $4/cgamei386.so
39 | %attr(755,root,root) $4/qagamei386.so
40 | %attr(755,root,root) $4/uii386.so
41 | %attr(755,root,root) $4/libMesaVoodooGL.so.3.1
42 | %attr(644,root,root) $4/demoq3/pak0.pk3
43 | 
44 | %post
45 | 
46 | if [ -n "\$KDEDIR" ]; then
47 | 	ln -sf $4/Quake3.kdelnk \$KDEDIR/share/applnk/Games/Quake3.kdelnk
48 | 	ln -sf $4/quake3.xpm \$KDEDIR/share/icons/quake3.xpm
49 | fi
50 | 
51 | EOF
52 | 
53 | 


--------------------------------------------------------------------------------
/code/unix/quake3.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/unix/quake3.gif


--------------------------------------------------------------------------------
/code/unix/run-target.sh:
--------------------------------------------------------------------------------
 1 | #!/bin/sh
 2 | # for easy use with Anjuta
 3 | cd `dirname $0`/debugi386-glibc
 4 | echo "in $PWD"
 5 | 
 6 | # now execute whatever you want
 7 | #./linuxquake3-smp +set fs_basepath /usr/local/games/quake3 +set developer 1 +set r_smp 1 +set r_showsmp 1 +devmap mythology
 8 | 
 9 | #gvd ./linuxquake3-smp --pargs +set logfile 2 +set fs_basepath /usr/local/games/quake3 +set developer 1 +set r_smp 0 +set r_showsmp 1 +devmap mythology
10 | 
11 | ./linuxquake3-smp +set logfile 2 +set fs_basepath /usr/local/games/quake3 +set developer 1 +set r_smp 1 +set r_fullscreen 0 +set r_showsmp 1 +devmap mythology &
12 | gvd ./linuxquake3-smp
13 | 


--------------------------------------------------------------------------------
/code/unix/unix_glw.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | #if !( defined __linux__ || defined __FreeBSD__ )
23 | #error You should include this file only on Linux/FreeBSD platforms
24 | #endif
25 | 
26 | #ifndef __GLW_LINUX_H__
27 | #define __GLW_LINUX_H__
28 | 
29 | typedef struct
30 | {
31 | 	void *OpenGLLib; // instance of OpenGL library
32 | 
33 | 	FILE *log_fp;
34 | } glwstate_t;
35 | 
36 | extern glwstate_t glw_state;
37 | 
38 | #endif
39 | 


--------------------------------------------------------------------------------
/code/unix/unix_main.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/unix/unix_main.c


--------------------------------------------------------------------------------
/code/unix/vm_x86.c:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | #include "../qcommon/vm_local.h"
24 | 
25 | void VM_Compile( vm_t *vm, vmHeader_t *header ) {}
26 | int	VM_CallCompiled( vm_t *vm, int *args ) {}
27 | 
28 | 
29 | 
30 | 


--------------------------------------------------------------------------------
/code/win32/background.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/background.bmp


--------------------------------------------------------------------------------
/code/win32/clear.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/clear.bmp


--------------------------------------------------------------------------------
/code/win32/icon2.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/icon2.ico


--------------------------------------------------------------------------------
/code/win32/mod-sdk-setup/GameSource.VCT:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/mod-sdk-setup/GameSource.VCT


--------------------------------------------------------------------------------
/code/win32/mod-sdk-setup/QIIIA Game Source License.doc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/mod-sdk-setup/QIIIA Game Source License.doc


--------------------------------------------------------------------------------
/code/win32/mod-sdk-setup/bin/lcc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/mod-sdk-setup/bin/lcc.exe


--------------------------------------------------------------------------------
/code/win32/mod-sdk-setup/bin/q3asm.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/mod-sdk-setup/bin/q3asm.exe


--------------------------------------------------------------------------------
/code/win32/mod-sdk-setup/bin/q3cpp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/mod-sdk-setup/bin/q3cpp.exe


--------------------------------------------------------------------------------
/code/win32/mod-sdk-setup/bin/q3rcc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/mod-sdk-setup/bin/q3rcc.exe


--------------------------------------------------------------------------------
/code/win32/qe3.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/code/win32/qe3.ico


--------------------------------------------------------------------------------
/common/aselib.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | #include "cmdlib.h"
24 | #include "mathlib.h"
25 | #include "polyset.h"
26 | 
27 | void		ASE_Load( const char *filename, qboolean verbose, qboolean meshanims );
28 | int			ASE_GetNumSurfaces( void );
29 | polyset_t	*ASE_GetSurfaceAnimation( int ndx, int *numFrames, int skipFrameStart, int skipFrameEnd, int maxFrames );
30 | const char  *ASE_GetSurfaceName( int ndx );
31 | void		ASE_Free( void );
32 | 


--------------------------------------------------------------------------------
/common/l3dslib.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | //
23 | // l3dslib.h: header file for loading triangles from a 3DS triangle file
24 | //
25 | void Load3DSTriangleList (char *filename, triangle_t **pptri, int *numtriangles);
26 | 
27 | 


--------------------------------------------------------------------------------
/common/md4.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/common/md4.c


--------------------------------------------------------------------------------
/common/mutex.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | 
24 | typedef void *mutex_t;
25 | 
26 | void MutexLock (mutex_t *m);
27 | void MutexUnlock (mutex_t *m);
28 | mutex_t *MutexAlloc(void);
29 | 


--------------------------------------------------------------------------------
/common/threads.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | extern	int		numthreads;
24 | 
25 | void ThreadSetDefault (void);
26 | int	GetThreadWork (void);
27 | void RunThreadsOnIndividual (int workcnt, qboolean showpacifier, void(*func)(int));
28 | void RunThreadsOn (int workcnt, qboolean showpacifier, void(*func)(int));
29 | void ThreadLock (void);
30 | void ThreadUnlock (void);
31 | 
32 | 


--------------------------------------------------------------------------------
/common/trilib.h:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | //
23 | // trilib.h: header file for loading triangles from an Alias triangle file
24 | //
25 | void TRI_LoadPolysets( const char *filename, polyset_t **ppPSET, int *numpsets );
26 | 
27 | 


--------------------------------------------------------------------------------
/lcc/README:
--------------------------------------------------------------------------------
 1 | This hierarchy is the distribution for lcc version 4.1.
 2 | 
 3 | lcc version 3.x is described in the book "A Retargetable C Compiler:
 4 | Design and Implementation" (Addison-Wesley, 1995, ISBN 0-8053-1670-1).
 5 | There are significant differences between 3.x and 4.x, most notably in
 6 | the intermediate code. doc/4.html summarizes the differences.
 7 | 
 8 | VERSION 4.1 IS INCOMPATIBLE WITH EARLIER VERSIONS OF LCC. DO NOT
 9 | UNLOAD THIS DISTRIBUTION ON TOP OF A 3.X DISTRIBUTION.
10 | 
11 | LOG describes the changes since the last release.
12 | 
13 | CPYRIGHT describes the conditions under you can use, copy, modify, and
14 | distribute lcc or works derived from lcc.
15 | 
16 | doc/install.html is an HTML file that gives a complete description of
17 | the distribution and installation instructions.
18 | 
19 | Chris Fraser / cwfraser@microsoft.com
20 | David Hanson / drh@microsoft.com
21 | $Revision: 145 $ $Date: 2001-10-17 16:53:10 -0500 (Wed, 17 Oct 2001) $
22 | 


--------------------------------------------------------------------------------
/lcc/README.id:
--------------------------------------------------------------------------------
1 | 2001-10-31  Timothee Besset <ttimo@idsoftware.com>
2 | updated from the $/source/lcc code
3 | modified for portability and use with >= 1.31 mod source release
4 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/8q.2bk:
--------------------------------------------------------------------------------
1 | tst/8q.c:30: warning: missing return value
2 | tst/8q.c:39: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/array.1bk:
--------------------------------------------------------------------------------
1 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
2 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
3 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
4 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
5 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/array.2bk:
--------------------------------------------------------------------------------
1 | tst/array.c:33: warning: missing return value
2 | tst/array.c:48: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/cf.1bk:
--------------------------------------------------------------------------------
 1 | char	freq
 2 | 011	8.1
 3 | 012	6.1
 4 | 040	11.9
 5 | !	0.2
 6 | "	1.5
 7 | %	0.6
 8 | &	0.4
 9 | '	0.4
10 | (	2.9
11 | )	2.9
12 | *	0.8
13 | +	1.3
14 | ,	1.3
15 | -	0.4
16 | .	0.6
17 | /	1.0
18 | 0	2.5
19 | 1	1.9
20 | 2	0.6
21 | 3	0.2
22 | 7	0.4
23 | 8	0.2
24 | ;	3.8
25 | <	0.8
26 | =	2.7
27 | >	0.2
28 | [	1.5
29 | \	0.8
30 | ]	1.5
31 | a	3.1
32 | c	4.4
33 | e	2.3
34 | f	6.0
35 | g	1.3
36 | h	1.0
37 | i	5.0
38 | l	1.0
39 | m	0.2
40 | n	3.3
41 | o	2.1
42 | p	1.0
43 | q	0.4
44 | r	4.2
45 | s	0.6
46 | t	3.8
47 | u	1.2
48 | v	0.6
49 | w	0.2
50 | {	0.6
51 | }	0.6
52 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/cf.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/alpha/osf/tst/cf.2bk


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/cq.1bk:
--------------------------------------------------------------------------------
 1 | Section s22     returned 0.
 2 | s241,er4
 3 | Section s241    returned 4.
 4 | Section s243    returned 0.
 5 | Section s244    returned 0.
 6 | Section s25     returned 0.
 7 |   8 bits in chars.
 8 |  32 bits in ints.
 9 |  16 bits in shorts.
10 |  64 bits in longs.
11 |  32 bits in unsigneds.
12 |  32 bits in floats.
13 |  64 bits in doubles.
14 | 1.192093e-07 is the least number that can be added to 1. (float).
15 | 2.220446e-16 is the least number that can be added to 1. (double).
16 | Section s26     returned 0.
17 | Section s4      returned 0.
18 | Section s61     returned 0.
19 | Section s626    returned 0.
20 | Section s71     returned 0.
21 | Section s72     returned 0.
22 | Section s757    returned 0.
23 | Section s7813   returned 0.
24 | Section s714    returned 0.
25 | Section s715    returned 0.
26 | Register count for char is unreliable.
27 | Register count for pointer is unreliable.
28 | Register count for int is unreliable.
29 | Section s81     returned 0.
30 | Section s84     returned 0.
31 | char alignment: 1
32 | short alignment: 2
33 | int alignment: 4
34 | long alignment: 8
35 | unsigned alignment: 4
36 | float alignment: 4
37 | double alignment: 8
38 | Sign extension in fields
39 | Be especially careful with 1-bit fields!
40 | Section s85     returned 0.
41 | Section s86     returned 0.
42 | Section s88     returned 0.
43 | Section s9      returned 0.
44 | 
45 | Failed.
46 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/cq.2bk:
--------------------------------------------------------------------------------
1 | tst/cq.c:533: warning: missing return value
2 | tst/cq.c:1169: warning: missing return value
3 | tst/cq.c:5294: warning: unreachable code
4 | tst/cq.c:5303: warning: missing return value
5 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/cvt.1bk:
--------------------------------------------------------------------------------
 1 | 1 1 1 1 1 1 1 1 1.000000 1.000000 1.000000
 2 | 2 2 2 2 2 2 2 2 2.000000 2.000000 2.000000
 3 | 3 3 3 3 3 3 3 3 3.000000 3.000000 3.000000
 4 | 4 4 4 4 4 4 4 4 4.000000 4.000000 4.000000
 5 | 5 5 5 5 5 5 5 5 5.000000 5.000000 5.000000
 6 | 6 6 6 6 6 6 6 6 6.000000 6.000000 6.000000
 7 | 7 7 7 7 7 7 7 7 7.000000 7.000000 7.000000
 8 | 8 8 8 8 8 8 8 8 8.000000 8.000000 8.000000
 9 | 9 9 9 9 9 9 9 9 9.000000 9.000000 9.000000
10 | 10 10 10 10 10 10 10 10 10.000000 10.000000 10.000000
11 | 11 11 11 11 11 11 11 11 11.000000 11.000000 11.000000
12 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/cvt.2bk:
--------------------------------------------------------------------------------
1 | tst/cvt.c:32: warning: conversion from `pointer to void function(void)' to `pointer to void' is compiler dependent
2 | tst/cvt.c:33: warning: conversion from `pointer to void' to `pointer to void function(void)' is compiler dependent
3 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/fields.1bk:
--------------------------------------------------------------------------------
1 | x = 1 2 3 4 -3 6
2 | y = 3 8 9
3 | x = 1 2 3 0 0 6
4 | y = 2 8 16
5 | p->a = 0x3, p->b = 0xf
6 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/fields.2bk:
--------------------------------------------------------------------------------
1 | tst/fields.c:6: warning: initializer exceeds bit-field width
2 | tst/fields.c:8: warning: initializer exceeds bit-field width
3 | tst/fields.c:30: warning: missing return value
4 | tst/fields.c:34: warning: missing return value
5 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/incr.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/alpha/osf/tst/incr.1bk


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/incr.2bk:
--------------------------------------------------------------------------------
 1 | tst/incr.c:1: warning: missing return value
 2 | tst/incr.c:6: warning: expression with no effect elided
 3 | tst/incr.c:6: warning: expression with no effect elided
 4 | tst/incr.c:11: warning: missing return value
 5 | tst/incr.c:16: warning: expression with no effect elided
 6 | tst/incr.c:16: warning: expression with no effect elided
 7 | tst/incr.c:21: warning: missing return value
 8 | tst/incr.c:30: warning: missing return value
 9 | tst/incr.c:39: warning: missing return value
10 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/init.1bk:
--------------------------------------------------------------------------------
 1 |  1 2 3 4
 2 |  5 6
 3 |  7
 4 | if
 5 | for
 6 | else
 7 | while
 8 | 1 2 3 if
 9 | 4 5 0 for
10 | 6 7 8 else
11 | 9 10 11 while
12 | 1 2 3 if
13 | 4 5 0 for
14 | 6 7 8 else
15 | 9 10 11 while
16 | 0 0 0 
17 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/init.2bk:
--------------------------------------------------------------------------------
1 | tst/init.c:36: warning: missing return value
2 | tst/init.c:49: warning: missing return value
3 | tst/init.c:59: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/limits.1bk:
--------------------------------------------------------------------------------
 1 | UCHAR_MAX:	000000ff=255
 2 | USHRT_MAX:	0000ffff=65535
 3 | UINT_MAX:	ffffffff=-1
 4 | ULONG_MAX:	ffffffffffffffff=-1
 5 | CHAR_MAX:	0000007f=127
 6 | SCHAR_MAX:	0000007f=127
 7 | SHRT_MAX:	00007fff=32767
 8 | INT_MAX:	7fffffff=2147483647
 9 | LONG_MAX:	7fffffffffffffff=9223372036854775807
10 | CHAR_MIN:	ffffff80=-128
11 | SCHAR_MIN:	ffffff80=-128
12 | SHRT_MIN:	ffff8000=-32768
13 | INT_MIN:	80000000=-2147483648
14 | LONG_MIN:	8000000000000000=-9223372036854775808
15 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/limits.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/alpha/osf/tst/limits.2bk


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/paranoia.2bk:
--------------------------------------------------------------------------------
 1 | tst/paranoia.c:1867: warning: missing return value
 2 | tst/paranoia.c:1874: warning: missing return value
 3 | tst/paranoia.c:1884: warning: missing return value
 4 | tst/paranoia.c:1924: warning: missing return value
 5 | tst/paranoia.c:1939: warning: missing return value
 6 | tst/paranoia.c:1956: warning: missing return value
 7 | tst/paranoia.c:1975: warning: missing return value
 8 | tst/paranoia.c:1988: warning: missing return value
 9 | tst/paranoia.c:1995: warning: missing return value
10 | tst/paranoia.c:2055: warning: missing return value
11 | tst/paranoia.c:2062: warning: missing return value
12 | tst/paranoia.c:2070: warning: missing return value
13 | tst/paranoia.c:2087: warning: missing return value
14 | tst/paranoia.c:2115: warning: missing return value
15 | tst/paranoia.c:2144: warning: missing return value
16 | tst/paranoia.c:2173: warning: missing return value
17 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/sort.1bk:
--------------------------------------------------------------------------------
 1 | exchange(1,9)
 2 | exchange(3,7)
 3 | exchange(5,6)
 4 | exchange(0,5)
 5 | exchange(0,3)
 6 | exchange(0,0)
 7 | exchange(1,2)
 8 | exchange(6,6)
 9 | exchange(8,9)
10 | exchange(7,8)
11 | -51
12 | -1
13 | 0
14 | 1
15 | 3
16 | 10
17 | 18
18 | 32
19 | 567
20 | 789
21 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/sort.2bk:
--------------------------------------------------------------------------------
1 | tst/sort.c:23: warning: missing return value
2 | tst/sort.c:30: warning: missing return value
3 | tst/sort.c:37: warning: missing return value
4 | tst/sort.c:41: warning: missing return value
5 | tst/sort.c:65: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/spill.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/alpha/osf/tst/spill.1bk


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/spill.2bk:
--------------------------------------------------------------------------------
1 | tst/spill.c:1: warning: missing return value
2 | tst/spill.c:3: warning: missing return value
3 | tst/spill.c:5: warning: missing return value
4 | tst/spill.c:7: warning: missing return value
5 | tst/spill.c:9: warning: missing return value
6 | tst/spill.c:17: warning: missing return value
7 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/stdarg.1bk:
--------------------------------------------------------------------------------
1 | test 1
2 | test 2
3 | test 3
4 | test 4
5 | test 5.000000
6 | {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4}
7 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/stdarg.2bk:
--------------------------------------------------------------------------------
1 | tst/stdarg.c:51: warning: missing return value
2 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/struct.1bk:
--------------------------------------------------------------------------------
1 | (-1,-1) is not within [10,10; 310,310]
2 | (1,1) is not within [10,10; 310,310]
3 | (20,300) is within [10,10; 310,310]
4 | (500,400) is not within [10,10; 310,310]
5 | ab
6 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/struct.2bk:
--------------------------------------------------------------------------------
1 | tst/struct.c:49: warning: missing return value
2 | tst/struct.c:68: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/switch.1bk:
--------------------------------------------------------------------------------
 1 | b = 0x8
 2 | f = 0xc
 3 | n = 0xa
 4 | r = 0xd
 5 | t = 0x9
 6 | v = 0xb
 7 | x = 0x78
 8 | f:
 9 | x = 0
10 | x = 1
11 | x = 2
12 | x = 2
13 | x = 2
14 | x = 2
15 | x = 2
16 | x = 7
17 | x = 8
18 | x = 9
19 | x = 9
20 | x = 9
21 | x = 9
22 | x = 9
23 | x = 9
24 | x = 9
25 | x = 16
26 | x = 17
27 | x = 18
28 | x = 19
29 | x = 20
30 | g:
31 | 1 1
32 | 1 2
33 | 2 3
34 | 2 4
35 | 2 5
36 | 3 6
37 | d 6
38 | 3 7
39 | d 7
40 | 3 8
41 | d 8
42 | d 9
43 | d 10
44 | h:
45 | i = 8
46 | i = 16
47 | i = 120
48 | i = 128
49 | i = 248
50 | i = 264
51 | i = 272
52 | i = 280
53 | i = 288
54 | i = 296
55 | i = 304
56 | i = 312
57 | 488 defaults
58 | x = 0x1000000
59 | x = 0x2000000
60 | x = 0x3000000
61 | x = 0x4000000
62 | x = 0x5000000
63 | x = 0x6000000 (default)
64 | x = 0x7000000 (default)
65 | 0
66 | 1
67 | 2
68 | 3
69 | 4
70 | 5
71 | 0
72 | 1
73 | 2
74 | 3
75 | 4
76 | 5
77 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/switch.2bk:
--------------------------------------------------------------------------------
1 | tst/switch.c:55: warning: missing return value
2 | tst/switch.c:73: warning: missing return value
3 | tst/switch.c:97: warning: missing return value
4 | tst/switch.c:101: warning: overflow in converting constant expression from `int' to `unsigned int'
5 | tst/switch.c:102: warning: overflow in converting constant expression from `int' to `unsigned int'
6 | tst/switch.c:112: warning: missing return value
7 | tst/switch.c:137: warning: missing return value
8 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/wf1.1bk:
--------------------------------------------------------------------------------
 1 | 5	a
 2 | 2	and
 3 | 5	buf
 4 | 16	c
 5 | 8	char
 6 | 1	compare
 7 | 4	cond
 8 | 5	count
 9 | 1	d
10 | 1	die
11 | 3	else
12 | 1	entry
13 | 1	eof
14 | 4	err
15 | 1	error
16 | 1	exit
17 | 1	folded
18 | 1	for
19 | 1	free
20 | 1	frequencies
21 | 1	frequency
22 | 1	get
23 | 2	getchar
24 | 3	getword
25 | 14	if
26 | 2	in
27 | 1	index
28 | 1	input
29 | 1	install
30 | 8	int
31 | 1	into
32 | 1	is
33 | 4	isletter
34 | 1	it
35 | 1	itself
36 | 5	left
37 | 1	letter
38 | 7	lookup
39 | 1	main
40 | 2	malloc
41 | 1	message
42 | 2	n
43 | 1	necessary
44 | 12	next
45 | 9	node
46 | 4	of
47 | 1	on
48 | 1	or
49 | 1	otherwise
50 | 2	out
51 | 8	p
52 | 3	print
53 | 2	printf
54 | 16	return
55 | 5	right
56 | 4	root
57 | 25	s
58 | 2	storage
59 | 3	strcmp
60 | 1	strcpy
61 | 1	strlen
62 | 8	struct
63 | 1	structures
64 | 2	subtree
65 | 1	t
66 | 5	tprint
67 | 9	tree
68 | 1	uses
69 | 1	version
70 | 1	wf
71 | 3	while
72 | 21	word
73 | 9	words
74 | 2	z
75 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/wf1.2bk:
--------------------------------------------------------------------------------
1 | tst/wf1.c:29: warning: missing return value
2 | tst/wf1.c:87: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/yacc.1bk:
--------------------------------------------------------------------------------
 1 | a
 2 | b
 3 | load
 4 | negate
 5 | push 5
 6 | c
 7 | load
 8 | multiply
 9 | add
10 | store
11 | 


--------------------------------------------------------------------------------
/lcc/alpha/osf/tst/yacc.2bk:
--------------------------------------------------------------------------------
1 | tst/yacc.c:345: warning: missing return value
2 | tst/yacc.c:349: warning: missing return value
3 | tst/yacc.c:359: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/bin/lcc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/bin/lcc.exe


--------------------------------------------------------------------------------
/lcc/bin/q3cpp.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/bin/q3cpp.exe


--------------------------------------------------------------------------------
/lcc/bin/q3rcc.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/bin/q3rcc.exe


--------------------------------------------------------------------------------
/lcc/buildnt.bat:
--------------------------------------------------------------------------------
1 | call vcvars32
2 | set BUILDDIR=bin
3 | nmake -f makefile.nt all
4 | 


--------------------------------------------------------------------------------
/lcc/buildnt.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | export BUILDDIR=.\\out
3 | mkdir out
4 | nmake -f makefile.nt all
5 | 


--------------------------------------------------------------------------------
/lcc/cpp/getopt.c:
--------------------------------------------------------------------------------
 1 | #include	<stdio.h>
 2 | #define EPR                 fprintf(stderr,
 3 | #define ERR(str, chr)       if(opterr){EPR "%s%c\n", str, chr);}
 4 | int     opterr = 1;
 5 | int     optind = 1;
 6 | int	optopt;
 7 | char    *optarg;
 8 | char    *strchr();
 9 | 
10 | int
11 | getopt (int argc, char *const argv[], const char *opts)
12 | {
13 | 	static int sp = 1;
14 | 	int c;
15 | 	char *cp;
16 | 
17 | 	if (sp == 1)
18 | 		if (optind >= argc ||
19 | 		   argv[optind][0] != '-' || argv[optind][1] == '\0')
20 | 			return -1;
21 | 		else if (strcmp(argv[optind], "--") == 0) {
22 | 			optind++;
23 | 			return -1;
24 | 		}
25 | 	optopt = c = argv[optind][sp];
26 | 	if (c == ':' || (cp=strchr(opts, c)) == 0) {
27 | 		ERR (": illegal option -- ", c);
28 | 		if (argv[optind][++sp] == '\0') {
29 | 			optind++;
30 | 			sp = 1;
31 | 		}
32 | 		return '?';
33 | 	}
34 | 	if (*++cp == ':') {
35 | 		if (argv[optind][sp+1] != '\0')
36 | 			optarg = &argv[optind++][sp+1];
37 | 		else if (++optind >= argc) {
38 | 			ERR (": option requires an argument -- ", c);
39 | 			sp = 1;
40 | 			return '?';
41 | 		} else
42 | 			optarg = argv[optind++];
43 | 		sp = 1;
44 | 	} else {
45 | 		if (argv[optind][++sp] == '\0') {
46 | 			sp = 1;
47 | 			optind++;
48 | 		}
49 | 		optarg = 0;
50 | 	}
51 | 	return c;
52 | }
53 | 


--------------------------------------------------------------------------------
/lcc/custom.mk:
--------------------------------------------------------------------------------
1 | BUILDDIR=/tmp
2 | 


--------------------------------------------------------------------------------
/lcc/doc/bprint.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/doc/bprint.pdf


--------------------------------------------------------------------------------
/lcc/doc/lcc.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/doc/lcc.pdf


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/assert.h:
--------------------------------------------------------------------------------
 1 | #ifndef __ASSERT
 2 | #define __ASSERT
 3 | 
 4 | void assert(int);
 5 | 
 6 | #endif /* __ASSERT */
 7 | 
 8 | #undef assert
 9 | #ifdef NDEBUG
10 | #define assert(ignore) ((void)0)
11 | #else
12 | extern void __assert(char *, char *, unsigned);
13 | #define assert(e) ((void)((e)||(__assert(#e, __FILE__, __LINE__),0)))
14 | #endif /* NDEBUG */
15 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/ctype.h:
--------------------------------------------------------------------------------
 1 | #ifndef __CTYPE
 2 | #define __CTYPE
 3 | 
 4 | extern int isalnum(int);
 5 | extern int isalpha(int);
 6 | extern int iscntrl(int);
 7 | extern int isdigit(int);
 8 | extern int isgraph(int);
 9 | extern int islower(int);
10 | extern int isprint(int);
11 | extern int ispunct(int);
12 | extern int isspace(int);
13 | extern int isupper(int);
14 | extern int isxdigit(int);
15 | extern int tolower(int);
16 | extern int toupper(int);
17 | 
18 | #define	__U	01
19 | #define	__L	02
20 | #define	__N	04
21 | #define	__S	010
22 | #define	__P	020
23 | #define	__C	040
24 | 
25 | #endif /* __CTYPE */
26 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/errno.h:
--------------------------------------------------------------------------------
1 | #ifndef __ERRNO
2 | #define __ERRNO
3 | 
4 | #define EDOM	33
5 | #define ERANGE	34
6 | extern int errno;
7 | 
8 | #endif /* __ERRNO */
9 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/float.h:
--------------------------------------------------------------------------------
 1 | #ifndef __FLOAT
 2 | #define __FLOAT
 3 | 
 4 | #define FLT_ROUNDS	1
 5 | #define FLT_RADIX	2
 6 | 
 7 | #define FLT_DIG		6
 8 | #define FLT_EPSILON	1.19209289550781250000e-07
 9 | #define FLT_MANT_DIG	24
10 | #define FLT_MAX		3.40282346638528860000e+38
11 | #define FLT_MAX_10_EXP	38
12 | #define FLT_MAX_EXP	128
13 | #define FLT_MIN		1.17549435082228750000e-38
14 | #define FLT_MIN_10_EXP	-37
15 | #define FLT_MIN_EXP	-125
16 | 
17 | #define DBL_DIG		15
18 | #define DBL_EPSILON	2.22044604925031310000e-16
19 | #define DBL_MANT_DIG	53
20 | #define DBL_MAX		1.79769313486231570000e+308
21 | #define DBL_MAX_10_EXP	308
22 | #define DBL_MAX_EXP	1024
23 | #define DBL_MIN		2.22507385850720140000e-308
24 | #define DBL_MIN_10_EXP	-307
25 | #define DBL_MIN_EXP	-1021
26 | 
27 | #define LDBL_MANT_DIG	DBL_MANT_DIG
28 | #define LDBL_EPSILON	DBL_EPSILON
29 | #define LDBL_DIG	DBL_DIG
30 | #define LDBL_MIN_EXP	DBL_MIN_EXP
31 | #define LDBL_MIN	DBL_MIN
32 | #define LDBL_MIN_10_EXP	DBL_MIN_10_EXP
33 | #define LDBL_MAX_EXP	DBL_MAX_EXP
34 | #define LDBL_MAX	DBL_MAX
35 | #define LDBL_MAX_10_EXP	DBL_MAX_10_EXP
36 | 
37 | #endif /* __FLOAT */
38 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/limits.h:
--------------------------------------------------------------------------------
 1 | #ifndef __LIMITS
 2 | #define __LIMITS
 3 | 
 4 | #define CHAR_BIT	8
 5 | #define MB_LEN_MAX	1
 6 | 
 7 | #define UCHAR_MAX	0xff
 8 | #define USHRT_MAX	0xffff
 9 | #define UINT_MAX	(~0U)
10 | #define ULONG_MAX	(~0UL)
11 | 
12 | #define CHAR_MAX	SCHAR_MAX
13 | #define SCHAR_MAX	0x7f
14 | #define SHRT_MAX	0x7fff
15 | #define INT_MAX		0x7fffffff
16 | #define LONG_MAX	0x7fffffffffffffffL
17 | 
18 | #define CHAR_MIN	SCHAR_MIN
19 | #define SCHAR_MIN	(-SCHAR_MAX-1)
20 | #define SHRT_MIN	(-SHRT_MAX-1)
21 | #define INT_MIN		(-INT_MAX-1)
22 | #define LONG_MIN	(-LONG_MAX-1)
23 | 
24 | #endif /* __LIMITS */
25 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/locale.h:
--------------------------------------------------------------------------------
 1 | #ifndef __LOCALE
 2 | #define __LOCALE
 3 | 
 4 | #define LC_ALL		0
 5 | #define LC_COLLATE	1
 6 | #define LC_CTYPE	2
 7 | #define LC_MONETARY	3
 8 | #define LC_NUMERIC	4
 9 | #define LC_TIME		5
10 | #define NULL	0
11 | 
12 | struct lconv {
13 | 	char *decimal_point;
14 | 	char *thousands_sep;
15 | 	char *grouping;
16 | 	char *int_curr_symbol;
17 | 	char *currency_symbol;
18 | 	char *mon_decimal_point;
19 | 	char *mon_thousands_sep;
20 | 	char *mon_grouping;
21 | 	char *positive_sign;
22 | 	char *negative_sign;
23 | 	char int_frac_digits;
24 | 	char frac_digits;
25 | 	char p_cs_precedes;
26 | 	char p_sep_by_space;
27 | 	char n_cs_precedes;
28 | 	char n_sep_by_space;
29 | 	char p_sign_posn;
30 | 	char n_sign_posn;
31 | };
32 | 
33 | char *setlocale(int, const char *);
34 | struct lconv *localeconv(void);
35 | 
36 | #endif /* __LOCALE */
37 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/math.h:
--------------------------------------------------------------------------------
 1 | #ifndef __MATH
 2 | #define __MATH
 3 | 
 4 | #define HUGE_VAL 1.79769313486231570000e+308
 5 | 
 6 | extern double acos(double);
 7 | extern double asin(double);
 8 | extern double atan(double);
 9 | extern double atan2(double, double);
10 | extern double cos(double);
11 | extern double sin(double);
12 | extern double tan(double);
13 | extern double cosh(double);
14 | extern double sinh(double);
15 | extern double tanh(double);
16 | extern double exp(double);
17 | extern double frexp(double, int *);
18 | extern double ldexp(double, int);
19 | extern double log(double);
20 | extern double log10(double);
21 | extern double modf(double, double *);
22 | extern double pow(double, double);
23 | extern double sqrt(double);
24 | extern double ceil(double);
25 | extern double fabs(double);
26 | extern double floor(double);
27 | extern double fmod(double, double);
28 | 
29 | #endif /* __MATH */
30 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/setjmp.h:
--------------------------------------------------------------------------------
 1 | #ifndef __SETJMP
 2 | #define __SETJMP
 3 | 
 4 | 
 5 | 
 6 | typedef int jmp_buf[35+1+48];
 7 | int setjmp(jmp_buf);
 8 | void longjmp(jmp_buf, int);
 9 | 
10 | #endif /* __SETJMP */
11 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/signal.h:
--------------------------------------------------------------------------------
 1 | #ifndef __SIGNAL
 2 | #define __SIGNAL
 3 | 
 4 | typedef int sig_atomic_t;
 5 | 
 6 | #define SIG_DFL ((void (*)(int))0)
 7 | #define SIG_ERR ((void (*)(int))-1)
 8 | #define SIG_IGN ((void (*)(int))1)
 9 | 
10 | #define SIGABRT	6
11 | #define SIGFPE	8
12 | #define SIGILL	4
13 | #define SIGINT	2
14 | #define SIGSEGV	11
15 | #define SIGTERM	15
16 | 
17 | void (*signal(int, void (*)(int)))(int);
18 | int raise(int);
19 | 
20 | #endif /* __SIGNAL */
21 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/stdarg.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STDARG
 2 | #define __STDARG
 3 | 
 4 | #if !defined(_VA_LIST)
 5 | #define _VA_LIST
 6 | typedef struct {
 7 | 	char	*_a0;		/* pointer to first homed integer arg */
 8 | 	int	_offset;	/* byte offset of next param */
 9 | 	float	_tmp;
10 | } __va_list;
11 | #endif
12 | typedef __va_list va_list;
13 | 
14 | #define va_start(list, start) ((void)( \
15 | 	(list)._a0 = (__typecode(__firstarg)==1 ? \
16 | 		(char*)&__firstarg+48 : (char *)&__firstarg), \
17 | 	(list)._offset = (__typecode(start)==1 ? \
18 | 		(char*)&start+56 : (char *)&start+8)-(list)._a0))
19 | #define va_arg(list, mode) (*(mode *)( \
20 | 	(list)._offset += (int)((sizeof(mode)+7)&~7), \
21 | 	(__typecode(mode)==1 && sizeof(mode)==4) ? \
22 | 		((list)._tmp = (float)*(double *)((list)._a0 + (list)._offset - \
23 | 			((list)._offset <= 48 ? 56 : 8))), (char *)&(list)._tmp : \
24 | 	(__typecode(mode)==1 && (list)._offset <= 48) ? \
25 | 		(list)._a0 + (list)._offset - 56 : \
26 | 	(list)._a0 + (list)._offset - (int)((sizeof(mode)+7)&~7)))
27 | #define va_end(list) ((void)0)
28 | #endif
29 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/stddef.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STDDEF
 2 | #define __STDDEF
 3 | 
 4 | 
 5 | #define NULL 0
 6 | #define offsetof(ty,mem) ((size_t)((char*)&((ty*)0)->mem - (char*)0))
 7 | 
 8 | typedef long ptrdiff_t;
 9 | 
10 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
11 | #define _SIZE_T
12 | #define _SIZE_T_
13 | typedef unsigned long size_t;
14 | #endif
15 | 
16 | #if !defined(_WCHAR_T) && !defined(_WCHAR_T_)
17 | #define _WCHAR_T
18 | #define _WCHAR_T_
19 | typedef unsigned short wchar_t;
20 | #endif
21 | 
22 | #endif /* __STDDEF */
23 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/string.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STRING
 2 | #define __STRING
 3 | 
 4 | #define NULL 0
 5 | 
 6 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
 7 | #define _SIZE_T
 8 | #define _SIZE_T_
 9 | typedef unsigned long size_t;
10 | #endif
11 | 
12 | void *memcpy(void *, const void *, size_t);
13 | void *memmove(void *, const void *, size_t);
14 | char *strcpy(char *, const char *);
15 | char *strncpy(char *, const char *, size_t);
16 | char *strcat(char *, const char *);
17 | char *strncat(char *, const char *, size_t);
18 | int memcmp(const void *, const void *, size_t);
19 | int strcmp(const char *, const char *);
20 | int strcoll(const char *, const char *);
21 | int strncmp(const char *, const char *, size_t);
22 | size_t strxfrm(char *, const char *, size_t);
23 | void *memchr(const void *, int, size_t);
24 | char *strchr(const char *, int);
25 | size_t strcspn(const char *, const char *);
26 | char *strpbrk(const char *, const char *);
27 | char *strrchr(const char *, int);
28 | size_t strspn(const char *, const char *);
29 | char *strstr(const char *, const char *);
30 | char *strtok(char *, const char *);
31 | void *memset(void *, int, size_t);
32 | char *strerror(int);
33 | size_t strlen(const char *);
34 | 
35 | #endif /* __STRING */
36 | 


--------------------------------------------------------------------------------
/lcc/include/alpha/osf/time.h:
--------------------------------------------------------------------------------
 1 | #ifndef __TIME
 2 | #define __TIME
 3 | 
 4 | #define CLOCKS_PER_SEC 1000000
 5 | #ifndef NULL
 6 | #define NULL 0
 7 | #endif
 8 | 
 9 | #if !defined(_CLOCK_T) && !defined(_CLOCK_T_)
10 | #define _CLOCK_T
11 | #define _CLOCK_T_
12 | typedef long clock_t;
13 | #endif
14 | 
15 | #if !defined(_TIME_T) && !defined(_TIME_T_)
16 | #define _TIME_T
17 | #define _TIME_T_
18 | typedef long time_t;
19 | #endif
20 | 
21 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
22 | #define _SIZE_T
23 | #define _SIZE_T_
24 | typedef unsigned long size_t;
25 | #endif
26 | 
27 | struct tm {
28 | 	int	tm_sec;
29 | 	int	tm_min;
30 | 	int	tm_hour;
31 | 	int	tm_mday;
32 | 	int	tm_mon;
33 | 	int	tm_year;
34 | 	int	tm_wday;
35 | 	int	tm_yday;
36 | 	int	tm_isdst;
37 | long __tm_gmtoff;
38 | 	char *__tm_zone;
39 | };
40 | extern clock_t clock(void);
41 | extern double difftime(time_t, time_t);
42 | extern time_t mktime(struct tm *);
43 | extern time_t time(time_t *);
44 | extern char *asctime(const struct tm *);
45 | extern char *ctime(const time_t *);
46 | extern struct tm *gmtime(const time_t *);
47 | extern struct tm *localtime(const time_t *);
48 | extern size_t strftime(char *, size_t, const char *, const struct tm *);
49 | 
50 | #endif /* __TIME */
51 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/assert.h:
--------------------------------------------------------------------------------
 1 | #ifndef __ASSERT
 2 | #define __ASSERT
 3 | 
 4 | void assert(int);
 5 | 
 6 | #endif /* __ASSERT */
 7 | 
 8 | #undef assert
 9 | #ifdef NDEBUG
10 | #define assert(ignore) ((void)0)
11 | #else
12 | extern int _assert(char *, char *, unsigned);
13 | #define assert(e) ((void)((e)||_assert(#e, __FILE__, __LINE__)))
14 | #endif /* NDEBUG */
15 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/ctype.h:
--------------------------------------------------------------------------------
 1 | #ifndef __CTYPE
 2 | #define __CTYPE
 3 | 
 4 | extern int isalnum(int);
 5 | extern int isalpha(int);
 6 | extern int iscntrl(int);
 7 | extern int isdigit(int);
 8 | extern int isgraph(int);
 9 | extern int islower(int);
10 | extern int isprint(int);
11 | extern int ispunct(int);
12 | extern int isspace(int);
13 | extern int isupper(int);
14 | extern int isxdigit(int);
15 | extern int tolower(int);
16 | extern int toupper(int);
17 | 
18 | #define	__U	01
19 | #define	__L	02
20 | #define	__N	04
21 | #define	__S	010
22 | #define	__P	020
23 | #define	__C	040
24 | #define	__B	0100
25 | #define	__X	0200
26 | 
27 | extern unsigned char _ctype[];
28 | #define	isalnum(c)	((_ctype+1)[c]&(__U|__L|__N))
29 | #define	isalpha(c)	((_ctype+1)[c]&(__U|__L))
30 | #define	iscntrl(c)	((_ctype+1)[c]&__C)
31 | #define	isdigit(c)	((_ctype+1)[c]&__N)
32 | #define	isgraph(c)	((_ctype+1)[c]&(__P|__U|__L|__N))
33 | #define	islower(c)	((_ctype+1)[c]&__L)
34 | #define	isprint(c)	((_ctype+1)[c]&(__P|__U|__L|__N|__B))
35 | #define	ispunct(c)	((_ctype+1)[c]&__P)
36 | #define	isspace(c)	((_ctype+1)[c]&__S)
37 | #define	isupper(c)	((_ctype+1)[c]&__U)
38 | #define	isxdigit(c)	((_ctype+1)[c]&__X)
39 | 
40 | #endif /* __CTYPE */
41 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/errno.h:
--------------------------------------------------------------------------------
1 | #ifndef __ERRNO
2 | #define __ERRNO
3 | 
4 | #define EDOM	33
5 | #define ERANGE	34
6 | extern int errno;
7 | 
8 | #endif /* __ERRNO */
9 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/float.h:
--------------------------------------------------------------------------------
 1 | #ifndef __FLOAT
 2 | #define __FLOAT
 3 | 
 4 | #define FLT_ROUNDS	1
 5 | #define FLT_RADIX	2
 6 | 
 7 | #define FLT_DIG		6
 8 | #define FLT_EPSILON	1.19209289550781250000e-07
 9 | #define FLT_MANT_DIG	24
10 | #define FLT_MAX		3.40282346638528860000e+38
11 | #define FLT_MAX_10_EXP	38
12 | #define FLT_MAX_EXP	128
13 | #define FLT_MIN		1.17549435082228750000e-38
14 | #define FLT_MIN_10_EXP	-37
15 | #define FLT_MIN_EXP	-125
16 | 
17 | #define DBL_DIG		15
18 | #define DBL_EPSILON	2.22044604925031310000e-16
19 | #define DBL_MANT_DIG	53
20 | #define DBL_MAX		1.79769313486231570000e+308
21 | #define DBL_MAX_10_EXP	308
22 | #define DBL_MAX_EXP	1024
23 | #define DBL_MIN		2.22507385850720140000e-308
24 | #define DBL_MIN_10_EXP	-307
25 | #define DBL_MIN_EXP	-1021
26 | 
27 | #define LDBL_MANT_DIG	DBL_MANT_DIG
28 | #define LDBL_EPSILON	DBL_EPSILON
29 | #define LDBL_DIG	DBL_DIG
30 | #define LDBL_MIN_EXP	DBL_MIN_EXP
31 | #define LDBL_MIN	DBL_MIN
32 | #define LDBL_MIN_10_EXP	DBL_MIN_10_EXP
33 | #define LDBL_MAX_EXP	DBL_MAX_EXP
34 | #define LDBL_MAX	DBL_MAX
35 | #define LDBL_MAX_10_EXP	DBL_MAX_10_EXP
36 | 
37 | #endif /* __FLOAT */
38 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/limits.h:
--------------------------------------------------------------------------------
 1 | #ifndef __LIMITS
 2 | #define __LIMITS
 3 | 
 4 | #define CHAR_BIT	8
 5 | #define MB_LEN_MAX	1
 6 | 
 7 | #define UCHAR_MAX	0xff
 8 | #define USHRT_MAX	0xffff
 9 | #define UINT_MAX	(~0U)
10 | #define ULONG_MAX	(~0UL)
11 | 
12 | #define CHAR_MAX	SCHAR_MAX
13 | #define SCHAR_MAX	0x7f
14 | #define SHRT_MAX	0x7fff
15 | #define INT_MAX		0x7fffffff
16 | #define LONG_MAX	0x7fffffffL
17 | 
18 | #define CHAR_MIN	SCHAR_MIN
19 | #define SCHAR_MIN	(-SCHAR_MAX-1)
20 | #define SHRT_MIN	(-SHRT_MAX-1)
21 | #define INT_MIN		(-INT_MAX-1)
22 | #define LONG_MIN	(-LONG_MAX-1)
23 | 
24 | #endif /* __LIMITS */
25 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/locale.h:
--------------------------------------------------------------------------------
 1 | #ifndef __LOCALE
 2 | #define __LOCALE
 3 | 
 4 | #define LC_ALL		0
 5 | #define LC_COLLATE	1
 6 | #define LC_CTYPE	2
 7 | #define LC_MONETARY	3
 8 | #define LC_NUMERIC	4
 9 | #define LC_TIME		5
10 | #define NULL	0
11 | 
12 | struct lconv {
13 | 	char *decimal_point;
14 | 	char *thousands_sep;
15 | 	char *grouping;
16 | 	char *int_curr_symbol;
17 | 	char *currency_symbol;
18 | 	char *mon_decimal_point;
19 | 	char *mon_thousands_sep;
20 | 	char *mon_grouping;
21 | 	char *positive_sign;
22 | 	char *negative_sign;
23 | 	char int_frac_digits;
24 | 	char frac_digits;
25 | 	char p_cs_precedes;
26 | 	char p_sep_by_space;
27 | 	char n_cs_precedes;
28 | 	char n_sep_by_space;
29 | 	char p_sign_posn;
30 | 	char n_sign_posn;
31 | };
32 | 
33 | char *setlocale(int, const char *);
34 | struct lconv *localeconv(void);
35 | 
36 | #endif /* __LOCALE */
37 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/math.h:
--------------------------------------------------------------------------------
 1 | #ifndef __MATH
 2 | #define __MATH
 3 | 
 4 | #define HUGE_VAL 1.79769313486231570000e+308
 5 | 
 6 | extern double acos(double);
 7 | extern double asin(double);
 8 | extern double atan(double);
 9 | extern double atan2(double, double);
10 | extern double cos(double);
11 | extern double sin(double);
12 | extern double tan(double);
13 | extern double cosh(double);
14 | extern double sinh(double);
15 | extern double tanh(double);
16 | extern double exp(double);
17 | extern double frexp(double, int *);
18 | extern double ldexp(double, int);
19 | extern double log(double);
20 | extern double log10(double);
21 | extern double modf(double, double *);
22 | extern double pow(double, double);
23 | extern double sqrt(double);
24 | extern double ceil(double);
25 | extern double fabs(double);
26 | extern double floor(double);
27 | extern double fmod(double, double);
28 | 
29 | #endif /* __MATH */
30 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/setjmp.h:
--------------------------------------------------------------------------------
 1 | #ifndef __SETJMP
 2 | #define __SETJMP
 3 | 
 4 | 
 5 | 
 6 | typedef int jmp_buf[28];
 7 | int setjmp(jmp_buf);
 8 | void longjmp(jmp_buf, int);
 9 | 
10 | #endif /* __SETJMP */
11 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/signal.h:
--------------------------------------------------------------------------------
 1 | #ifndef __SIGNAL
 2 | #define __SIGNAL
 3 | 
 4 | typedef int sig_atomic_t;
 5 | 
 6 | #define SIG_DFL ((void (*)(int))0)
 7 | #define SIG_ERR ((void (*)(int))-1)
 8 | #define SIG_IGN ((void (*)(int))1)
 9 | 
10 | #define SIGABRT	6
11 | #define SIGFPE	8
12 | #define SIGILL	4
13 | #define SIGINT	2
14 | #define SIGSEGV	11
15 | #define SIGTERM	15
16 | 
17 | void (*signal(int, void (*)(int)))(int);
18 | int raise(int);
19 | 
20 | #endif /* __SIGNAL */
21 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/stdarg.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STDARG
 2 | #define __STDARG
 3 | 
 4 | #if !defined(_VA_LIST)
 5 | #define _VA_LIST
 6 | typedef char *__va_list;
 7 | #endif
 8 | typedef __va_list va_list;
 9 | 
10 | #define va_start(list, start) ((void)((list) = (sizeof(start)<4 ? \
11 | 	(char *)((int *)&(start)+1) : (char *)(&(start)+1))))
12 | #define __va_arg(list, mode, n) \
13 | 	(*(mode *)(&(list += ((sizeof(mode)+n)&~n))[-(int)((sizeof(mode)+n)&~n)]))
14 | #define _bigendian_va_arg(list, mode, n) (\
15 | 	sizeof(mode)==1 ? *(mode *)(&(list += 4)[-1]) : \
16 | 	sizeof(mode)==2 ? *(mode *)(&(list += 4)[-2]) : __va_arg(list, mode, n))
17 | #define _littleendian_va_arg(list, mode, n) __va_arg(list, mode, n)
18 | #define va_end(list) ((void)0)
19 | #define va_arg(list, mode) (sizeof(mode)==8 ? \
20 | 	*(mode *)(&(list = (char*)(((int)list + 15)&~7U))[-8]) : \
21 | 	_bigendian_va_arg(list, mode, 3U))
22 | #endif
23 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/stddef.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STDDEF
 2 | #define __STDDEF
 3 | 
 4 | 
 5 | #define NULL 0
 6 | #define offsetof(ty,mem) ((size_t)((char*)&((ty*)0)->mem - (char*)0))
 7 | 
 8 | typedef long ptrdiff_t;
 9 | 
10 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
11 | #define _SIZE_T
12 | #define _SIZE_T_
13 | typedef unsigned long size_t;
14 | #endif
15 | 
16 | #if !defined(_WCHAR_T) && !defined(_WCHAR_T_)
17 | #define _WCHAR_T
18 | #define _WCHAR_T_
19 | typedef unsigned short wchar_t;
20 | #endif
21 | 
22 | #endif /* __STDDEF */
23 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/string.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STRING
 2 | #define __STRING
 3 | 
 4 | #define NULL 0
 5 | 
 6 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
 7 | #define _SIZE_T
 8 | #define _SIZE_T_
 9 | typedef unsigned long size_t;
10 | #endif
11 | 
12 | void *memcpy(void *, const void *, size_t);
13 | void *memmove(void *, const void *, size_t);
14 | char *strcpy(char *, const char *);
15 | char *strncpy(char *, const char *, size_t);
16 | char *strcat(char *, const char *);
17 | char *strncat(char *, const char *, size_t);
18 | int memcmp(const void *, const void *, size_t);
19 | int strcmp(const char *, const char *);
20 | int strcoll(const char *, const char *);
21 | int strncmp(const char *, const char *, size_t);
22 | size_t strxfrm(char *, const char *, size_t);
23 | void *memchr(const void *, int, size_t);
24 | char *strchr(const char *, int);
25 | size_t strcspn(const char *, const char *);
26 | char *strpbrk(const char *, const char *);
27 | char *strrchr(const char *, int);
28 | size_t strspn(const char *, const char *);
29 | char *strstr(const char *, const char *);
30 | char *strtok(char *, const char *);
31 | void *memset(void *, int, size_t);
32 | char *strerror(int);
33 | size_t strlen(const char *);
34 | 
35 | #endif /* __STRING */
36 | 


--------------------------------------------------------------------------------
/lcc/include/mips/irix/time.h:
--------------------------------------------------------------------------------
 1 | #ifndef __TIME
 2 | #define __TIME
 3 | 
 4 | #define CLOCKS_PER_SEC 1000000
 5 | #ifndef NULL
 6 | #define NULL 0
 7 | #endif
 8 | 
 9 | #if !defined(_CLOCK_T) && !defined(_CLOCK_T_)
10 | #define _CLOCK_T
11 | #define _CLOCK_T_
12 | typedef long clock_t;
13 | #endif
14 | 
15 | #if !defined(_TIME_T) && !defined(_TIME_T_)
16 | #define _TIME_T
17 | #define _TIME_T_
18 | typedef long time_t;
19 | #endif
20 | 
21 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
22 | #define _SIZE_T
23 | #define _SIZE_T_
24 | typedef unsigned long size_t;
25 | #endif
26 | 
27 | struct tm {
28 | 	int	tm_sec;
29 | 	int	tm_min;
30 | 	int	tm_hour;
31 | 	int	tm_mday;
32 | 	int	tm_mon;
33 | 	int	tm_year;
34 | 	int	tm_wday;
35 | 	int	tm_yday;
36 | 	int	tm_isdst;
37 | };
38 | extern clock_t clock(void);
39 | extern double difftime(time_t, time_t);
40 | extern time_t mktime(struct tm *);
41 | extern time_t time(time_t *);
42 | extern char *asctime(const struct tm *);
43 | extern char *ctime(const time_t *);
44 | extern struct tm *gmtime(const time_t *);
45 | extern struct tm *localtime(const time_t *);
46 | extern size_t strftime(char *, size_t, const char *, const struct tm *);
47 | 
48 | #endif /* __TIME */
49 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/assert.h:
--------------------------------------------------------------------------------
 1 | #ifndef __ASSERT
 2 | #define __ASSERT
 3 | 
 4 | void assert(int);
 5 | 
 6 | #endif /* __ASSERT */
 7 | 
 8 | #undef assert
 9 | #ifdef NDEBUG
10 | #define assert(ignore) ((void)0)
11 | #else
12 | extern void __assert(char *, char *, unsigned);
13 | #define assert(e) ((void)((e)||(__assert(#e, __FILE__, __LINE__),0)))
14 | #endif /* NDEBUG */
15 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/ctype.h:
--------------------------------------------------------------------------------
 1 | #ifndef __CTYPE
 2 | #define __CTYPE
 3 | 
 4 | extern int isalnum(int);
 5 | extern int isalpha(int);
 6 | extern int iscntrl(int);
 7 | extern int isdigit(int);
 8 | extern int isgraph(int);
 9 | extern int islower(int);
10 | extern int isprint(int);
11 | extern int ispunct(int);
12 | extern int isspace(int);
13 | extern int isupper(int);
14 | extern int isxdigit(int);
15 | extern int tolower(int);
16 | extern int toupper(int);
17 | 
18 | #define	__U	01
19 | #define	__L	02
20 | #define	__N	04
21 | #define	__S	010
22 | #define	__P	020
23 | #define	__C	040
24 | #define	_U	01
25 | #define	_L	02
26 | #define	_N	04
27 | #define	_S	010
28 | #define	_P	020
29 | #define	_C	040
30 | #define	_B	0100
31 | #define	_X	0200
32 | 
33 | extern unsigned char __ctype[];
34 | #define	isalpha(c)	((__ctype + 1)[c] & (_U | _L))
35 | #define	isupper(c)	((__ctype + 1)[c] & _U)
36 | #define	islower(c)	((__ctype + 1)[c] & _L)
37 | #define	isdigit(c)	((__ctype + 1)[c] & _N)
38 | #define	isxdigit(c)	((__ctype + 1)[c] & _X)
39 | #define	isalnum(c)	((__ctype + 1)[c] & (_U | _L | _N))
40 | #define	isspace(c)	((__ctype + 1)[c] & _S)
41 | #define	ispunct(c)	((__ctype + 1)[c] & _P)
42 | #define	isprint(c)	((__ctype + 1)[c] & (_P | _U | _L | _N | _B))
43 | #define	isgraph(c)	((__ctype + 1)[c] & (_P | _U | _L | _N))
44 | #define	iscntrl(c)	((__ctype + 1)[c] & _C)
45 | 
46 | #endif /* __CTYPE */
47 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/errno.h:
--------------------------------------------------------------------------------
1 | #ifndef __ERRNO
2 | #define __ERRNO
3 | 
4 | #define EDOM	33
5 | #define ERANGE	34
6 | extern int errno;
7 | 
8 | #endif /* __ERRNO */
9 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/float.h:
--------------------------------------------------------------------------------
 1 | #ifndef __FLOAT
 2 | #define __FLOAT
 3 | 
 4 | #define FLT_ROUNDS	1
 5 | #define FLT_RADIX	2
 6 | 
 7 | #define FLT_DIG		6
 8 | #define FLT_EPSILON	1.19209289550781250000e-07
 9 | #define FLT_MANT_DIG	24
10 | #define FLT_MAX		3.40282346638528860000e+38
11 | #define FLT_MAX_10_EXP	38
12 | #define FLT_MAX_EXP	128
13 | #define FLT_MIN		1.17549435082228750000e-38
14 | #define FLT_MIN_10_EXP	-37
15 | #define FLT_MIN_EXP	-125
16 | 
17 | #define DBL_DIG		15
18 | #define DBL_EPSILON	2.22044604925031310000e-16
19 | #define DBL_MANT_DIG	53
20 | #define DBL_MAX		1.79769313486231570000e+308
21 | #define DBL_MAX_10_EXP	308
22 | #define DBL_MAX_EXP	1024
23 | #define DBL_MIN		2.22507385850720140000e-308
24 | #define DBL_MIN_10_EXP	-307
25 | #define DBL_MIN_EXP	-1021
26 | 
27 | #define LDBL_MANT_DIG	DBL_MANT_DIG
28 | #define LDBL_EPSILON	DBL_EPSILON
29 | #define LDBL_DIG	DBL_DIG
30 | #define LDBL_MIN_EXP	DBL_MIN_EXP
31 | #define LDBL_MIN	DBL_MIN
32 | #define LDBL_MIN_10_EXP	DBL_MIN_10_EXP
33 | #define LDBL_MAX_EXP	DBL_MAX_EXP
34 | #define LDBL_MAX	DBL_MAX
35 | #define LDBL_MAX_10_EXP	DBL_MAX_10_EXP
36 | 
37 | #endif /* __FLOAT */
38 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/limits.h:
--------------------------------------------------------------------------------
 1 | #ifndef __LIMITS
 2 | #define __LIMITS
 3 | 
 4 | #define CHAR_BIT	8
 5 | #define MB_LEN_MAX	1
 6 | 
 7 | #define UCHAR_MAX	0xff
 8 | #define USHRT_MAX	0xffff
 9 | #define UINT_MAX	(~0U)
10 | #define ULONG_MAX	(~0UL)
11 | 
12 | #define CHAR_MAX	SCHAR_MAX
13 | #define SCHAR_MAX	0x7f
14 | #define SHRT_MAX	0x7fff
15 | #define INT_MAX		0x7fffffff
16 | #define LONG_MAX	0x7fffffffL
17 | 
18 | #define CHAR_MIN	SCHAR_MIN
19 | #define SCHAR_MIN	(-SCHAR_MAX-1)
20 | #define SHRT_MIN	(-SHRT_MAX-1)
21 | #define INT_MIN		(-INT_MAX-1)
22 | #define LONG_MIN	(-LONG_MAX-1)
23 | 
24 | #endif /* __LIMITS */
25 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/locale.h:
--------------------------------------------------------------------------------
 1 | #ifndef __LOCALE
 2 | #define __LOCALE
 3 | 
 4 | #define LC_ALL		0
 5 | #define LC_COLLATE	1
 6 | #define LC_CTYPE	2
 7 | #define LC_MONETARY	3
 8 | #define LC_NUMERIC	4
 9 | #define LC_TIME		5
10 | #define NULL	0
11 | 
12 | struct lconv {
13 | 	char *decimal_point;
14 | 	char *thousands_sep;
15 | 	char *grouping;
16 | 	char *int_curr_symbol;
17 | 	char *currency_symbol;
18 | 	char *mon_decimal_point;
19 | 	char *mon_thousands_sep;
20 | 	char *mon_grouping;
21 | 	char *positive_sign;
22 | 	char *negative_sign;
23 | 	char int_frac_digits;
24 | 	char frac_digits;
25 | 	char p_cs_precedes;
26 | 	char p_sep_by_space;
27 | 	char n_cs_precedes;
28 | 	char n_sep_by_space;
29 | 	char p_sign_posn;
30 | 	char n_sign_posn;
31 | };
32 | 
33 | char *setlocale(int, const char *);
34 | struct lconv *localeconv(void);
35 | 
36 | #endif /* __LOCALE */
37 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/math.h:
--------------------------------------------------------------------------------
 1 | #ifndef __MATH
 2 | #define __MATH
 3 | 
 4 | extern double infinity(void);
 5 | #define HUGE_VAL (infinity())
 6 | 
 7 | extern double acos(double);
 8 | extern double asin(double);
 9 | extern double atan(double);
10 | extern double atan2(double, double);
11 | extern double cos(double);
12 | extern double sin(double);
13 | extern double tan(double);
14 | extern double cosh(double);
15 | extern double sinh(double);
16 | extern double tanh(double);
17 | extern double exp(double);
18 | extern double frexp(double, int *);
19 | extern double ldexp(double, int);
20 | extern double log(double);
21 | extern double log10(double);
22 | extern double modf(double, double *);
23 | extern double pow(double, double);
24 | extern double sqrt(double);
25 | extern double ceil(double);
26 | extern double fabs(double);
27 | extern double floor(double);
28 | extern double fmod(double, double);
29 | 
30 | #endif /* __MATH */
31 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/setjmp.h:
--------------------------------------------------------------------------------
 1 | #ifndef __SETJMP
 2 | #define __SETJMP
 3 | 
 4 | 
 5 | 
 6 | typedef int jmp_buf[12];
 7 | int setjmp(jmp_buf);
 8 | void longjmp(jmp_buf, int);
 9 | 
10 | #endif /* __SETJMP */
11 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/signal.h:
--------------------------------------------------------------------------------
 1 | #ifndef __SIGNAL
 2 | #define __SIGNAL
 3 | 
 4 | typedef int sig_atomic_t;
 5 | 
 6 | #define SIG_DFL ((void (*)(int))0)
 7 | #define SIG_ERR ((void (*)(int))-1)
 8 | #define SIG_IGN ((void (*)(int))1)
 9 | 
10 | #define SIGABRT	6
11 | #define SIGFPE	8
12 | #define SIGILL	4
13 | #define SIGINT	2
14 | #define SIGSEGV	11
15 | #define SIGTERM	15
16 | 
17 | void (*signal(int, void (*)(int)))(int);
18 | int raise(int);
19 | 
20 | #endif /* __SIGNAL */
21 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/stdarg.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STDARG
 2 | #define __STDARG
 3 | 
 4 | #if !defined(_VA_LIST)
 5 | #define _VA_LIST
 6 | typedef char *__va_list;
 7 | #endif
 8 | typedef __va_list va_list;
 9 | 
10 | #define va_start(list, start) ((void)((list) = (sizeof(start)<4 ? \
11 | 	(char *)((int *)&(start)+1) : (char *)(&(start)+1))))
12 | #define __va_arg(list, mode, n) \
13 | 	(*(mode *)(&(list += ((sizeof(mode)+n)&~n))[-(int)((sizeof(mode)+n)&~n)]))
14 | #define _bigendian_va_arg(list, mode, n) (\
15 | 	sizeof(mode)==1 ? *(mode *)(&(list += 4)[-1]) : \
16 | 	sizeof(mode)==2 ? *(mode *)(&(list += 4)[-2]) : __va_arg(list, mode, n))
17 | #define _littleendian_va_arg(list, mode, n) __va_arg(list, mode, n)
18 | #define va_end(list) ((void)0)
19 | #define va_arg(list, mode) (sizeof(mode)>8 ? \
20 | 	**(mode **)(&(list += 4)[-4]) : \
21 | 	_bigendian_va_arg(list, mode, 3U))
22 | #endif
23 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/stddef.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STDDEF
 2 | #define __STDDEF
 3 | 
 4 | 
 5 | #define NULL 0
 6 | #define offsetof(ty,mem) ((size_t)((char*)&((ty*)0)->mem - (char*)0))
 7 | 
 8 | typedef long ptrdiff_t;
 9 | 
10 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
11 | #define _SIZE_T
12 | #define _SIZE_T_
13 | typedef unsigned long size_t;
14 | #endif
15 | 
16 | #if !defined(_WCHAR_T) && !defined(_WCHAR_T_)
17 | #define _WCHAR_T
18 | #define _WCHAR_T_
19 | typedef unsigned short wchar_t;
20 | #endif
21 | 
22 | #endif /* __STDDEF */
23 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/string.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STRING
 2 | #define __STRING
 3 | 
 4 | #define NULL 0
 5 | 
 6 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
 7 | #define _SIZE_T
 8 | #define _SIZE_T_
 9 | typedef unsigned long size_t;
10 | #endif
11 | 
12 | void *memcpy(void *, const void *, size_t);
13 | void *memmove(void *, const void *, size_t);
14 | char *strcpy(char *, const char *);
15 | char *strncpy(char *, const char *, size_t);
16 | char *strcat(char *, const char *);
17 | char *strncat(char *, const char *, size_t);
18 | int memcmp(const void *, const void *, size_t);
19 | int strcmp(const char *, const char *);
20 | int strcoll(const char *, const char *);
21 | int strncmp(const char *, const char *, size_t);
22 | size_t strxfrm(char *, const char *, size_t);
23 | void *memchr(const void *, int, size_t);
24 | char *strchr(const char *, int);
25 | size_t strcspn(const char *, const char *);
26 | char *strpbrk(const char *, const char *);
27 | char *strrchr(const char *, int);
28 | size_t strspn(const char *, const char *);
29 | char *strstr(const char *, const char *);
30 | char *strtok(char *, const char *);
31 | void *memset(void *, int, size_t);
32 | char *strerror(int);
33 | size_t strlen(const char *);
34 | 
35 | #endif /* __STRING */
36 | 


--------------------------------------------------------------------------------
/lcc/include/sparc/solaris/time.h:
--------------------------------------------------------------------------------
 1 | #ifndef __TIME
 2 | #define __TIME
 3 | 
 4 | #define CLOCKS_PER_SEC 1000000
 5 | #ifndef NULL
 6 | #define NULL 0
 7 | #endif
 8 | 
 9 | #if !defined(_CLOCK_T) && !defined(_CLOCK_T_)
10 | #define _CLOCK_T
11 | #define _CLOCK_T_
12 | typedef long clock_t;
13 | #endif
14 | 
15 | #if !defined(_TIME_T) && !defined(_TIME_T_)
16 | #define _TIME_T
17 | #define _TIME_T_
18 | typedef long time_t;
19 | #endif
20 | 
21 | #if !defined(_SIZE_T) && !defined(_SIZE_T_)
22 | #define _SIZE_T
23 | #define _SIZE_T_
24 | typedef unsigned long size_t;
25 | #endif
26 | 
27 | struct tm {
28 | 	int	tm_sec;
29 | 	int	tm_min;
30 | 	int	tm_hour;
31 | 	int	tm_mday;
32 | 	int	tm_mon;
33 | 	int	tm_year;
34 | 	int	tm_wday;
35 | 	int	tm_yday;
36 | 	int	tm_isdst;
37 | };
38 | extern clock_t clock(void);
39 | extern double difftime(time_t, time_t);
40 | extern time_t mktime(struct tm *);
41 | extern time_t time(time_t *);
42 | extern char *asctime(const struct tm *);
43 | extern char *ctime(const time_t *);
44 | extern struct tm *gmtime(const time_t *);
45 | extern struct tm *localtime(const time_t *);
46 | extern size_t strftime(char *, size_t, const char *, const struct tm *);
47 | 
48 | #endif /* __TIME */
49 | 


--------------------------------------------------------------------------------
/lcc/include/x86/linux/assert.h:
--------------------------------------------------------------------------------
 1 | #ifndef __ASSERT
 2 | #define __ASSERT
 3 | 
 4 | void assert(int);
 5 | 
 6 | #endif /* __ASSERT */
 7 | 
 8 | #undef assert
 9 | #ifdef NDEBUG
10 | #define assert(ignore) ((void)0)
11 | #else
12 | extern int _assert(char *, char *, unsigned);
13 | #define assert(e) ((void)((e)||_assert(#e, __FILE__, __LINE__)))
14 | #endif /* NDEBUG */
15 | 


--------------------------------------------------------------------------------
/lcc/include/x86/linux/float.h:
--------------------------------------------------------------------------------
 1 | #ifndef __FLOAT
 2 | #define __FLOAT
 3 | 
 4 | #define FLT_ROUNDS	(__flt_rounds())
 5 | #define FLT_RADIX	2
 6 | 
 7 | #define FLT_DIG		6
 8 | #define FLT_EPSILON	1.19209289550781250000e-07
 9 | #define FLT_MANT_DIG	24
10 | #define FLT_MAX		3.40282346638528860000e+38
11 | #define FLT_MAX_10_EXP	38
12 | #define FLT_MAX_EXP	128
13 | #define FLT_MIN		1.17549435082228750000e-38
14 | #define FLT_MIN_10_EXP	-37
15 | #define FLT_MIN_EXP	-125
16 | 
17 | #define DBL_DIG		15
18 | #define DBL_EPSILON	2.22044604925031310000e-16
19 | #define DBL_MANT_DIG	53
20 | #define DBL_MAX		1.79769313486231570000e+308
21 | #define DBL_MAX_10_EXP	308
22 | #define DBL_MAX_EXP	1024
23 | #define DBL_MIN		2.22507385850720140000e-308
24 | #define DBL_MIN_10_EXP	-307
25 | #define DBL_MIN_EXP	-1021
26 | 
27 | #define LDBL_MANT_DIG	DBL_MANT_DIG
28 | #define LDBL_EPSILON	DBL_EPSILON
29 | #define LDBL_DIG	DBL_DIG
30 | #define LDBL_MIN_EXP	DBL_MIN_EXP
31 | #define LDBL_MIN	DBL_MIN
32 | #define LDBL_MIN_10_EXP	DBL_MIN_10_EXP
33 | #define LDBL_MAX_EXP	DBL_MAX_EXP
34 | #define LDBL_MAX	DBL_MAX
35 | #define LDBL_MAX_10_EXP	DBL_MAX_10_EXP
36 | 
37 | #endif /* __FLOAT */
38 | 


--------------------------------------------------------------------------------
/lcc/include/x86/linux/stdarg.h:
--------------------------------------------------------------------------------
 1 | #ifndef __STDARG
 2 | #define __STDARG
 3 | 
 4 | #if !defined(_VA_LIST)
 5 | #define _VA_LIST
 6 | typedef char *__va_list;
 7 | #endif
 8 | typedef __va_list va_list;
 9 | 
10 | #define va_start(list, start) ((void)((list) = (sizeof(start)<4 ? \
11 | 	(char *)((int *)&(start)+1) : (char *)(&(start)+1))))
12 | #define __va_arg(list, mode, n) \
13 | 	(*(mode *)(&(list += ((sizeof(mode)+n)&~n))[-(int)((sizeof(mode)+n)&~n)]))
14 | #define _bigendian_va_arg(list, mode, n) (\
15 | 	sizeof(mode)==1 ? *(mode *)(&(list += 4)[-1]) : \
16 | 	sizeof(mode)==2 ? *(mode *)(&(list += 4)[-2]) : __va_arg(list, mode, n))
17 | #define _littleendian_va_arg(list, mode, n) __va_arg(list, mode, n)
18 | #define va_end(list) ((void)0)
19 | #define va_arg(list, mode) _littleendian_va_arg(list, mode, 3U)
20 | typedef void *__gnuc_va_list;
21 | #endif
22 | 


--------------------------------------------------------------------------------
/lcc/lib/assert.c:
--------------------------------------------------------------------------------
 1 | #include <stdio.h>
 2 | #include <stdlib.h>
 3 | 
 4 | 
 5 | int _assert(char *e, char *file, int line) {
 6 | 	fprintf(stderr, "assertion failed:");
 7 | 	if (e)
 8 | 		fprintf(stderr, " %s", e);
 9 | 	if (file)
10 | 		fprintf(stderr, " file %s", file);
11 | 	fprintf(stderr, " line %d\n", line);
12 | 	fflush(stderr);
13 | 	abort();
14 | 	return 0;
15 | }
16 | 


--------------------------------------------------------------------------------
/lcc/lib/yynull.c:
--------------------------------------------------------------------------------
 1 | #include <stdio.h>
 2 | #include <stdlib.h>
 3 | 
 4 | 
 5 | void _YYnull(char *file, int line) {
 6 | 	fprintf(stderr, "null pointer dereferenced:");
 7 | 	if (file)
 8 | 		fprintf(stderr, " file %s,", file);
 9 | 	fprintf(stderr, " line %d\n", line);
10 | 	fflush(stderr);
11 | 	abort();
12 | }
13 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/8q.2bk:
--------------------------------------------------------------------------------
1 | tst/8q.c:30: warning: missing return value
2 | tst/8q.c:39: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/array.1bk:
--------------------------------------------------------------------------------
1 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
2 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
3 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
4 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
5 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/array.2bk:
--------------------------------------------------------------------------------
1 | tst/array.c:33: warning: missing return value
2 | tst/array.c:48: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/cf.1bk:
--------------------------------------------------------------------------------
 1 | char	freq
 2 | 011	8.1
 3 | 012	6.1
 4 | 040	11.9
 5 | !	0.2
 6 | "	1.5
 7 | %	0.6
 8 | &	0.4
 9 | '	0.4
10 | (	2.9
11 | )	2.9
12 | *	0.8
13 | +	1.3
14 | ,	1.3
15 | -	0.4
16 | .	0.6
17 | /	1.0
18 | 0	2.5
19 | 1	1.9
20 | 2	0.6
21 | 3	0.2
22 | 7	0.4
23 | 8	0.2
24 | ;	3.8
25 | <	0.8
26 | =	2.7
27 | >	0.2
28 | [	1.5
29 | \	0.8
30 | ]	1.5
31 | a	3.1
32 | c	4.4
33 | e	2.3
34 | f	6.0
35 | g	1.3
36 | h	1.0
37 | i	5.0
38 | l	1.0
39 | m	0.2
40 | n	3.3
41 | o	2.1
42 | p	1.0
43 | q	0.4
44 | r	4.2
45 | s	0.6
46 | t	3.8
47 | u	1.2
48 | v	0.6
49 | w	0.2
50 | {	0.6
51 | }	0.6
52 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/cf.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/mips/irix/tst/cf.2bk


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/cvt.1bk:
--------------------------------------------------------------------------------
 1 | 1 1 1 1 1 1 1 1 1.000000 1.000000 1.000000
 2 | 2 2 2 2 2 2 2 2 2.000000 2.000000 2.000000
 3 | 3 3 3 3 3 3 3 3 3.000000 3.000000 3.000000
 4 | 4 4 4 4 4 4 4 4 4.000000 4.000000 4.000000
 5 | 5 5 5 5 5 5 5 5 5.000000 5.000000 5.000000
 6 | 6 6 6 6 6 6 6 6 6.000000 6.000000 6.000000
 7 | 7 7 7 7 7 7 7 7 7.000000 7.000000 7.000000
 8 | 8 8 8 8 8 8 8 8 8.000000 8.000000 8.000000
 9 | 9 9 9 9 9 9 9 9 9.000000 9.000000 9.000000
10 | 10 10 10 10 10 10 10 10 10.000000 10.000000 10.000000
11 | 11 11 11 11 11 11 11 11 11.000000 11.000000 11.000000
12 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/cvt.2bk:
--------------------------------------------------------------------------------
1 | tst/cvt.c:32: warning: conversion from `pointer to void function(void)' to `pointer to void' is compiler dependent
2 | tst/cvt.c:33: warning: conversion from `pointer to void' to `pointer to void function(void)' is compiler dependent
3 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/fields.1bk:
--------------------------------------------------------------------------------
1 | x = 1 2 3 4 -3 6
2 | y = 3 8 9
3 | x = 1 2 3 0 0 6
4 | y = 2 8 16
5 | p->a = 0x3, p->b = 0xf
6 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/fields.2bk:
--------------------------------------------------------------------------------
1 | tst/fields.c:6: warning: initializer exceeds bit-field width
2 | tst/fields.c:8: warning: initializer exceeds bit-field width
3 | tst/fields.c:30: warning: missing return value
4 | tst/fields.c:34: warning: missing return value
5 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/incr.2bk:
--------------------------------------------------------------------------------
 1 | tst/incr.c:1: warning: missing return value
 2 | tst/incr.c:6: warning: expression with no effect elided
 3 | tst/incr.c:6: warning: expression with no effect elided
 4 | tst/incr.c:11: warning: missing return value
 5 | tst/incr.c:16: warning: expression with no effect elided
 6 | tst/incr.c:16: warning: expression with no effect elided
 7 | tst/incr.c:21: warning: missing return value
 8 | tst/incr.c:30: warning: missing return value
 9 | tst/incr.c:39: warning: missing return value
10 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/init.1bk:
--------------------------------------------------------------------------------
 1 |  1 2 3 4
 2 |  5 6
 3 |  7
 4 | if
 5 | for
 6 | else
 7 | while
 8 | 1 2 3 if
 9 | 4 5 0 for
10 | 6 7 8 else
11 | 9 10 11 while
12 | 1 2 3 if
13 | 4 5 0 for
14 | 6 7 8 else
15 | 9 10 11 while
16 | 0 0 0 
17 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/init.2bk:
--------------------------------------------------------------------------------
1 | tst/init.c:36: warning: missing return value
2 | tst/init.c:49: warning: missing return value
3 | tst/init.c:59: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/limits.1bk:
--------------------------------------------------------------------------------
 1 | UCHAR_MAX:	000000ff=255
 2 | USHRT_MAX:	0000ffff=65535
 3 | UINT_MAX:	ffffffff=-1
 4 | ULONG_MAX:	ffffffff=-1
 5 | CHAR_MAX:	0000007f=127
 6 | SCHAR_MAX:	0000007f=127
 7 | SHRT_MAX:	00007fff=32767
 8 | INT_MAX:	7fffffff=2147483647
 9 | LONG_MAX:	7fffffff=2147483647
10 | CHAR_MIN:	ffffff80=-128
11 | SCHAR_MIN:	ffffff80=-128
12 | SHRT_MIN:	ffff8000=-32768
13 | INT_MIN:	80000000=-2147483648
14 | LONG_MIN:	80000000=-2147483648
15 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/limits.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/mips/irix/tst/limits.2bk


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/paranoia.2bk:
--------------------------------------------------------------------------------
 1 | tst/paranoia.c:1867: warning: missing return value
 2 | tst/paranoia.c:1874: warning: missing return value
 3 | tst/paranoia.c:1884: warning: missing return value
 4 | tst/paranoia.c:1924: warning: missing return value
 5 | tst/paranoia.c:1939: warning: missing return value
 6 | tst/paranoia.c:1956: warning: missing return value
 7 | tst/paranoia.c:1975: warning: missing return value
 8 | tst/paranoia.c:1988: warning: missing return value
 9 | tst/paranoia.c:1995: warning: missing return value
10 | tst/paranoia.c:2055: warning: missing return value
11 | tst/paranoia.c:2062: warning: missing return value
12 | tst/paranoia.c:2070: warning: missing return value
13 | tst/paranoia.c:2087: warning: missing return value
14 | tst/paranoia.c:2115: warning: missing return value
15 | tst/paranoia.c:2144: warning: missing return value
16 | tst/paranoia.c:2173: warning: missing return value
17 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/sort.1bk:
--------------------------------------------------------------------------------
 1 | exchange(1,9)
 2 | exchange(3,7)
 3 | exchange(5,6)
 4 | exchange(0,5)
 5 | exchange(0,3)
 6 | exchange(0,0)
 7 | exchange(1,2)
 8 | exchange(6,6)
 9 | exchange(8,9)
10 | exchange(7,8)
11 | -51
12 | -1
13 | 0
14 | 1
15 | 3
16 | 10
17 | 18
18 | 32
19 | 567
20 | 789
21 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/sort.2bk:
--------------------------------------------------------------------------------
1 | tst/sort.c:23: warning: missing return value
2 | tst/sort.c:30: warning: missing return value
3 | tst/sort.c:37: warning: missing return value
4 | tst/sort.c:41: warning: missing return value
5 | tst/sort.c:65: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/spill.2bk:
--------------------------------------------------------------------------------
1 | tst/spill.c:1: warning: missing return value
2 | tst/spill.c:3: warning: missing return value
3 | tst/spill.c:5: warning: missing return value
4 | tst/spill.c:7: warning: missing return value
5 | tst/spill.c:9: warning: missing return value
6 | tst/spill.c:17: warning: missing return value
7 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/stdarg.1bk:
--------------------------------------------------------------------------------
1 | test 1
2 | test 2
3 | test 3
4 | test 4
5 | test 5.000000
6 | {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4}
7 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/stdarg.2bk:
--------------------------------------------------------------------------------
1 | tst/stdarg.c:51: warning: missing return value
2 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/struct.1bk:
--------------------------------------------------------------------------------
1 | (-1,-1) is not within [10,10; 310,310]
2 | (1,1) is not within [10,10; 310,310]
3 | (20,300) is within [10,10; 310,310]
4 | (500,400) is not within [10,10; 310,310]
5 | ab
6 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/struct.2bk:
--------------------------------------------------------------------------------
1 | tst/struct.c:49: warning: missing return value
2 | tst/struct.c:68: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/switch.1bk:
--------------------------------------------------------------------------------
 1 | b = 0x8
 2 | f = 0xc
 3 | n = 0xa
 4 | r = 0xd
 5 | t = 0x9
 6 | v = 0xb
 7 | x = 0x78
 8 | f:
 9 | x = 0
10 | x = 1
11 | x = 2
12 | x = 2
13 | x = 2
14 | x = 2
15 | x = 2
16 | x = 7
17 | x = 8
18 | x = 9
19 | x = 9
20 | x = 9
21 | x = 9
22 | x = 9
23 | x = 9
24 | x = 9
25 | x = 16
26 | x = 17
27 | x = 18
28 | x = 19
29 | x = 20
30 | g:
31 | 1 1
32 | 1 2
33 | 2 3
34 | 2 4
35 | 2 5
36 | 3 6
37 | d 6
38 | 3 7
39 | d 7
40 | 3 8
41 | d 8
42 | d 9
43 | d 10
44 | h:
45 | i = 8
46 | i = 16
47 | i = 120
48 | i = 128
49 | i = 248
50 | i = 264
51 | i = 272
52 | i = 280
53 | i = 288
54 | i = 296
55 | i = 304
56 | i = 312
57 | 488 defaults
58 | x = 0x1000000
59 | x = 0x2000000
60 | x = 0x3000000
61 | x = 0x4000000
62 | x = 0x5000000
63 | x = 0x6000000 (default)
64 | x = 0x7000000 (default)
65 | 0
66 | 1
67 | 2
68 | 3
69 | 4
70 | 5
71 | 0
72 | 1
73 | 2
74 | 3
75 | 4
76 | 5
77 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/switch.2bk:
--------------------------------------------------------------------------------
1 | tst/switch.c:55: warning: missing return value
2 | tst/switch.c:73: warning: missing return value
3 | tst/switch.c:97: warning: missing return value
4 | tst/switch.c:112: warning: missing return value
5 | tst/switch.c:137: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/wf1.1bk:
--------------------------------------------------------------------------------
 1 | 5	a
 2 | 2	and
 3 | 5	buf
 4 | 16	c
 5 | 8	char
 6 | 1	compare
 7 | 4	cond
 8 | 5	count
 9 | 1	d
10 | 1	die
11 | 3	else
12 | 1	entry
13 | 1	eof
14 | 4	err
15 | 1	error
16 | 1	exit
17 | 1	folded
18 | 1	for
19 | 1	free
20 | 1	frequencies
21 | 1	frequency
22 | 1	get
23 | 2	getchar
24 | 3	getword
25 | 14	if
26 | 2	in
27 | 1	index
28 | 1	input
29 | 1	install
30 | 8	int
31 | 1	into
32 | 1	is
33 | 4	isletter
34 | 1	it
35 | 1	itself
36 | 5	left
37 | 1	letter
38 | 7	lookup
39 | 1	main
40 | 2	malloc
41 | 1	message
42 | 2	n
43 | 1	necessary
44 | 12	next
45 | 9	node
46 | 4	of
47 | 1	on
48 | 1	or
49 | 1	otherwise
50 | 2	out
51 | 8	p
52 | 3	print
53 | 2	printf
54 | 16	return
55 | 5	right
56 | 4	root
57 | 25	s
58 | 2	storage
59 | 3	strcmp
60 | 1	strcpy
61 | 1	strlen
62 | 8	struct
63 | 1	structures
64 | 2	subtree
65 | 1	t
66 | 5	tprint
67 | 9	tree
68 | 1	uses
69 | 1	version
70 | 1	wf
71 | 3	while
72 | 21	word
73 | 9	words
74 | 2	z
75 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/wf1.2bk:
--------------------------------------------------------------------------------
1 | tst/wf1.c:29: warning: missing return value
2 | tst/wf1.c:87: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/yacc.1bk:
--------------------------------------------------------------------------------
 1 | a
 2 | b
 3 | load
 4 | negate
 5 | push 5
 6 | c
 7 | load
 8 | multiply
 9 | add
10 | store
11 | 


--------------------------------------------------------------------------------
/lcc/mips/irix/tst/yacc.2bk:
--------------------------------------------------------------------------------
1 | tst/yacc.c:345: warning: missing return value
2 | tst/yacc.c:349: warning: missing return value
3 | tst/yacc.c:359: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/msdev/rcc.dsw:
--------------------------------------------------------------------------------
 1 | Microsoft Developer Studio Workspace File, Format Version 6.00
 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
 3 | 
 4 | ###############################################################################
 5 | 
 6 | Project: "rcc"=.\rcc.dsp - Package Owner=<4>
 7 | 
 8 | Package=<5>
 9 | {{{
10 | }}}
11 | 
12 | Package=<4>
13 | {{{
14 | }}}
15 | 
16 | ###############################################################################
17 | 
18 | Global:
19 | 
20 | Package=<5>
21 | {{{
22 | }}}
23 | 
24 | Package=<3>
25 | {{{
26 | }}}
27 | 
28 | ###############################################################################
29 | 
30 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/8q.2bk:
--------------------------------------------------------------------------------
1 | tst/8q.c:30: warning: missing return value
2 | tst/8q.c:39: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/array.1bk:
--------------------------------------------------------------------------------
1 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
2 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
3 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
4 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
5 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/array.2bk:
--------------------------------------------------------------------------------
1 | tst/array.c:33: warning: missing return value
2 | tst/array.c:48: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/cf.1bk:
--------------------------------------------------------------------------------
 1 | char	freq
 2 | 011	8.1
 3 | 012	6.1
 4 | 040	11.9
 5 | !	0.2
 6 | "	1.5
 7 | %	0.6
 8 | &	0.4
 9 | '	0.4
10 | (	2.9
11 | )	2.9
12 | *	0.8
13 | +	1.3
14 | ,	1.3
15 | -	0.4
16 | .	0.6
17 | /	1.0
18 | 0	2.5
19 | 1	1.9
20 | 2	0.6
21 | 3	0.2
22 | 7	0.4
23 | 8	0.2
24 | ;	3.8
25 | <	0.8
26 | =	2.7
27 | >	0.2
28 | [	1.5
29 | \	0.8
30 | ]	1.5
31 | a	3.1
32 | c	4.4
33 | e	2.3
34 | f	6.0
35 | g	1.3
36 | h	1.0
37 | i	5.0
38 | l	1.0
39 | m	0.2
40 | n	3.3
41 | o	2.1
42 | p	1.0
43 | q	0.4
44 | r	4.2
45 | s	0.6
46 | t	3.8
47 | u	1.2
48 | v	0.6
49 | w	0.2
50 | {	0.6
51 | }	0.6
52 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/cf.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/sparc/solaris/tst/cf.2bk


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/cvt.1bk:
--------------------------------------------------------------------------------
 1 | 1 1 1 1 1 1 1 1 1.000000 1.000000 1.000000
 2 | 2 2 2 2 2 2 2 2 2.000000 2.000000 2.000000
 3 | 3 3 3 3 3 3 3 3 3.000000 3.000000 3.000000
 4 | 4 4 4 4 4 4 4 4 4.000000 4.000000 4.000000
 5 | 5 5 5 5 5 5 5 5 5.000000 5.000000 5.000000
 6 | 6 6 6 6 6 6 6 6 6.000000 6.000000 6.000000
 7 | 7 7 7 7 7 7 7 7 7.000000 7.000000 7.000000
 8 | 8 8 8 8 8 8 8 8 8.000000 8.000000 8.000000
 9 | 9 9 9 9 9 9 9 9 9.000000 9.000000 9.000000
10 | 10 10 10 10 10 10 10 10 10.000000 10.000000 10.000000
11 | 11 11 11 11 11 11 11 11 11.000000 11.000000 11.000000
12 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/cvt.2bk:
--------------------------------------------------------------------------------
1 | tst/cvt.c:32: warning: conversion from `pointer to void function(void)' to `pointer to void' is compiler dependent
2 | tst/cvt.c:33: warning: conversion from `pointer to void' to `pointer to void function(void)' is compiler dependent
3 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/fields.1bk:
--------------------------------------------------------------------------------
1 | x = 1 2 3 4 -3 6
2 | y = 3 8 9
3 | x = 1 2 3 0 0 6
4 | y = 2 8 16
5 | p->a = 0x3, p->b = 0xf
6 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/fields.2bk:
--------------------------------------------------------------------------------
1 | tst/fields.c:6: warning: initializer exceeds bit-field width
2 | tst/fields.c:8: warning: initializer exceeds bit-field width
3 | tst/fields.c:30: warning: missing return value
4 | tst/fields.c:34: warning: missing return value
5 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/incr.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/sparc/solaris/tst/incr.1bk


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/incr.2bk:
--------------------------------------------------------------------------------
 1 | tst/incr.c:1: warning: missing return value
 2 | tst/incr.c:6: warning: expression with no effect elided
 3 | tst/incr.c:6: warning: expression with no effect elided
 4 | tst/incr.c:11: warning: missing return value
 5 | tst/incr.c:16: warning: expression with no effect elided
 6 | tst/incr.c:16: warning: expression with no effect elided
 7 | tst/incr.c:21: warning: missing return value
 8 | tst/incr.c:30: warning: missing return value
 9 | tst/incr.c:39: warning: missing return value
10 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/init.1bk:
--------------------------------------------------------------------------------
 1 |  1 2 3 4
 2 |  5 6
 3 |  7
 4 | if
 5 | for
 6 | else
 7 | while
 8 | 1 2 3 if
 9 | 4 5 0 for
10 | 6 7 8 else
11 | 9 10 11 while
12 | 1 2 3 if
13 | 4 5 0 for
14 | 6 7 8 else
15 | 9 10 11 while
16 | 0 0 0 
17 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/init.2bk:
--------------------------------------------------------------------------------
1 | tst/init.c:36: warning: missing return value
2 | tst/init.c:49: warning: missing return value
3 | tst/init.c:59: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/limits.1bk:
--------------------------------------------------------------------------------
 1 | UCHAR_MAX:	000000ff=255
 2 | USHRT_MAX:	0000ffff=65535
 3 | UINT_MAX:	ffffffff=-1
 4 | ULONG_MAX:	ffffffff=-1
 5 | CHAR_MAX:	0000007f=127
 6 | SCHAR_MAX:	0000007f=127
 7 | SHRT_MAX:	00007fff=32767
 8 | INT_MAX:	7fffffff=2147483647
 9 | LONG_MAX:	7fffffff=2147483647
10 | CHAR_MIN:	ffffff80=-128
11 | SCHAR_MIN:	ffffff80=-128
12 | SHRT_MIN:	ffff8000=-32768
13 | INT_MIN:	80000000=-2147483648
14 | LONG_MIN:	80000000=-2147483648
15 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/limits.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/sparc/solaris/tst/limits.2bk


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/paranoia.2bk:
--------------------------------------------------------------------------------
 1 | tst/paranoia.c:1867: warning: missing return value
 2 | tst/paranoia.c:1874: warning: missing return value
 3 | tst/paranoia.c:1884: warning: missing return value
 4 | tst/paranoia.c:1924: warning: missing return value
 5 | tst/paranoia.c:1939: warning: missing return value
 6 | tst/paranoia.c:1956: warning: missing return value
 7 | tst/paranoia.c:1975: warning: missing return value
 8 | tst/paranoia.c:1988: warning: missing return value
 9 | tst/paranoia.c:1995: warning: missing return value
10 | tst/paranoia.c:2055: warning: missing return value
11 | tst/paranoia.c:2062: warning: missing return value
12 | tst/paranoia.c:2070: warning: missing return value
13 | tst/paranoia.c:2087: warning: missing return value
14 | tst/paranoia.c:2115: warning: missing return value
15 | tst/paranoia.c:2144: warning: missing return value
16 | tst/paranoia.c:2173: warning: missing return value
17 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/sort.1bk:
--------------------------------------------------------------------------------
 1 | exchange(1,9)
 2 | exchange(3,7)
 3 | exchange(5,6)
 4 | exchange(0,5)
 5 | exchange(0,3)
 6 | exchange(0,0)
 7 | exchange(1,2)
 8 | exchange(6,6)
 9 | exchange(8,9)
10 | exchange(7,8)
11 | -51
12 | -1
13 | 0
14 | 1
15 | 3
16 | 10
17 | 18
18 | 32
19 | 567
20 | 789
21 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/sort.2bk:
--------------------------------------------------------------------------------
1 | tst/sort.c:23: warning: missing return value
2 | tst/sort.c:30: warning: missing return value
3 | tst/sort.c:37: warning: missing return value
4 | tst/sort.c:41: warning: missing return value
5 | tst/sort.c:65: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/spill.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/sparc/solaris/tst/spill.1bk


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/spill.2bk:
--------------------------------------------------------------------------------
1 | tst/spill.c:1: warning: missing return value
2 | tst/spill.c:3: warning: missing return value
3 | tst/spill.c:5: warning: missing return value
4 | tst/spill.c:7: warning: missing return value
5 | tst/spill.c:9: warning: missing return value
6 | tst/spill.c:17: warning: missing return value
7 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/stdarg.1bk:
--------------------------------------------------------------------------------
1 | test 1
2 | test 2
3 | test 3
4 | test 4
5 | test 5.000000
6 | {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4}
7 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/stdarg.2bk:
--------------------------------------------------------------------------------
1 | tst/stdarg.c:51: warning: missing return value
2 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/struct.1bk:
--------------------------------------------------------------------------------
1 | (-1,-1) is not within [10,10; 310,310]
2 | (1,1) is not within [10,10; 310,310]
3 | (20,300) is within [10,10; 310,310]
4 | (500,400) is not within [10,10; 310,310]
5 | ab
6 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/struct.2bk:
--------------------------------------------------------------------------------
1 | tst/struct.c:49: warning: missing return value
2 | tst/struct.c:68: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/switch.1bk:
--------------------------------------------------------------------------------
 1 | b = 0x8
 2 | f = 0xc
 3 | n = 0xa
 4 | r = 0xd
 5 | t = 0x9
 6 | v = 0xb
 7 | x = 0x78
 8 | f:
 9 | x = 0
10 | x = 1
11 | x = 2
12 | x = 2
13 | x = 2
14 | x = 2
15 | x = 2
16 | x = 7
17 | x = 8
18 | x = 9
19 | x = 9
20 | x = 9
21 | x = 9
22 | x = 9
23 | x = 9
24 | x = 9
25 | x = 16
26 | x = 17
27 | x = 18
28 | x = 19
29 | x = 20
30 | g:
31 | 1 1
32 | 1 2
33 | 2 3
34 | 2 4
35 | 2 5
36 | 3 6
37 | d 6
38 | 3 7
39 | d 7
40 | 3 8
41 | d 8
42 | d 9
43 | d 10
44 | h:
45 | i = 8
46 | i = 16
47 | i = 120
48 | i = 128
49 | i = 248
50 | i = 264
51 | i = 272
52 | i = 280
53 | i = 288
54 | i = 296
55 | i = 304
56 | i = 312
57 | 488 defaults
58 | x = 0x1000000
59 | x = 0x2000000
60 | x = 0x3000000
61 | x = 0x4000000
62 | x = 0x5000000
63 | x = 0x6000000 (default)
64 | x = 0x7000000 (default)
65 | 0
66 | 1
67 | 2
68 | 3
69 | 4
70 | 5
71 | 0
72 | 1
73 | 2
74 | 3
75 | 4
76 | 5
77 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/switch.2bk:
--------------------------------------------------------------------------------
1 | tst/switch.c:55: warning: missing return value
2 | tst/switch.c:73: warning: missing return value
3 | tst/switch.c:97: warning: missing return value
4 | tst/switch.c:112: warning: missing return value
5 | tst/switch.c:137: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/wf1.1bk:
--------------------------------------------------------------------------------
 1 | 5	a
 2 | 2	and
 3 | 5	buf
 4 | 16	c
 5 | 8	char
 6 | 1	compare
 7 | 4	cond
 8 | 5	count
 9 | 1	d
10 | 1	die
11 | 3	else
12 | 1	entry
13 | 1	eof
14 | 4	err
15 | 1	error
16 | 1	exit
17 | 1	folded
18 | 1	for
19 | 1	free
20 | 1	frequencies
21 | 1	frequency
22 | 1	get
23 | 2	getchar
24 | 3	getword
25 | 14	if
26 | 2	in
27 | 1	index
28 | 1	input
29 | 1	install
30 | 8	int
31 | 1	into
32 | 1	is
33 | 4	isletter
34 | 1	it
35 | 1	itself
36 | 5	left
37 | 1	letter
38 | 7	lookup
39 | 1	main
40 | 2	malloc
41 | 1	message
42 | 2	n
43 | 1	necessary
44 | 12	next
45 | 9	node
46 | 4	of
47 | 1	on
48 | 1	or
49 | 1	otherwise
50 | 2	out
51 | 8	p
52 | 3	print
53 | 2	printf
54 | 16	return
55 | 5	right
56 | 4	root
57 | 25	s
58 | 2	storage
59 | 3	strcmp
60 | 1	strcpy
61 | 1	strlen
62 | 8	struct
63 | 1	structures
64 | 2	subtree
65 | 1	t
66 | 5	tprint
67 | 9	tree
68 | 1	uses
69 | 1	version
70 | 1	wf
71 | 3	while
72 | 21	word
73 | 9	words
74 | 2	z
75 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/wf1.2bk:
--------------------------------------------------------------------------------
1 | tst/wf1.c:29: warning: missing return value
2 | tst/wf1.c:87: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/yacc.1bk:
--------------------------------------------------------------------------------
 1 | a
 2 | b
 3 | load
 4 | negate
 5 | push 5
 6 | c
 7 | load
 8 | multiply
 9 | add
10 | store
11 | 


--------------------------------------------------------------------------------
/lcc/sparc/solaris/tst/yacc.2bk:
--------------------------------------------------------------------------------
1 | tst/yacc.c:345: warning: missing return value
2 | tst/yacc.c:349: warning: missing return value
3 | tst/yacc.c:359: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/src/bind.c:
--------------------------------------------------------------------------------
 1 | #include "c.h"
 2 | extern Interface alphaIR;
 3 | extern Interface mipsebIR, mipselIR;
 4 | extern Interface sparcIR, solarisIR;
 5 | extern Interface x86IR, x86linuxIR;
 6 | extern Interface symbolicIR, symbolic64IR;
 7 | extern Interface nullIR;
 8 | extern Interface bytecodeIR;
 9 | Binding bindings[] = {
10 | 	"alpha/osf",     &alphaIR,
11 | 	"mips/irix",     &mipsebIR,
12 | 	"mips/ultrix",   &mipselIR,
13 | 	"sparc/sun",     &sparcIR,
14 | 	"sparc/solaris", &solarisIR,
15 | 	"x86/win32",	 &x86IR,
16 | 	"x86/linux",	 &x86linuxIR,
17 | 	"symbolic/osf",  &symbolic64IR,
18 | 	"symbolic/irix", &symbolicIR,
19 | 	"symbolic",      &symbolicIR,
20 | 	"null",          &nullIR,
21 | 	"bytecode",      &bytecodeIR,
22 | 	NULL,            NULL
23 | };
24 | 


--------------------------------------------------------------------------------
/lcc/src/event.c:
--------------------------------------------------------------------------------
 1 | #include "c.h"
 2 | 
 3 | 
 4 | struct entry {
 5 | 	Apply func;
 6 | 	void *cl;
 7 | };
 8 | 
 9 | Events events;
10 | void attach(Apply func, void *cl, List *list) {
11 | 	struct entry *p;
12 | 
13 | 	NEW(p, PERM);
14 | 	p->func = func;
15 | 	p->cl = cl;
16 | 	*list = append(p, *list);
17 | }
18 | void apply(List event, void *arg1, void *arg2) {
19 | 	if (event) {
20 | 		List lp = event;
21 | 		do {
22 | 			struct entry *p = lp->x;
23 | 			(*p->func)(p->cl, arg1, arg2);
24 | 			lp = lp->link;
25 | 		} while (lp != event);
26 | 	}
27 | }
28 | 
29 | 


--------------------------------------------------------------------------------
/lcc/src/inits.c:
--------------------------------------------------------------------------------
1 | void init(int argc, char *argv[]) {
2 | 	{extern void input_init(int, char *[]); input_init(argc, argv);}
3 | 	{extern void main_init(int, char *[]); main_init(argc, argv);}
4 | 	{extern void prof_init(int, char *[]); prof_init(argc, argv);}
5 | 	{extern void trace_init(int, char *[]); trace_init(argc, argv);}
6 | 	{extern void type_init(int, char *[]); type_init(argc, argv);}
7 | 	{extern void x86linux_init(int, char *[]); x86linux_init(argc, argv);}
8 | }
9 | 


--------------------------------------------------------------------------------
/lcc/src/list.c:
--------------------------------------------------------------------------------
 1 | #include "c.h"
 2 | 
 3 | 
 4 | static List freenodes;		/* free list nodes */
 5 | 
 6 | /* append - append x to list, return new list */
 7 | List append(void *x, List list) {
 8 | 	List new;
 9 | 
10 | 	if ((new = freenodes) != NULL)
11 | 		freenodes = freenodes->link;
12 | 	else
13 | 		NEW(new, PERM);
14 | 	if (list) {
15 | 		new->link = list->link;
16 | 		list->link = new;
17 | 	} else
18 | 		new->link = new;
19 | 	new->x = x;
20 | 	return new;
21 | }
22 | 
23 | /* length - # elements in list */
24 | int length(List list) {
25 | 	int n = 0;
26 | 
27 | 	if (list) {
28 | 		List lp = list;
29 | 		do
30 | 			n++;
31 | 		while ((lp = lp->link) != list);
32 | 	}
33 | 	return n;
34 | }
35 | 
36 | /* ltov - convert list to an NULL-terminated vector allocated in arena */
37 | void *ltov(List *list, unsigned arena) {
38 | 	int i = 0;
39 | 	void **array = newarray(length(*list) + 1, sizeof array[0], arena);
40 | 
41 | 	if (*list) {
42 | 		List lp = *list;
43 | 		do {
44 | 			lp = lp->link;
45 | 			array[i++] = lp->x;
46 | 		} while (lp != *list);
47 | #ifndef PURIFY
48 | 		lp = (*list)->link;
49 | 		(*list)->link = freenodes;
50 | 		freenodes = lp;
51 | #endif
52 | 	}
53 | 	*list = NULL;
54 | 	array[i] = NULL;
55 | 	return array;
56 | }
57 | 


--------------------------------------------------------------------------------
/lcc/tst/8q.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/8q.0


--------------------------------------------------------------------------------
/lcc/tst/8q.c:
--------------------------------------------------------------------------------
 1 | int up[15], down[15], rows[8], x[8];
 2 | int queens(), print();
 3 | 
 4 | main()
 5 | {
 6 | 	int i;
 7 | 
 8 | 	for (i = 0; i < 15; i++)
 9 | 		up[i] = down[i] = 1;
10 | 	for (i = 0; i < 8; i++)
11 | 		rows[i] = 1;
12 | 	queens(0);
13 | 	return 0;
14 | }
15 | 
16 | queens(c)
17 | {
18 | 	int r;
19 | 
20 | 	for (r = 0; r < 8; r++)
21 | 		if (rows[r] && up[r-c+7] && down[r+c]) {
22 | 			rows[r] = up[r-c+7] = down[r+c] = 0;
23 | 			x[c] = r;
24 | 			if (c == 7)
25 | 				print();
26 | 			else
27 | 				queens(c + 1);
28 | 			rows[r] = up[r-c+7] = down[r+c] = 1;
29 | 		}
30 | }
31 | 
32 | print()
33 | {
34 | 	int k;
35 | 
36 | 	for (k = 0; k < 8; k++)
37 | 		printf("%c ", x[k]+'1');
38 | 	printf("\n");
39 | }
40 | 


--------------------------------------------------------------------------------
/lcc/tst/array.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/array.0


--------------------------------------------------------------------------------
/lcc/tst/array.c:
--------------------------------------------------------------------------------
 1 | int x[3][4], *y[3];
 2 | 
 3 | main() {
 4 | 	int z[3][4];
 5 | 	int i, j, *p;
 6 | 
 7 | 	for (i = 0; i < 3; i++) {
 8 | 		for (j = 0; j < 4; j++)
 9 | 			x[i][j] = 1000*i + j;
10 | 		y[i] = x[i];
11 | 	}
12 | 	f();
13 | 	for (i = 0; i < 3; i++) {
14 | 		y[i] = p = &z[i][0];
15 | 		for (j = 0; j < 4; j++)
16 | 			p[j] = x[i][j];
17 | 	}
18 | 	g(z, y);
19 | 	return 0;
20 | }
21 | 
22 | f() {
23 | 	int i, j;
24 | 
25 | 	for (i = 0; i < 3; i++)
26 | 		for (j = 0; j < 4; j++)
27 | 			printf(" %d", x[i][j]);
28 | 	printf("\n");
29 | 	for (i = 0; i < 3; i++)
30 | 		for (j = 0; j < 4; j++)
31 | 			printf(" %d", y[i][j]);
32 | 	printf("\n");
33 | }
34 | 
35 | g(x, y)
36 | int x[][4], *y[];
37 | {
38 | 	int i, j;
39 | 
40 | 	for (i = 0; i < 3; i++)
41 | 		for (j = 0; j < 4; j++)
42 | 			printf(" %d", x[i][j]);
43 | 	printf("\n");
44 | 	for (i = 0; i < 3; i++)
45 | 		for (j = 0; j < 4; j++)
46 | 			printf(" %d", y[i][j]);
47 | 	printf("\n");
48 | }
49 | 


--------------------------------------------------------------------------------
/lcc/tst/cf.0:
--------------------------------------------------------------------------------
 1 | /* cf - print character frequencies */
 2 | float f[128];
 3 | 
 4 | main(argc, argv)
 5 | int argc;
 6 | char *argv[];
 7 | {
 8 | 	int i, c, nc;
 9 | 	float cutoff, atof();
10 | 
11 | 	if (argc <= 1)
12 | 		cutoff = 0.0;
13 | 	else
14 | 		cutoff = atof(argv[1])/100;
15 | 	for (i = 0; i <= 127; )
16 | 		f[i++] = 0.0;
17 | 	nc = 0;
18 | 	while ((c = getchar()) != -1) {
19 | 		f[c] += 1;
20 | 		nc++;
21 | 	}
22 | 	printf("char\tfreq\n");
23 | 	for (i = 0; i <= 127; ++i)
24 | 		if (f[i] && f[i]/nc >= cutoff) {
25 | 			if (i <= ' ')
26 | 				printf("%03o", i);
27 | 			else
28 | 				printf("%c", i);
29 | 			printf("\t%.1f\n", 100*f[i]/nc);
30 | 		}
31 | 	return 0;
32 | }
33 | 


--------------------------------------------------------------------------------
/lcc/tst/cf.c:
--------------------------------------------------------------------------------
 1 | /* cf - print character frequencies */
 2 | float f[128];
 3 | 
 4 | main(argc, argv)
 5 | int argc;
 6 | char *argv[];
 7 | {
 8 | 	int i, c, nc;
 9 | 	float cutoff, atof();
10 | 
11 | 	if (argc <= 1)
12 | 		cutoff = 0.0;
13 | 	else
14 | 		cutoff = atof(argv[1])/100;
15 | 	for (i = 0; i <= 127; )
16 | 		f[i++] = 0.0;
17 | 	nc = 0;
18 | 	while ((c = getchar()) != -1) {
19 | 		f[c] += 1;
20 | 		nc++;
21 | 	}
22 | 	printf("char\tfreq\n");
23 | 	for (i = 0; i <= 127; ++i)
24 | 		if (f[i] && f[i]/nc >= cutoff) {
25 | 			if (i <= ' ')
26 | 				printf("%03o", i);
27 | 			else
28 | 				printf("%c", i);
29 | 			printf("\t%.1f\n", 100*f[i]/nc);
30 | 		}
31 | 	return 0;
32 | }
33 | 


--------------------------------------------------------------------------------
/lcc/tst/cq.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/cq.0


--------------------------------------------------------------------------------
/lcc/tst/cvt.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/cvt.0


--------------------------------------------------------------------------------
/lcc/tst/cvt.c:
--------------------------------------------------------------------------------
 1 | signed char c;
 2 | signed short s;
 3 | signed int i;
 4 | signed long int l;
 5 | unsigned char C;
 6 | unsigned short S;
 7 | unsigned int I;
 8 | unsigned long int L;
 9 | float f;
10 | double d;
11 | long double D;
12 | void *p;
13 | void (*P)(void);
14 | 
15 | void print(void) {
16 | 	printf("%d %d %d %ld %u %u %u %lu %f %f %lf\n",c,s,i,l,C,S,I,L,f,d,D);
17 | }
18 | 
19 | main() {
20 | 	c= 1;     s=c;i=c;l=c;C=c;S=c;I=c;L=c;f=c;d=c;D=c; print();
21 | 	s= 2; c=s;    i=s;l=s;C=s;S=s;I=s;L=s;f=s;d=s;D=s; print();
22 | 	i= 3; c=i;s=i;    l=i;C=i;S=i;I=i;L=i;f=i;d=i;D=i; print();
23 | 	l= 4; c=l;s=l;i=l;    C=l;S=l;I=l;L=l;f=l;d=l;D=l; print();
24 | 	C= 5; c=C;s=C;i=C;l=C;    S=C;I=C;L=C;f=C;d=C;D=C; print();
25 | 	S= 6; c=S;s=S;i=S;l=S;C=S;    I=S;L=S;f=S;d=S;D=S; print();
26 | 	I= 7; c=I;s=I;i=I;l=I;C=I;S=I;    L=I;f=I;d=I;D=I; print();
27 | 	L= 8; c=L;s=L;i=L;l=L;C=L;S=L;I=S;    f=L;d=L;D=L; print();
28 | 	f= 9; c=f;s=f;i=f;l=f;C=f;S=f;I=f;L=f;    d=f;D=f; print();
29 | 	d=10; c=d;s=d;i=d;l=d;C=d;S=d;I=d;L=d;f=d;    D=d; print();
30 | 	D=11; c=D;s=D;i=D;l=D;C=D;S=D;I=D;L=D;f=D;d=D;     print();
31 | 
32 | 	p=0; p=0L; p=0U; p=0UL; p=P;
33 | 	P=0; P=0L; P=0U; P=0UL; P=p;
34 | 	return 0;
35 | }
36 | 


--------------------------------------------------------------------------------
/lcc/tst/fields.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/fields.0


--------------------------------------------------------------------------------
/lcc/tst/fields.c:
--------------------------------------------------------------------------------
 1 | struct foo {
 2 | 	int a;
 3 | 	char b;
 4 | 	int x : 12, y : 4, : 0, : 4, z : 3;
 5 | 	char c;
 6 | } x = { 1, 2, 3, 4, 5, 6 };
 7 | int i = 16;
 8 | struct baz { unsigned int a:2, b:4, c:32;} y = { 7, 8, 9};
 9 | 
10 | main()
11 | {
12 | 	printf("x = %d %d %d %d %d %d\n", x.a, x.b, x.x, x.y, x.z, x.c);
13 | 	printf("y = %d %d %d\n", y.a, y.b, y.c);
14 | 	x.y = i;
15 | 	x.z = 070;
16 | 	printf("x = %d %d %d %d %d %d\n", x.a, x.b, x.x, x.y, x.z, x.c);
17 | 	y.a = 2;
18 | 	y.c = i;
19 | 	printf("y = %d %d %d\n", y.a, y.b, y.c);
20 | 	f2(&x);
21 | 	return 0;
22 | }
23 | 
24 | f1(struct baz *p) {
25 | 	p->a = p->b = 0;
26 | 	if (p->b)
27 | 		printf("p->b != 0!\n");
28 | 	p->a = 0x3; p->b = 0xf;
29 | 	printf("p->a = 0x%x, p->b = 0x%x\n", p->a, p->b);
30 | }
31 | f2(struct baz *p) {
32 | 	p->a = (i==0);
33 | 	p->b = (f1(p),0);
34 | }
35 | 


--------------------------------------------------------------------------------
/lcc/tst/front.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/front.0


--------------------------------------------------------------------------------
/lcc/tst/incr.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/incr.0


--------------------------------------------------------------------------------
/lcc/tst/incr.c:
--------------------------------------------------------------------------------
 1 | main() {}
 2 | 
 3 | memchar() {
 4 | 	char x, *p;
 5 | 
 6 | 	&x, &p;
 7 | 	x = *p++;
 8 | 	x = *++p;
 9 | 	x = *p--;
10 | 	x = *--p;
11 | }
12 | 
13 | memint() {
14 | 	int x, *p;
15 | 
16 | 	&x, &p;
17 | 	x = *p++;
18 | 	x = *++p;
19 | 	x = *p--;
20 | 	x = *--p;
21 | }
22 | 
23 | regchar() {
24 | 	register char x, *p;
25 | 
26 | 	x = *p++;
27 | 	x = *++p;
28 | 	x = *p--;
29 | 	x = *--p;
30 | }
31 | 
32 | regint() {
33 | 	register int x, *p;
34 | 
35 | 	x = *p++;
36 | 	x = *++p;
37 | 	x = *p--;
38 | 	x = *--p;
39 | }
40 | 


--------------------------------------------------------------------------------
/lcc/tst/init.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/init.0


--------------------------------------------------------------------------------
/lcc/tst/init.c:
--------------------------------------------------------------------------------
 1 | 
 2 | typedef struct { int codes[3]; char name[6]; } Word;
 3 | 
 4 | Word words[] = {
 5 | 	1, 2, 3, "if",
 6 | 	{ { 4, 5 }, { 'f', 'o', 'r' } },
 7 | 	6, 7, 8, {"else"},
 8 | 	{ { 9, 10, 11,}, 'w', 'h', 'i', 'l', 'e', },
 9 | 	{ 0 },
10 | }, *wordlist = words;
11 | 
12 | int x[][5] = { 1, 2, 3, 4, 0, { 5, 6 }, { 7 } };
13 | int *y[] = { x[0], x[1], x[2], 0 };
14 | 
15 | 
16 | main()
17 | {
18 | 	int i, j;
19 | 
20 | 	for (i = 0; y[i]; i++) {
21 | 		for (j = 0; y[i][j]; j++)
22 | 			printf(" %d", y[i][j]);
23 | 		printf("\n");
24 | 	}
25 | 	f();
26 | 	g(wordlist);
27 | 	return 0;
28 | }
29 | 
30 | f() {
31 | 	static char *keywords[] = {"if", "for", "else", "while", 0, };
32 | 	char **p;
33 | 
34 | 	for (p = keywords; *p; p++)
35 | 		printf("%s\n", *p);
36 | }
37 | 
38 | g(p)
39 | Word *p;
40 | {
41 | 	int i;
42 | 
43 | 	for ( ; p->codes[0]; p++) {
44 | 		for (i = 0; i < sizeof p->codes/sizeof(p->codes[0]); i++)
45 | 			printf("%d ", p->codes[i]);
46 | 		printf("%s\n", p->name);
47 | 	}
48 | 	h();
49 | }
50 | 
51 | h()
52 | {
53 | 	int i;
54 | 
55 | 	for (i = 0; i < sizeof(words)/sizeof(Word); i++)
56 | 		printf("%d %d %d %s\n", words[i].codes[0],
57 | 			words[i].codes[1], words[i].codes[2],
58 | 			&words[i].name[0]);
59 | }
60 | 


--------------------------------------------------------------------------------
/lcc/tst/limits.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/limits.0


--------------------------------------------------------------------------------
/lcc/tst/limits.c:
--------------------------------------------------------------------------------
 1 | #include <limits.h>
 2 | 
 3 | main() {
 4 | 	printf("UCHAR_MAX:	%08x=%d\n", UCHAR_MAX, UCHAR_MAX);
 5 | 	printf("USHRT_MAX:	%08x=%d\n", USHRT_MAX, USHRT_MAX);
 6 | 	printf("UINT_MAX:	%08x=%d\n", UINT_MAX, UINT_MAX);
 7 | 	printf("ULONG_MAX:	%08lx=%ld\n", ULONG_MAX, ULONG_MAX);
 8 | 	printf("CHAR_MAX:	%08x=%d\n", CHAR_MAX, CHAR_MAX);
 9 | 	printf("SCHAR_MAX:	%08x=%d\n", SCHAR_MAX, SCHAR_MAX);
10 | 	printf("SHRT_MAX:	%08x=%d\n", SHRT_MAX, SHRT_MAX);
11 | 	printf("INT_MAX:	%08x=%d\n", INT_MAX, INT_MAX);
12 | 	printf("LONG_MAX:	%08lx=%ld\n", LONG_MAX, LONG_MAX);
13 | 	printf("CHAR_MIN:	%08x=%d\n", CHAR_MIN, CHAR_MIN);
14 | 	printf("SCHAR_MIN:	%08x=%d\n", SCHAR_MIN, SCHAR_MIN);
15 | 	printf("SHRT_MIN:	%08x=%d\n", SHRT_MIN, SHRT_MIN);
16 | 	printf("INT_MIN:	%08x=%d\n", INT_MIN, INT_MIN);
17 | 	printf("LONG_MIN:	%08lx=%ld\n", LONG_MIN, LONG_MIN);
18 | 	return 0;
19 | }
20 | 


--------------------------------------------------------------------------------
/lcc/tst/paranoia.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/paranoia.0


--------------------------------------------------------------------------------
/lcc/tst/sort.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/sort.0


--------------------------------------------------------------------------------
/lcc/tst/sort.c:
--------------------------------------------------------------------------------
 1 | int in[] = {10, 32, -1, 567, 3, 18, 1, -51, 789, 0};
 2 | 
 3 | main() {
 4 | 	int i;
 5 | 
 6 | 	sort(in, (sizeof in)/(sizeof in[0]));
 7 | 	for (i = 0; i < (sizeof in)/(sizeof in[0]); i++) {
 8 | 		putd(in[i]);
 9 | 		putchar('\n');
10 | 	}
11 | 	return 0;
12 | }
13 | 
14 | /* putd - output decimal number */
15 | putd(n) {
16 | 	if (n < 0) {
17 | 		putchar('-');
18 | 		n = -n;
19 | 	}
20 | 	if (n/10)
21 | 		putd(n/10);
22 | 	putchar(n%10 + '0');
23 | }
24 | 
25 | int *xx;
26 | 
27 | /* sort - sort a[0..n-1] into increasing order */
28 | sort(a, n) int a[]; {
29 | 	quick(xx = a, 0, --n);
30 | }
31 | 
32 | /* quick - quicksort a[lb..ub] */
33 | quick(a, lb, ub) int a[]; {
34 | 	int k, partition();
35 | 
36 | 	if (lb >= ub)
37 | 		return;
38 | 	k = partition(a, lb, ub);
39 | 	quick(a, lb, k - 1);
40 | 	quick(a, k + 1, ub);
41 | }
42 | 
43 | /* partition - partition a[i..j] */
44 | int partition(a, i, j) int a[]; {
45 | 	int v, k;
46 | 
47 | 	j++;
48 | 	k = i;
49 | 	v = a[k];
50 | 	while (i < j) {
51 | 		i++; while (a[i] < v) i++;
52 | 		j--; while (a[j] > v) j--;
53 | 		if (i < j) exchange(&a[i], &a[j]);
54 | 	}
55 | 	exchange(&a[k], &a[j]);
56 | 	return j;
57 | }
58 | 
59 | /* exchange - exchange *x and *y */
60 | exchange(x, y) int *x, *y; {
61 | 	int t;
62 | 
63 | 	printf("exchange(%d,%d)\n", x - xx, y - xx);
64 | 	t = *x; *x = *y; *y = t;
65 | }
66 | 


--------------------------------------------------------------------------------
/lcc/tst/spill.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/spill.0


--------------------------------------------------------------------------------
/lcc/tst/spill.c:
--------------------------------------------------------------------------------
 1 | main(){}
 2 | 
 3 | f(i){i=f()+f();}
 4 | 
 5 | f2(i){i=f()+(i?f():1);}
 6 | 
 7 | f3(int i,int *p){register r1=0,r2=0,r3=0,r4=0,r5=0,r6=0,r7=0,r8=0,r9=0,r10=0;*p++=i?f():0;}
 8 | 
 9 | double a[10],b[10];int i;f4(){register r6=0,r7=0,r8=0,r9=0,r10=0,r11=0;i=a[i]+b[i] && i && a[i]-b[i];}
10 | /* f4 causes parent to spill child on vax when odd double regs are enabled */
11 | 
12 | int j, k, m, n;
13 | double *A, *B, x;
14 | f5(){
15 | 	x=A[k*m]*A[j*m]+B[k*n]*B[j*n];
16 | 	x=A[k*m]*B[j*n]-B[k*n]*A[j*m];
17 | }  
18 | 


--------------------------------------------------------------------------------
/lcc/tst/stdarg.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/stdarg.0


--------------------------------------------------------------------------------
/lcc/tst/stdarg.c:
--------------------------------------------------------------------------------
 1 | #include <stdarg.h>
 2 | 
 3 | struct node { int a[4]; } x = {1,2,3,4};
 4 | 
 5 | print(char *fmt, ...);
 6 | 
 7 | main() {
 8 | 	print("test 1\n");
 9 | 	print("test %s\n", "2");
10 | 	print("test %d%c", 3, '\n');
11 | 	print("%s%s %w%c", "te", "st", 4, '\n');
12 | 	print("%s%s %f%c", "te", "st", 5.0, '\n');
13 | 	print("%b %b %b %b %b %b\n", x, x, x, x, x, x);
14 | 	return 0;
15 | }
16 | 
17 | print(char *fmt, ...) {
18 | 	va_list ap;
19 | 
20 | 	va_start(ap, fmt);
21 | 	for (; *fmt; fmt++)
22 | 		if (*fmt == '%')
23 | 			switch (*++fmt) {
24 | 			case 'b': {
25 | 				struct node x = va_arg(ap, struct node);
26 | 				printf("{%d %d %d %d}", x.a[0], x.a[1], x.a[2], x.a[3]);
27 | 				break;
28 | 				}
29 | 			case 'c':
30 | 				printf("%c", va_arg(ap, char));
31 | 				break;
32 | 			case 'd':
33 | 				printf("%d", va_arg(ap, int));
34 | 				break;
35 | 			case 'w':
36 | 				printf("%x", va_arg(ap, short));
37 | 				break;
38 | 			case 's':
39 | 				printf("%s", va_arg(ap, char *));
40 | 				break;
41 | 			case 'f':
42 | 				printf("%f", va_arg(ap, double));
43 | 				break;
44 | 			default:
45 | 				printf("%c", *fmt);
46 | 				break;
47 | 			}
48 | 		 else
49 | 			printf("%c", *fmt);
50 | 	va_end(ap);
51 | }
52 | 


--------------------------------------------------------------------------------
/lcc/tst/struct.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/struct.0


--------------------------------------------------------------------------------
/lcc/tst/switch.0:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/tst/switch.0


--------------------------------------------------------------------------------
/lcc/tst/yacc.0:
--------------------------------------------------------------------------------
1 | a=-b+5*c
2 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/8q.2bk:
--------------------------------------------------------------------------------
1 | tst/8q.c:30: warning: missing return value
2 | tst/8q.c:39: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/array.1bk:
--------------------------------------------------------------------------------
1 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
2 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
3 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
4 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
5 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/array.2bk:
--------------------------------------------------------------------------------
1 | tst/array.c:33: warning: missing return value
2 | tst/array.c:48: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/cf.1bk:
--------------------------------------------------------------------------------
 1 | char	freq
 2 | 011	8.1
 3 | 012	6.1
 4 | 040	11.9
 5 | !	0.2
 6 | "	1.5
 7 | %	0.6
 8 | &	0.4
 9 | '	0.4
10 | (	2.9
11 | )	2.9
12 | *	0.8
13 | +	1.3
14 | ,	1.3
15 | -	0.4
16 | .	0.6
17 | /	1.0
18 | 0	2.5
19 | 1	1.9
20 | 2	0.6
21 | 3	0.2
22 | 7	0.4
23 | 8	0.2
24 | ;	3.8
25 | <	0.8
26 | =	2.7
27 | >	0.2
28 | [	1.5
29 | \	0.8
30 | ]	1.5
31 | a	3.1
32 | c	4.4
33 | e	2.3
34 | f	6.0
35 | g	1.3
36 | h	1.0
37 | i	5.0
38 | l	1.0
39 | m	0.2
40 | n	3.3
41 | o	2.1
42 | p	1.0
43 | q	0.4
44 | r	4.2
45 | s	0.6
46 | t	3.8
47 | u	1.2
48 | v	0.6
49 | w	0.2
50 | {	0.6
51 | }	0.6
52 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/cf.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/linux/tst/cf.2bk


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/cvt.1bk:
--------------------------------------------------------------------------------
 1 | 1 1 1 1 1 1 1 1 1.000000 1.000000 1.000000
 2 | 2 2 2 2 2 2 2 2 2.000000 2.000000 2.000000
 3 | 3 3 3 3 3 3 3 3 3.000000 3.000000 3.000000
 4 | 4 4 4 4 4 4 4 4 4.000000 4.000000 4.000000
 5 | 5 5 5 5 5 5 5 5 5.000000 5.000000 5.000000
 6 | 6 6 6 6 6 6 6 6 6.000000 6.000000 6.000000
 7 | 7 7 7 7 7 7 7 7 7.000000 7.000000 7.000000
 8 | 8 8 8 8 8 8 8 8 8.000000 8.000000 8.000000
 9 | 9 9 9 9 9 9 9 9 9.000000 9.000000 9.000000
10 | 10 10 10 10 10 10 10 10 10.000000 10.000000 10.000000
11 | 11 11 11 11 11 11 11 11 11.000000 11.000000 11.000000
12 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/cvt.2bk:
--------------------------------------------------------------------------------
1 | tst/cvt.c:32: warning: conversion from `pointer to void function(void)' to `pointer to void' is compiler dependent
2 | tst/cvt.c:33: warning: conversion from `pointer to void' to `pointer to void function(void)' is compiler dependent
3 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/fields.1bk:
--------------------------------------------------------------------------------
1 | x = 1 2 3 4 -3 6
2 | y = 3 8 9
3 | x = 1 2 3 0 0 6
4 | y = 2 8 16
5 | p->a = 0x3, p->b = 0xf
6 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/fields.2bk:
--------------------------------------------------------------------------------
1 | tst/fields.c:6: warning: initializer exceeds bit-field width
2 | tst/fields.c:8: warning: initializer exceeds bit-field width
3 | tst/fields.c:30: warning: missing return value
4 | tst/fields.c:34: warning: missing return value
5 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/incr.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/linux/tst/incr.1bk


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/incr.2bk:
--------------------------------------------------------------------------------
 1 | tst/incr.c:1: warning: missing return value
 2 | tst/incr.c:6: warning: expression with no effect elided
 3 | tst/incr.c:6: warning: expression with no effect elided
 4 | tst/incr.c:11: warning: missing return value
 5 | tst/incr.c:16: warning: expression with no effect elided
 6 | tst/incr.c:16: warning: expression with no effect elided
 7 | tst/incr.c:21: warning: missing return value
 8 | tst/incr.c:30: warning: missing return value
 9 | tst/incr.c:39: warning: missing return value
10 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/init.1bk:
--------------------------------------------------------------------------------
 1 |  1 2 3 4
 2 |  5 6
 3 |  7
 4 | if
 5 | for
 6 | else
 7 | while
 8 | 1 2 3 if
 9 | 4 5 0 for
10 | 6 7 8 else
11 | 9 10 11 while
12 | 1 2 3 if
13 | 4 5 0 for
14 | 6 7 8 else
15 | 9 10 11 while
16 | 0 0 0 
17 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/init.2bk:
--------------------------------------------------------------------------------
1 | tst/init.c:36: warning: missing return value
2 | tst/init.c:49: warning: missing return value
3 | tst/init.c:59: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/limits.1bk:
--------------------------------------------------------------------------------
 1 | UCHAR_MAX:	000000ff=255
 2 | USHRT_MAX:	0000ffff=65535
 3 | UINT_MAX:	ffffffff=-1
 4 | ULONG_MAX:	ffffffff=-1
 5 | CHAR_MAX:	0000007f=127
 6 | SCHAR_MAX:	0000007f=127
 7 | SHRT_MAX:	00007fff=32767
 8 | INT_MAX:	7fffffff=2147483647
 9 | LONG_MAX:	7fffffff=2147483647
10 | CHAR_MIN:	ffffff80=-128
11 | SCHAR_MIN:	ffffff80=-128
12 | SHRT_MIN:	ffff8000=-32768
13 | INT_MIN:	80000000=-2147483648
14 | LONG_MIN:	80000000=-2147483648
15 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/limits.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/linux/tst/limits.2bk


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/paranoia.2bk:
--------------------------------------------------------------------------------
 1 | tst/paranoia.c:1867: warning: missing return value
 2 | tst/paranoia.c:1874: warning: missing return value
 3 | tst/paranoia.c:1884: warning: missing return value
 4 | tst/paranoia.c:1924: warning: missing return value
 5 | tst/paranoia.c:1939: warning: missing return value
 6 | tst/paranoia.c:1956: warning: missing return value
 7 | tst/paranoia.c:1975: warning: missing return value
 8 | tst/paranoia.c:1988: warning: missing return value
 9 | tst/paranoia.c:1995: warning: missing return value
10 | tst/paranoia.c:2055: warning: missing return value
11 | tst/paranoia.c:2062: warning: missing return value
12 | tst/paranoia.c:2070: warning: missing return value
13 | tst/paranoia.c:2087: warning: missing return value
14 | tst/paranoia.c:2115: warning: missing return value
15 | tst/paranoia.c:2144: warning: missing return value
16 | tst/paranoia.c:2173: warning: missing return value
17 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/sort.1bk:
--------------------------------------------------------------------------------
 1 | exchange(1,9)
 2 | exchange(3,7)
 3 | exchange(5,6)
 4 | exchange(0,5)
 5 | exchange(0,3)
 6 | exchange(0,0)
 7 | exchange(1,2)
 8 | exchange(6,6)
 9 | exchange(8,9)
10 | exchange(7,8)
11 | -51
12 | -1
13 | 0
14 | 1
15 | 3
16 | 10
17 | 18
18 | 32
19 | 567
20 | 789
21 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/sort.2bk:
--------------------------------------------------------------------------------
1 | tst/sort.c:23: warning: missing return value
2 | tst/sort.c:30: warning: missing return value
3 | tst/sort.c:37: warning: missing return value
4 | tst/sort.c:41: warning: missing return value
5 | tst/sort.c:65: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/spill.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/linux/tst/spill.1bk


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/spill.2bk:
--------------------------------------------------------------------------------
1 | tst/spill.c:1: warning: missing return value
2 | tst/spill.c:3: warning: missing return value
3 | tst/spill.c:5: warning: missing return value
4 | tst/spill.c:7: warning: missing return value
5 | tst/spill.c:9: warning: missing return value
6 | tst/spill.c:17: warning: missing return value
7 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/stdarg.1bk:
--------------------------------------------------------------------------------
1 | test 1
2 | test 2
3 | test 3
4 | test 4
5 | test 5.000000
6 | {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4}
7 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/stdarg.2bk:
--------------------------------------------------------------------------------
1 | tst/stdarg.c:51: warning: missing return value
2 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/struct.1bk:
--------------------------------------------------------------------------------
1 | (-1,-1) is not within [10,10; 310,310]
2 | (1,1) is not within [10,10; 310,310]
3 | (20,300) is within [10,10; 310,310]
4 | (500,400) is not within [10,10; 310,310]
5 | ab
6 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/struct.2bk:
--------------------------------------------------------------------------------
1 | tst/struct.c:49: warning: missing return value
2 | tst/struct.c:68: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/switch.1bk:
--------------------------------------------------------------------------------
 1 | b = 0x8
 2 | f = 0xc
 3 | n = 0xa
 4 | r = 0xd
 5 | t = 0x9
 6 | v = 0xb
 7 | x = 0x78
 8 | f:
 9 | x = 0
10 | x = 1
11 | x = 2
12 | x = 2
13 | x = 2
14 | x = 2
15 | x = 2
16 | x = 7
17 | x = 8
18 | x = 9
19 | x = 9
20 | x = 9
21 | x = 9
22 | x = 9
23 | x = 9
24 | x = 9
25 | x = 16
26 | x = 17
27 | x = 18
28 | x = 19
29 | x = 20
30 | g:
31 | 1 1
32 | 1 2
33 | 2 3
34 | 2 4
35 | 2 5
36 | 3 6
37 | d 6
38 | 3 7
39 | d 7
40 | 3 8
41 | d 8
42 | d 9
43 | d 10
44 | h:
45 | i = 8
46 | i = 16
47 | i = 120
48 | i = 128
49 | i = 248
50 | i = 264
51 | i = 272
52 | i = 280
53 | i = 288
54 | i = 296
55 | i = 304
56 | i = 312
57 | 488 defaults
58 | x = 0x1000000
59 | x = 0x2000000
60 | x = 0x3000000
61 | x = 0x4000000
62 | x = 0x5000000
63 | x = 0x6000000 (default)
64 | x = 0x7000000 (default)
65 | 0
66 | 1
67 | 2
68 | 3
69 | 4
70 | 5
71 | 0
72 | 1
73 | 2
74 | 3
75 | 4
76 | 5
77 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/switch.2bk:
--------------------------------------------------------------------------------
1 | tst/switch.c:55: warning: missing return value
2 | tst/switch.c:73: warning: missing return value
3 | tst/switch.c:97: warning: missing return value
4 | tst/switch.c:112: warning: missing return value
5 | tst/switch.c:137: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/wf1.1bk:
--------------------------------------------------------------------------------
 1 | 5	a
 2 | 2	and
 3 | 5	buf
 4 | 16	c
 5 | 8	char
 6 | 1	compare
 7 | 4	cond
 8 | 5	count
 9 | 1	d
10 | 1	die
11 | 3	else
12 | 1	entry
13 | 1	eof
14 | 4	err
15 | 1	error
16 | 1	exit
17 | 1	folded
18 | 1	for
19 | 1	free
20 | 1	frequencies
21 | 1	frequency
22 | 1	get
23 | 2	getchar
24 | 3	getword
25 | 14	if
26 | 2	in
27 | 1	index
28 | 1	input
29 | 1	install
30 | 8	int
31 | 1	into
32 | 1	is
33 | 4	isletter
34 | 1	it
35 | 1	itself
36 | 5	left
37 | 1	letter
38 | 7	lookup
39 | 1	main
40 | 2	malloc
41 | 1	message
42 | 2	n
43 | 1	necessary
44 | 12	next
45 | 9	node
46 | 4	of
47 | 1	on
48 | 1	or
49 | 1	otherwise
50 | 2	out
51 | 8	p
52 | 3	print
53 | 2	printf
54 | 16	return
55 | 5	right
56 | 4	root
57 | 25	s
58 | 2	storage
59 | 3	strcmp
60 | 1	strcpy
61 | 1	strlen
62 | 8	struct
63 | 1	structures
64 | 2	subtree
65 | 1	t
66 | 5	tprint
67 | 9	tree
68 | 1	uses
69 | 1	version
70 | 1	wf
71 | 3	while
72 | 21	word
73 | 9	words
74 | 2	z
75 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/wf1.2bk:
--------------------------------------------------------------------------------
1 | tst/wf1.c:29: warning: missing return value
2 | tst/wf1.c:87: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/yacc.1bk:
--------------------------------------------------------------------------------
 1 | a
 2 | b
 3 | load
 4 | negate
 5 | push 5
 6 | c
 7 | load
 8 | multiply
 9 | add
10 | store
11 | 


--------------------------------------------------------------------------------
/lcc/x86/linux/tst/yacc.2bk:
--------------------------------------------------------------------------------
1 | tst/yacc.c:345: warning: missing return value
2 | tst/yacc.c:349: warning: missing return value
3 | tst/yacc.c:359: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/8q.2bk:
--------------------------------------------------------------------------------
1 | tst/8q.c:30: warning: missing return value
2 | tst/8q.c:39: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/array.1bk:
--------------------------------------------------------------------------------
1 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
2 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
3 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
4 |  0 1 2 3 1000 1001 1002 1003 2000 2001 2002 2003
5 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/array.2bk:
--------------------------------------------------------------------------------
1 | tst/array.c:33: warning: missing return value
2 | tst/array.c:48: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/cf.1bk:
--------------------------------------------------------------------------------
 1 | char	freq
 2 | 011	8.1
 3 | 012	6.1
 4 | 040	11.9
 5 | !	0.2
 6 | "	1.5
 7 | %	0.6
 8 | &	0.4
 9 | '	0.4
10 | (	2.9
11 | )	2.9
12 | *	0.8
13 | +	1.3
14 | ,	1.3
15 | -	0.4
16 | .	0.6
17 | /	1.0
18 | 0	2.5
19 | 1	1.9
20 | 2	0.6
21 | 3	0.2
22 | 7	0.4
23 | 8	0.2
24 | ;	3.8
25 | <	0.8
26 | =	2.7
27 | >	0.2
28 | [	1.5
29 | \	0.8
30 | ]	1.5
31 | a	3.1
32 | c	4.4
33 | e	2.3
34 | f	6.0
35 | g	1.3
36 | h	1.0
37 | i	5.0
38 | l	1.0
39 | m	0.2
40 | n	3.3
41 | o	2.1
42 | p	1.0
43 | q	0.4
44 | r	4.2
45 | s	0.6
46 | t	3.8
47 | u	1.2
48 | v	0.6
49 | w	0.2
50 | {	0.6
51 | }	0.6
52 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/cf.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/win32/tst/cf.2bk


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/cvt.1bk:
--------------------------------------------------------------------------------
 1 | 1 1 1 1 1 1 1 1 1.000000 1.000000 1.000000
 2 | 2 2 2 2 2 2 2 2 2.000000 2.000000 2.000000
 3 | 3 3 3 3 3 3 3 3 3.000000 3.000000 3.000000
 4 | 4 4 4 4 4 4 4 4 4.000000 4.000000 4.000000
 5 | 5 5 5 5 5 5 5 5 5.000000 5.000000 5.000000
 6 | 6 6 6 6 6 6 6 6 6.000000 6.000000 6.000000
 7 | 7 7 7 7 7 7 7 7 7.000000 7.000000 7.000000
 8 | 8 8 8 8 8 8 8 8 8.000000 8.000000 8.000000
 9 | 9 9 9 9 9 9 9 9 9.000000 9.000000 9.000000
10 | 10 10 10 10 10 10 10 10 10.000000 10.000000 10.000000
11 | 11 11 11 11 11 11 11 11 11.000000 11.000000 11.000000
12 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/cvt.2bk:
--------------------------------------------------------------------------------
1 | tst/cvt.c:32: warning: conversion from `pointer to void function(void)' to `pointer to void' is compiler dependent
2 | tst/cvt.c:33: warning: conversion from `pointer to void' to `pointer to void function(void)' is compiler dependent
3 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/fields.1bk:
--------------------------------------------------------------------------------
1 | x = 1 2 3 4 -3 6
2 | y = 3 8 9
3 | x = 1 2 3 0 0 6
4 | y = 2 8 16
5 | p->a = 0x3, p->b = 0xf
6 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/fields.2bk:
--------------------------------------------------------------------------------
1 | tst/fields.c:6: warning: initializer exceeds bit-field width
2 | tst/fields.c:8: warning: initializer exceeds bit-field width
3 | tst/fields.c:30: warning: missing return value
4 | tst/fields.c:34: warning: missing return value
5 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/incr.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/win32/tst/incr.1bk


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/incr.2bk:
--------------------------------------------------------------------------------
 1 | tst/incr.c:1: warning: missing return value
 2 | tst/incr.c:6: warning: expression with no effect elided
 3 | tst/incr.c:6: warning: expression with no effect elided
 4 | tst/incr.c:11: warning: missing return value
 5 | tst/incr.c:16: warning: expression with no effect elided
 6 | tst/incr.c:16: warning: expression with no effect elided
 7 | tst/incr.c:21: warning: missing return value
 8 | tst/incr.c:30: warning: missing return value
 9 | tst/incr.c:39: warning: missing return value
10 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/init.1bk:
--------------------------------------------------------------------------------
 1 |  1 2 3 4
 2 |  5 6
 3 |  7
 4 | if
 5 | for
 6 | else
 7 | while
 8 | 1 2 3 if
 9 | 4 5 0 for
10 | 6 7 8 else
11 | 9 10 11 while
12 | 1 2 3 if
13 | 4 5 0 for
14 | 6 7 8 else
15 | 9 10 11 while
16 | 0 0 0 
17 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/init.2bk:
--------------------------------------------------------------------------------
1 | tst/init.c:36: warning: missing return value
2 | tst/init.c:49: warning: missing return value
3 | tst/init.c:59: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/limits.1bk:
--------------------------------------------------------------------------------
 1 | UCHAR_MAX:	000000ff=255
 2 | USHRT_MAX:	0000ffff=65535
 3 | UINT_MAX:	ffffffff=-1
 4 | ULONG_MAX:	ffffffff=-1
 5 | CHAR_MAX:	0000007f=127
 6 | SCHAR_MAX:	0000007f=127
 7 | SHRT_MAX:	00007fff=32767
 8 | INT_MAX:	7fffffff=2147483647
 9 | LONG_MAX:	7fffffff=2147483647
10 | CHAR_MIN:	ffffff80=-128
11 | SCHAR_MIN:	ffffff80=-128
12 | SHRT_MIN:	ffff8000=-32768
13 | INT_MIN:	80000000=-2147483648
14 | LONG_MIN:	80000000=-2147483648
15 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/limits.2bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/win32/tst/limits.2bk


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/paranoia.2bk:
--------------------------------------------------------------------------------
 1 | tst/paranoia.c:1867: warning: missing return value
 2 | tst/paranoia.c:1874: warning: missing return value
 3 | tst/paranoia.c:1884: warning: missing return value
 4 | tst/paranoia.c:1924: warning: missing return value
 5 | tst/paranoia.c:1939: warning: missing return value
 6 | tst/paranoia.c:1956: warning: missing return value
 7 | tst/paranoia.c:1975: warning: missing return value
 8 | tst/paranoia.c:1988: warning: missing return value
 9 | tst/paranoia.c:1995: warning: missing return value
10 | tst/paranoia.c:2055: warning: missing return value
11 | tst/paranoia.c:2062: warning: missing return value
12 | tst/paranoia.c:2070: warning: missing return value
13 | tst/paranoia.c:2087: warning: missing return value
14 | tst/paranoia.c:2115: warning: missing return value
15 | tst/paranoia.c:2144: warning: missing return value
16 | tst/paranoia.c:2173: warning: missing return value
17 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/sort.1bk:
--------------------------------------------------------------------------------
 1 | exchange(1,9)
 2 | exchange(3,7)
 3 | exchange(5,6)
 4 | exchange(0,5)
 5 | exchange(0,3)
 6 | exchange(0,0)
 7 | exchange(1,2)
 8 | exchange(6,6)
 9 | exchange(8,9)
10 | exchange(7,8)
11 | -51
12 | -1
13 | 0
14 | 1
15 | 3
16 | 10
17 | 18
18 | 32
19 | 567
20 | 789
21 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/sort.2bk:
--------------------------------------------------------------------------------
1 | tst/sort.c:23: warning: missing return value
2 | tst/sort.c:30: warning: missing return value
3 | tst/sort.c:37: warning: missing return value
4 | tst/sort.c:41: warning: missing return value
5 | tst/sort.c:65: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/spill.1bk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/lcc/x86/win32/tst/spill.1bk


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/spill.2bk:
--------------------------------------------------------------------------------
1 | tst/spill.c:1: warning: missing return value
2 | tst/spill.c:3: warning: missing return value
3 | tst/spill.c:5: warning: missing return value
4 | tst/spill.c:7: warning: missing return value
5 | tst/spill.c:9: warning: missing return value
6 | tst/spill.c:17: warning: missing return value
7 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/stdarg.1bk:
--------------------------------------------------------------------------------
1 | test 1
2 | test 2
3 | test 3
4 | test 4
5 | test 5.000000
6 | {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4} {1 2 3 4}
7 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/stdarg.2bk:
--------------------------------------------------------------------------------
1 | tst/stdarg.c:51: warning: missing return value
2 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/struct.1bk:
--------------------------------------------------------------------------------
1 | (-1,-1) is not within [10,10; 310,310]
2 | (1,1) is not within [10,10; 310,310]
3 | (20,300) is within [10,10; 310,310]
4 | (500,400) is not within [10,10; 310,310]
5 | ab
6 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/struct.2bk:
--------------------------------------------------------------------------------
1 | tst/struct.c:49: warning: missing return value
2 | tst/struct.c:68: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/switch.1bk:
--------------------------------------------------------------------------------
 1 | b = 0x8
 2 | f = 0xc
 3 | n = 0xa
 4 | r = 0xd
 5 | t = 0x9
 6 | v = 0xb
 7 | x = 0x78
 8 | f:
 9 | x = 0
10 | x = 1
11 | x = 2
12 | x = 2
13 | x = 2
14 | x = 2
15 | x = 2
16 | x = 7
17 | x = 8
18 | x = 9
19 | x = 9
20 | x = 9
21 | x = 9
22 | x = 9
23 | x = 9
24 | x = 9
25 | x = 16
26 | x = 17
27 | x = 18
28 | x = 19
29 | x = 20
30 | g:
31 | 1 1
32 | 1 2
33 | 2 3
34 | 2 4
35 | 2 5
36 | 3 6
37 | d 6
38 | 3 7
39 | d 7
40 | 3 8
41 | d 8
42 | d 9
43 | d 10
44 | h:
45 | i = 8
46 | i = 16
47 | i = 120
48 | i = 128
49 | i = 248
50 | i = 264
51 | i = 272
52 | i = 280
53 | i = 288
54 | i = 296
55 | i = 304
56 | i = 312
57 | 488 defaults
58 | x = 0x1000000
59 | x = 0x2000000
60 | x = 0x3000000
61 | x = 0x4000000
62 | x = 0x5000000
63 | x = 0x6000000 (default)
64 | x = 0x7000000 (default)
65 | 0
66 | 1
67 | 2
68 | 3
69 | 4
70 | 5
71 | 0
72 | 1
73 | 2
74 | 3
75 | 4
76 | 5
77 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/switch.2bk:
--------------------------------------------------------------------------------
1 | tst/switch.c:55: warning: missing return value
2 | tst/switch.c:73: warning: missing return value
3 | tst/switch.c:97: warning: missing return value
4 | tst/switch.c:112: warning: missing return value
5 | tst/switch.c:137: warning: missing return value
6 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/wf1.1bk:
--------------------------------------------------------------------------------
 1 | 5	a
 2 | 2	and
 3 | 5	buf
 4 | 16	c
 5 | 8	char
 6 | 1	compare
 7 | 4	cond
 8 | 5	count
 9 | 1	d
10 | 1	die
11 | 3	else
12 | 1	entry
13 | 1	eof
14 | 4	err
15 | 1	error
16 | 1	exit
17 | 1	folded
18 | 1	for
19 | 1	free
20 | 1	frequencies
21 | 1	frequency
22 | 1	get
23 | 2	getchar
24 | 3	getword
25 | 14	if
26 | 2	in
27 | 1	index
28 | 1	input
29 | 1	install
30 | 8	int
31 | 1	into
32 | 1	is
33 | 4	isletter
34 | 1	it
35 | 1	itself
36 | 5	left
37 | 1	letter
38 | 7	lookup
39 | 1	main
40 | 2	malloc
41 | 1	message
42 | 2	n
43 | 1	necessary
44 | 12	next
45 | 9	node
46 | 4	of
47 | 1	on
48 | 1	or
49 | 1	otherwise
50 | 2	out
51 | 8	p
52 | 3	print
53 | 2	printf
54 | 16	return
55 | 5	right
56 | 4	root
57 | 25	s
58 | 2	storage
59 | 3	strcmp
60 | 1	strcpy
61 | 1	strlen
62 | 8	struct
63 | 1	structures
64 | 2	subtree
65 | 1	t
66 | 5	tprint
67 | 9	tree
68 | 1	uses
69 | 1	version
70 | 1	wf
71 | 3	while
72 | 21	word
73 | 9	words
74 | 2	z
75 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/wf1.2bk:
--------------------------------------------------------------------------------
1 | tst/wf1.c:29: warning: missing return value
2 | tst/wf1.c:87: warning: missing return value
3 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/yacc.1bk:
--------------------------------------------------------------------------------
 1 | a
 2 | b
 3 | load
 4 | negate
 5 | push 5
 6 | c
 7 | load
 8 | multiply
 9 | add
10 | store
11 | 


--------------------------------------------------------------------------------
/lcc/x86/win32/tst/yacc.2bk:
--------------------------------------------------------------------------------
1 | tst/yacc.c:345: warning: missing return value
2 | tst/yacc.c:349: warning: missing return value
3 | tst/yacc.c:359: warning: missing return value
4 | 


--------------------------------------------------------------------------------
/libs/jpeg6/jchuff.h:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * jchuff.h
 3 |  *
 4 |  * Copyright (C) 1991-1995, Thomas G. Lane.
 5 |  * This file is part of the Independent JPEG Group's software.
 6 |  * For conditions of distribution and use, see the accompanying README file.
 7 |  *
 8 |  * This file contains declarations for Huffman entropy encoding routines
 9 |  * that are shared between the sequential encoder (jchuff.c) and the
10 |  * progressive encoder (jcphuff.c).  No other modules need to see these.
11 |  */
12 | 
13 | /* Derived data constructed for each Huffman table */
14 | 
15 | typedef struct {
16 |   unsigned int ehufco[256];	/* code for each symbol */
17 |   char ehufsi[256];		/* length of code for each symbol */
18 |   /* If no code has been allocated for a symbol S, ehufsi[S] contains 0 */
19 | } c_derived_tbl;
20 | 
21 | /* Short forms of external names for systems with brain-damaged linkers. */
22 | 
23 | #ifdef NEED_SHORT_EXTERNAL_NAMES
24 | #define jpeg_make_c_derived_tbl	jMkCDerived
25 | #define jpeg_gen_optimal_table	jGenOptTbl
26 | #endif /* NEED_SHORT_EXTERNAL_NAMES */
27 | 
28 | /* Expand a Huffman table definition into the derived format */
29 | EXTERN void jpeg_make_c_derived_tbl JPP((j_compress_ptr cinfo,
30 | 				JHUFF_TBL * htbl, c_derived_tbl ** pdtbl));
31 | 
32 | /* Generate an optimal table definition given the specified counts */
33 | EXTERN void jpeg_gen_optimal_table JPP((j_compress_ptr cinfo,
34 | 					JHUFF_TBL * htbl, long freq[]));
35 | 


--------------------------------------------------------------------------------
/libs/jpeg6/jconfig.h:
--------------------------------------------------------------------------------
 1 | /* jconfig.wat --- jconfig.h for Watcom C/C++ on MS-DOS or OS/2. */
 2 | /* see jconfig.doc for explanations */
 3 | 
 4 | #define HAVE_PROTOTYPES
 5 | #define HAVE_UNSIGNED_CHAR
 6 | #define HAVE_UNSIGNED_SHORT
 7 | /* #define void char */
 8 | /* #define const */
 9 | #define CHAR_IS_UNSIGNED
10 | #define HAVE_STDDEF_H
11 | #define HAVE_STDLIB_H
12 | #undef NEED_BSD_STRINGS
13 | #undef NEED_SYS_TYPES_H
14 | #undef NEED_FAR_POINTERS	/* Watcom uses flat 32-bit addressing */
15 | #undef NEED_SHORT_EXTERNAL_NAMES
16 | #undef INCOMPLETE_TYPES_BROKEN
17 | 
18 | #define JDCT_DEFAULT  JDCT_FLOAT
19 | #define JDCT_FASTEST  JDCT_FLOAT
20 | 
21 | #ifdef JPEG_INTERNALS
22 | 
23 | #undef RIGHT_SHIFT_IS_UNSIGNED
24 | 
25 | #endif /* JPEG_INTERNALS */
26 | 
27 | #ifdef JPEG_CJPEG_DJPEG
28 | 
29 | #define BMP_SUPPORTED		/* BMP image file format */
30 | #define GIF_SUPPORTED		/* GIF image file format */
31 | #define PPM_SUPPORTED		/* PBMPLUS PPM/PGM image file format */
32 | #undef RLE_SUPPORTED		/* Utah RLE image file format */
33 | #define TARGA_SUPPORTED		/* Targa image file format */
34 | 
35 | #undef TWO_FILE_COMMANDLINE	/* optional */
36 | #define USE_SETMODE		/* Needed to make one-file style work in Watcom */
37 | #undef NEED_SIGNAL_CATCHER	/* Define this if you use jmemname.c */
38 | #undef DONT_USE_B_MODE
39 | #undef PROGRESS_REPORT		/* optional */
40 | 
41 | #endif /* JPEG_CJPEG_DJPEG */
42 | 


--------------------------------------------------------------------------------
/libs/jpeg6/jversion.h:
--------------------------------------------------------------------------------
 1 | /*
 2 |  * jversion.h
 3 |  *
 4 |  * Copyright (C) 1991-1995, Thomas G. Lane.
 5 |  * This file is part of the Independent JPEG Group's software.
 6 |  * For conditions of distribution and use, see the accompanying README file.
 7 |  *
 8 |  * This file contains software version identification.
 9 |  */
10 | 
11 | 
12 | #define JVERSION	"6  2-Aug-95"
13 | 
14 | #define JCOPYRIGHT	"Copyright (C) 1995, Thomas G. Lane"
15 | 


--------------------------------------------------------------------------------
/q3asm/Makefile:
--------------------------------------------------------------------------------
 1 | # yeah, couldn't do more simple really
 2 | 
 3 | CC=gcc
 4 | CFLAGS=-g -Wall
 5 | 
 6 | default:	q3asm
 7 | 
 8 | q3asm:	q3asm.c cmdlib.c
 9 | 	$(CC) $(CFLAGS) -o $@ $^
10 | 
11 | clean:
12 | 	rm -f q3asm *~ *.o
13 | 
14 | 


--------------------------------------------------------------------------------
/q3asm/README.Id:
--------------------------------------------------------------------------------
 1 | 2002-10-25  Timothee Besset <ttimo@idsoftware.com>
 2 | If you are looking for a faster version of the q3asm tool, try:
 3 | http://www.icculus.org/~phaethon/q3/q3asm-turbo/q3asm-turbo.html
 4 | 
 5 | 2001-10-31  Timothee Besset <ttimo@idsoftware.com>
 6 | updated from the $/source/q3asm code
 7 | modified for portability and use with >= 1.31 mod source release
 8 | 
 9 | the cmdlib.c cmdlib.h mathlib.h qfiles.h have been copied from
10 | $/source/common
11 | 


--------------------------------------------------------------------------------
/q3asm/lib.txt:
--------------------------------------------------------------------------------
 1 | 
 2 | strlen
 3 | strcasecmp
 4 | tolower
 5 | strcat
 6 | strncpy
 7 | strcmp
 8 | strcpy
 9 | strchr
10 | 
11 | vsprintf
12 | 
13 | memcpy
14 | memset
15 | rand
16 | 
17 | atoi
18 | atof
19 | 
20 | abs
21 | 
22 | floor
23 | fabs
24 | tan
25 | atan
26 | sqrt
27 | log
28 | cos
29 | sin
30 | atan2
31 | 
32 | 


--------------------------------------------------------------------------------
/q3asm/notes.txt:
--------------------------------------------------------------------------------
 1 | 
 2 | don't do any paramter conversion (double to float, etc)
 3 | 
 4 | 
 5 | 
 6 | Why?
 7 | 
 8 | Security.
 9 | Portability.
10 | 
11 | It may be more aproachable.
12 | 
13 | can still use regular dlls for development purposes
14 | 
15 | lcc
16 | q3asm
17 | 


--------------------------------------------------------------------------------
/q3asm/ops.txt:
--------------------------------------------------------------------------------
  1 | CNSTF,
  2 | CNSTI,
  3 | CNSTP,
  4 | CNSTU,
  5 | 
  6 | ARGB,
  7 | ARGF,
  8 | ARGI,
  9 | ARGP,
 10 | ARGU,
 11 | 
 12 | ASGNB,
 13 | ASGNF,
 14 | ASGNI,
 15 | ASGNP,
 16 | ASGNU,
 17 | 
 18 | INDIRB,
 19 | INDIRF,
 20 | INDIRI,
 21 | INDIRP,
 22 | INDIRU,
 23 | 
 24 | CVFF,
 25 | CVFI,
 26 | 
 27 | CVIF,
 28 | CVII,
 29 | CVIU,
 30 | 
 31 | CVPU,
 32 | 
 33 | CVUI,
 34 | CVUP,
 35 | CVUU,
 36 | 
 37 | NEGF,
 38 | NEGI,
 39 | 
 40 | CALLB,
 41 | CALLF,
 42 | CALLI,
 43 | CALLP,
 44 | CALLU,
 45 | CALLV,
 46 | 
 47 | RETF,
 48 | RETI,
 49 | RETP,
 50 | RETU,
 51 | RETV,
 52 | 
 53 | ADDRGP,
 54 | 
 55 | ADDRFP,
 56 | 
 57 | ADDRLP,
 58 | 
 59 | ADDF,
 60 | ADDI,
 61 | ADDP,
 62 | ADDU,
 63 | 
 64 | SUBF,
 65 | SUBI,
 66 | SUBP,
 67 | SUBU,
 68 | 
 69 | LSHI,
 70 | LSHU,
 71 | 
 72 | MODI,
 73 | MODU,
 74 | 
 75 | RSHI,
 76 | RSHU,
 77 | 
 78 | BANDI,
 79 | BANDU,
 80 | 
 81 | BCOMI,
 82 | BCOMU,
 83 | 
 84 | BORI,
 85 | BORU,
 86 | 
 87 | BXORI,
 88 | BXORU,
 89 | 
 90 | DIVF,
 91 | DIVI,
 92 | DIVU,
 93 | 
 94 | MULF,
 95 | MULI,
 96 | MULU,
 97 | 
 98 | EQF,
 99 | EQI,
100 | EQU,
101 | 
102 | GEF,
103 | GEI,
104 | GEU,
105 | 
106 | GTF,
107 | GTI,
108 | GTU,
109 | 
110 | LEF,
111 | LEI,
112 | LEU,
113 | 
114 | LTF,
115 | LTI,
116 | LTU,
117 | 
118 | NEF,
119 | NEI,
120 | NEU,
121 | 
122 | JUMPV,
123 | 
124 | LABELV,
125 | 
126 | LOADB,
127 | LOADF,
128 | LOADI,
129 | LOADP,
130 | LOADU,
131 | 
132 | 
133 | 


--------------------------------------------------------------------------------
/q3asm/q3asm.sln:
--------------------------------------------------------------------------------
 1 | Microsoft Visual Studio Solution File, Format Version 8.00
 2 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "q3asm", "q3asm.vcproj", "{E0D6B319-6F95-4ABA-9BE0-5454CAA5C8CD}"
 3 | 	ProjectSection(ProjectDependencies) = postProject
 4 | 	EndProjectSection
 5 | EndProject
 6 | Global
 7 | 	GlobalSection(SourceCodeControl) = preSolution
 8 | 		SccNumberOfProjects = 1
 9 | 		SccProjectUniqueName0 = q3asm.vcproj
10 | 		SccProjectName0 = \u0022$/source/q3asm\u0022,\u0020YUCAAAAA
11 | 		SccLocalPath0 = .
12 | 		SccProvider0 = MSSCCI:Perforce\u0020SCM
13 | 	EndGlobalSection
14 | 	GlobalSection(SolutionConfiguration) = preSolution
15 | 		Debug = Debug
16 | 		Release = Release
17 | 	EndGlobalSection
18 | 	GlobalSection(ProjectConfiguration) = postSolution
19 | 		{E0D6B319-6F95-4ABA-9BE0-5454CAA5C8CD}.Debug.ActiveCfg = Debug|Win32
20 | 		{E0D6B319-6F95-4ABA-9BE0-5454CAA5C8CD}.Debug.Build.0 = Debug|Win32
21 | 		{E0D6B319-6F95-4ABA-9BE0-5454CAA5C8CD}.Release.ActiveCfg = Release|Win32
22 | 		{E0D6B319-6F95-4ABA-9BE0-5454CAA5C8CD}.Release.Build.0 = Release|Win32
23 | 	EndGlobalSection
24 | 	GlobalSection(ExtensibilityGlobals) = postSolution
25 | 	EndGlobalSection
26 | 	GlobalSection(ExtensibilityAddIns) = postSolution
27 | 	EndGlobalSection
28 | EndGlobal
29 | 


--------------------------------------------------------------------------------
/q3map/nodraw.c:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | #include "qbsp.h"
24 | 
25 | vec3_t draw_mins, draw_maxs;
26 | qboolean	drawflag;
27 | 
28 | void Draw_ClearWindow (void)
29 | {
30 | }
31 | 
32 | //============================================================
33 | 
34 | #define	GLSERV_PORT	25001
35 | 
36 | 
37 | void GLS_BeginScene (void)
38 | {
39 | }
40 | 
41 | void GLS_Winding (winding_t *w, int code)
42 | {
43 | }
44 | 
45 | void GLS_EndScene (void)
46 | {
47 | }
48 | 


--------------------------------------------------------------------------------
/q3radiant/FNMATCH.H:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | #ifndef	_FNMATCH_H
23 | #define	_FNMATCH_H
24 | 
25 | int match(char *mask, char *name);
26 | 
27 | #endif /* fnmatch.h */
28 | 


--------------------------------------------------------------------------------
/q3radiant/ICON1.ICO:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/ICON1.ICO


--------------------------------------------------------------------------------
/q3radiant/PARSE.H:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | // parse.h -- text file parsing routines
23 | 
24 | #define	MAXTOKEN	1024
25 | 
26 | extern	char	token[MAXTOKEN];
27 | extern	int		scriptline;
28 | 
29 | // NOTE: added WINAPI call syntax to export these for plugins in _QERScripLibTable
30 | void	StartTokenParsing (char *data);
31 | qboolean WINAPI GetToken (qboolean crossline);
32 | void WINAPI UngetToken (void);
33 | qboolean TokenAvailable (void);
34 | 
35 | 


--------------------------------------------------------------------------------
/q3radiant/PMESH.H:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 


--------------------------------------------------------------------------------
/q3radiant/Radiant.rc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/Radiant.rc


--------------------------------------------------------------------------------
/q3radiant/StdAfx.cpp:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | // stdafx.cpp : source file that includes just the standard includes
23 | //	Radiant.pch will be the pre-compiled header
24 | //	stdafx.obj will contain the pre-compiled type information
25 | 
26 | #include "stdafx.h"
27 | 
28 | 


--------------------------------------------------------------------------------
/q3radiant/WIN_QE3.RC2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/WIN_QE3.RC2


--------------------------------------------------------------------------------
/q3radiant/XY.H:
--------------------------------------------------------------------------------
 1 | /*
 2 | ===========================================================================
 3 | Copyright (C) 1999-2005 Id Software, Inc.
 4 | 
 5 | This file is part of Quake III Arena source code.
 6 | 
 7 | Quake III Arena source code is free software; you can redistribute it
 8 | and/or modify it under the terms of the GNU General Public License as
 9 | published by the Free Software Foundation; either version 2 of the License,
10 | or (at your option) any later version.
11 | 
12 | Quake III Arena source code is distributed in the hope that it will be
13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 | GNU General Public License for more details.
16 | 
17 | You should have received a copy of the GNU General Public License
18 | along with Foobar; if not, write to the Free Software
19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20 | ===========================================================================
21 | */
22 | 
23 | // window system independent camera view code
24 | 
25 | typedef struct
26 | {
27 | 	int		width, height;
28 | 
29 | 	qboolean	timing;
30 | 
31 | 	vec3_t	origin;			// at center of window
32 | 	float	scale;
33 | 
34 | 	float	topclip, bottomclip;
35 | 
36 | 	qboolean d_dirty;
37 | } xy_t;
38 | 
39 | BOOL FilterBrush(brush_t *pb);
40 | 


--------------------------------------------------------------------------------
/q3radiant/res/BEVEL.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/BEVEL.BMP


--------------------------------------------------------------------------------
/q3radiant/res/BITMAP2.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/BITMAP2.BMP


--------------------------------------------------------------------------------
/q3radiant/res/BMP00001.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/BMP00001.BMP


--------------------------------------------------------------------------------
/q3radiant/res/BMP00002.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/BMP00002.BMP


--------------------------------------------------------------------------------
/q3radiant/res/BMP0002.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/BMP0002.BMP


--------------------------------------------------------------------------------
/q3radiant/res/DEFTEX.WAL:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/DEFTEX.WAL


--------------------------------------------------------------------------------
/q3radiant/res/ENDCAP.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/ENDCAP.BMP


--------------------------------------------------------------------------------
/q3radiant/res/IBEVEL.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/IBEVEL.BMP


--------------------------------------------------------------------------------
/q3radiant/res/IENDCAP.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/IENDCAP.BMP


--------------------------------------------------------------------------------
/q3radiant/res/Q.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/Q.BMP


--------------------------------------------------------------------------------
/q3radiant/res/RADIANT3.GIF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/RADIANT3.GIF


--------------------------------------------------------------------------------
/q3radiant/res/Radiant.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/Radiant.ico


--------------------------------------------------------------------------------
/q3radiant/res/Radiant.rc2:
--------------------------------------------------------------------------------
 1 | //
 2 | // RADIANT.RC2 - resources Microsoft Visual C++ does not edit directly
 3 | //
 4 | 
 5 | #ifdef APSTUDIO_INVOKED
 6 | 	#error this file is not editable by Microsoft Visual C++
 7 | #endif //APSTUDIO_INVOKED
 8 | 
 9 | 
10 | /////////////////////////////////////////////////////////////////////////////
11 | // Add manually edited resources here...
12 | 
13 | /////////////////////////////////////////////////////////////////////////////
14 | 


--------------------------------------------------------------------------------
/q3radiant/res/RadiantDoc.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/RadiantDoc.ico


--------------------------------------------------------------------------------
/q3radiant/res/TOOLBAR1.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/TOOLBAR1.BMP


--------------------------------------------------------------------------------
/q3radiant/res/TOOLBAR2.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/TOOLBAR2.BMP


--------------------------------------------------------------------------------
/q3radiant/res/Toolbar.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/Toolbar.bmp


--------------------------------------------------------------------------------
/q3radiant/res/VIEWDEFA.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/VIEWDEFA.BMP


--------------------------------------------------------------------------------
/q3radiant/res/VIEWOPPO.BMP:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/VIEWOPPO.BMP


--------------------------------------------------------------------------------
/q3radiant/res/bmp00003.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/bmp00003.bmp


--------------------------------------------------------------------------------
/q3radiant/res/icon2.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/icon2.ico


--------------------------------------------------------------------------------
/q3radiant/res/logo_sm3dfx.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/logo_sm3dfx.bmp


--------------------------------------------------------------------------------
/q3radiant/res/shaderbar.bmp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/shaderbar.bmp


--------------------------------------------------------------------------------
/q3radiant/res/shaderdoc.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/shaderdoc.ico


--------------------------------------------------------------------------------
/q3radiant/res/shaderframe.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/id-Software/Quake-III-Arena/dbe4ddb10315479fc00086f08e25d968b4b43c49/q3radiant/res/shaderframe.ico


--------------------------------------------------------------------------------
/ui/hud.txt:
--------------------------------------------------------------------------------
1 | // hud menu defs
2 | // 
3 | {
4 | 	loadMenu { "ui/hud.menu" }
5 |  	loadMenu { "ui/score.menu" }
6 | 	loadMenu { "ui/teamscore.menu" }
7 | }
8 | 


--------------------------------------------------------------------------------
/ui/hud2.txt:
--------------------------------------------------------------------------------
1 | // hud menu defs
2 | // 
3 | {
4 | 	loadMenu { "ui/min_hud.menu" }
5 |  	loadMenu { "ui/score.menu" }
6 | 	loadMenu { "ui/teamscore.menu" }
7 | }
8 | 


--------------------------------------------------------------------------------
/ui/ingame.txt:
--------------------------------------------------------------------------------
 1 | // menu defs
 2 | // 
 3 | {	
 4 |  	loadMenu { "ui/ingame.menu" }
 5 | 	loadMenu { "ui/ingame_vote.menu" }
 6 | 	loadMenu { "ui/ingame_about.menu" }
 7 | 	loadMenu { "ui/ingame_controls.menu" }
 8 | 	loadMenu { "ui/ingame_join.menu" }
 9 | 	loadMenu { "ui/ingame_options.menu" }
10 | 	loadMenu { "ui/ingame_system.menu" }
11 | 	loadMenu { "ui/ingame_leave.menu" }
12 | 	loadMenu { "ui/ingame_player.menu" }
13 | 	loadMenu { "ui/ingame_addbot.menu" }
14 | 	loadMenu { "ui/ingame_callvote.menu" }
15 | 	loadMenu { "ui/ingame_orders.menu" }
16 | }
17 | 


--------------------------------------------------------------------------------
/ui/menus.txt:
--------------------------------------------------------------------------------
 1 | // menu defs
 2 | // 
 3 | {	
 4 | 	loadMenu { "ui/main.menu" }
 5 |  	loadMenu { "ui/joinserver.menu" }
 6 |  	loadMenu { "ui/filter.menu" }
 7 | 	loadMenu { "ui/punkbuster.menu" }
 8 |  	loadMenu { "ui/player.menu" }
 9 |  	loadMenu { "ui/setup.menu" }
10 |  	loadMenu { "ui/fight.menu" }
11 |  	loadMenu { "ui/skirmish.menu" }
12 |  	loadMenu { "ui/createserver.menu" }
13 | 	loadMenu { "ui/controls.menu" }
14 | 	loadMenu { "ui/cdkey.menu" }
15 | 	loadMenu { "ui/system.menu" }
16 | 	loadMenu { "ui/options.menu" }
17 | 	loadMenu { "ui/help.menu" }
18 | 	loadMenu { "ui/ordershelp.menu" }
19 |  	loadMenu { "ui/mod.menu" }
20 | 	loadMenu { "ui/demo.menu" }
21 | 	loadMenu { "ui/cinematicmenu.menu" }
22 | 	loadMenu { "ui/credit.menu" }
23 | 	loadMenu { "ui/demo_quit.menu" }
24 | 	loadMenu { "ui/connect.menu" }
25 | 	loadMenu { "ui/powerup.menu" } 
26 | 	loadMenu { "ui/password.menu" }
27 | 	loadMenu { "ui/quake3.menu" }
28 | 	loadMenu { "ui/quit.menu" }
29 | 	loadMenu { "ui/vid_restart.menu" }
30 | 	loadMenu { "ui/default.menu" }
31 | 	loadMenu { "ui/addfilter.menu" }
32 | 	loadMenu { "ui/error.menu" }
33 | 	loadMenu { "ui/serverinfo.menu" }
34 | 	loadMenu { "ui/findplayer.menu" }
35 | 	loadMenu { "ui/endofgame.menu" }
36 | 	loadMenu { "ui/quitcredit.menu" }
37 | 	loadMenu { "ui/resetscore.menu" }
38 | 	loadMenu { "ui/createfavorite.menu" }
39 | }
40 | 


--------------------------------------------------------------------------------