├── src ├── sys │ ├── linux │ │ ├── setup │ │ │ ├── binary.conf │ │ │ ├── brandelf.c │ │ │ ├── makeself │ │ │ │ ├── TODO │ │ │ │ ├── README │ │ │ │ ├── makeself.1 │ │ │ │ ├── makeself.lsm │ │ │ │ ├── makeself.sh │ │ │ │ └── update-readme │ │ │ ├── image │ │ │ │ ├── doom3.png │ │ │ │ ├── bin │ │ │ │ │ └── Linux │ │ │ │ │ │ └── x86 │ │ │ │ │ │ ├── doom3 │ │ │ │ │ │ └── doom3-dedicated │ │ │ │ ├── openurl.sh │ │ │ │ └── setup.data │ │ │ │ │ ├── setup.xml.in │ │ │ │ │ └── postinstall.sh │ │ │ ├── lokisetup │ │ │ │ ├── loki_setup.tgz │ │ │ │ └── loki_setupdb.tgz │ │ │ ├── image-base │ │ │ │ └── setup.data │ │ │ │ │ ├── bin │ │ │ │ │ └── Linux │ │ │ │ │ │ └── x86 │ │ │ │ │ │ ├── setup │ │ │ │ │ │ └── glibc-2.1 │ │ │ │ │ │ ├── xsu │ │ │ │ │ │ └── setup.gtk │ │ │ │ │ ├── locale │ │ │ │ │ ├── de │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ ├── es │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ ├── fr │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ ├── it │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ ├── nl │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ ├── ru │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ ├── sv │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ └── en_UK │ │ │ │ │ │ └── LC_MESSAGES │ │ │ │ │ │ ├── setup.mo │ │ │ │ │ │ └── loki-uninstall.mo │ │ │ │ │ └── config.sh │ │ │ ├── image-demo │ │ │ │ ├── bin │ │ │ │ │ └── Linux │ │ │ │ │ │ └── x86 │ │ │ │ │ │ └── doom3-demo │ │ │ │ ├── setup.data │ │ │ │ │ ├── setup.xml.in │ │ │ │ │ └── postinstall.sh │ │ │ │ └── README │ │ │ ├── image-sdk │ │ │ │ └── setup.data │ │ │ │ │ ├── setup.xml.in │ │ │ │ │ └── config.sh │ │ │ └── loki_setup.patch │ │ ├── pk4 │ │ │ ├── packup-nocase.sh │ │ │ ├── packup.sh │ │ │ ├── updatepaks.sh │ │ │ └── syncfromlist.sh │ │ ├── process_undef.pl │ │ ├── qgl_enforce.h.m4 │ │ ├── runner │ │ │ └── runner.tac │ │ ├── glimp_local.h.m4 │ │ └── process.py │ ├── osx │ │ ├── macosx_common.h │ │ ├── Doom3.icns │ │ ├── showcursor │ │ ├── Doom 3.rsrc │ │ ├── English.lproj │ │ │ ├── ASLCore.nib │ │ │ │ ├── classes.nib │ │ │ │ └── info.nib │ │ │ ├── InfoPlist.strings │ │ │ ├── Localizable.strings │ │ │ ├── MainMenu.nib │ │ │ │ ├── objects.nib │ │ │ │ ├── classes.nib │ │ │ │ └── info.nib │ │ │ └── locversion.plist │ │ ├── French.lproj │ │ │ ├── ASLCore.nib │ │ │ │ ├── classes.nib │ │ │ │ └── info.nib │ │ │ ├── Localizable.strings │ │ │ ├── MainMenu.nib │ │ │ │ ├── objects.nib │ │ │ │ ├── classes.nib │ │ │ │ └── info.nib │ │ │ └── InfoPlist.strings │ │ ├── PickMonitor.cpp │ │ ├── macosx_event.mm │ │ ├── macosx_glimp.mm │ │ ├── PreferencesDialog.cpp │ │ ├── macosx_guids.cpp │ │ ├── DOOMController.h │ │ ├── macosx_glimp.h │ │ ├── macosx_local.h │ │ ├── version.plist │ │ ├── macosx_timers.h │ │ ├── macosx_display.h │ │ ├── apple_bool.h │ │ ├── Info.plist │ │ └── showcursor.c │ ├── win32 │ │ ├── rc │ │ │ ├── Radiant.rc │ │ │ └── res │ │ │ │ ├── Q.BMP │ │ │ │ ├── doom.ico │ │ │ │ ├── qe3.ico │ │ │ │ ├── BEVEL.BMP │ │ │ │ ├── BITMAP2.BMP │ │ │ │ ├── BMP0002.BMP │ │ │ │ ├── DEFTEX.WAL │ │ │ │ ├── ENDCAP.BMP │ │ │ │ ├── IBEVEL.BMP │ │ │ │ ├── IENDCAP.BMP │ │ │ │ ├── Radiant.ico │ │ │ │ ├── Toolbar.bmp │ │ │ │ ├── cchsb.bmp │ │ │ │ ├── ccrgb.bmp │ │ │ │ ├── fpoint.cur │ │ │ │ ├── guied.ico │ │ │ │ ├── icon2.ico │ │ │ │ ├── spliter.cur │ │ │ │ ├── BMP00001.BMP │ │ │ │ ├── MEtoolbar.bmp │ │ │ │ ├── RADIANT3.GIF │ │ │ │ ├── TOOLBAR1.BMP │ │ │ │ ├── TOOLBAR2.BMP │ │ │ │ ├── VIEWDEFA.BMP │ │ │ │ ├── VIEWOPPO.BMP │ │ │ │ ├── bmp00002.bmp │ │ │ │ ├── bmp00003.bmp │ │ │ │ ├── bmp00004.bmp │ │ │ │ ├── bmp00005.bmp │ │ │ │ ├── dbg_back.bmp │ │ │ │ ├── dbg_empty.ico │ │ │ │ ├── dbg_open.bmp │ │ │ │ ├── fxed_link.ico │ │ │ │ ├── fxeditor.ico │ │ │ │ ├── matedtree.bmp │ │ │ │ ├── shaderbar.bmp │ │ │ │ ├── shaderdoc.ico │ │ │ │ ├── RadiantDoc.ico │ │ │ │ ├── dbg_current.ico │ │ │ │ ├── dbg_toolbar.bmp │ │ │ │ ├── fxed_toolbar.bmp │ │ │ │ ├── guied_expand.ico │ │ │ │ ├── guied_hand.cur │ │ │ │ ├── logo_sm3dfx.bmp │ │ │ │ ├── me_enabled.ico │ │ │ │ ├── me_off_icon.ico │ │ │ │ ├── me_on_icon.ico │ │ │ │ ├── shaderframe.ico │ │ │ │ ├── MEFileToolbar.bmp │ │ │ │ ├── MaterialEditor.ico │ │ │ │ ├── dbg_breakpoint.ico │ │ │ │ ├── guied_collapse.ico │ │ │ │ ├── guied_scripts.ico │ │ │ │ ├── dbg_currentline.ico │ │ │ │ ├── guied_nav_visible.ico │ │ │ │ ├── me_disabled_icon.ico │ │ │ │ ├── guied_scripts_white.ico │ │ │ │ ├── guied_viewer_toolbar.bmp │ │ │ │ ├── guied_nav_visibledisabled.ico │ │ │ │ ├── GetString.htm │ │ │ │ └── PropTree.rc2 │ │ ├── win_input.cpp │ │ └── sdk │ │ │ └── D3SDK.nsi │ ├── AutoVersion.h │ ├── gllog │ │ ├── glX.api │ │ ├── read.py │ │ └── wgl.api │ ├── scons │ │ └── SConscript.curl │ └── stub │ │ └── util_stub.cpp ├── game │ ├── Game.def │ ├── Player_Cheats.cpp │ ├── gamesys │ │ ├── DebugGraph.h │ │ ├── SysCmds.h │ │ └── NoGameTypeInfo.h │ ├── WorldSpawn.h │ ├── IconManager.h │ ├── FreeView.h │ ├── physics │ │ ├── Physics_VehicleMonster.h │ │ ├── Force.h │ │ ├── Physics_VehicleMonster.cpp │ │ ├── Force_Constant.h │ │ ├── Physics.cpp │ │ ├── Force.cpp │ │ ├── Force_Drag.h │ │ └── Force_Spring.h │ ├── Icon.h │ ├── vehicle │ │ ├── VehicleSpline.h │ │ ├── VehicleStatic.h │ │ ├── VehicleRigid.h │ │ ├── VehicleMonster.h │ │ └── VehicleAnimated.h │ ├── mp │ │ ├── Buying.h │ │ └── stats │ │ │ └── StatWindow.h │ ├── Game_Log.h │ ├── Healing_Station.h │ ├── Instance.h │ ├── TramGate.h │ └── Sound.h ├── openal │ ├── osx │ │ └── OpenAL.framework │ │ │ ├── Versions │ │ │ ├── Current │ │ │ └── A │ │ │ │ ├── OpenAL │ │ │ │ └── Resources │ │ │ │ ├── English.lproj │ │ │ │ └── InfoPlist.strings │ │ │ │ ├── pbdevelopment.plist │ │ │ │ └── Info.plist │ │ │ ├── Headers │ │ │ ├── OpenAL │ │ │ └── Resources │ ├── docs │ │ ├── chp-queueing.sgml │ │ ├── ent-extensions.sgml │ │ ├── ent-examples.sgml │ │ ├── api-reference.html │ │ ├── specification.html │ │ ├── index.html │ │ ├── architecture.html │ │ ├── white-paper.html │ │ ├── ent-marks-reference.sgml │ │ ├── ent-marks-specification.sgml │ │ ├── ent-marks-annotated.sgml │ │ ├── ent-marks-full.sgml │ │ ├── app-constants.sgml │ │ └── app-extensionprocess.sgml │ ├── lib │ │ ├── eaxguid.lib │ │ └── openal32.lib │ └── include │ │ ├── efxlib.h │ │ └── alu.h ├── idlib │ ├── TextCompiler.cpp │ ├── Str.cpp │ ├── Lexer.cpp │ ├── math │ │ ├── Complex.cpp │ │ ├── Simd_3DNow.h │ │ ├── Simd_MMX.h │ │ ├── FFT.h │ │ └── Simd_SSE3.h │ ├── hashing │ │ ├── MD4.h │ │ ├── MD5.h │ │ ├── CRC8.h │ │ ├── CRC32.h │ │ ├── CRC16.h │ │ └── Honeyman.h │ ├── LexerFactory.h │ ├── containers │ │ ├── ListGame.h │ │ ├── Stack.h │ │ ├── PlaneSet.h │ │ └── Pair.h │ ├── AutoPtr.h │ ├── LexerFactory.cpp │ ├── geometry │ │ ├── Surface_Polytope.h │ │ └── JointTransform.cpp │ └── LangDict.h ├── MayaImport │ ├── mayaimport.def │ └── maya_main.h ├── tools │ ├── radiant │ │ ├── Z.CPP │ │ ├── QE3.CPP │ │ ├── XYWnd.cpp │ │ ├── WIN_DLG.CPP │ │ ├── WIN_QE3.CPP │ │ └── WIN_QE3.RC2 │ ├── Help │ │ ├── MT_help.htm │ │ ├── MVH_Overview.htm │ │ ├── images │ │ │ ├── Play.png │ │ │ ├── orgoff.png │ │ │ ├── stop.png │ │ │ ├── OpenAnim.png │ │ │ ├── OpenMesh.png │ │ │ ├── PrevAnim.png │ │ │ ├── animloop.png │ │ │ ├── diffuse.png │ │ │ ├── lastanim.png │ │ │ ├── nextanim.png │ │ │ ├── resetcam.png │ │ │ ├── showskel.png │ │ │ ├── showsurf.png │ │ │ ├── showtris.png │ │ │ ├── specular.png │ │ │ ├── FirstAnim.png │ │ │ ├── reloadtex.png │ │ │ ├── showbones.png │ │ │ ├── shownorms.png │ │ │ └── showoverdraw.png │ │ ├── Tools.hhk │ │ ├── default.htm │ │ ├── Tools.hhp │ │ └── MVH_Issues.htm │ ├── common │ │ └── PropTree │ │ │ ├── PropTreeView.h │ │ │ ├── PropTreeItemFileEdit.h │ │ │ └── PropTreeItemStatic.h │ ├── materialeditor │ │ └── MaterialView.cpp │ └── guied │ │ └── GEOptionsDlg.h ├── sound │ └── OggVorbis │ │ ├── ogg │ │ ├── AUTHORS │ │ ├── config_types.h.in │ │ └── COPYING │ │ ├── vorbis │ │ ├── AUTHORS │ │ └── COPYING │ │ └── vorbissrc │ │ ├── tone.c │ │ ├── window.h │ │ ├── lsp.h │ │ ├── lpc.h │ │ ├── registry.h │ │ ├── smallft.h │ │ └── lookup.h ├── doomdll.vcxproj.user ├── game.vcxproj.user ├── idlib.vcxproj.user ├── framework │ ├── BuildVersion.h │ ├── DeclPlayerModel.h │ ├── declEntityDef.h │ └── DeclMatType.cpp ├── renderer │ └── jpeg-6 │ │ ├── jversion.h │ │ ├── jconfig.h │ │ └── jchuff.h ├── _Dedicated.props ├── _idlib.props ├── _Curl.props ├── _WithMemoryLog.props ├── _WithInlines.props ├── aas │ └── AASFileManager.h ├── _TypeInfo.props ├── _Common.props ├── _Game-d3xp.props ├── _Game.props ├── _MayaImport.props ├── _Debug.props ├── ui │ └── ListGUI.h ├── _DoomDLL.props ├── _Release.props └── bse │ └── BSE_EffectTemplate.cpp ├── q4base ├── fonts │ ├── Marine_0_12.tga │ ├── Marine_0_24.tga │ ├── Marine_0_48.tga │ ├── Marine_1_24.tga │ ├── Marine_1_48.tga │ ├── Marine_2_48.tga │ ├── fontImage_12.dat │ ├── fontImage_24.dat │ ├── fontImage_48.dat │ ├── Lowpixel │ │ ├── Marine_0_12.tga │ │ ├── Marine_0_24.tga │ │ ├── Marine_0_48.tga │ │ ├── Marine_1_24.tga │ │ ├── Marine_1_48.tga │ │ ├── Marine_2_48.tga │ │ ├── fontImage_12.dat │ │ ├── fontImage_24.dat │ │ └── fontImage_48.dat │ ├── Marine │ │ ├── Marine_0_12.tga │ │ ├── Marine_0_24.tga │ │ ├── Marine_0_48.tga │ │ ├── Marine_1_24.tga │ │ ├── Marine_1_48.tga │ │ ├── Marine_2_48.tga │ │ ├── fontImage_12.dat │ │ ├── fontImage_24.dat │ │ └── fontImage_48.dat │ ├── Profont │ │ ├── Marine_0_12.tga │ │ ├── Marine_0_24.tga │ │ ├── Marine_0_48.tga │ │ ├── Marine_1_24.tga │ │ ├── Marine_1_48.tga │ │ ├── Marine_2_48.tga │ │ ├── fontImage_12.dat │ │ ├── fontImage_24.dat │ │ └── fontImage_48.dat │ └── Strogg │ │ ├── Strogg_0_12.tga │ │ ├── Strogg_0_24.tga │ │ ├── Strogg_0_48.tga │ │ ├── Strogg_1_48.tga │ │ ├── fontImage_12.dat │ │ ├── fontImage_24.dat │ │ └── fontImage_48.dat ├── materials │ └── hardwareshaders.mtr ├── glprogs │ ├── shadow.vp │ ├── nv20_diffuseColor.vp │ ├── colorProcess.vfp │ ├── environment.vfp │ └── nv20_bumpAndLight.vp └── maps │ ├── testbox.proc │ └── testdoor.proc ├── .gitignore └── README.md /src/sys/linux/setup/binary.conf: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /src/game/Game.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | GetGameAPI 3 | -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/OpenAL: -------------------------------------------------------------------------------- 1 | Versions/Current/OpenAL -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /src/idlib/TextCompiler.cpp: -------------------------------------------------------------------------------- 1 | #include "precompiled.h" 2 | #pragma hdrstop 3 | -------------------------------------------------------------------------------- /src/idlib/Str.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/idlib/Str.cpp -------------------------------------------------------------------------------- /src/idlib/Lexer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/idlib/Lexer.cpp -------------------------------------------------------------------------------- /src/sys/osx/macosx_common.h: -------------------------------------------------------------------------------- 1 | const char *macosx_scanForLibraryDirectory(void); 2 | 3 | -------------------------------------------------------------------------------- /src/sys/osx/Doom3.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/Doom3.icns -------------------------------------------------------------------------------- /src/sys/osx/showcursor: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/showcursor -------------------------------------------------------------------------------- /src/MayaImport/mayaimport.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | dllEntry 3 | Maya_ConvertModel 4 | Maya_Shutdown 5 | -------------------------------------------------------------------------------- /src/openal/docs/chp-queueing.sgml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/sys/osx/Doom 3.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/Doom 3.rsrc -------------------------------------------------------------------------------- /src/tools/radiant/Z.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/radiant/Z.CPP -------------------------------------------------------------------------------- /src/openal/lib/eaxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/openal/lib/eaxguid.lib -------------------------------------------------------------------------------- /src/openal/lib/openal32.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/openal/lib/openal32.lib -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/ASLCore.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = (); 3 | IBVersion = 1; 4 | } 5 | -------------------------------------------------------------------------------- /src/sys/osx/French.lproj/ASLCore.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = (); 3 | IBVersion = 1; 4 | } 5 | -------------------------------------------------------------------------------- /src/sys/osx/PickMonitor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/PickMonitor.cpp -------------------------------------------------------------------------------- /src/sys/osx/macosx_event.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/macosx_event.mm -------------------------------------------------------------------------------- /src/sys/osx/macosx_glimp.mm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/macosx_glimp.mm -------------------------------------------------------------------------------- /src/sys/win32/rc/Radiant.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/Radiant.rc -------------------------------------------------------------------------------- /src/sys/win32/rc/res/Q.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/Q.BMP -------------------------------------------------------------------------------- /src/sys/win32/win_input.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/win_input.cpp -------------------------------------------------------------------------------- /src/tools/Help/MT_help.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/MT_help.htm -------------------------------------------------------------------------------- /src/tools/radiant/QE3.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/radiant/QE3.CPP -------------------------------------------------------------------------------- /src/tools/radiant/XYWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/radiant/XYWnd.cpp -------------------------------------------------------------------------------- /q4base/fonts/Marine_0_12.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine_0_12.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine_0_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine_0_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine_0_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine_0_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine_1_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine_1_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine_1_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine_1_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine_2_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine_2_48.tga -------------------------------------------------------------------------------- /q4base/fonts/fontImage_12.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/fontImage_12.dat -------------------------------------------------------------------------------- /q4base/fonts/fontImage_24.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/fontImage_24.dat -------------------------------------------------------------------------------- /q4base/fonts/fontImage_48.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/fontImage_48.dat -------------------------------------------------------------------------------- /src/sys/win32/rc/res/doom.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/doom.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/qe3.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/qe3.ico -------------------------------------------------------------------------------- /src/tools/radiant/WIN_DLG.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/radiant/WIN_DLG.CPP -------------------------------------------------------------------------------- /src/tools/radiant/WIN_QE3.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/radiant/WIN_QE3.CPP -------------------------------------------------------------------------------- /src/tools/radiant/WIN_QE3.RC2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/radiant/WIN_QE3.RC2 -------------------------------------------------------------------------------- /src/sound/OggVorbis/ogg/AUTHORS: -------------------------------------------------------------------------------- 1 | Monty 2 | 3 | and the rest of the Xiph.Org Foundation. 4 | 5 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbis/AUTHORS: -------------------------------------------------------------------------------- 1 | Monty 2 | 3 | and the rest of the Xiph.org Foundation. 4 | -------------------------------------------------------------------------------- /src/sys/linux/setup/brandelf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/brandelf.c -------------------------------------------------------------------------------- /src/sys/win32/rc/res/BEVEL.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/BEVEL.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/BITMAP2.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/BITMAP2.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/BMP0002.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/BMP0002.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/DEFTEX.WAL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/DEFTEX.WAL -------------------------------------------------------------------------------- /src/sys/win32/rc/res/ENDCAP.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/ENDCAP.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/IBEVEL.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/IBEVEL.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/IENDCAP.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/IENDCAP.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/Radiant.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/Radiant.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/Toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/Toolbar.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/cchsb.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/cchsb.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/ccrgb.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/ccrgb.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/fpoint.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/fpoint.cur -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/icon2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/icon2.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/spliter.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/spliter.cur -------------------------------------------------------------------------------- /src/tools/Help/MVH_Overview.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/MVH_Overview.htm -------------------------------------------------------------------------------- /src/tools/Help/images/Play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/Play.png -------------------------------------------------------------------------------- /src/tools/Help/images/orgoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/orgoff.png -------------------------------------------------------------------------------- /src/tools/Help/images/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/stop.png -------------------------------------------------------------------------------- /src/sys/linux/setup/makeself/TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/makeself/TODO -------------------------------------------------------------------------------- /src/sys/osx/PreferencesDialog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/PreferencesDialog.cpp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/BMP00001.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/BMP00001.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/MEtoolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/MEtoolbar.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/RADIANT3.GIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/RADIANT3.GIF -------------------------------------------------------------------------------- /src/sys/win32/rc/res/TOOLBAR1.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/TOOLBAR1.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/TOOLBAR2.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/TOOLBAR2.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/VIEWDEFA.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/VIEWDEFA.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/VIEWOPPO.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/VIEWOPPO.BMP -------------------------------------------------------------------------------- /src/sys/win32/rc/res/bmp00002.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/bmp00002.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/bmp00003.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/bmp00003.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/bmp00004.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/bmp00004.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/bmp00005.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/bmp00005.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/dbg_back.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/dbg_back.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/dbg_empty.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/dbg_empty.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/dbg_open.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/dbg_open.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/fxed_link.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/fxed_link.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/fxeditor.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/fxeditor.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/matedtree.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/matedtree.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/shaderbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/shaderbar.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/shaderdoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/shaderdoc.ico -------------------------------------------------------------------------------- /src/tools/Help/images/OpenAnim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/OpenAnim.png -------------------------------------------------------------------------------- /src/tools/Help/images/OpenMesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/OpenMesh.png -------------------------------------------------------------------------------- /src/tools/Help/images/PrevAnim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/PrevAnim.png -------------------------------------------------------------------------------- /src/tools/Help/images/animloop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/animloop.png -------------------------------------------------------------------------------- /src/tools/Help/images/diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/diffuse.png -------------------------------------------------------------------------------- /src/tools/Help/images/lastanim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/lastanim.png -------------------------------------------------------------------------------- /src/tools/Help/images/nextanim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/nextanim.png -------------------------------------------------------------------------------- /src/tools/Help/images/resetcam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/resetcam.png -------------------------------------------------------------------------------- /src/tools/Help/images/showskel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/showskel.png -------------------------------------------------------------------------------- /src/tools/Help/images/showsurf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/showsurf.png -------------------------------------------------------------------------------- /src/tools/Help/images/showtris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/showtris.png -------------------------------------------------------------------------------- /src/tools/Help/images/specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/specular.png -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/Marine_0_12.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/Marine_0_12.tga -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/Marine_0_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/Marine_0_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/Marine_0_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/Marine_0_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/Marine_1_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/Marine_1_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/Marine_1_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/Marine_1_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/Marine_2_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/Marine_2_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine/Marine_0_12.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/Marine_0_12.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine/Marine_0_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/Marine_0_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine/Marine_0_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/Marine_0_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine/Marine_1_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/Marine_1_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine/Marine_1_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/Marine_1_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine/Marine_2_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/Marine_2_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Marine/fontImage_12.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/fontImage_12.dat -------------------------------------------------------------------------------- /q4base/fonts/Marine/fontImage_24.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/fontImage_24.dat -------------------------------------------------------------------------------- /q4base/fonts/Marine/fontImage_48.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Marine/fontImage_48.dat -------------------------------------------------------------------------------- /q4base/fonts/Profont/Marine_0_12.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/Marine_0_12.tga -------------------------------------------------------------------------------- /q4base/fonts/Profont/Marine_0_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/Marine_0_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Profont/Marine_0_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/Marine_0_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Profont/Marine_1_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/Marine_1_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Profont/Marine_1_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/Marine_1_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Profont/Marine_2_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/Marine_2_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Profont/fontImage_12.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/fontImage_12.dat -------------------------------------------------------------------------------- /q4base/fonts/Profont/fontImage_24.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/fontImage_24.dat -------------------------------------------------------------------------------- /q4base/fonts/Profont/fontImage_48.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Profont/fontImage_48.dat -------------------------------------------------------------------------------- /q4base/fonts/Strogg/Strogg_0_12.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Strogg/Strogg_0_12.tga -------------------------------------------------------------------------------- /q4base/fonts/Strogg/Strogg_0_24.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Strogg/Strogg_0_24.tga -------------------------------------------------------------------------------- /q4base/fonts/Strogg/Strogg_0_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Strogg/Strogg_0_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Strogg/Strogg_1_48.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Strogg/Strogg_1_48.tga -------------------------------------------------------------------------------- /q4base/fonts/Strogg/fontImage_12.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Strogg/fontImage_12.dat -------------------------------------------------------------------------------- /q4base/fonts/Strogg/fontImage_24.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Strogg/fontImage_24.dat -------------------------------------------------------------------------------- /q4base/fonts/Strogg/fontImage_48.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Strogg/fontImage_48.dat -------------------------------------------------------------------------------- /q4base/materials/hardwareshaders.mtr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/materials/hardwareshaders.mtr -------------------------------------------------------------------------------- /src/sys/linux/setup/image/doom3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image/doom3.png -------------------------------------------------------------------------------- /src/sys/linux/setup/makeself/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/makeself/README -------------------------------------------------------------------------------- /src/sys/win32/rc/res/RadiantDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/RadiantDoc.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/dbg_current.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/dbg_current.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/dbg_toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/dbg_toolbar.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/fxed_toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/fxed_toolbar.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_expand.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_expand.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_hand.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_hand.cur -------------------------------------------------------------------------------- /src/sys/win32/rc/res/logo_sm3dfx.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/logo_sm3dfx.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/me_enabled.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/me_enabled.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/me_off_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/me_off_icon.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/me_on_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/me_on_icon.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/shaderframe.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/shaderframe.ico -------------------------------------------------------------------------------- /src/tools/Help/images/FirstAnim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/FirstAnim.png -------------------------------------------------------------------------------- /src/tools/Help/images/reloadtex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/reloadtex.png -------------------------------------------------------------------------------- /src/tools/Help/images/showbones.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/showbones.png -------------------------------------------------------------------------------- /src/tools/Help/images/shownorms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/shownorms.png -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/fontImage_12.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/fontImage_12.dat -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/fontImage_24.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/fontImage_24.dat -------------------------------------------------------------------------------- /q4base/fonts/Lowpixel/fontImage_48.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/q4base/fonts/Lowpixel/fontImage_48.dat -------------------------------------------------------------------------------- /src/sys/linux/setup/makeself/makeself.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/makeself/makeself.1 -------------------------------------------------------------------------------- /src/sys/win32/rc/res/MEFileToolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/MEFileToolbar.bmp -------------------------------------------------------------------------------- /src/sys/win32/rc/res/MaterialEditor.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/MaterialEditor.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/dbg_breakpoint.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/dbg_breakpoint.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_collapse.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_collapse.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_scripts.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_scripts.ico -------------------------------------------------------------------------------- /src/tools/Help/images/showoverdraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/tools/Help/images/showoverdraw.png -------------------------------------------------------------------------------- /src/sys/linux/setup/makeself/makeself.lsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/makeself/makeself.lsm -------------------------------------------------------------------------------- /src/sys/linux/setup/makeself/makeself.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/makeself/makeself.sh -------------------------------------------------------------------------------- /src/sys/win32/rc/res/dbg_currentline.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/dbg_currentline.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_nav_visible.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_nav_visible.ico -------------------------------------------------------------------------------- /src/sys/win32/rc/res/me_disabled_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/me_disabled_icon.ico -------------------------------------------------------------------------------- /src/sys/linux/setup/lokisetup/loki_setup.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/lokisetup/loki_setup.tgz -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /src/sys/osx/French.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/French.lproj/Localizable.strings -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_scripts_white.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_scripts_white.ico -------------------------------------------------------------------------------- /src/openal/docs/ent-extensions.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /src/sys/linux/setup/lokisetup/loki_setupdb.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/lokisetup/loki_setupdb.tgz -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/Localizable.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/English.lproj/Localizable.strings -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_viewer_toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_viewer_toolbar.bmp -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/Versions/A/OpenAL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/openal/osx/OpenAL.framework/Versions/A/OpenAL -------------------------------------------------------------------------------- /src/sys/osx/French.lproj/MainMenu.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/French.lproj/MainMenu.nib/objects.nib -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/MainMenu.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/osx/English.lproj/MainMenu.nib/objects.nib -------------------------------------------------------------------------------- /src/sys/win32/rc/res/guied_nav_visibledisabled.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/win32/rc/res/guied_nav_visibledisabled.ico -------------------------------------------------------------------------------- /src/sys/linux/pk4/packup-nocase.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rm $1 3 | flip -u $2 4 | mkdir -p `dirname $1` 5 | cd /var/local/Doom/base 6 | cat $2 | zip $1 -@ 7 | 8 | -------------------------------------------------------------------------------- /src/sys/osx/macosx_guids.cpp: -------------------------------------------------------------------------------- 1 | #include "../../idlib/precompiled.h" 2 | #pragma hdrstop 3 | 4 | #define INITGUID 5 | 6 | #include "../../sound/snd_local.h" 7 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/bin/Linux/x86/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/bin/Linux/x86/setup -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/xsu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/xsu -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/doomdll.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/game.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/idlib.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/setup.gtk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/setup.gtk -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image/bin/Linux/x86/doom3: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "If you read this, then something failed during the setup" 3 | echo "See http://zerowing.idsoftware.com/linux/ for troubleshooting" 4 | -------------------------------------------------------------------------------- /src/framework/BuildVersion.h: -------------------------------------------------------------------------------- 1 | // that one is no longer updated with the Q4 source in SVN 2 | // but is used in some of the single player mishmush so I don't want to touch it 3 | const int BUILD_NUMBER = 1283; 4 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/sys/linux/setup/image-demo/bin/Linux/x86/doom3-demo: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "If you read this, then something failed during the setup" 3 | echo "See http://zerowing.idsoftware.com/linux/ for troubleshooting" 4 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image/bin/Linux/x86/doom3-dedicated: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | echo "If you read this, then something failed during the setup" 3 | echo "See http://zerowing.idsoftware.com/linux/ for troubleshooting" 4 | -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/Versions/A/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/openal/osx/OpenAL.framework/Versions/A/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atsb/gbQuake4/HEAD/src/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /src/openal/docs/ent-examples.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/sys/linux/pk4/packup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rm $1 3 | flip -u $2 4 | mkdir -p `dirname $1` 5 | cd /var/local/Doom/base 6 | cat $2 | while read i ; do find . -ipath "./$i" ; done | cut -b 3- | tee /home/timo/cased.log | zip $1 -@ 7 | 8 | -------------------------------------------------------------------------------- /src/tools/Help/Tools.hhk: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /src/tools/Help/default.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

Quake 4 tools table of contents

8 |

 

9 | 10 | 11 | -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/MainMenu.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | {CLASS = DOOMController; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 4 | {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } 5 | ); 6 | IBVersion = 1; 7 | } -------------------------------------------------------------------------------- /src/sys/osx/French.lproj/MainMenu.nib/classes.nib: -------------------------------------------------------------------------------- 1 | { 2 | IBClasses = ( 3 | {CLASS = DOOMController; LANGUAGE = ObjC; SUPERCLASS = NSObject; }, 4 | {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; } 5 | ); 6 | IBVersion = 1; 7 | } -------------------------------------------------------------------------------- /src/sys/linux/setup/makeself/update-readme: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Grab the Makeself web page 3 | 4 | echo The following was generated from http://www.megastep.org/makeself/ > README 5 | echo ----------------------- >> README 6 | echo >> README 7 | lynx -dump http://www.megastep.org/makeself/ >> README 8 | -------------------------------------------------------------------------------- /src/game/Player_Cheats.cpp: -------------------------------------------------------------------------------- 1 | #include "precompiled.h" 2 | #pragma hdrstop 3 | 4 | #include "Game_local.h" 5 | 6 | /* 7 | ============== 8 | idPlayer::HandleCheats 9 | ============== 10 | */ 11 | void idPlayer::HandleCheats() { 12 | } 13 | 14 | 15 | void idPlayer::ClearCheatState() { 16 | } 17 | -------------------------------------------------------------------------------- /src/sys/osx/French.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | CFBundleName = "Doom 3"; 4 | CFBundleShortVersionString = "1.1 b2847"; 5 | CFBundleGetInfoString = "Doom 3 version 1.1 b2847, Copyright 2006 Id Software"; 6 | NSHumanReadableCopyright = "Copyright 2006 Id Software"; 7 | -------------------------------------------------------------------------------- /src/game/gamesys/DebugGraph.h: -------------------------------------------------------------------------------- 1 | // DebugGraph.h 2 | 3 | class idDebugGraph { 4 | public: 5 | idDebugGraph(); 6 | void SetNumSamples( int num ); 7 | void AddValue( float value ); 8 | void Draw( const idVec4 &color, float scale ) const; 9 | 10 | private: 11 | idList samples; 12 | int index; 13 | }; 14 | -------------------------------------------------------------------------------- /src/tools/Help/Tools.hhp: -------------------------------------------------------------------------------- 1 | [OPTIONS] 2 | Compatibility=1.1 or later 3 | Compiled file=Tools.chm 4 | Contents file=Tools.hhc 5 | Default topic=default.htm 6 | Display compile progress=No 7 | Index file=Tools.hhk 8 | Language=0x409 English (United States) 9 | Title=Quake 4 Tools Help File 10 | 11 | 12 | [INFOTYPES] 13 | 14 | -------------------------------------------------------------------------------- /src/game/gamesys/SysCmds.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __SYS_CMDS_H__ 3 | #define __SYS_CMDS_H__ 4 | 5 | void D_DrawDebugLines( void ); 6 | 7 | void KillEntities( const idCmdArgs &args, const idTypeInfo &superClass ); 8 | 9 | void GiveStuffToPlayer( idPlayer* player, const char* name, const char* value ); 10 | 11 | #endif /* !__SYS_CMDS_H__ */ 12 | -------------------------------------------------------------------------------- /src/openal/docs/api-reference.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | OpenAL API Reference 6 | 7 | 8 | 9 |

OpenAL API Reference

10 |

11 | This document has been removed. 12 |

13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/ogg/config_types.h.in: -------------------------------------------------------------------------------- 1 | #ifndef __CONFIG_TYPES_H__ 2 | #define __CONFIG_TYPES_H__ 3 | 4 | /* these are filled in by configure */ 5 | typedef @SIZE16@ ogg_int16_t; 6 | typedef @USIZE16@ ogg_uint16_t; 7 | typedef @SIZE32@ ogg_int32_t; 8 | typedef @USIZE32@ ogg_uint32_t; 9 | typedef @SIZE64@ ogg_int64_t; 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /src/idlib/math/Complex.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "precompiled.h" 3 | #pragma hdrstop 4 | 5 | idComplex complex_origin( 0.0f, 0.0f ); 6 | 7 | /* 8 | ============= 9 | idComplex::ToString 10 | ============= 11 | */ 12 | const char *idComplex::ToString( int precision ) const { 13 | return idStr::FloatArrayToString( ToFloatPtr(), GetDimension(), precision ); 14 | } 15 | -------------------------------------------------------------------------------- /src/openal/docs/specification.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | OpenAL Specification 6 | 7 | 8 | 9 | 10 |

OpenAL Specification

11 |

12 | This document has been removed. 13 | See Index 14 | for the specification. 15 |

16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image/openurl.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # opening URLs into your favorite web browser 3 | # feel free to tweak this to your needs 4 | 5 | if [ x`which firefox` != x ] 6 | then 7 | firefox "$1" 8 | elif [ x`which mozilla` != x ] 9 | then 10 | mozilla "$1" 11 | elif [ x`which opera` != x ] 12 | then 13 | opera "$1" 14 | else 15 | xterm -e lynx "$1" 16 | fi 17 | 18 | -------------------------------------------------------------------------------- /src/openal/docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Index 6 | 7 | 8 | 9 | 10 |

Index

11 |

12 | This document has been removed. 13 | See www.openal.org 14 | for information. 15 |

16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/openal/docs/architecture.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenAL Architecture 5 | 6 | 7 | 8 |

OpenAL Architecture

9 |

10 | This document has been removed. 11 | See Index 12 | for the specification. 13 |

14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/openal/docs/white-paper.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | OpenAL Whitepaper 5 | 6 | 7 | 8 |

OpenAL Whitepaper

9 |

10 | This document has been removed. 11 | See Index 12 | for the specification. 13 |

14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/Versions/A/Resources/pbdevelopment.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PBXProjectSourcePath 6 | /Users/mmarks/Development/OpenAL/openal/macosx/al_osx.xcode 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/sys/AutoVersion.h: -------------------------------------------------------------------------------- 1 | #ifndef __AUTO_VERSION_HEADER 2 | #define __AUTO_VERSION_HEADER 3 | 4 | // used by the .rc files 5 | #define VERSION_MAJOR_RELEASE 1 6 | #define VERSION_MINOR_RELEASE 4 7 | #define VERSION_INTERNAL_BUILD 2 8 | #define VERSION_BUILD_NUMBER 0 9 | 10 | #define VERSION_STRING "1, 4, 2, 0" 11 | #define VERSION_STRING_DOTTED "1.4.2" 12 | 13 | #endif // __AUTO_VERSION_HEADER 14 | -------------------------------------------------------------------------------- /src/sys/osx/DOOMController.h: -------------------------------------------------------------------------------- 1 | // $Header: /Network/CIFS/Limbo/Limbo/CVS/id/missionpack/code/macosx/Client/DOOMController.h,v 1.2 2000/11/14 04:38:34 zaphod Exp $ 2 | 3 | #import 4 | 5 | @interface DOOMController : NSObject 6 | { 7 | // IBOutlet NSPanel *bannerPanel; 8 | } 9 | 10 | //- (IBAction)paste:(id)sender; 11 | //- (IBAction)requestTerminate:(id)sender; 12 | 13 | //- (void) showBanner; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /src/renderer/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 | -------------------------------------------------------------------------------- /src/sys/gllog/glX.api: -------------------------------------------------------------------------------- 1 | XVisualInfo *;qglX;ChooseVisual;Display *dpy, int screen, int *attribList 2 | GLXContext;qglX;CreateContext;Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct 3 | void;qglX;DestroyContext;Display *dpy, GLXContext ctx 4 | Bool;qglX;MakeCurrent;Display *dpy, GLXDrawable drawable, GLXContext ctx 5 | void;qglX;SwapBuffers;Display *dpy, GLXDrawable drawable 6 | GLExtension_t;qglX;GetProcAddressARB;const GLubyte *procName 7 | -------------------------------------------------------------------------------- /src/sys/win32/rc/res/GetString.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 15 | 16 |
7 |
8 | 9 |
13 | TODO: Place controls here. 14 |
17 | 18 | 19 | -------------------------------------------------------------------------------- /src/idlib/hashing/MD4.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __MD4_H__ 3 | #define __MD4_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Calculates a checksum for a block of data 9 | using the MD4 message-digest algorithm. 10 | 11 | =============================================================================== 12 | */ 13 | 14 | unsigned int MD4_BlockChecksum( const void *data, int length ); 15 | 16 | #endif /* !__MD4_H__ */ 17 | -------------------------------------------------------------------------------- /src/idlib/hashing/MD5.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __MD5_H__ 3 | #define __MD5_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Calculates a checksum for a block of data 9 | using the MD5 message-digest algorithm. 10 | 11 | =============================================================================== 12 | */ 13 | 14 | unsigned int MD5_BlockChecksum( const void *data, int length ); 15 | 16 | #endif /* !__MD5_H__ */ 17 | -------------------------------------------------------------------------------- /src/sys/osx/macosx_glimp.h: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #ifndef GL_EXT_abgr 5 | #include 6 | #endif 7 | 8 | // This can be defined to use the CGLMacro.h support which avoids looking up 9 | // the current context. 10 | //#define USE_CGLMACROS 11 | 12 | #ifdef USE_CGLMACROS 13 | #include "macosx_local.h" 14 | #define cgl_ctx glw_state._cgl_ctx 15 | #include 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /src/sys/win32/rc/res/PropTree.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // PROPTREE.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 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-sdk/setup.data/setup.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | License.SDK.txt 5 | 6 | 7 | README.SDK.txt 8 | 9 | doom3-sdk 10 | 19 | 20 | -------------------------------------------------------------------------------- /q4base/glprogs/shadow.vp: -------------------------------------------------------------------------------- 1 | !!ARBvp1.0 2 | 3 | TEMP R0; 4 | 5 | # RO = OPOS - light, assumes light.w = 0 6 | SUB R0, vertex.position, program.env[4]; 7 | 8 | # RO -= OPOS.w * light 9 | MAD R0, R0.wwww, program.env[4], R0; 10 | 11 | # normal transform 12 | DP4 result.position.x, R0, state.matrix.mvp.row[0]; 13 | DP4 result.position.y, R0, state.matrix.mvp.row[1]; 14 | DP4 result.position.z, R0, state.matrix.mvp.row[2]; 15 | DP4 result.position.w, R0, state.matrix.mvp.row[3]; 16 | 17 | END 18 | -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/locversion.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LprojCompatibleVersion 6 | 116.2 7 | LprojLocale 8 | en 9 | LprojRevisionLevel 10 | 1 11 | LprojVersion 12 | 116.2 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/sys/osx/macosx_local.h: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | #include "../sys_public.h" 5 | 6 | void OutputDebugString( const char *text ); 7 | 8 | // input 9 | void Sys_InitInput( void ); 10 | void Sys_ShutdownInput( void ); 11 | 12 | void IN_DeactivateMouse( void); 13 | void IN_ActivateMouse( void); 14 | 15 | void IN_Activate (bool active); 16 | void IN_Frame (void); 17 | 18 | void * wglGetProcAddress(const char *name); 19 | 20 | void Sleep( const int time ); 21 | 22 | void Sys_UpdateWindowMouseInputRect( void ); 23 | -------------------------------------------------------------------------------- /src/sys/osx/version.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildVersion 6 | 1 7 | CFBundleShortVersionString 8 | 0.1 9 | CFBundleVersion 10 | 0.1 11 | ProjectName 12 | NibPBTemplates 13 | SourceVersion 14 | 1160200 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/_Dedicated.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Dedicated 6 | 7 | 8 | 9 | ID_DEDICATED;%(PreprocessorDefinitions) 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/sys/linux/process_undef.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env perl 2 | # send linker output to stdin 3 | # make 2>&1 | process_undef.pl 4 | 5 | my %symbols; 6 | open($list, "cat $ARGV[0] " . '| grep \'undefined reference\' | grep -v \'more undefined\' | sed -e \'s/.*undefined reference to `\(.*\)./\1/\' |'); 7 | my $line = <$list>; 8 | do 9 | { 10 | chop($line); 11 | $symbols{$line}++; 12 | } until (!($line = <$list>)); 13 | 14 | @sorted = sort { $symbols{$b} <=> $symbols{$a} } keys %symbols; 15 | 16 | foreach (@sorted) 17 | { 18 | print "$symbols{$_} : $_\n"; 19 | }; 20 | 21 | -------------------------------------------------------------------------------- /src/idlib/LexerFactory.h: -------------------------------------------------------------------------------- 1 | #ifndef __LEXERFACTORY_H__ 2 | #define __LEXERFACTORY_H__ 3 | 4 | class LexerFactory 5 | { 6 | public: 7 | 8 | static Lexer *MakeLexer( int flags ); 9 | static Lexer *MakeLexer( char const * const filename, int flags = 0, bool OSPath = false ); 10 | static Lexer *MakeLexer( char const * const ptr, int length, char const * const name, int flags = 0 ); 11 | 12 | private: 13 | static int GetReadBinary(); 14 | static int GetWriteBinary(); 15 | 16 | // disallow default constructor 17 | LexerFactory(); 18 | ~LexerFactory(); 19 | }; 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /src/sys/osx/macosx_timers.h: -------------------------------------------------------------------------------- 1 | #ifdef OMNI_TIMER 2 | 3 | #import 4 | 5 | extern OTTimerNode *RootNode; 6 | extern OTTimerNode *FrameNode; 7 | extern OTTimerNode *UpdateScreenNode; 8 | extern OTTimerNode *SurfaceMeshNode; 9 | extern OTTimerNode *LerpMeshVertexesNode; 10 | extern OTTimerNode *LerpMeshVertexesNode1; 11 | extern OTTimerNode *LerpMeshVertexesNode2; 12 | extern OTTimerNode *VectorArrayNormalizeNode; 13 | 14 | extern void InitializeTimers(); 15 | extern void PrintTimers(); 16 | 17 | #endif // OMNI_TIMER 18 | -------------------------------------------------------------------------------- /src/sys/osx/macosx_display.h: -------------------------------------------------------------------------------- 1 | #include "macosx_local.h" 2 | 3 | @class NSDictionary; 4 | 5 | extern NSDictionary *Sys_GetMatchingDisplayMode( glimpParms_t parms ); 6 | 7 | extern void Sys_StoreGammaTables(); 8 | extern void Sys_GetGammaTable(glwgamma_t *table); 9 | extern void Sys_SetScreenFade(glwgamma_t *table, float fraction); 10 | 11 | extern void Sys_FadeScreens(); 12 | extern void Sys_FadeScreen(CGDirectDisplayID display); 13 | extern void Sys_UnfadeScreens(); 14 | extern void Sys_UnfadeScreen(CGDirectDisplayID display, glwgamma_t *table); 15 | extern void Sys_ReleaseAllDisplays(); 16 | 17 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-sdk/setup.data/config.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Use this script to customize the installer bootstrap script 3 | # 4 | 5 | # override some defaults 6 | 7 | # try to get root prior to running setup? 8 | # 0: no 9 | # 1: prompt, but run anyway if fails 10 | # 2: require, abort if root fails 11 | GET_ROOT=0 12 | 13 | FATAL_ERROR="Error running installer. See http://zerowing.idsoftware.com/linux/ for troubleshooting" 14 | 15 | #XSU_ICON="-i icon.xpm" 16 | 17 | #SU_MESSAGE="It is recommended to run this installation as root.\nPlease enter the root password, or hit return to continue as user" 18 | -------------------------------------------------------------------------------- /src/_idlib.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>idlib 6 | 7 | 8 | 9 | __IDLIB__;%(PreprocessorDefinitions) 10 | Use 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/_Curl.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Curl Library 6 | 7 | 8 | 9 | Level3 10 | USRDLL;CURLLIB_EXPORTS;%(PreprocessorDefinitions) 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/_WithMemoryLog.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>With Memory Log 6 | 7 | 8 | 9 | ID_REDIRECT_NEWDELETE;ID_DEBUG_MEMORY;ID_DEBUG_UNINITIALIZED_MEMORY;%(PreprocessorDefinitions) 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/idlib/math/Simd_3DNow.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __MATH_SIMD_3DNOW_H__ 3 | #define __MATH_SIMD_3DNOW_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | 3DNow! implementation of idSIMDProcessor 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idSIMD_3DNow : public idSIMD_MMX { 14 | #ifdef _WIN32 15 | public: 16 | virtual const char * VPCALL GetName( void ) const; 17 | 18 | virtual void VPCALL Memcpy( void *dst, const void *src, const int count ); 19 | 20 | #endif 21 | }; 22 | 23 | #endif /* !__MATH_SIMD_3DNOW_H__ */ 24 | -------------------------------------------------------------------------------- /src/_WithInlines.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>With Inlines 6 | 7 | 8 | 9 | OnlyExplicitInline 10 | _INLINEDEBUG;%(PreprocessorDefinitions) 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/idlib/hashing/CRC8.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __CRC8_H__ 3 | #define __CRC8_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Calculates a checksum for a block of data 9 | using the CRC-8. 10 | 11 | =============================================================================== 12 | */ 13 | 14 | void CRC8_InitChecksum( unsigned char &crcvalue ); 15 | void CRC8_UpdateChecksum( unsigned char &crcvalue, const void *data, int length ); 16 | void CRC8_FinishChecksum( unsigned char &crcvalue ); 17 | unsigned char CRC8_BlockChecksum( const void *data, int length ); 18 | 19 | #endif /* !__CRC8_H__ */ 20 | -------------------------------------------------------------------------------- /src/idlib/hashing/CRC32.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __CRC32_H__ 3 | #define __CRC32_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Calculates a checksum for a block of data 9 | using the CRC-32. 10 | 11 | =============================================================================== 12 | */ 13 | 14 | void CRC32_InitChecksum( unsigned int &crcvalue ); 15 | void CRC32_UpdateChecksum( unsigned int &crcvalue, const void *data, int length ); 16 | void CRC32_FinishChecksum( unsigned int &crcvalue ); 17 | unsigned int CRC32_BlockChecksum( const void *data, int length ); 18 | 19 | #endif /* !__CRC32_H__ */ 20 | -------------------------------------------------------------------------------- /src/aas/AASFileManager.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __AASFILEMANAGER_H__ 3 | #define __AASFILEMANAGER_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | AAS File Manager 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idAASFileManager { 14 | public: 15 | virtual ~idAASFileManager( void ) {} 16 | 17 | virtual idAASFile * LoadAAS( const char *fileName, unsigned int mapFileCRC ) = 0; 18 | virtual void FreeAAS( idAASFile *file ) = 0; 19 | }; 20 | 21 | extern idAASFileManager * AASFileManager; 22 | 23 | #endif /* !__AASFILEMANAGER_H__ */ 24 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-demo/setup.data/setup.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | License.txt 5 | 6 | 7 | README 8 | 9 | M4_PRODUCT 10 | 24 | 25 | -------------------------------------------------------------------------------- /src/idlib/hashing/CRC16.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __CRC16_H__ 3 | #define __CRC16_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Calculates a checksum for a block of data 9 | using the CCITT standard CRC-16. 10 | 11 | =============================================================================== 12 | */ 13 | 14 | void CRC16_InitChecksum( unsigned short &crcvalue ); 15 | void CRC16_UpdateChecksum( unsigned short &crcvalue, const void *data, int length ); 16 | void CRC16_FinishChecksum( unsigned short &crcvalue ); 17 | unsigned short CRC16_BlockChecksum( const void *data, int length ); 18 | 19 | #endif /* !__CRC16_H__ */ 20 | -------------------------------------------------------------------------------- /src/game/WorldSpawn.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __GAME_WORLDSPAWN_H__ 3 | #define __GAME_WORLDSPAWN_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | World entity. 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idWorldspawn : public idEntity { 14 | public: 15 | CLASS_PROTOTYPE( idWorldspawn ); 16 | 17 | ~idWorldspawn(); 18 | 19 | void Spawn( void ); 20 | 21 | void Save( idRestoreGame *savefile ); 22 | void Restore( idRestoreGame *savefile ); 23 | 24 | private: 25 | void Event_Remove( void ); 26 | }; 27 | 28 | #endif /* !__GAME_WORLDSPAWN_H__ */ 29 | -------------------------------------------------------------------------------- /src/sys/gllog/read.py: -------------------------------------------------------------------------------- 1 | # utility module to process incoming GL description 2 | 3 | import sys, string 4 | 5 | def read_gl(f_in): 6 | buffer = f_in.read() 7 | lines = string.split(buffer, '\n') 8 | 9 | gl = [] 10 | wgl = [] 11 | glX = [] 12 | 13 | for line in lines: 14 | if ( len(line) ): # drop empty lines 15 | tokens = string.split(line, ';') 16 | if ( tokens[1] == 'qgl' ): 17 | gl.append(tokens) 18 | elif ( tokens[1] == 'qwgl' ): 19 | wgl.append(tokens) 20 | elif ( tokens[1] == 'qglX' ): 21 | glX.append(tokens) 22 | else: 23 | sys.stderr.write('ERROR: unknown type %s\n' % tokens[1]) 24 | raise "abort" 25 | 26 | return (gl, wgl, glX) 27 | -------------------------------------------------------------------------------- /src/sys/osx/French.lproj/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 122 224 668 368 0 0 1280 1002 7 | IBEditorPositions 8 | 9 | 29 10 | 540 899 103 44 0 0 1680 1028 11 | 12 | IBFramework Version 13 | 364.0 14 | IBOpenObjects 15 | 16 | 29 17 | 18 | IBSystem Version 19 | 7W98 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/MainMenu.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 122 224 668 368 0 0 1280 1002 7 | IBEditorPositions 8 | 9 | 29 10 | 403 875 119 44 0 0 1280 1002 11 | 12 | IBFramework Version 13 | 364.0 14 | IBOpenObjects 15 | 16 | 29 17 | 18 | IBSystem Version 19 | 7M34 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/_TypeInfo.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>TypeInfo 6 | 7 | 8 | 9 | ID_ENABLE_CURL=0;ID_TYPEINFO;__DOOM_DLL__;%(PreprocessorDefinitions) 10 | Use 11 | 12 | 13 | Console 14 | 15 | 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Prerequisites 2 | *.d 3 | 4 | # Compiled Object files 5 | *.slo 6 | *.lo 7 | *.o 8 | *.obj 9 | 10 | # Precompiled Headers 11 | *.gch 12 | *.pch 13 | 14 | # Compiled Dynamic libraries 15 | *.so 16 | *.dylib 17 | *.dll 18 | 19 | # Fortran module files 20 | *.mod 21 | *.smod 22 | 23 | # Compiled Static libraries 24 | *.lai 25 | *.la 26 | *.a 27 | /Win32/Release/idlib.lib 28 | 29 | # Executables 30 | *.exe 31 | *.out 32 | *.app 33 | *.tlog 34 | *.txt 35 | *.pdb 36 | *.log 37 | *.recipe 38 | *.map 39 | *.opendb 40 | *.db-wal 41 | *.db-shm 42 | *.db 43 | *.ipch 44 | *.bin 45 | *.lock 46 | *.vsidx 47 | src/.vs/q4sdk/v17/.suo 48 | *.lib 49 | *.exp 50 | *.res 51 | *.filters 52 | *.filters 53 | src/doomdll.vcxproj.filters 54 | -------------------------------------------------------------------------------- /src/sys/osx/English.lproj/ASLCore.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 644 134 374 387 0 0 1280 1002 7 | IBEditorPositions 8 | 9 | 29 10 | 130 495 95 44 0 0 1600 1002 11 | 12 | IBFramework Version 13 | 364.0 14 | IBOldestOS 15 | 3 16 | IBSystem Version 17 | 7W98 18 | targetFramework 19 | IBCarbonFramework 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/sys/osx/French.lproj/ASLCore.nib/info.nib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IBDocumentLocation 6 | 929 140 374 387 0 0 1680 1028 7 | IBEditorPositions 8 | 9 | 29 10 | 249 423 95 44 0 0 1680 1028 11 | 12 | IBFramework Version 13 | 364.0 14 | IBOldestOS 15 | 3 16 | IBSystem Version 17 | 7U16 18 | targetFramework 19 | IBCarbonFramework 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/idlib/math/Simd_MMX.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __MATH_SIMD_MMX_H__ 3 | #define __MATH_SIMD_MMX_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | MMX implementation of idSIMDProcessor 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idSIMD_MMX : public idSIMD_Generic { 14 | #if defined( _WIN32 ) || defined( __linux__ ) 15 | public: 16 | virtual const char * VPCALL GetName( void ) const; 17 | 18 | virtual void VPCALL Memcpy( void *dst, const void *src, const int count ); 19 | virtual void VPCALL Memset( void *dst, const int val, const int count ); 20 | 21 | #endif 22 | }; 23 | 24 | #endif /* !__MATH_SIMD_MMX_H__ */ 25 | -------------------------------------------------------------------------------- /src/idlib/hashing/Honeyman.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __HONEYMAN_H__ 3 | #define __HONEYMAN_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Calculates a checksum for a block of data 9 | using the simplified version of the pathalias hashing 10 | function by Steve Belovin and Peter Honeyman. 11 | 12 | =============================================================================== 13 | */ 14 | 15 | void Honeyman_InitChecksum( unsigned int &crcvalue ); 16 | void Honeyman_UpdateChecksum( unsigned int &crcvalue, const void *data, int length ); 17 | void Honeyman_FinishChecksum( unsigned int &crcvalue ); 18 | unsigned int Honeyman_BlockChecksum( const void *data, int length ); 19 | 20 | #endif /* !__HONEYMAN_H__ */ 21 | -------------------------------------------------------------------------------- /src/idlib/math/FFT.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __MATH_FFT_H__ 3 | #define __MATH_FFT_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Fast Fourier Transform 9 | 10 | =============================================================================== 11 | */ 12 | 13 | // complex number 14 | typedef struct { 15 | float re; 16 | float im; 17 | } cpxFloat_t; 18 | 19 | class idFFT { 20 | public: 21 | // RAVEN BEGIN 22 | // jscott: added stride to 1D, created 2D 23 | static void FFT1D( cpxFloat_t *data, int N, int ISI, int stride = 1 ); 24 | static void FFT2D( cpxFloat_t *data, int N, int ISI ); 25 | static void FFT3D( cpxFloat_t *data, int N, int ISI ); 26 | // RAVEN END 27 | }; 28 | 29 | #endif /* !__MATH_FFT_H__ */ 30 | -------------------------------------------------------------------------------- /src/sys/osx/apple_bool.h: -------------------------------------------------------------------------------- 1 | 2 | // With GCC and xCode, a bool is 4 bytes. There are two approaches to 3 | // making bool one byte. You could #define bool as an unsigned char. The downside 4 | // is that a function that take bool and one that takes a char will no longer have a unique function 5 | // signature. You could #define bool to custom class that defines a bool operator, which 6 | // fixes the function signature but includes others problems such as bool bitfields, 7 | // classes that have a bool operator, C function that accept ... as a param, the keyword 8 | // volatile. 9 | 10 | // The following approach works for the best for Doom because of the above issues, bitfields 11 | // especially 12 | 13 | #ifdef bool 14 | #undef bool 15 | #endif 16 | 17 | #define bool unsigned char 18 | 19 | -------------------------------------------------------------------------------- /src/sys/linux/pk4/updatepaks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | echo "current pak files: $1" 4 | echo "expanded updated source: $2" 5 | echo "new pak file: $3" 6 | echo "press a key" 7 | read 8 | 9 | TMPDIR=`mktemp -d -t` 10 | 11 | ls "$1/"*.pk4 | while read i ; do unzip -l $i | cut -b 29- | tee $TMPDIR/`basename $i`.log ; done 12 | 13 | ls $TMPDIR/*.log | while read i ; do lines=`cat $i | wc -l` ; tail +4 $i | head -$(( $lines - 5 )) | tee $TMPDIR/`basename $i`.2 ; done 14 | 15 | # check cutting off 16 | #ls $TMPDIR/*.log | while read i ; do diff $i $i.2 ; done 17 | 18 | cat $TMPDIR/*.log.2 | sort -u | tee $TMPDIR/sorted-unique.log 19 | 20 | # now the magical zip command 21 | cd $2 22 | rm $3 23 | cat $TMPDIR/sorted-unique.log | zip -b $TMPDIR $3 -@ 1>/dev/null 24 | 25 | md5sum $3 26 | echo "done." 27 | 28 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-demo/README: -------------------------------------------------------------------------------- 1 | DOOM III Linux Demo 2 | =================== 3 | 4 | Minimum system requirements: 5 | ---------------------------- 6 | 7 | GNU/Linux system, 8 | Pentium III, 1Ghz 9 | 256Mb RAM 10 | Kernel 2.4, 2.6 is recommended 11 | glibc 2.2.4 and up 12 | 13 | 3D card: 14 | NV10 or R200 minimum hardware 15 | OpenGL hardware acceleration 16 | 64 MB VRAM 17 | 18 | sound card, OSS or Alsa, stereo sound and 5.1 are supported with both APIs 19 | Alsa version 1.0.6 or above is required 20 | 21 | Installation instructions: 22 | -------------------------- 23 | 24 | By default, the setup will install the files to 25 | /usr/local/games/doom3-demo 26 | 27 | Start the demo with the command: doom3-demo 28 | 29 | For troubleshooting and help, see: 30 | http://zerowing.idsoftware.com/linux/ 31 | 32 | -------------------------------------------------------------------------------- /src/idlib/containers/ListGame.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __LIST_GAME_H__ 3 | #define __LIST_GAME_H__ 4 | 5 | // GCC 4 compiles templates when they are encountered in a source file, 6 | // not when they are used. Therefore all references, must be resolved. 7 | // RemoveContents() from idLib\List.h references global variables only 8 | // available in the GAME DLL. 9 | 10 | /* 11 | ================ 12 | idList::RemoveContents 13 | ================ 14 | */ 15 | template< class type > 16 | ID_INLINE void idList::RemoveContents( bool clear ) { 17 | RemoveNull(); 18 | 19 | for( int ix = Num() - 1; ix >= 0; --ix ) { 20 | list[ ix ]->PostEventMS( &EV_Remove, 0 ); 21 | list[ ix ] = NULL; 22 | } 23 | 24 | if ( clear ) { 25 | Clear(); 26 | } else { 27 | memset( list, 0, Allocated() ); 28 | } 29 | } 30 | 31 | #endif // __LIST_GAME_H__ 32 | -------------------------------------------------------------------------------- /src/game/IconManager.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // IconManager.h 3 | // 4 | // Copyright 2002-2004 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __ICONMANAGER_H__ 8 | #define __ICONMANAGER_H__ 9 | 10 | #include "Icon.h" 11 | 12 | const int ICON_STAY_TIME = 2000; 13 | 14 | class rvIconManager { 15 | public: 16 | void AddIcon( int clientNum, const char* iconName ); 17 | void UpdateIcons( void ); 18 | void UpdateTeamIcons( void ); 19 | void UpdateChatIcons( void ); 20 | void Shutdown( void ); 21 | 22 | private: 23 | idList > icons[ MAX_CLIENTS ]; 24 | rvIcon teamIcons[ MAX_CLIENTS ]; 25 | rvIcon chatIcons[ MAX_CLIENTS ]; 26 | }; 27 | 28 | extern rvIconManager* iconManager; 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # gbQuake4 2 | gbQuake4 is an attempt at merging the Quake 4 SDK into my own gbDoom3 port to produce a Quake 4 source port 3 | 4 | # status 5 | gbQuake4 can be built (as both x64 and x86) but can only be currently played as a 32bit game. Work in ongoing to get it x64 compatible throughout the codebase. 6 | 7 | # playing 8 | gbQuake4 needs the GOG/Steam releases and cannot be played with the original 2005 release CD ROM. This is due to differences in structure and location of game data within the pak files and in some scripts. 9 | 10 | # buggy bug bugs 11 | Lots of bugs. However, the most game-breaking ones are that 'some' doors stay closed and won't open (collision issues) and the menu system is unusable due to it not displaying correctly. Other than that, it is playable. 12 | 13 | # contributing 14 | Code, PR, merge and repeat. No issues with me. 15 | -------------------------------------------------------------------------------- /q4base/glprogs/nv20_diffuseColor.vp: -------------------------------------------------------------------------------- 1 | !!ARBvp1.0 OPTION ARB_position_invariant ; 2 | 3 | # VPROG_NV_DIFFUSE_COLOR 4 | # 5 | # input: 6 | # 7 | # TEX0 texture coordinates 8 | # COL0 vertex color 9 | # 10 | # output: 11 | # 12 | # HPOS homogeneous clip space position 13 | # TEX0 will be the per-surface diffuse map 14 | # TEX1 will be the light projection texture 15 | 16 | # textures 0 takes the base coordinates by the texture matrix 17 | DP4 result.texcoord[0].x, vertex.texcoord[0], program.env[12]; 18 | DP4 result.texcoord[0].y, vertex.texcoord[0], program.env[13]; 19 | 20 | # texture 1 has three texgens 21 | DP4 result.texcoord[1].x, vertex.position, program.env[6]; 22 | DP4 result.texcoord[1].y, vertex.position, program.env[7]; 23 | DP4 result.texcoord[1].w, vertex.position, program.env[8]; 24 | 25 | # copy color 26 | MOV result.color, vertex.color; 27 | 28 | END 29 | -------------------------------------------------------------------------------- /src/sys/osx/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | Doom 3 9 | CFBundleIconFile 10 | Doom3.icns 11 | CFBundleIdentifier 12 | com.idsoftware.doom3 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundlePackageType 16 | APPL 17 | CFBundleSignature 18 | DOM3 19 | CFBundleVersion 20 | 3000 21 | NSMainNibFile 22 | MainMenu 23 | NSPrincipalClass 24 | NSApplication 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/_Common.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Common Project Properties 6 | ..\build\$(PlatformName)\$(Configuration)\ 7 | ..\build\$(PlatformName)\$(Configuration)\intermediate\$(ProjectName)\ 8 | 9 | 10 | 11 | WIN32;_WINDOWS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;;%(PreprocessorDefinitions) 12 | Level4 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /src/game/FreeView.h: -------------------------------------------------------------------------------- 1 | #ifndef __FREEVIEW_H__ 2 | #define __FREEVIEW_H__ 3 | 4 | class idPhysics_Player; 5 | 6 | class idFreeView { 7 | public: 8 | 9 | idFreeView() { physics = NULL; snapAngle = false; } 10 | 11 | ~idFreeView(); 12 | 13 | // start free flying from this client's current position 14 | void SetFreeView( int clientNum ); 15 | 16 | // pick a random spawn in the map 17 | void PickRandomSpawn( void ); 18 | 19 | // update view and position 20 | void Fly( const usercmd_t &ucmd ); 21 | 22 | void Draw( void ); 23 | 24 | bool Initialized( void ) const { return physics != NULL; } 25 | 26 | void Shutdown( void ); 27 | 28 | const idVec3 & GetOrigin( void ); 29 | 30 | private: 31 | 32 | void Setup( void ); 33 | 34 | renderView_t view; 35 | idPhysics_Player *physics; 36 | idAngles viewAngles; 37 | 38 | bool snapAngle; 39 | idAngles viewAngleOffset; 40 | }; 41 | 42 | #endif 43 | -------------------------------------------------------------------------------- /src/game/physics/Physics_VehicleMonster.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __PHYSICS_VEHICLE_MONSTER_H__ 3 | #define __PHYSICS_VEHICLE_MONSTER_H__ 4 | 5 | /* 6 | =================================================================================== 7 | 8 | Vehicle Monster Physics 9 | 10 | Employs an impulse based dynamic simulation which is not very accurate but 11 | relatively fast and still reliable due to the continuous collision detection. 12 | Extents particle physics with the ability to apply impulses. 13 | 14 | =================================================================================== 15 | */ 16 | 17 | class rvPhysics_VehicleMonster : public idPhysics_RigidBody { 18 | public: 19 | CLASS_PROTOTYPE( rvPhysics_VehicleMonster ); 20 | 21 | bool Evaluate ( int timeStepMSec, int endTimeMSec ); 22 | void SetGravity ( const idVec3 & v ); 23 | }; 24 | 25 | #endif /* !__PHYSICS_VEHICLE_MONSTER_H__ */ 26 | -------------------------------------------------------------------------------- /src/game/Icon.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // Icon.h 3 | // 4 | // Copyright 2002-2004 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __ICON_H__ 8 | #define __ICON_H__ 9 | 10 | class rvIcon { 11 | public: 12 | rvIcon(); 13 | ~rvIcon(); 14 | void UpdateIcon( const idVec3 &origin, const idMat3 &axis ); 15 | qhandle_t CreateIcon( const char *mtr, int suppressViewID = 0 ); 16 | void FreeIcon( void ); 17 | qhandle_t GetHandle( void ) const; 18 | 19 | int GetHeight( void ) const; 20 | int GetWidth( void ) const; 21 | private: 22 | void Draw( jointHandle_t joint ); 23 | void Draw( const idVec3 &origin ); 24 | 25 | renderEntity_t renderEnt; 26 | qhandle_t iconHandle; 27 | }; 28 | 29 | ID_INLINE qhandle_t rvIcon::GetHandle( void ) const { 30 | return iconHandle; 31 | } 32 | 33 | #endif /* !_ICON_H_ */ 34 | 35 | -------------------------------------------------------------------------------- /src/openal/docs/ent-marks-reference.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/openal/osx/OpenAL.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | OpenAL 9 | CFBundleGetInfoString 10 | OpenAL 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | OpenAL 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | OpenAL 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0.1d1 23 | CSResourcesFileMapped 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /src/openal/docs/ent-marks-specification.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/openal/docs/ent-marks-annotated.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/openal/docs/ent-marks-full.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/sys/linux/qgl_enforce.h.m4: -------------------------------------------------------------------------------- 1 | dnl ===================================================== 2 | dnl utils 3 | dnl ===================================================== 4 | 5 | define(`forloop', 6 | `pushdef(`$1', `$2')_forloop(`$1', `$2', `$3', `$4')popdef(`$1')') 7 | define(`_forloop', 8 | `$4`'ifelse($1, `$3', , 9 | `define(`$1', incr($1))_forloop(`$1', `$2', `$3', `$4')')') 10 | 11 | dnl ===================================================== 12 | dnl the gl wgl glX definitions 13 | dnl ===================================================== 14 | include(../gllog/gl_def.m4) 15 | 16 | dnl ===================================================== 17 | dnl issue the defines to lock out gl usage 18 | dnl ===================================================== 19 | define(`define_out', `#define gl$1 use_qgl$1') 20 | forloop(`i', gl_start, gl_end, `define_out(indir(`f'i`_name')) 21 | ') 22 | forloop(`i', glX_start, glX_end, `define_out(indir(`f'i`_name')) 23 | ') 24 | 25 | -------------------------------------------------------------------------------- /src/_Game-d3xp.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Game d3xp Library 6 | 7 | 8 | 9 | __DOOM__;GAME_DLL;_D3XP;CTF;%(PreprocessorDefinitions) 10 | %(AdditionalIncludeDirectories) 11 | 12 | 13 | $(OutDir)gamex86.dll 14 | .\d3xp\game.def 15 | 16 | 17 | ..\build\Win32\"$(Configuration)"\TypeInfo.exe 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/MayaImport/maya_main.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __MAYA_MAIN_H__ 3 | #define __MAYA_MAIN_H__ 4 | 5 | /* 6 | ============================================================== 7 | 8 | Maya Import 9 | 10 | ============================================================== 11 | */ 12 | 13 | // RAVEN BEGIN 14 | // rhummer: unify allocation strategy to try to eliminate some of our crashes 15 | #ifdef RV_UNIFIED_ALLOCATOR 16 | typedef bool ( *exporterDLLEntry_t )( int version, idCommon *common, idSys *sys, void *(*allocator)(size_t size), void (*deallocator)(void *), size_t (*msize)(void *) ); 17 | #else 18 | typedef bool ( *exporterDLLEntry_t )( int version, idCommon *common, idSys *sys ); 19 | #endif 20 | // RAVEN END 21 | // RAVEN BEGIN 22 | // bdube: default src and dest ospath's 23 | typedef const char *( *exporterInterface_t )( const char *src_ospath, const char* dst_ospath, const char *commandline ); 24 | // RAVEN END 25 | typedef void ( *exporterShutdown_t )( void ); 26 | 27 | #endif /* !__MAYA_MAIN_H__ */ 28 | -------------------------------------------------------------------------------- /src/_Game.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Game Library 6 | 7 | 8 | 9 | __DOOM__;GAME_DLL;%(PreprocessorDefinitions) 10 | %(AdditionalIncludeDirectories) 11 | 12 | 13 | 14 | 15 | $(OutDir)gamex86.dll 16 | .\game\game.def 17 | 18 | 19 | ..\build\Win32\"$(Configuration)"\TypeInfo.exe 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/game/physics/Force.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __FORCE_H__ 3 | #define __FORCE_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Force base class 9 | 10 | A force object applies a force to a physics object. 11 | 12 | =============================================================================== 13 | */ 14 | 15 | class idEntity; 16 | class idPhysics; 17 | 18 | class idForce : public idClass { 19 | 20 | public: 21 | CLASS_PROTOTYPE( idForce ); 22 | 23 | idForce( void ); 24 | virtual ~idForce( void ); 25 | static void DeletePhysics( const idPhysics *phys ); 26 | static void ClearForceList( void ); 27 | 28 | public: // common force interface 29 | // evalulate the force up to the given time 30 | virtual void Evaluate( int time ); 31 | // removes any pointers to the physics object 32 | virtual void RemovePhysics( const idPhysics *phys ); 33 | 34 | private: 35 | 36 | static idList forceList; 37 | }; 38 | 39 | #endif /* !__FORCE_H__ */ 40 | -------------------------------------------------------------------------------- /src/sys/linux/runner/runner.tac: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | import string 3 | 4 | from twisted.application import service, internet 5 | 6 | from runner_lib import doomService 7 | 8 | maps_file = open( 'maps.list.full' ) 9 | multiplayer = 0 10 | 11 | # maps_file = open( 'maps.list.mp' ) 12 | # multiplayer = 1 13 | 14 | # maps_file = open( 'maps.list.game' ) 15 | # multiplayer = 0 16 | 17 | blank_run = 1 18 | 19 | maps = maps_file.readlines() 20 | maps_file.close() 21 | for i in range( 0, len(maps) ): 22 | maps[i] = string.strip( maps[i], '\n' ) 23 | 24 | application = service.Application( "doomRunner" ) 25 | doomService( '/home/timo/runner/doom.x86', '+set r_fullscreen 0 +set in_nograb 1 +set si_pure 0 +set com_makingBuild 1 +set s_forceWav 1 +set s_maxSoundsPerShader 0 +set s_constantAmplitude 1 +set fs_devpath /home/timo/Id/DoomPure +set fs_basepath /home/timo/Id/DoomBase +set fs_cdpath /home/timo/Id/DoomBase.smbfs +set fs_copyfiles 3', maps, sort = 1, multiplayer = multiplayer, blank_run = blank_run ).setServiceParent( application ) 26 | -------------------------------------------------------------------------------- /src/sys/linux/glimp_local.h.m4: -------------------------------------------------------------------------------- 1 | dnl ===================================================== 2 | dnl utils 3 | dnl ===================================================== 4 | 5 | define(`forloop', 6 | `pushdef(`$1', `$2')_forloop(`$1', `$2', `$3', `$4')popdef(`$1')') 7 | define(`_forloop', 8 | `$4`'ifelse($1, `$3', , 9 | `define(`$1', incr($1))_forloop(`$1', `$2', `$3', `$4')')') 10 | 11 | dnl ===================================================== 12 | dnl the gl wgl glX definitions 13 | dnl ===================================================== 14 | include(../gllog/gl_def.m4) 15 | 16 | dnl ===================================================== 17 | dnl dll funcs declare 18 | dnl ===================================================== 19 | 20 | define(`declare_funcptr', `extern `$1' ( * dll`$2' )(`$3');') 21 | forloop(`i', gl_start, gl_end, `declare_funcptr(indir(`f'i`_ret'), indir(`f'i`_name'), indir(`f'i`_params')) 22 | ') 23 | forloop(`i', glX_start, glX_end, `declare_funcptr(indir(`f'i`_ret'), indir(`f'i`_name'), indir(`f'i`_params')) 24 | ') 25 | -------------------------------------------------------------------------------- /src/tools/Help/MVH_Issues.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |

Known issues

10 |

* The animations always start from the first animation when the play 11 | button is hit.

12 |

* The bounding box will still deform as if the model is animating while the 13 | animation is stopped.

14 |

* Player cocking weapon sound on startup

15 |

* Player assets load on startup. This makes the startup longer than it should 16 | be.

17 |

* Unchecking or deleting an animation in the sequence will continue to play that 18 | animation until it finishes.

19 |

* Animations do not blend together

20 |

 

21 |

 

22 | 23 | 24 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-demo/setup.data/postinstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # create the wrapper 3 | 4 | create_link() 5 | { 6 | 7 | echo "#!/bin/sh 8 | # Needed to make symlinks/shortcuts work. 9 | # the binaries must run with correct working directory 10 | cd \"$1\" 11 | export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:. 12 | exec ./$BINARY \"\$@\" 13 | " > "$1/$TARGET" 14 | 15 | chmod a+x "$1/$TARGET" 16 | 17 | # and then we must symlink to this 18 | # can't be done from setup.xml because it would symlink the binary 19 | if [ -n "$SETUP_SYMLINKSPATH" ] && [ -d "$SETUP_SYMLINKSPATH" ] 20 | then 21 | # the symlink might already exists, in case we will remove it 22 | if [ -h "$SETUP_SYMLINKSPATH/$TARGET" ] 23 | then 24 | echo "Removing existing $TARGET symlink" 25 | rm "$SETUP_SYMLINKSPATH/$TARGET" 26 | fi 27 | echo "Installing symlink $SETUP_SYMLINKSPATH/$TARGET -> $1/$TARGET" 28 | ln -s "$1/$TARGET" "$SETUP_SYMLINKSPATH/$TARGET" 29 | fi 30 | } 31 | 32 | BINARY=doom.x86 33 | TARGET=doom3-demo 34 | create_link "$1" 35 | -------------------------------------------------------------------------------- /src/game/vehicle/VehicleSpline.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // VehicleSpline.h 3 | // 4 | // Copyright 2002-2004 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __GAME_VEHICLESPLINECOUPLING_H__ 8 | #define __GAME_VEHICLESPLINECOUPLING_H__ 9 | 10 | class rvVehicleSpline : public rvVehicle { 11 | public: 12 | CLASS_PROTOTYPE( rvVehicleSpline ); 13 | 14 | rvVehicleSpline ( void ); 15 | ~rvVehicleSpline ( void ); 16 | 17 | void Spawn ( void ); 18 | void Save ( idSaveGame *savefile ) const; 19 | void Restore ( idRestoreGame *savefile ); 20 | 21 | void Think ( void ); 22 | 23 | void Event_PostSpawn ( void ); 24 | void Event_SetSpline ( idEntity * spline ); 25 | void Event_DoneMoving ( void ); 26 | 27 | protected: 28 | rvPhysics_Spline physicsObj; 29 | idMat3 angleOffset; 30 | float idealSpeed; 31 | float accelWithStrafe; 32 | }; 33 | 34 | #endif // __GAME_VEHICLESPLINECOUPLING_H__ 35 | -------------------------------------------------------------------------------- /src/game/physics/Physics_VehicleMonster.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "precompiled.h" 3 | #pragma hdrstop 4 | 5 | #include "../Game_local.h" 6 | 7 | CLASS_DECLARATION( idPhysics_RigidBody, rvPhysics_VehicleMonster ) 8 | END_CLASS 9 | 10 | /* 11 | ================ 12 | rvPhysics_VehicleMonster::Evaluate 13 | 14 | Evaluate the impulse based rigid body physics. 15 | When a collision occurs an impulse is applied at the moment of impact but 16 | the remaining time after the collision is ignored. 17 | ================ 18 | */ 19 | bool rvPhysics_VehicleMonster::Evaluate( int timeStepMSec, int endTimeMSec ) { 20 | if ( idPhysics_RigidBody::Evaluate( timeStepMSec, endTimeMSec ) ) { 21 | 22 | idAngles euler = current.i.orientation.ToAngles(); 23 | euler.pitch = 0.0f; 24 | euler.roll = 0.0f; 25 | current.i.orientation = euler.ToMat3(); 26 | 27 | return true; 28 | } 29 | 30 | return false; 31 | } 32 | 33 | void rvPhysics_VehicleMonster::SetGravity ( const idVec3 & v ) { 34 | gravityVector = v; 35 | gravityNormal = gameLocal.GetGravity( ); 36 | gravityNormal.Normalize(); 37 | } 38 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image/setup.data/setup.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | License.txt 5 | 6 | 7 | README 8 | 9 | M4_PRODUCT 10 | 33 | 42 | 43 | -------------------------------------------------------------------------------- /src/game/mp/Buying.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // Buying.h 3 | // 4 | // Copyright 2005 Ritual Entertainment 5 | // 6 | // This file essentially serves as an extension to the Game DLL 7 | // source files Multiplayer.h and Player.h, in an attempt 8 | // to isolate, as much as possible, these changes from the main 9 | // body of code (for merge simplification, etc). 10 | //---------------------------------------------------------------- 11 | 12 | #ifndef __BUYING_H__ 13 | #define __BUYING_H__ 14 | 15 | #include "../Game_local.h" 16 | #include "../MultiplayerGame.h" 17 | 18 | 19 | class riBuyingManager 20 | { 21 | private: 22 | const idDeclEntityDef* _buyingGameBalanceConstants; 23 | int opponentKillCashAward; // latch 24 | int opponentKillFragCount; 25 | 26 | public: 27 | riBuyingManager(); 28 | ~riBuyingManager(); 29 | 30 | int GetIntValueForKey( const char* keyName, int defaultValue ); 31 | int GetOpponentKillCashAward( void ); 32 | 33 | void Reset( void ) { opponentKillFragCount = -1; } 34 | }; 35 | 36 | 37 | #endif // __BUYING_H__ 38 | -------------------------------------------------------------------------------- /src/game/vehicle/VehicleStatic.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // VehicleStatic.h 3 | // 4 | // Copyright 2002-2004 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __GAME_VEHICLESTATIC_H__ 8 | #define __GAME_VEHICLESTATIC_H__ 9 | 10 | #ifndef __GAME_VEHICLE_H__ 11 | #include "Vehicle.h" 12 | #endif 13 | 14 | class rvVehicleStatic : public rvVehicle 15 | { 16 | public: 17 | 18 | CLASS_PROTOTYPE( rvVehicleStatic ); 19 | 20 | rvVehicleStatic ( void ); 21 | ~rvVehicleStatic ( void ); 22 | 23 | void Spawn ( void ); 24 | 25 | virtual int AddDriver ( int position, idActor* driver ); 26 | virtual bool RemoveDriver ( int position, bool force = false ); 27 | 28 | virtual void UpdateHUD ( idActor* driver, idUserInterface* gui ); 29 | 30 | void Event_ScriptedAnim ( const char* animname, int blendFrames, bool loop, bool endWithIdle ); 31 | void Event_ScriptedDone ( void ); 32 | void Event_ScriptedStop ( void ); 33 | }; 34 | 35 | #endif // __GAME_VEHICLESTATIC_H__ 36 | -------------------------------------------------------------------------------- /src/tools/common/PropTree/PropTreeView.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "PropTree.h" 4 | // CPropTreeView view 5 | 6 | #define IDC_PROPERTYTREE 100 7 | 8 | class CPropTreeView : public CFormView 9 | { 10 | DECLARE_DYNCREATE(CPropTreeView) 11 | 12 | protected: 13 | CPropTree m_Tree; 14 | 15 | protected: 16 | CPropTreeView(); // protected constructor used by dynamic creation 17 | virtual ~CPropTreeView(); 18 | 19 | public: 20 | virtual void OnDraw(CDC* pDC); // overridden to draw this view 21 | #ifdef _DEBUG 22 | virtual void AssertValid() const; 23 | virtual void Dump(CDumpContext& dc) const; 24 | #endif 25 | 26 | CPropTree& GetPropertyTreeCtrl() { return m_Tree; }; 27 | 28 | protected: 29 | DECLARE_MESSAGE_MAP() 30 | 31 | public: 32 | virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, 33 | DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, 34 | CCreateContext* pContext = NULL); 35 | 36 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 37 | afx_msg void OnSize(UINT nType, int cx, int cy); 38 | afx_msg void OnPaint(); 39 | }; 40 | 41 | 42 | -------------------------------------------------------------------------------- /src/game/Game_Log.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __GAME_LOG_H__ 3 | #define __GAME_LOG_H__ 4 | 5 | //============================================================================ 6 | 7 | class rvGameLogLocal : public rvGameLog { 8 | public: 9 | 10 | rvGameLogLocal ( void ); 11 | 12 | virtual void Init ( void ); 13 | virtual void Shutdown ( void ); 14 | 15 | virtual void BeginFrame ( int time ); 16 | virtual void EndFrame ( void ); 17 | 18 | virtual void Set ( const char* keyword, int value ); 19 | virtual void Set ( const char* keyword, float value ); 20 | virtual void Set ( const char* keyword, const char* value ); 21 | virtual void Set ( const char* keyword, bool value ); 22 | 23 | virtual void Add ( const char* keyword, int value ); 24 | virtual void Add ( const char* keyword, float value ); 25 | 26 | protected: 27 | 28 | int lastTime; 29 | int indexCount; 30 | idStrList index; 31 | idStrList frame; 32 | idStrList oldframe; 33 | idFile* file; 34 | bool initialized; 35 | idTimer timer_fps; 36 | }; 37 | 38 | extern rvGameLogLocal gameLogLocal; 39 | 40 | #endif // __GAME_LOG_H__ 41 | -------------------------------------------------------------------------------- /src/_MayaImport.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>MayaImport Library 6 | 7 | 8 | 9 | mssdk/include;MayaImport/Maya5.0;%(AdditionalIncludeDirectories) 10 | _USRDLL;MAYAIMPORT_EXPORTS;MAYA_IMPORT;REQUIRE_IOSTREAM;%(PreprocessorDefinitions) 11 | Use 12 | Level3 13 | 14 | 15 | Foundation.lib;OpenMaya.lib;OpenMayaAnim.lib;%(AdditionalDependencies) 16 | MayaImport/maya5.0/libs;%(AdditionalLibraryDirectories) 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image-base/setup.data/config.sh: -------------------------------------------------------------------------------- 1 | # 2 | # Use this script to customize the installer bootstrap script 3 | # 4 | 5 | # override some defaults 6 | 7 | # try to get root prior to running setup? 8 | # 0: no 9 | # 1: prompt, but run anyway if fails 10 | # 2: require, abort if root fails 11 | # 3: print SU_MESSAGE if not root, don't attempt any privilege upgrade 12 | GET_ROOT=1 13 | 14 | FATAL_ERROR="Error running installer. See http://zerowing.idsoftware.com/linux/doom/ for troubleshooting" 15 | 16 | #XSU_ICON="-i icon.xpm" 17 | 18 | SU_MESSAGE="The recommended install location (/usr/local/games) requires root permissions.\nPlease enter the root password or hit enter to continue install as current user." 19 | XSU_MESSAGE="The recommended install location (/usr/local/games) requires root permissions.^Please enter the root password or hit cancel to continue install as current user." 20 | 21 | rm -f /usr/local/games/tmp.$$ > /dev/null 2>&1 22 | touch /usr/local/games/tmp.$$ > /dev/null 2>&1 23 | status="$?" 24 | if [ "$status" -eq 0 ] 25 | then 26 | rm -f /usr/local/games/tmp.$$ 27 | GET_ROOT=0 28 | else 29 | GET_ROOT=1 30 | fi 31 | -------------------------------------------------------------------------------- /src/sys/linux/setup/image/setup.data/postinstall.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # create the wrapper 3 | 4 | create_link() 5 | { 6 | 7 | echo "#!/bin/sh 8 | # Needed to make symlinks/shortcuts work. 9 | # the binaries must run with correct working directory 10 | cd \"$1\" 11 | export LD_LIBRARY_PATH=\$LD_LIBRARY_PATH:. 12 | exec ./$BINARY \"\$@\" 13 | " > "$1/$TARGET" 14 | 15 | chmod a+x "$1/$TARGET" 16 | 17 | # and then we must symlink to this 18 | # can't be done from setup.xml because it would symlink the binary 19 | if [ -n "$SETUP_SYMLINKSPATH" ] && [ -d "$SETUP_SYMLINKSPATH" ] 20 | then 21 | # the symlink might already exists, in case we will remove it 22 | if [ -h "$SETUP_SYMLINKSPATH/$TARGET" ] 23 | then 24 | echo "Removing existing $TARGET symlink" 25 | rm "$SETUP_SYMLINKSPATH/$TARGET" 26 | fi 27 | echo "Installing symlink $SETUP_SYMLINKSPATH/$TARGET -> $1/$TARGET" 28 | ln -s "$1/$TARGET" "$SETUP_SYMLINKSPATH/$TARGET" 29 | fi 30 | } 31 | 32 | BINARY=doom.x86 33 | TARGET=doom3 34 | create_link "$1" 35 | BINARY=doomded.x86 36 | TARGET=doom3-dedicated 37 | create_link "$1" 38 | 39 | chmod +x "$1/openurl.sh" 40 | -------------------------------------------------------------------------------- /src/game/mp/stats/StatWindow.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // StatWindow.h 3 | // 4 | // Copyright 2002-2005 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __STATWINDOW_H__ 8 | #define __STATWINDOW_H__ 9 | 10 | /* 11 | =============================================================================== 12 | 13 | Stat selection window 14 | 15 | =============================================================================== 16 | */ 17 | 18 | class rvStatWindow { 19 | public: 20 | rvStatWindow(); 21 | void SetupStatWindow( idUserInterface* statHud, bool useSpectator = false ); 22 | void SelectPlayer( int clientNum ); 23 | int ClientNumFromSelection( int selectionIndex, int selectionTeam ); 24 | void ClearWindow( void ); 25 | int GetSelectedClientNum( int* selectionIndexOut, int* selectionTeamOut ); 26 | private: 27 | idList stroggPlayers; 28 | idList marinePlayers; 29 | idList players; 30 | idList spectators; 31 | 32 | idUserInterface* statHud; 33 | }; 34 | 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /src/openal/include/efxlib.h: -------------------------------------------------------------------------------- 1 | /* 2 | */ 3 | 4 | #ifndef __EFXLIBH 5 | #define __EFXLIBH 6 | 7 | #include "eax4.h" 8 | 9 | 10 | 11 | 12 | /////////////////////////////////////////////////////////// 13 | // Class definitions. 14 | class idSoundEffect 15 | { 16 | public: 17 | idSoundEffect() { 18 | }; 19 | ~idSoundEffect() { 20 | if ( data && datasize ) { 21 | Mem_Free( data ); 22 | data = NULL; 23 | } 24 | } 25 | 26 | idStr name; 27 | int datasize; 28 | void *data; 29 | }; 30 | 31 | class idEFXFile 32 | { 33 | private: 34 | 35 | protected: 36 | // Protected data members. 37 | 38 | public: 39 | // Public data members. 40 | 41 | private: 42 | 43 | public: 44 | idEFXFile(); 45 | ~idEFXFile(); 46 | 47 | bool FindEffect( idStr &name, idSoundEffect **effect, int *index ); 48 | bool ReadEffect( idLexer &lexer, idSoundEffect *effect ); 49 | bool LoadFile( const char *filename, bool OSPath = false ); 50 | void UnloadFile( void ); 51 | void Clear( void ); 52 | 53 | idListeffects; 54 | }; 55 | /////////////////////////////////////////////////////////// 56 | 57 | 58 | 59 | 60 | #endif // __EFXLIBH 61 | 62 | -------------------------------------------------------------------------------- /src/sys/gllog/wgl.api: -------------------------------------------------------------------------------- 1 | int ;qwgl;SwapIntervalEXT; int interval 2 | int ;qwgl;ChoosePixelFormat ;HDC, CONST PIXELFORMATDESCRIPTOR * 3 | int ;qwgl;DescribePixelFormat;HDC, int, UINT, LPPIXELFORMATDESCRIPTOR 4 | int ;qwgl;GetPixelFormat;HDC 5 | BOOL ;qwgl;SetPixelFormat;HDC, int, CONST PIXELFORMATDESCRIPTOR * 6 | BOOL ;qwgl;SwapBuffers;HDC 7 | BOOL ;qwgl;CopyContext;HGLRC, HGLRC, UINT 8 | HGLRC ;qwgl;CreateContext;HDC 9 | HGLRC ;qwgl;CreateLayerContext;HDC, int 10 | BOOL ;qwgl;DeleteContext;HGLRC 11 | HGLRC ;qwgl;GetCurrentContext;VOID 12 | HDC ;qwgl;GetCurrentDC;VOID 13 | PROC ;qwgl;GetProcAddress;LPCSTR 14 | BOOL ;qwgl;MakeCurrent;HDC, HGLRC 15 | BOOL ;qwgl;ShareLists;HGLRC, HGLRC 16 | BOOL ;qwgl;UseFontBitmaps;HDC, DWORD, DWORD, DWORD 17 | BOOL ;qwgl;UseFontOutlines;HDC, DWORD, DWORD, DWORD, FLOAT, FLOAT, int, LPGLYPHMETRICSFLOAT 18 | BOOL ;qwgl;DescribeLayerPlane;HDC, int, int, UINT, LPLAYERPLANEDESCRIPTOR 19 | int ;qwgl;SetLayerPaletteEntries;HDC, int, int, int, CONST COLORREF * 20 | int ;qwgl;GetLayerPaletteEntries;HDC, int, int, int, COLORREF * 21 | BOOL ;qwgl;RealizeLayerPalette;HDC, int, BOOL 22 | BOOL ;qwgl;SwapLayerBuffers;HDC, UINT 23 | -------------------------------------------------------------------------------- /src/idlib/math/Simd_SSE3.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __MATH_SIMD_SSE3_H__ 3 | #define __MATH_SIMD_SSE3_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | SSE3 implementation of idSIMDProcessor 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idSIMD_SSE3 : public idSIMD_SSE2 { 14 | #ifdef _WIN32 15 | public: 16 | virtual const char * VPCALL GetName( void ) const; 17 | 18 | virtual void VPCALL TransformVertsNew( idDrawVert *verts, const int numVerts, idBounds &bounds, const idJointMat *joints, const idVec4 *base, const jointWeight_t *weights, const int numWeights ); 19 | virtual void VPCALL TransformVertsAndTangents( idDrawVert *verts, const int numVerts, idBounds &bounds, const idJointMat *joints, const idVec4 *base, const jointWeight_t *weights, const int numWeights ); 20 | virtual void VPCALL TransformVertsAndTangentsFast( idDrawVert *verts, const int numVerts, idBounds &bounds, const idJointMat *joints, const idVec4 *base, const jointWeight_t *weights, const int numWeights ); 21 | 22 | #endif 23 | }; 24 | 25 | #endif /* !__MATH_SIMD_SSE3_H__ */ 26 | -------------------------------------------------------------------------------- /src/sys/win32/sdk/D3SDK.nsi: -------------------------------------------------------------------------------- 1 | SetCompressor lzma 2 | 3 | ; HM NIS Edit Wizard helper defines 4 | !define PRODUCT_NAME "Doom 3 SDK" 5 | !define PRODUCT_VERSION "1.3.1" 6 | !define PRODUCT_PUBLISHER "id Software" 7 | !define PRODUCT_WEB_SITE "http://www.iddevnet.com" 8 | 9 | ; MUI 1.67 compatible ------ 10 | !include "MUI.nsh" 11 | 12 | ; MUI Settings 13 | !define MUI_ABORTWARNING 14 | !define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico" 15 | 16 | ; MUI Pages 17 | !insertmacro MUI_PAGE_WELCOME 18 | !define MUI_LICENSEPAGE_RADIOBUTTONS 19 | !insertmacro MUI_PAGE_LICENSE "Doom3_SDK\EULA.Development Kit.rtf" 20 | !insertmacro MUI_PAGE_DIRECTORY 21 | !insertmacro MUI_PAGE_INSTFILES 22 | !insertmacro MUI_PAGE_FINISH 23 | 24 | ; Language files 25 | !insertmacro MUI_LANGUAGE "English" 26 | 27 | ; MUI end ------ 28 | 29 | Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" 30 | OutFile "D3_${PRODUCT_VERSION}_SDK.exe" 31 | InstallDir "C:\Doom3_SDK\" 32 | ShowInstDetails show 33 | 34 | Section "MainSection" SEC01 35 | SetOutPath "$INSTDIR" 36 | SetOverwrite ifnewer 37 | File /R "Doom3_SDK\*.*" 38 | SectionEnd 39 | 40 | Section -Post 41 | SectionEnd 42 | 43 | -------------------------------------------------------------------------------- /src/idlib/AutoPtr.h: -------------------------------------------------------------------------------- 1 | #ifndef __AUTOPTR_H__ 2 | #define __AUTOPTR_H__ 3 | 4 | 5 | // this class is NOT safe for array new's. It will not properly call 6 | // the destructor for each element and you will silently leak memory. 7 | // it does work for classes requiring no destructor however(base types) 8 | template 9 | class idAutoPtr 10 | { 11 | public: 12 | explicit idAutoPtr(type *ptr = 0) 13 | : mPtr(ptr) 14 | { 15 | } 16 | 17 | ~idAutoPtr() 18 | { 19 | delete mPtr; 20 | } 21 | 22 | type &operator*() const 23 | { 24 | return *mPtr; 25 | } 26 | 27 | type *operator->() const 28 | { 29 | return &**this; 30 | } 31 | 32 | type *get() const 33 | { 34 | return mPtr; 35 | } 36 | 37 | type *release() 38 | { 39 | type *ptr = mPtr; 40 | mPtr = NULL; 41 | return ptr; 42 | } 43 | 44 | void reset(type *ptr = NULL) 45 | { 46 | if (ptr != mPtr) 47 | delete mPtr; 48 | mPtr = ptr; 49 | } 50 | 51 | operator type*() 52 | { 53 | return get(); 54 | } 55 | 56 | private: 57 | // disallow copies 58 | idAutoPtr &operator=(idAutoPtr& ptr); 59 | idAutoPtr(idAutoPtr& ptr); 60 | 61 | type *mPtr; 62 | }; 63 | 64 | #endif 65 | -------------------------------------------------------------------------------- /src/game/physics/Force_Constant.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __FORCE_CONSTANT_H__ 3 | #define __FORCE_CONSTANT_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Constant force 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idForce_Constant : public idForce { 14 | 15 | public: 16 | CLASS_PROTOTYPE( idForce_Constant ); 17 | 18 | idForce_Constant( void ); 19 | virtual ~idForce_Constant( void ); 20 | 21 | 22 | void Save( idSaveGame *savefile ) const; 23 | void Restore( idRestoreGame *savefile ); 24 | 25 | // constant force 26 | void SetForce( const idVec3 &force ); 27 | // set force position 28 | void SetPosition( idPhysics *physics, int id, const idVec3 &point ); 29 | 30 | void SetPhysics( idPhysics *physics ); 31 | 32 | public: // common force interface 33 | virtual void Evaluate( int time ); 34 | virtual void RemovePhysics( const idPhysics *phys ); 35 | 36 | private: 37 | // force properties 38 | idVec3 force; 39 | idPhysics * physics; 40 | int id; 41 | idVec3 point; 42 | }; 43 | 44 | #endif /* !__FORCE_CONSTANT_H__ */ 45 | -------------------------------------------------------------------------------- /src/game/physics/Physics.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "precompiled.h" 3 | #pragma hdrstop 4 | 5 | #include "../Game_local.h" 6 | 7 | ABSTRACT_DECLARATION( idClass, idPhysics ) 8 | END_CLASS 9 | 10 | 11 | /* 12 | ================ 13 | idPhysics::~idPhysics 14 | ================ 15 | */ 16 | idPhysics::~idPhysics( void ) { 17 | } 18 | 19 | /* 20 | ================ 21 | idPhysics::Save 22 | ================ 23 | */ 24 | void idPhysics::Save( idSaveGame *savefile ) const { 25 | } 26 | 27 | /* 28 | ================ 29 | idPhysics::Restore 30 | ================ 31 | */ 32 | void idPhysics::Restore( idRestoreGame *savefile ) { 33 | } 34 | 35 | /* 36 | ================ 37 | idPhysics::SetClipBox 38 | ================ 39 | */ 40 | void idPhysics::SetClipBox( const idBounds &bounds, float density ) { 41 | SetClipModel( new idClipModel( idTraceModel( bounds ) ), density ); 42 | } 43 | 44 | /* 45 | ================ 46 | idPhysics::SnapTimeToPhysicsFrame 47 | ================ 48 | */ 49 | int idPhysics::SnapTimeToPhysicsFrame( int t ) { 50 | int s; 51 | // RAVEN BEGIN 52 | // bdube: use GetMSec access rather than USERCMD_TIME 53 | s = t + gameLocal.GetMSec() - 1; 54 | return ( s - s % gameLocal.GetMSec() ); 55 | // RAVEN END 56 | } 57 | -------------------------------------------------------------------------------- /src/game/Healing_Station.h: -------------------------------------------------------------------------------- 1 | /* 2 | =============================================================================== 3 | 4 | rvHealingStation 5 | 6 | =============================================================================== 7 | */ 8 | class rvHealingStation : public idAnimatedEntity { 9 | public: 10 | 11 | CLASS_PROTOTYPE( rvHealingStation ); 12 | 13 | virtual void Think ( void ); 14 | 15 | void Spawn ( void ); 16 | void Save ( idSaveGame *savefile ) const; 17 | void Restore ( idRestoreGame *savefile ); 18 | 19 | void BeginHealing ( idEntity *toHeal ); 20 | void EndHealing ( void ); 21 | 22 | protected: 23 | 24 | void CreateFrame ( float station_health ); 25 | 26 | stateResult_t State_Healing ( const stateParms_t& parms ); 27 | 28 | rvStateThread stateThread; 29 | idEntityPtr entityToHeal; 30 | int nextHealTime; 31 | int healFrequency; 32 | int healAmount; 33 | int healthDispensed; 34 | int maxHealth; 35 | int dispenseAnim; 36 | int soundStartTime; 37 | int soundLength; 38 | 39 | private: 40 | 41 | bool IsPlaying ( void ); 42 | 43 | CLASS_STATES_PROTOTYPE ( rvHealingStation ); 44 | }; 45 | 46 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbissrc/tone.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | #include 5 | 6 | void usage(){ 7 | fprintf(stderr,"tone ,[] [,[]...]\n"); 8 | exit(1); 9 | } 10 | 11 | int main (int argc,char *argv[]){ 12 | int i,j; 13 | double *f; 14 | double *amp; 15 | 16 | if(argc<2)usage(); 17 | 18 | f=alloca(sizeof(*f)*(argc-1)); 19 | amp=alloca(sizeof(*amp)*(argc-1)); 20 | 21 | i=0; 22 | while(argv[i+1]){ 23 | char *pos=strchr(argv[i+1],','); 24 | 25 | f[i]=atof(argv[i+1]); 26 | if(pos) 27 | amp[i]=atof(pos+1)*32767.f; 28 | else 29 | amp[i]=32767.f; 30 | 31 | fprintf(stderr,"%g Hz, %g amp\n",f[i],amp[i]); 32 | 33 | i++; 34 | } 35 | 36 | for(i=0;i<44100*10;i++){ 37 | float val=0; 38 | int ival; 39 | for(j=0;j32767.f)ival=32767.f; 44 | if(ival<-32768.f)ival=-32768.f; 45 | 46 | fprintf(stdout,"%c%c%c%c", 47 | (char)(ival&0xff), 48 | (char)((ival>>8)&0xff), 49 | (char)(ival&0xff), 50 | (char)((ival>>8)&0xff)); 51 | } 52 | return(0); 53 | } 54 | 55 | -------------------------------------------------------------------------------- /src/sys/linux/pk4/syncfromlist.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | base=/home/doom-grp/Doom/base 3 | host=timo@idnet.ua-corp.com 4 | srvscript=/var/local/builds/misc/packup.sh 5 | 6 | maindir=$(pwd) 7 | cd $(dirname $1) 8 | source=$(pwd)/$(basename $1) 9 | outdir=$(pwd) 10 | cd $maindir 11 | 12 | echo "list of files : $source" 13 | echo "base : $base" 14 | echo "host : $host" 15 | echo "server script : $srvscript" 16 | echo "press enter" 17 | read 18 | 19 | flip -u $source 20 | 21 | ( 22 | cd $base 23 | cat $source | while read i ; do find . -ipath "./$i" | cut -b 3- ; done | tee $outdir/matched.cased.log 24 | ) 25 | 26 | # find the no match, not even case sensitive 27 | diff -ui $source $outdir/matched.cased.log | grep ^- | cut -b 2- | tee $outdir/missing.log 28 | 29 | scp $outdir/missing.log $host:/home/timo/missing.log 30 | ssh $host $srvscript /home/timo/dl.zip /home/timo/missing.log 31 | rm $outdir/dl.zip 32 | scp $host:/home/timo/dl.zip $outdir 33 | scp $host:/home/timo/cased.log $outdir/missing.cased.log 34 | ( 35 | cd $base 36 | unzip $outdir/dl.zip 37 | 38 | # merge both lists into a single thing 39 | rm $outdir/dl.zip 40 | cat $outdir/missing.cased.log | zip $outdir/dl.zip -@ 41 | cat $outdir/matched.cased.log | zip $outdir/dl.zip -@ 42 | ) 43 | -------------------------------------------------------------------------------- /src/idlib/LexerFactory.cpp: -------------------------------------------------------------------------------- 1 | #include "precompiled.h" 2 | #pragma hdrstop 3 | #include "LexerFactory.h" 4 | 5 | LexerFactory::~LexerFactory() 6 | { 7 | } 8 | 9 | Lexer *LexerFactory::MakeLexer(char const * const filename, int flags, bool OSPath) 10 | { 11 | return new Lexer(filename, flags | GetReadBinary() | GetWriteBinary(), OSPath); 12 | } 13 | 14 | Lexer *LexerFactory::MakeLexer(int flags) 15 | { 16 | return new Lexer(flags | GetReadBinary() | GetWriteBinary()); 17 | } 18 | 19 | Lexer *LexerFactory::MakeLexer( char const * const ptr, int length, char const * const name, int flags) 20 | { 21 | return new Lexer(ptr, length, name, flags | GetWriteBinary() | GetReadBinary()); 22 | } 23 | 24 | int LexerFactory::GetReadBinary() 25 | { 26 | if(cvarSystem->GetCVarBool("com_binaryRead")) 27 | { 28 | return LEXFL_READBINARY; 29 | } 30 | else 31 | { 32 | return 0; 33 | } 34 | } 35 | 36 | int LexerFactory::GetWriteBinary() 37 | { 38 | int ret=0; 39 | int writeBinary = cvarSystem->GetCVarInteger("com_binaryWrite"); 40 | switch(writeBinary) 41 | { 42 | case 0: 43 | break; 44 | case 1: 45 | ret = LEXFL_WRITEBINARY; 46 | break; 47 | case 2: 48 | ret = LEXFL_WRITEBINARY | LEXFL_BYTESWAP; 49 | break; 50 | } 51 | 52 | return ret; 53 | } 54 | -------------------------------------------------------------------------------- /src/game/physics/Force.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "precompiled.h" 3 | #pragma hdrstop 4 | 5 | #include "../Game_local.h" 6 | 7 | CLASS_DECLARATION( idClass, idForce ) 8 | END_CLASS 9 | 10 | idList idForce::forceList; 11 | 12 | /* 13 | ================ 14 | idForce::idForce 15 | ================ 16 | */ 17 | idForce::idForce( void ) { 18 | forceList.Append( this ); 19 | } 20 | 21 | /* 22 | ================ 23 | idForce::~idForce 24 | ================ 25 | */ 26 | idForce::~idForce( void ) { 27 | forceList.Remove( this ); 28 | } 29 | 30 | /* 31 | ================ 32 | idForce::DeletePhysics 33 | ================ 34 | */ 35 | void idForce::DeletePhysics( const idPhysics *phys ) { 36 | int i; 37 | 38 | for ( i = 0; i < forceList.Num(); i++ ) { 39 | forceList[i]->RemovePhysics( phys ); 40 | } 41 | } 42 | 43 | /* 44 | ================ 45 | idForce::ClearForceList 46 | ================ 47 | */ 48 | void idForce::ClearForceList( void ) { 49 | forceList.Clear(); 50 | } 51 | 52 | /* 53 | ================ 54 | idForce::Evaluate 55 | ================ 56 | */ 57 | void idForce::Evaluate( int time ) { 58 | } 59 | 60 | /* 61 | ================ 62 | idForce::RemovePhysics 63 | ================ 64 | */ 65 | void idForce::RemovePhysics( const idPhysics *phys ) { 66 | } 67 | -------------------------------------------------------------------------------- /src/openal/include/alu.h: -------------------------------------------------------------------------------- 1 | #ifndef _ALU_H_ 2 | #define _ALU_H_ 3 | 4 | #define ALUAPI 5 | #define ALUAPIENTRY __cdecl 6 | 7 | #define BUFFERSIZE 48000 8 | #define FRACTIONBITS 14 9 | #define FRACTIONMASK ((1L< 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Debug 6 | 7 | 8 | 9 | Disabled 10 | _DEBUG;%(PreprocessorDefinitions) 11 | EnableFastChecks 12 | false 13 | MultiThreadedDebug 14 | true 15 | ProgramDatabase 16 | 17 | 18 | nafxcwd.lib;libcmtd.lib;%(AdditionalDependencies) 19 | nafxcwd.lib;libcmtd.lib;%(IgnoreSpecificDefaultLibraries) 20 | true 21 | true 22 | 23 | 24 | -------------------------------------------------------------------------------- /q4base/maps/testbox.proc: -------------------------------------------------------------------------------- 1 | PROC "4" 2 | 3 | 1105723392 4 | 5 | model { /* name = */ "_area0" /* numSurfaces = */ 2 /* sky */ 0 6 | 7 | /* surface 0 */ { "textures/common_walls/wall2_1a" /* numVerts = */ 16 /* numIndexes = */ 24 8 | ( -248 -200 8 -3.125 -0.0625 1 0 0 ) ( -248 176 192 2.75 -1.5 1 0 0 ) ( -248 176 8 2.75 -0.0625 1 0 0 ) 9 | ( -248 -200 192 -3.125 -1.5 1 0 0 ) ( -248 176 8 -3.875 -0.0625 0 -1 0 ) ( 192 176 192 3 -1.5 0 -1 0 ) 10 | ( 192 176 8 3 -0.0625 0 -1 0 ) ( -248 176 192 -3.875 -1.5 0 -1 0 ) ( 192 -200 8 3.125 -0.0625 -1 0 0 ) 11 | ( 192 176 8 -2.75 -0.0625 -1 0 0 ) ( 192 176 192 -2.75 -1.5 -1 0 0 ) ( 192 -200 192 3.125 -1.5 -1 0 0 ) 12 | ( -248 -200 8 3.875 -0.0625 0 1 0 ) ( 192 -200 8 -3 -0.0625 0 1 0 ) ( 192 -200 192 -3 -1.5 0 1 0 ) 13 | ( -248 -200 192 3.875 -1.5 0 1 0 ) 14 | 0 1 2 3 1 0 4 5 6 7 5 4 8 9 10 11 8 10 15 | 12 13 14 15 12 14 16 | } 17 | 18 | /* surface 1 */ { "textures/common_walls/wall1_5" /* numVerts = */ 8 /* numIndexes = */ 12 19 | ( -248 176 192 1.375 1.9375 0 0 -1 ) ( 192 -200 192 -1.5625 -1.5 0 0 -1 ) ( 192 176 192 1.375 -1.5 0 0 -1 ) 20 | ( -248 -200 192 -1.5625 1.9375 0 0 -1 ) ( -248 176 8 1.375 -1.9375 0 0 1 ) ( 192 176 8 1.375 1.5 0 0 1 ) 21 | ( 192 -200 8 -1.5625 1.5 0 0 1 ) ( -248 -200 8 -1.5625 -1.9375 0 0 1 ) 22 | 0 1 2 3 1 0 4 5 6 7 4 6 23 | } 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /q4base/maps/testdoor.proc: -------------------------------------------------------------------------------- 1 | PROC "4" 2 | 3 | 1105723392 4 | 5 | model { /* name = */ "_area0" /* numSurfaces = */ 2 /* sky */ 0 6 | 7 | /* surface 0 */ { "textures/common_walls/wall2_1a" /* numVerts = */ 16 /* numIndexes = */ 24 8 | ( -248 -200 8 -3.125 -0.0625 1 0 0 ) ( -248 176 192 2.75 -1.5 1 0 0 ) ( -248 176 8 2.75 -0.0625 1 0 0 ) 9 | ( -248 -200 192 -3.125 -1.5 1 0 0 ) ( -248 176 8 -3.875 -0.0625 0 -1 0 ) ( 192 176 192 3 -1.5 0 -1 0 ) 10 | ( 192 176 8 3 -0.0625 0 -1 0 ) ( -248 176 192 -3.875 -1.5 0 -1 0 ) ( 192 -200 8 3.125 -0.0625 -1 0 0 ) 11 | ( 192 176 8 -2.75 -0.0625 -1 0 0 ) ( 192 176 192 -2.75 -1.5 -1 0 0 ) ( 192 -200 192 3.125 -1.5 -1 0 0 ) 12 | ( -248 -200 8 3.875 -0.0625 0 1 0 ) ( 192 -200 8 -3 -0.0625 0 1 0 ) ( 192 -200 192 -3 -1.5 0 1 0 ) 13 | ( -248 -200 192 3.875 -1.5 0 1 0 ) 14 | 0 1 2 3 1 0 4 5 6 7 5 4 8 9 10 11 8 10 15 | 12 13 14 15 12 14 16 | } 17 | 18 | /* surface 1 */ { "textures/common_walls/wall1_5" /* numVerts = */ 8 /* numIndexes = */ 12 19 | ( -248 176 192 1.375 1.9375 0 0 -1 ) ( 192 -200 192 -1.5625 -1.5 0 0 -1 ) ( 192 176 192 1.375 -1.5 0 0 -1 ) 20 | ( -248 -200 192 -1.5625 1.9375 0 0 -1 ) ( -248 176 8 1.375 -1.9375 0 0 1 ) ( 192 176 8 1.375 1.5 0 0 1 ) 21 | ( 192 -200 8 -1.5625 1.5 0 0 1 ) ( -248 -200 8 -1.5625 -1.9375 0 0 1 ) 22 | 0 1 2 3 1 0 4 5 6 7 4 6 23 | } 24 | 25 | } 26 | 27 | -------------------------------------------------------------------------------- /src/game/gamesys/NoGameTypeInfo.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __GAMETYPEINFO_H__ 3 | #define __GAMETYPEINFO_H__ 4 | 5 | /* 6 | =================================================================================== 7 | 8 | This file has been generated with the Type Info Generator v1.0 (c) 2004 id Software 9 | 10 | =================================================================================== 11 | */ 12 | 13 | typedef struct { 14 | const char * name; 15 | const char * type; 16 | const char * value; 17 | } constantInfo_t; 18 | 19 | typedef struct { 20 | const char * name; 21 | int value; 22 | } enumValueInfo_t; 23 | 24 | typedef struct { 25 | const char * typeName; 26 | const enumValueInfo_t * values; 27 | } enumTypeInfo_t; 28 | 29 | typedef struct { 30 | const char * type; 31 | const char * name; 32 | int offset; 33 | int size; 34 | } classVariableInfo_t; 35 | 36 | typedef struct { 37 | const char * typeName; 38 | const char * superType; 39 | int size; 40 | const classVariableInfo_t * variables; 41 | } classTypeInfo_t; 42 | 43 | 44 | static constantInfo_t constantInfo[] = { 45 | { NULL, NULL, NULL } 46 | }; 47 | 48 | static enumTypeInfo_t enumTypeInfo[] = { 49 | { NULL, NULL } 50 | }; 51 | 52 | static classTypeInfo_t classTypeInfo[] = { 53 | { NULL, NULL, 0, NULL } 54 | }; 55 | 56 | #endif /* !__GAMETYPEINFO_H__ */ 57 | -------------------------------------------------------------------------------- /src/game/vehicle/VehicleMonster.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // VehicleMonster.h 3 | // 4 | // Copyright 2002-2004 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __GAME_VEHICLEMONSTER_H__ 8 | #define __GAME_VEHICLEMONSTER_H__ 9 | 10 | #ifndef __GAME_VEHICLE_H__ 11 | #include "Vehicle.h" 12 | #endif 13 | 14 | class rvVehicleAI; 15 | 16 | class rvVehicleMonster : public rvVehicle { 17 | friend class rvVehicleAI; 18 | public: 19 | 20 | CLASS_PROTOTYPE( rvVehicleMonster ); 21 | 22 | rvVehicleMonster ( void ); 23 | ~rvVehicleMonster ( void ); 24 | 25 | void Spawn ( void ); 26 | void Think ( void ); 27 | void Save ( idSaveGame *savefile ) const; 28 | void Restore ( idRestoreGame *savefile ); 29 | 30 | bool SkipImpulse ( idEntity* ent, int id ); 31 | 32 | protected: 33 | 34 | void SetClipModel ( idPhysics & physicsObj ); 35 | 36 | const idVec3 & GetTargetOrigin ( void ); 37 | idVec3 GetVectorToTarget ( void ); 38 | const idVec3 & GetEnemyOrigin ( void ); 39 | idVec3 GetVectorToEnemy ( void ); 40 | void LookAtEntity ( idEntity *ent, float duration ); 41 | 42 | idEntityPtr driver; 43 | }; 44 | 45 | #endif // __GAME_VEHICLEMONSTER_H__ 46 | -------------------------------------------------------------------------------- /src/game/Instance.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // Instance.h 3 | // 4 | // Copyright 2002-2005 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __INSTANCE_H__ 8 | #define __INSTANCE_H__ 9 | 10 | #include "Game_local.h" 11 | 12 | class rvInstance { 13 | public: 14 | rvInstance( int id, bool deferPopulate = false ); 15 | ~rvInstance(); 16 | 17 | void Populate( int serverChecksum = 0 ); 18 | void PopulateFromMessage( const idBitMsg& msg ); 19 | void Restart( void ); 20 | 21 | void JoinInstance( idPlayer* player ); 22 | int GetInstanceID( void ); 23 | 24 | void SetSpawnInstanceID( int newInstance ); 25 | 26 | void PrintMapNumbers( void ); 27 | int GetNumMapEntities( void ) { return numMapEntities; } 28 | unsigned short GetMapEntityNumber( int i ) { return mapEntityNumbers[ i ]; } 29 | 30 | private: 31 | void BuildInstanceMessage( void ); 32 | 33 | int instanceID; 34 | int spawnInstanceID; 35 | unsigned short* mapEntityNumbers; 36 | int numMapEntities; 37 | int initialSpawnCount; 38 | 39 | idBitMsg mapEntityMsg; 40 | byte mapEntityMsgBuf[ MAX_GAME_MESSAGE_SIZE ]; 41 | }; 42 | 43 | ID_INLINE int rvInstance::GetInstanceID( void ) { 44 | return instanceID; 45 | } 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbissrc/lsp.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * 9 | * by the XIPHOPHORUS Company http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: LSP (also called LSF) conversion routines 14 | last mod: $Id: lsp.h,v 1.11 2002/07/11 06:40:49 xiphmont Exp $ 15 | 16 | ********************************************************************/ 17 | 18 | 19 | #ifndef _V_LSP_H_ 20 | #define _V_LSP_H_ 21 | 22 | extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m); 23 | 24 | extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln, 25 | float *lsp,int m, 26 | float amp,float ampoffset); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /src/sys/linux/setup/loki_setup.patch: -------------------------------------------------------------------------------- 1 | ? install 2 | ? to 3 | ? image/setup.data/bin 4 | Index: Makefile.in 5 | =================================================================== 6 | RCS file: /cvs/cvsroot/loki_setup/Makefile.in,v 7 | retrieving revision 1.32 8 | diff -u -r1.32 Makefile.in 9 | --- Makefile.in 4 Aug 2004 03:12:34 -0000 1.32 10 | +++ Makefile.in 9 Aug 2004 10:16:22 -0000 11 | @@ -65,7 +65,8 @@ 12 | CARBON_LIBS = $(COMMON_LIBS) @LIBS@ @CARBON_LIBS@ 13 | CONSOLE_LIBS = $(LIBS) @CONSOLE_LIBS@ 14 | 15 | -all: do-plugins @DO_DIALOG@ setup setup.gtk uninstall xsu 16 | +#all: do-plugins @DO_DIALOG@ setup setup.gtk uninstall xsu 17 | +all: do-plugins @DO_DIALOG@ setup 18 | 19 | testxml: testxml.o 20 | $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) 21 | @@ -139,6 +140,7 @@ 22 | ifeq ($(DYN_PLUGINS),true) 23 | $(MAKE) -C plugins install 24 | endif 25 | + mkdir -p install to image/setup.data/bin/$(os)/$(arch)/$(libc) 26 | @if [ -d image/setup.data/bin/$(os)/$(arch)/$(libc) ]; then \ 27 | cp setup image/setup.data/bin/$(os)/$(arch); \ 28 | strip image/setup.data/bin/$(os)/$(arch)/setup; \ 29 | @@ -155,6 +157,7 @@ 30 | else \ 31 | echo No directory to copy the binary files to.; \ 32 | fi 33 | + echo installed to image/setup.data/bin/$(os)/$(arch)/$(libc) 34 | 35 | install-image: all 36 | ifeq ($(DYN_PLUGINS),true) 37 | -------------------------------------------------------------------------------- /src/framework/DeclPlayerModel.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // DeclPlayerModel.h 3 | // 4 | // Copyright 2002-2006 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __DECLPLAYERMODEL_H__ 8 | #define __DECLPLAYERMODEL_H__ 9 | 10 | /* 11 | =============================================================================== 12 | 13 | rvDeclPlayerModel 14 | 15 | =============================================================================== 16 | */ 17 | 18 | class rvDeclPlayerModel : public idDecl { 19 | public: 20 | rvDeclPlayerModel(); 21 | 22 | idStr model; 23 | idStr head; 24 | idVec3 headOffset; 25 | idStr uiHead; 26 | idStr team; 27 | idStr skin; 28 | idStr description; 29 | idDict sounds; 30 | 31 | virtual size_t Size( void ) const; 32 | virtual const char * DefaultDefinition() const; 33 | virtual bool Parse( const char *text, const int textLength ) override; 34 | virtual void FreeData( void ); 35 | virtual void Print( void ); 36 | 37 | virtual bool RebuildTextSource( void ) { return( false ); } 38 | // jmarshall - not used in quake 4 sdk. 39 | virtual bool Validate(const char* psText, int iTextLength, idStr& strReportTo) const { return true; } 40 | // jmarshall end 41 | }; 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbissrc/lpc.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * 9 | * by the XIPHOPHORUS Company http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: LPC low level routines 14 | last mod: $Id: lpc.h,v 1.20 2003/03/07 09:13:30 xiphmont Exp $ 15 | 16 | ********************************************************************/ 17 | 18 | #ifndef _V_LPC_H_ 19 | #define _V_LPC_H_ 20 | 21 | #include "../vorbis/codec.h" 22 | 23 | /* simple linear scale LPC code */ 24 | extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m); 25 | 26 | extern void vorbis_lpc_predict(float *coeff,float *prime,int m, 27 | float *data,long n); 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /q4base/glprogs/environment.vfp: -------------------------------------------------------------------------------- 1 | !!ARBvp1.0 OPTION ARB_position_invariant ; 2 | 3 | # env[5] is the eye position in local coordinates 4 | 5 | MOV result.texcoord[0], vertex.normal; 6 | SUB result.texcoord[1], program.env[5], vertex.position; 7 | MOV result.color, vertex.color; 8 | 9 | END 10 | 11 | 12 | #========================================================== 13 | 14 | !!ARBfp1.0 15 | OPTION ARB_precision_hint_fastest; 16 | 17 | # per-pixel cubic reflextion map calculation 18 | 19 | # texture 0 is the cube map 20 | # texCord[0] is the surface normal 21 | # texCord[1] is toEye, the eye XYZ - the surface XYZ 22 | 23 | TEMP toEye, normal, R0; 24 | 25 | PARAM scaleTwo = { 2, 2, 2, 2 }; 26 | 27 | # normalize surface normal 28 | DP3 R0, fragment.texcoord[0], fragment.texcoord[0]; 29 | RSQ R0, R0.x; 30 | MUL normal, fragment.texcoord[0], R0; 31 | 32 | # normalize vector to eye 33 | DP3 R0, fragment.texcoord[1], fragment.texcoord[1]; 34 | RSQ R0, R0.x; 35 | MUL toEye, fragment.texcoord[1], R0; 36 | 37 | # calculate reflection vector 38 | DP3 R0, toEye, normal; 39 | MUL R0, R0, normal; 40 | MAD R0, R0, scaleTwo, -toEye; 41 | 42 | TEX R0, R0, texture[0], CUBE; 43 | 44 | # this should be better on future hardware, but current drivers make it slower 45 | #MUL result.color.xyz, R0, fragment.color; 46 | 47 | MUL result.color, R0, fragment.color; 48 | 49 | END 50 | 51 | -------------------------------------------------------------------------------- /src/openal/docs/app-constants.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Global Constants 4 | 5 | 6 | Misc. &AL; Global Constants 7 | 8 | 9 | 10 | 11 | 12 | Name 13 | &OAL; datatype 14 | Description 15 | Literal value 16 | 17 | 18 | 19 | 20 | ALenum 21 | FALSE 22 | boolean false 23 | 0 24 | 25 | 26 | ALenum 27 | TRUE 28 | boolean true 29 | 1 30 | 31 | 32 | 33 |
34 |
35 | 36 | 37 | RFC 39 | NONE, ONE, ZERO needed? 40 | 41 | ]]> 42 |
43 | 44 | -------------------------------------------------------------------------------- /src/openal/docs/app-extensionprocess.sgml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Extension Process 4 | 5 | There are two ways to suggest an Extension to AL or ALC. 6 | The simplest way is to write an ASCII text that matches 7 | the following template: 8 | 9 | 10 | 11 | RFC: rfc-iiyymmdd-nn 12 | Name: (indicating the purpose/feature) 13 | Maintainer: (name and spam-secured e-mail) 14 | Date: (last revision) 15 | Revision: (last revision) 16 | 17 | new enums 18 | new functions 19 | 20 | description of operation 21 | 22 | 23 | 24 | Such an RFC can be submitted on the &AL; discussion 25 | list (please use RFC in the Subject line), or send to the 26 | maintainer of the &AL; specification. If you are shipping 27 | an actual implementation as a patch or as part of the 28 | &AL; CVS a formal writeup is recommend. In this case, 29 | the Extension has to be described as part of the 30 | specification, which is maintained in DocBook SGML 31 | (available for UNIX, Linux and Win32). The SGML source of 32 | the specification is available by CVS, and the Appendix 33 | on Extensions can be used as a template. Contact the 34 | maintainer for details. 35 | 36 | 37 | -------------------------------------------------------------------------------- /src/sys/osx/showcursor.c: -------------------------------------------------------------------------------- 1 | /* 2 | cc -o showcursor showcursor.c -framework IOKit 3 | */ 4 | 5 | #include 6 | #include 7 | #include 8 | 9 | mach_port_t masterPort; 10 | 11 | io_connect_t OpenEventDriver( void ) 12 | { 13 | register kern_return_t kr; 14 | mach_port_t ev, service, iter; 15 | 16 | kr = IOServiceGetMatchingServices( masterPort, IOServiceMatching( kIOHIDSystemClass ), &iter); 17 | assert( KERN_SUCCESS == kr); 18 | 19 | service = IOIteratorNext( iter ); 20 | assert(service); 21 | 22 | kr = IOServiceOpen( service, mach_task_self(), kIOHIDParamConnectType, &ev); 23 | assert( KERN_SUCCESS == kr ); 24 | 25 | IOObjectRelease( service ); 26 | IOObjectRelease( iter ); 27 | 28 | return( ev ); 29 | } 30 | 31 | 32 | void TestParams( io_connect_t ev, boolean_t show ) 33 | { 34 | kern_return_t kr; 35 | 36 | kr = IOHIDSetCursorEnable( ev, show ); 37 | assert(KERN_SUCCESS == kr); 38 | } 39 | 40 | int main(int argc, char **argv) 41 | { 42 | kern_return_t kr; 43 | boolean_t show; 44 | 45 | if (argc != 2) 46 | show = 1; 47 | else 48 | show = (atoi(argv[0]) != 0); 49 | 50 | assert( KERN_SUCCESS == ( kr = IOMasterPort( bootstrap_port, &masterPort) )); 51 | TestParams( OpenEventDriver(), show); 52 | 53 | return( 0 ); 54 | } 55 | -------------------------------------------------------------------------------- /src/tools/common/PropTree/PropTreeItemFileEdit.h: -------------------------------------------------------------------------------- 1 | #ifndef __PROP_TREE_ITEM_FILE_EDIT_H__ 2 | #define __PROP_TREE_ITEM_FILE_EDIT_H__ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif 7 | 8 | 9 | //#include "PropTreeItem.h" 10 | //#include "PropTreeItemEdit.h" 11 | 12 | class PROPTREE_API CPropTreeItemFileEdit : public CPropTreeItemEdit 13 | { 14 | // Construction 15 | public: 16 | CPropTreeItemFileEdit(); 17 | virtual ~CPropTreeItemFileEdit(); 18 | 19 | // Operations 20 | public: 21 | 22 | // Overrides 23 | // ClassWizard generated virtual function overrides 24 | //{{AFX_VIRTUAL(CPropTreeItemFileEdit) 25 | //}}AFX_VIRTUAL 26 | 27 | // Implementation 28 | public: 29 | 30 | // Generated message map functions 31 | protected: 32 | //{{AFX_MSG(CPropTreeItemFileEdit) 33 | //}}AFX_MSG 34 | 35 | afx_msg void OnInsertFile(); 36 | afx_msg void OnEditUndo(); 37 | afx_msg void OnEditCut(); 38 | afx_msg void OnEditCopy(); 39 | afx_msg void OnEditPaste(); 40 | afx_msg void OnEditDelete(); 41 | afx_msg void OnEditSelectAll(); 42 | 43 | DECLARE_MESSAGE_MAP() 44 | public: 45 | afx_msg void OnContextMenu(CWnd* pWnd, CPoint point); 46 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 47 | }; 48 | 49 | ///////////////////////////////////////////////////////////////////////////// 50 | 51 | //{{AFX_INSERT_LOCATION}} 52 | 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /src/renderer/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 | -------------------------------------------------------------------------------- /src/idlib/geometry/Surface_Polytope.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __SURFACE_POLYTOPE_H__ 3 | #define __SURFACE_POLYTOPE_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Polytope surface. 9 | 10 | NOTE: vertexes are not duplicated for texture coordinates. 11 | 12 | =============================================================================== 13 | */ 14 | 15 | class idSurface_Polytope : public idSurface { 16 | public: 17 | idSurface_Polytope( void ); 18 | 19 | void FromPlanes( const idPlane *planes, const int numPlanes ); 20 | 21 | void SetupTetrahedron( const idBounds &bounds ); 22 | void SetupHexahedron( const idBounds &bounds ); 23 | void SetupOctahedron( const idBounds &bounds ); 24 | void SetupDodecahedron( const idBounds &bounds ); 25 | void SetupIcosahedron( const idBounds &bounds ); 26 | void SetupCylinder( const idBounds &bounds, const int numSides ); 27 | void SetupCone( const idBounds &bounds, const int numSides ); 28 | 29 | int SplitPolytope( const idPlane &plane, const float epsilon, idSurface_Polytope **front, idSurface_Polytope **back ) const; 30 | 31 | protected: 32 | 33 | }; 34 | 35 | /* 36 | ==================== 37 | idSurface_Polytope::idSurface_Polytope 38 | ==================== 39 | */ 40 | ID_INLINE idSurface_Polytope::idSurface_Polytope( void ) { 41 | } 42 | 43 | #endif /* !__SURFACE_POLYTOPE_H__ */ 44 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbissrc/registry.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * 9 | * by the XIPHOPHORUS Company http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: registry for time, floor, res backends and channel mappings 14 | last mod: $Id: registry.h,v 1.13 2002/07/11 06:40:50 xiphmont Exp $ 15 | 16 | ********************************************************************/ 17 | 18 | #ifndef _V_REG_H_ 19 | #define _V_REG_H_ 20 | 21 | #define VI_TRANSFORMB 1 22 | #define VI_WINDOWB 1 23 | #define VI_TIMEB 1 24 | #define VI_FLOORB 2 25 | #define VI_RESB 3 26 | #define VI_MAPB 1 27 | 28 | extern vorbis_func_floor *_floor_P[]; 29 | extern vorbis_func_residue *_residue_P[]; 30 | extern vorbis_func_mapping *_mapping_P[]; 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /src/ui/ListGUI.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Id Software, Inc. 2 | // 3 | 4 | #ifndef __LISTGUI_H__ 5 | #define __LISTGUI_H__ 6 | 7 | /* 8 | =============================================================================== 9 | 10 | feed data to a listDef 11 | each item has an id and a display string 12 | 13 | =============================================================================== 14 | */ 15 | 16 | class idListGUI { 17 | public: 18 | virtual ~idListGUI() { } 19 | 20 | virtual void Config( idUserInterface *pGUI, const char *name ) = 0; 21 | // RAVEN BEGIN 22 | // shouchard: added greyed support 23 | // virtual void Add( int id, const idStr& s, bool greyed = false ) = 0; 24 | // use the element count as index for the ids 25 | //virtual void Push( const idStr& s, bool greyed = false ) = 0; 26 | // RAVEN END 27 | virtual bool Del( int id ) = 0; 28 | virtual void Clear( void ) = 0; 29 | virtual int Num( void ) = 0; 30 | virtual int GetSelection( char *s, int size, int sel = 0 ) const = 0; // returns the id, not the list index (or -1) 31 | virtual void SetSelection( int sel ) = 0; 32 | virtual int GetNumSelections() = 0; 33 | virtual bool IsConfigured( void ) const = 0; 34 | // by default, any modification to the list will trigger a full GUI refresh immediately 35 | virtual void SetStateChanges( bool enable ) = 0; 36 | virtual void Shutdown( void ) = 0; 37 | }; 38 | 39 | #endif /* !__LISTGUI_H__ */ 40 | -------------------------------------------------------------------------------- /src/idlib/geometry/JointTransform.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "precompiled.h" 3 | #pragma hdrstop 4 | 5 | 6 | /* 7 | ============= 8 | idJointMat::ToJointQuat 9 | ============= 10 | */ 11 | idJointQuat idJointMat::ToJointQuat( void ) const { 12 | idJointQuat jq; 13 | float trace; 14 | float s; 15 | float t; 16 | int i; 17 | int j; 18 | int k; 19 | 20 | static int next[3] = { 1, 2, 0 }; 21 | 22 | trace = mat[0 * 4 + 0] + mat[1 * 4 + 1] + mat[2 * 4 + 2]; 23 | 24 | if ( trace > 0.0f ) { 25 | 26 | t = trace + 1.0f; 27 | s = idMath::InvSqrt( t ) * 0.5f; 28 | 29 | jq.q[3] = s * t; 30 | jq.q[0] = ( mat[1 * 4 + 2] - mat[2 * 4 + 1] ) * s; 31 | jq.q[1] = ( mat[2 * 4 + 0] - mat[0 * 4 + 2] ) * s; 32 | jq.q[2] = ( mat[0 * 4 + 1] - mat[1 * 4 + 0] ) * s; 33 | 34 | } else { 35 | 36 | i = 0; 37 | if ( mat[1 * 4 + 1] > mat[0 * 4 + 0] ) { 38 | i = 1; 39 | } 40 | if ( mat[2 * 4 + 2] > mat[i * 4 + i] ) { 41 | i = 2; 42 | } 43 | j = next[i]; 44 | k = next[j]; 45 | 46 | t = ( mat[i * 4 + i] - ( mat[j * 4 + j] + mat[k * 4 + k] ) ) + 1.0f; 47 | s = idMath::InvSqrt( t ) * 0.5f; 48 | 49 | jq.q[i] = s * t; 50 | jq.q[3] = ( mat[j * 4 + k] - mat[k * 4 + j] ) * s; 51 | jq.q[j] = ( mat[i * 4 + j] + mat[j * 4 + i] ) * s; 52 | jq.q[k] = ( mat[i * 4 + k] + mat[k * 4 + i] ) * s; 53 | } 54 | 55 | jq.t[0] = mat[0 * 4 + 3]; 56 | jq.t[1] = mat[1 * 4 + 3]; 57 | jq.t[2] = mat[2 * 4 + 3]; 58 | 59 | return jq; 60 | } 61 | -------------------------------------------------------------------------------- /src/renderer/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 | -------------------------------------------------------------------------------- /src/idlib/LangDict.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __LANGDICT_H__ 3 | #define __LANGDICT_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Simple dictionary specifically for the localized string tables. 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idLangKeyValue { 14 | public: 15 | idStr key; 16 | idStr value; 17 | }; 18 | 19 | class idLangDict { 20 | public: 21 | idLangDict( void ); 22 | ~idLangDict( void ); 23 | 24 | void Clear( void ); 25 | bool Load( const char *fileName, bool clear = true ); 26 | void Save( const char *fileName ); 27 | 28 | const char * AddString( const char *str ); 29 | const char * GetString( const char *str ) const; 30 | 31 | // adds the value and key as passed (doesn't generate a "#str_xxxxxx" key or ensure the key/value pair is unique) 32 | void AddKeyVal( const char *key, const char *val ); 33 | 34 | int GetNumKeyVals( void ) const; 35 | const idLangKeyValue * GetKeyVal( int i ) const; 36 | 37 | void SetBaseID(int id) { baseID = id; }; 38 | 39 | private: 40 | idList args; 41 | idHashIndex hash; 42 | 43 | bool ExcludeString( const char *str ) const; 44 | int GetNextId( void ) const; 45 | int GetHashKey( const char *str ) const; 46 | 47 | int baseID; 48 | }; 49 | 50 | #endif /* !__LANGDICT_H__ */ 51 | -------------------------------------------------------------------------------- /src/sys/scons/SConscript.curl: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | # DOOM build script 3 | # TTimo 4 | # http://scons.sourceforge.net 5 | 6 | import os 7 | 8 | import scons_utils 9 | 10 | Import( 'GLOBALS' ) 11 | Import( GLOBALS ) 12 | 13 | class idBuildCurl( scons_utils.idSetupBase ): 14 | 15 | def Compile( self, target = None, source = None, env = None ): 16 | self.TrySimpleCommand( 'cd curl ; make clean' ) 17 | cmd = 'cd curl ; CC=\'' + env['CC'] + '\' ./configure --enable-shared=no --enable-static=yes --enable-http --enable-ftp --disable-gopher --enable-file --disable-ldap --disable-dict --disable-telnet --disable-manual --enable-libgcc --disable-ipv6 --without-ssl ' 18 | if ( self.debug ): 19 | cmd += '--enable-debug' 20 | else: 21 | cmd += '--disable-debug' 22 | os.system( cmd ) 23 | os.system( 'cd curl ; make' ) 24 | if ( self.debug ): 25 | os.system( 'cd curl ; mv ./lib/.libs/libcurl.a ./lib/.libs/libcurl-debug.a' ) 26 | else: 27 | os.system( 'cd curl ; mv ./lib/.libs/libcurl.a ./lib/.libs/libcurl-release.a' ) 28 | return 0 29 | 30 | build = idBuildCurl() 31 | if ( local_curl == 1 ): 32 | build.debug = 1 33 | target_name = '#curl/lib/.libs/libcurl-debug.a' 34 | else: 35 | build.debug = 0 36 | target_name = '#curl/lib/.libs/libcurl-release.a' 37 | 38 | g_env.Command( target_name, None, Action( build.Compile ) ) 39 | 40 | curl_libs = [ target_name, '/usr/lib/libz.a' ] 41 | Return( 'curl_libs' ) 42 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbissrc/smallft.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * 9 | * by the XIPHOPHORUS Company http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: fft transform 14 | last mod: $Id: smallft.h,v 1.12 2002/07/11 06:40:50 xiphmont Exp $ 15 | 16 | ********************************************************************/ 17 | 18 | #ifndef _V_SMFT_H_ 19 | #define _V_SMFT_H_ 20 | 21 | #include "../vorbis/codec.h" 22 | 23 | typedef struct { 24 | int n; 25 | float *trigcache; 26 | int *splitcache; 27 | } drft_lookup; 28 | 29 | extern void drft_forward(drft_lookup *l,float *data); 30 | extern void drft_backward(drft_lookup *l,float *data); 31 | extern void drft_init(drft_lookup *l,int n); 32 | extern void drft_clear(drft_lookup *l); 33 | 34 | #endif 35 | -------------------------------------------------------------------------------- /src/game/TramGate.h: -------------------------------------------------------------------------------- 1 | #ifndef __RV_TRAM_GATE_H 2 | #define __RV_TRAM_GATE_H 3 | 4 | extern const idEventDef EV_OpenGate; 5 | extern const idEventDef EV_CloseGate; 6 | 7 | class rvTramGate : public idAnimatedEntity { 8 | CLASS_PROTOTYPE( rvTramGate ); 9 | 10 | public: 11 | void Spawn(); 12 | virtual ~rvTramGate(); 13 | 14 | void OpenGate(); 15 | void CloseGate(); 16 | 17 | void Save( idSaveGame *savefile ) const; 18 | void Restore( idRestoreGame *savefile ); 19 | 20 | protected: 21 | void SpawnDoors(); 22 | void AdjustFrameRate(); 23 | 24 | int PlayAnim( int channel, const char* animName, int blendFrames = 0 ); 25 | void CycleAnim( int channel, const char* animName, int blendFrames = 0 ); 26 | void ClearAllAnims( int blendFrames = 0 ); 27 | void ClearAnim( int channel, int blendFrames = 0 ); 28 | bool AnimIsPlaying( int channel, int blendFrames = 0 ); 29 | 30 | bool IsOpen() const; 31 | bool IsClosed() const; 32 | 33 | idDoor* GetDoorMaster() const; 34 | bool IsDoorMasterValid() const; 35 | 36 | protected: 37 | void Event_Touch( idEntity* other, trace_t* trace ); 38 | void Event_Activate( idEntity* activator ); 39 | 40 | void Event_OpenGate(); 41 | void Event_CloseGate(); 42 | 43 | void Event_IsOpen( void ); 44 | void Event_IsLocked( void ); 45 | void Event_Lock( int f ); 46 | 47 | protected: 48 | idList< idEntityPtr > doorList; 49 | }; 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /src/game/physics/Force_Drag.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __FORCE_DRAG_H__ 3 | #define __FORCE_DRAG_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Drag force 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idForce_Drag : public idForce { 14 | 15 | public: 16 | CLASS_PROTOTYPE( idForce_Drag ); 17 | 18 | idForce_Drag( void ); 19 | virtual ~idForce_Drag( void ); 20 | // initialize the drag force 21 | void Init( float damping ); 22 | // set physics object being dragged 23 | void SetPhysics( idPhysics *physics, int id, const idVec3 &p ); 24 | // set position to drag towards 25 | void SetDragPosition( const idVec3 &pos ); 26 | // get the position dragged towards 27 | const idVec3 & GetDragPosition( void ) const; 28 | // get the position on the dragged physics object 29 | const idVec3 GetDraggedPosition( void ) const; 30 | 31 | public: // common force interface 32 | virtual void Evaluate( int time ); 33 | virtual void RemovePhysics( const idPhysics *phys ); 34 | 35 | private: 36 | 37 | // properties 38 | float damping; 39 | 40 | // positioning 41 | idPhysics * physics; // physics object 42 | int id; // clip model id of physics object 43 | idVec3 p; // position on clip model 44 | idVec3 dragPosition; // drag towards this position 45 | }; 46 | 47 | #endif /* !__FORCE_DRAG_H__ */ 48 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbissrc/lookup.h: -------------------------------------------------------------------------------- 1 | /******************************************************************** 2 | * * 3 | * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 | * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 5 | * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE * 6 | * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 7 | * * 8 | * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 * 9 | * by the XIPHOPHORUS Company http://www.xiph.org/ * 10 | * * 11 | ******************************************************************** 12 | 13 | function: lookup based functions 14 | last mod: $Id: lookup.h,v 1.7 2002/07/11 06:40:49 xiphmont Exp $ 15 | 16 | ********************************************************************/ 17 | 18 | #ifndef _V_LOOKUP_H_ 19 | 20 | #ifdef FLOAT_LOOKUP 21 | extern float vorbis_coslook(float a); 22 | extern float vorbis_invsqlook(float a); 23 | extern float vorbis_invsq2explook(int a); 24 | extern float vorbis_fromdBlook(float a); 25 | #endif 26 | #ifdef INT_LOOKUP 27 | extern long vorbis_invsqlook_i(long a,long e); 28 | extern long vorbis_coslook_i(long a); 29 | extern float vorbis_fromdBlook_i(long a); 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /q4base/glprogs/nv20_bumpAndLight.vp: -------------------------------------------------------------------------------- 1 | !!ARBvp1.0 OPTION ARB_position_invariant ; 2 | 3 | # VPROG_NV_BUMP_AND_3DLIGHT 4 | # 5 | # just for experimenting, not used in production 6 | # 7 | # input: 8 | # 9 | # TEX0 texture coordinates 10 | # TEX1 normal 11 | # TEX2 tangent[0] 12 | # TEX3 tangent[1] 13 | # 14 | # output: 15 | # 16 | # HPOS homogeneous clip space position 17 | # TEX0 is the normalization cube map for the light vector 18 | # TEX1 will be the per-surface bump map 19 | # TEX2 will be the 3D light texture 20 | 21 | PARAM defaultTexCoord = { 0, 0.5, 0, 1 }; 22 | 23 | TEMP R0; 24 | 25 | # calculate vector to light in R0 26 | ADD R0, -vertex.position, program.env[4]; 27 | 28 | # put into texture space for TEX0 29 | DP3 result.texcoord[0].x, vertex.texcoord[1], R0; 30 | DP3 result.texcoord[0].y, vertex.texcoord[2], R0; 31 | DP3 result.texcoord[0].z, vertex.texcoord[3], R0; 32 | 33 | # textures 1 takes the base coordinates by the texture matrix 34 | DP4 result.texcoord[1].x, vertex.texcoord[0], program.env[10]; 35 | DP4 result.texcoord[1].y, vertex.texcoord[0], program.env[11]; 36 | 37 | # texture 2 has one texgen and a constant 38 | MOV result.texcoord[2], defaultTexCoord; 39 | DP4 result.texcoord[2].x, vertex.position, program.env[9]; 40 | 41 | # texture 3 has three texgens 42 | DP4 result.texcoord[3].x, vertex.position, program.env[6]; 43 | DP4 result.texcoord[3].y, vertex.position, program.env[7]; 44 | DP4 result.texcoord[3].w, vertex.position, program.env[8]; 45 | 46 | END 47 | -------------------------------------------------------------------------------- /src/framework/declEntityDef.h: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2004 Id Software, Inc. 2 | // 3 | 4 | #ifndef __DECLENTITYDEF_H__ 5 | #define __DECLENTITYDEF_H__ 6 | 7 | /* 8 | =============================================================================== 9 | 10 | idDeclEntityDef 11 | 12 | =============================================================================== 13 | */ 14 | 15 | // RAVEN BEGIN 16 | // jsinger: added to support serialization/deserialization of binary decls 17 | #ifdef RV_BINARYDECLS 18 | class idDeclEntityDef : public idDecl, public Serializable<'DED '> { 19 | public: 20 | virtual void AddReferences() const; 21 | virtual void Write(SerialOutputStream &stream) const; 22 | idDeclEntityDef(SerialInputStream &stream); 23 | #else 24 | class idDeclEntityDef : public idDecl { 25 | #endif 26 | // RAVEN END 27 | public: 28 | idDeclEntityDef(); 29 | idDict dict; 30 | 31 | virtual size_t Size( void ) const; 32 | virtual const char * DefaultDefinition() const; 33 | virtual bool Parse( const char *text, const int textLength ) override; 34 | virtual void FreeData( void ); 35 | virtual void Print( void ); 36 | 37 | // RAVEN BEGIN 38 | // jscott: to prevent a recursive crash 39 | virtual bool RebuildTextSource( void ) { return( false ); } 40 | // scork: for detailed error-reporting 41 | //virtual bool Validate( const char *psText, int iTextLength, idStr &strReportTo ) const; 42 | // RAVEN END 43 | 44 | }; 45 | 46 | #endif /* !__DECLENTITYDEF_H__ */ 47 | -------------------------------------------------------------------------------- /src/idlib/containers/Stack.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __STACK_H__ 3 | #define __STACK_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Stack template 9 | 10 | =============================================================================== 11 | */ 12 | 13 | #define idStack( type, next ) idStackTemplatenext)> 14 | 15 | template< class type, int nextOffset > 16 | class idStackTemplate { 17 | public: 18 | idStackTemplate( void ); 19 | 20 | void Add( type *element ); 21 | type * Get( void ); 22 | 23 | private: 24 | type * top; 25 | type * bottom; 26 | }; 27 | 28 | #define STACK_NEXT_PTR( element ) (*(type**)(((byte*)element)+nextOffset)) 29 | 30 | template< class type, int nextOffset > 31 | idStackTemplate::idStackTemplate( void ) { 32 | top = bottom = NULL; 33 | } 34 | 35 | template< class type, int nextOffset > 36 | void idStackTemplate::Add( type *element ) { 37 | STACK_NEXT_PTR(element) = top; 38 | top = element; 39 | if ( !bottom ) { 40 | bottom = element; 41 | } 42 | } 43 | 44 | template< class type, int nextOffset > 45 | type *idStackTemplate::Get( void ) { 46 | type *element; 47 | 48 | element = top; 49 | if ( element ) { 50 | top = STACK_NEXT_PTR(top); 51 | if ( bottom == element ) { 52 | bottom = NULL; 53 | } 54 | STACK_NEXT_PTR(element) = NULL; 55 | } 56 | return element; 57 | } 58 | 59 | #endif /* !__STACK_H__ */ 60 | -------------------------------------------------------------------------------- /src/tools/common/PropTree/PropTreeItemStatic.h: -------------------------------------------------------------------------------- 1 | // PropTreeItemStatic.h 2 | // 3 | // Copyright (C) 1998-2001 Scott Ramsay 4 | // sramsay@gonavi.com 5 | // http://www.gonavi.com 6 | // 7 | // This material is provided "as is", with absolutely no warranty expressed 8 | // or implied. Any use is at your own risk. 9 | // 10 | // Permission to use or copy this software for any purpose is hereby granted 11 | // without fee, provided the above notices are retained on all copies. 12 | // Permission to modify the code and to distribute modified code is granted, 13 | // provided the above notices are retained, and a notice that the code was 14 | // modified is included with the above copyright notice. 15 | // 16 | // If you use this code, drop me an email. I'd like to know if you find the code 17 | // useful. 18 | 19 | #ifndef _PROPTREEITEMSTATIC_H 20 | #define _PROPTREEITEMSTATIC_H 21 | 22 | #include "PropTreeItem.h" 23 | 24 | class PROPTREE_API CPropTreeItemStatic : public CPropTreeItem 25 | { 26 | public: 27 | CPropTreeItemStatic(); 28 | virtual ~CPropTreeItemStatic(); 29 | 30 | public: 31 | // The attribute area needs drawing 32 | virtual void DrawAttribute(CDC* pDC, const RECT& rc); 33 | 34 | // Retrieve the item's attribute value (in this case the CString) 35 | virtual LPARAM GetItemValue(); 36 | 37 | // Set the item's attribute value 38 | virtual void SetItemValue(LPARAM lParam); 39 | 40 | protected: 41 | CString m_sAttribute; 42 | }; 43 | 44 | 45 | #endif // _PROPTREEITEMSTATIC_H 46 | -------------------------------------------------------------------------------- /src/game/vehicle/VehicleAnimated.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // VehicleAnimated.h 3 | // 4 | // Copyright 2002-2004 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __GAME_VEHICLEANIMATED_H__ 8 | #define __GAME_VEHICLEANIMATED_H__ 9 | 10 | #include "Vehicle.h" 11 | #include "../physics/Physics_Monster.h" 12 | 13 | class rvVehicleAnimated : public rvVehicle { 14 | public: 15 | 16 | CLASS_PROTOTYPE( rvVehicleAnimated ); 17 | 18 | rvVehicleAnimated ( void ); 19 | ~rvVehicleAnimated ( void ); 20 | 21 | void Spawn ( void ); 22 | void Think ( void ); 23 | void Save ( idSaveGame *savefile ) const; 24 | void Restore ( idRestoreGame *savefile ); 25 | 26 | virtual const idMat3& GetAxis ( int id = 0 ) const; 27 | 28 | void ClientPredictionThink ( void ); 29 | void WriteToSnapshot ( idBitMsgDelta &msg ) const; 30 | void ReadFromSnapshot ( const idBitMsgDelta &msg ); 31 | 32 | virtual bool GetPhysicsToVisualTransform ( idVec3 &origin, idMat3 &axis ); 33 | 34 | protected: 35 | 36 | // twhitaker: 37 | virtual void RunPrePhysics ( void ); 38 | virtual void RunPostPhysics ( void ); 39 | idVec3 storedPosition; 40 | // end twhitaker: 41 | 42 | idPhysics_Monster physicsObj; 43 | 44 | idAngles viewAngles; 45 | float turnRate; 46 | idVec3 additionalDelta; 47 | }; 48 | 49 | #endif // __GAME_VEHICLEANIMATED_H__ 50 | -------------------------------------------------------------------------------- /src/sys/linux/process.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # process stdin into an M4 macro definition file 3 | # recognize three keyword qgl qwgl qglX 4 | # 5 | # output 6 | # global macros keep track of the three intervals for function types: 7 | # gl_start gl_end wgl_start wgl_end glX_start glX_end 8 | # NOTE: will we need similar thing for extensions? 9 | # 10 | # each function: 11 | # f_ret: return type 12 | # f_name: function name 13 | # f_params: complete params 14 | # 15 | # ex: 16 | # define(`f1_ret', `void') 17 | # define(`f1_name', `Accum') 18 | # define(`f1_params', ``GLenum op, GLfloat value'') 19 | # 20 | 21 | import sys, string 22 | from read import read_gl 23 | 24 | (gl, wgl, glX) = read_gl(sys.stdin) 25 | 26 | sys.stdout.write('define(`gl_start\', `0\')\n') 27 | sys.stdout.write('define(`gl_end\', `%d\')\n' % int(len(gl)-1)) 28 | sys.stdout.write('define(`wgl_start\', `%d\')\n' % int(len(gl))) 29 | sys.stdout.write('define(`wgl_end\', `%d\')\n' % int(len(gl)+len(wgl)-1)) 30 | sys.stdout.write('define(`glX_start\', `%d\')\n' % int(len(gl)+len(wgl))) 31 | sys.stdout.write('define(`glX_end\', `%d\')\n' % int(len(gl)+len(wgl)+len(glX)-1)) 32 | 33 | i = 0 34 | for l in (gl, wgl, glX): 35 | for t in l: 36 | # process ret type to strip trailing spaces 37 | t[0] = string.strip(t[0]) 38 | sys.stdout.write('define(`f%d_ret\', `%s\')\n' % (i, t[0])) 39 | sys.stdout.write('define(`f%d_name\', `%s\')\n' % (i, t[2])) 40 | sys.stdout.write('define(`f%d_params\', ``%s\'\')\n' % (i, t[3])) 41 | i += 1 42 | -------------------------------------------------------------------------------- /src/idlib/containers/PlaneSet.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __PLANESET_H__ 3 | #define __PLANESET_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Plane Set 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idPlaneSet : public idList { 14 | public: 15 | 16 | void Clear( void ) { idList::Clear(); hash.Free(); } 17 | 18 | int FindPlane( const idPlane &plane, const float normalEps, const float distEps ); 19 | 20 | private: 21 | idHashIndex hash; 22 | }; 23 | 24 | ID_INLINE int idPlaneSet::FindPlane( const idPlane &plane, const float normalEps, const float distEps ) { 25 | int i, border, hashKey; 26 | 27 | assert( distEps <= 0.125f ); 28 | 29 | hashKey = (int)( idMath::Fabs( plane.Dist() ) * 0.125f ); 30 | for ( border = -1; border <= 1; border++ ) { 31 | for ( i = hash.First( hashKey + border ); i >= 0; i = hash.Next( i ) ) { 32 | if ( (*this)[i].Compare( plane, normalEps, distEps ) ) { 33 | return i; 34 | } 35 | } 36 | } 37 | 38 | if ( plane.Type() >= PLANETYPE_NEGX && plane.Type() < PLANETYPE_TRUEAXIAL ) { 39 | Append( -plane ); 40 | hash.Add( hashKey, Num()-1 ); 41 | Append( plane ); 42 | hash.Add( hashKey, Num()-1 ); 43 | return ( Num() - 1 ); 44 | } 45 | else { 46 | Append( plane ); 47 | hash.Add( hashKey, Num()-1 ); 48 | Append( -plane ); 49 | hash.Add( hashKey, Num()-1 ); 50 | return ( Num() - 2 ); 51 | } 52 | } 53 | 54 | #endif /* !__PLANESET_H__ */ 55 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/ogg/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002, Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /src/sound/OggVorbis/vorbis/COPYING: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002, Xiph.org Foundation 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions 5 | are met: 6 | 7 | - Redistributions of source code must retain the above copyright 8 | notice, this list of conditions and the following disclaimer. 9 | 10 | - Redistributions in binary form must reproduce the above copyright 11 | notice, this list of conditions and the following disclaimer in the 12 | documentation and/or other materials provided with the distribution. 13 | 14 | - Neither the name of the Xiph.org Foundation nor the names of its 15 | contributors may be used to endorse or promote products derived from 16 | this software without specific prior written permission. 17 | 18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 19 | ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 20 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 21 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION 22 | OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 23 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 24 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 | -------------------------------------------------------------------------------- /src/game/Sound.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __GAME_SOUND_H__ 3 | #define __GAME_SOUND_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Generic sound emitter. 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idSound : public idEntity { 14 | public: 15 | CLASS_PROTOTYPE( idSound ); 16 | 17 | idSound( void ); 18 | 19 | void Save( idSaveGame *savefile ) const; 20 | void Restore( idRestoreGame *savefile ); 21 | 22 | virtual void UpdateChangeableSpawnArgs( const idDict *source ); 23 | 24 | void Spawn( void ); 25 | 26 | void ToggleOnOff( idEntity *other, idEntity *activator ); 27 | void Think( void ); 28 | void SetSound( const char *sound, int channel = SND_CHANNEL_ANY ); 29 | 30 | virtual void ShowEditingDialog( void ); 31 | 32 | private: 33 | float lastSoundVol; 34 | float soundVol; 35 | float random; 36 | float wait; 37 | bool timerOn; 38 | idVec3 shakeTranslate; 39 | idAngles shakeRotate; 40 | int playingUntilTime; 41 | 42 | void Event_Trigger( idEntity *activator ); 43 | void Event_Timer( void ); 44 | void Event_On( void ); 45 | void Event_Off( void ); 46 | 47 | void DoSound( bool play ); 48 | // RAVEN BEGIN 49 | // jshepard: Allow speakers to target lights and tie them to the speaker's ref sound 50 | void SetTargetSoundHandles( void ); 51 | // abahr 52 | virtual void FindTargets(); 53 | bool GetPhysicsToSoundTransform( idVec3 &origin, idMat3 &axis ); 54 | // RAVEN END 55 | 56 | }; 57 | 58 | #endif /* !__GAME_SOUND_H__ */ 59 | -------------------------------------------------------------------------------- /src/_DoomDLL.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Doom III Executable 6 | 7 | 8 | 9 | sound/vorbis/include;%(AdditionalIncludeDirectories) 10 | __DOOM__;__DOOM_DLL__;%(PreprocessorDefinitions) 11 | 12 | 13 | Level3 14 | 15 | 16 | dbghelp.lib;dinput8.lib;dsound.lib;dxguid.lib;eaxguid.lib;glu32.lib;iphlpapi.lib;odbc32.lib;odbccp32.lib;opengl32.lib;winmm.lib;wsock32.lib;%(AdditionalDependencies) 17 | C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86;openal\lib;sys\win32\dongle;%(AdditionalLibraryDirectories) 18 | $(OutDir)DOOM3.exe 19 | %(AdditionalManifestDependencies) 20 | Windows 21 | 16777216 22 | 16777216 23 | true 24 | 25 | 26 | -------------------------------------------------------------------------------- /src/_Release.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | <_ProjectFileVersion>10.0.40219.1 5 | <_PropertySheetDisplayName>Release 6 | 7 | 8 | 9 | MaxSpeed 10 | AnySuitable 11 | true 12 | true 13 | NDEBUG;%(PreprocessorDefinitions) 14 | true 15 | MultiThreaded 16 | false 17 | true 18 | true 19 | ProgramDatabase 20 | 21 | 22 | nafxcw.lib;libcmt.lib;%(AdditionalDependencies) 23 | nafxcw.lib;libcmt.lib;%(IgnoreSpecificDefaultLibraries) 24 | false 25 | false 26 | true 27 | true 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/bse/BSE_EffectTemplate.cpp: -------------------------------------------------------------------------------- 1 | // BSE_EffectTemplate.cpp 2 | // 3 | 4 | #include "precompiled.h" 5 | 6 | #include "BSE_Envelope.h" 7 | #include "BSE_Particle.h" 8 | #include "BSE.h" 9 | #include "BSE_SpawnDomains.h" 10 | 11 | void rvDeclEffect::Init() 12 | { 13 | mMinDuration = 0.0; 14 | mMaxDuration = 0.0; 15 | mSize = 512.0; 16 | mFlags = 0; 17 | mPlayCount = 0; 18 | mLoopCount = 0; 19 | mCutOffDistance = 0.0; 20 | mSegmentTemplates.Clear(); 21 | } 22 | 23 | bool rvDeclEffect::SetDefaultText() 24 | { 25 | char generated[1024]; // [esp+4h] [ebp-404h] 26 | 27 | idStr::snPrintf(generated, sizeof(generated), "effect %s // IMPLICITLY GENERATED\n"); 28 | SetText(generated); 29 | return false; 30 | } 31 | 32 | size_t rvDeclEffect::Size(void) const { 33 | return sizeof(rvDeclEffect); 34 | } 35 | 36 | int rvDeclEffect::GetTrailSegmentIndex(const idStr& name) 37 | { 38 | return 0; 39 | } 40 | 41 | float rvDeclEffect::EvaluateCost(int activeParticles, int segment) const 42 | { 43 | return 0; 44 | } 45 | 46 | void rvDeclEffect::FreeData() 47 | { 48 | 49 | } 50 | 51 | const char* rvDeclEffect::DefaultDefinition() const 52 | { 53 | return "{\n}\n"; 54 | } 55 | 56 | void rvDeclEffect::SetMinDuration(float duration) 57 | { 58 | if (this->mMinDuration < duration) 59 | this->mMinDuration = duration; 60 | } 61 | 62 | void rvDeclEffect::SetMaxDuration(float duration) 63 | { 64 | if (this->mMaxDuration < duration) 65 | this->mMaxDuration = duration; 66 | } 67 | 68 | void rvDeclEffect::Finish() { 69 | 70 | } 71 | 72 | bool rvDeclEffect::Parse(const char* text, const int textLength) { 73 | 74 | return true; 75 | } 76 | -------------------------------------------------------------------------------- /src/game/physics/Force_Spring.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef __FORCE_SPRING_H__ 3 | #define __FORCE_SPRING_H__ 4 | 5 | /* 6 | =============================================================================== 7 | 8 | Spring force 9 | 10 | =============================================================================== 11 | */ 12 | 13 | class idForce_Spring : public idForce { 14 | 15 | public: 16 | CLASS_PROTOTYPE( idForce_Spring ); 17 | 18 | idForce_Spring( void ); 19 | virtual ~idForce_Spring( void ); 20 | // initialize the spring 21 | void InitSpring( float Kstretch, float Kcompress, float damping, float restLength ); 22 | // set the entities and positions on these entities the spring is attached to 23 | void SetPosition( idPhysics *physics1, int id1, const idVec3 &p1, 24 | idPhysics *physics2, int id2, const idVec3 &p2 ); 25 | 26 | void Save( idSaveGame *savefile ) const; 27 | void Restore( idRestoreGame *savefile ); 28 | 29 | public: // common force interface 30 | virtual void Evaluate( int time ); 31 | virtual void RemovePhysics( const idPhysics *phys ); 32 | 33 | private: 34 | 35 | // spring properties 36 | float Kstretch; 37 | float Kcompress; 38 | float damping; 39 | float restLength; 40 | 41 | // positioning 42 | idPhysics * physics1; // first physics object 43 | int id1; // clip model id of first physics object 44 | idVec3 p1; // position on clip model 45 | idPhysics * physics2; // second physics object 46 | int id2; // clip model id of second physics object 47 | idVec3 p2; // position on clip model 48 | 49 | }; 50 | 51 | #endif /* !__FORCE_SPRING_H__ */ 52 | -------------------------------------------------------------------------------- /src/tools/materialeditor/MaterialView.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | 4 | Doom 3 GPL Source Code 5 | Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. 6 | 7 | This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). 8 | 9 | Doom 3 Source Code is free software: you can redistribute it and/or modify 10 | it under the terms of the GNU General Public License as published by 11 | the Free Software Foundation, either version 3 of the License, or 12 | (at your option) any later version. 13 | 14 | Doom 3 Source Code is distributed in the hope that it will be useful, 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | GNU General Public License for more details. 18 | 19 | You should have received a copy of the GNU General Public License 20 | along with Doom 3 Source Code. If not, see . 21 | 22 | In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below. 23 | 24 | If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 25 | 26 | =========================================================================== 27 | */ 28 | #include "precompiled.h" 29 | #pragma hdrstop 30 | 31 | #include "materialview.h" 32 | 33 | -------------------------------------------------------------------------------- /src/framework/DeclMatType.cpp: -------------------------------------------------------------------------------- 1 | // DeclMatType.cpp 2 | // 3 | 4 | #include "precompiled.h" 5 | #pragma hdrstop 6 | 7 | /* 8 | ======================= 9 | rvDeclMatType::DefaultDefinition 10 | ======================= 11 | */ 12 | const char* rvDeclMatType::DefaultDefinition(void) const { 13 | return "{ description \"\" rgb 0,0,0 }"; 14 | } 15 | 16 | /* 17 | ======================= 18 | rvDeclMatType::Parse 19 | ======================= 20 | */ 21 | bool rvDeclMatType::Parse(const char* text, const int textLength) { 22 | idLexer src; 23 | idToken token, token2; 24 | 25 | src.LoadMemory(text, textLength, GetFileName(), GetLineNum()); 26 | src.SetFlags(DECL_LEXER_FLAGS); 27 | src.SkipUntilString("{"); 28 | 29 | while (1) { 30 | if (!src.ReadToken(&token)) { 31 | break; 32 | } 33 | 34 | if (!token.Icmp("}")) { 35 | break; 36 | } 37 | else if (token == "rgb") 38 | { 39 | mTint[0] = src.ParseInt(); 40 | src.ExpectTokenString(","); 41 | mTint[1] = src.ParseInt(); 42 | src.ExpectTokenString(","); 43 | mTint[2] = src.ParseInt(); 44 | } 45 | else if (token == "description") 46 | { 47 | src.ReadToken(&token); 48 | mDescription = token; 49 | continue; 50 | } 51 | else 52 | { 53 | src.Error("rvDeclMatType::Parse: Invalid or unexpected token %s\n", token.c_str()); 54 | return false; 55 | } 56 | } 57 | return true; 58 | } 59 | 60 | /* 61 | ======================= 62 | rvDeclMatType::FreeData 63 | ======================= 64 | */ 65 | void rvDeclMatType::FreeData(void) { 66 | 67 | } 68 | 69 | /* 70 | ======================= 71 | rvDeclMatType::Size 72 | ======================= 73 | */ 74 | size_t rvDeclMatType::Size(void) const { 75 | return sizeof(rvDeclMatType); 76 | } -------------------------------------------------------------------------------- /src/sys/stub/util_stub.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | 4 | Doom 3 GPL Source Code 5 | Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. 6 | 7 | This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). 8 | 9 | Doom 3 Source Code is free software: you can redistribute it and/or modify 10 | it under the terms of the GNU General Public License as published by 11 | the Free Software Foundation, either version 3 of the License, or 12 | (at your option) any later version. 13 | 14 | Doom 3 Source Code is distributed in the hope that it will be useful, 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | GNU General Public License for more details. 18 | 19 | You should have received a copy of the GNU General Public License 20 | along with Doom 3 Source Code. If not, see . 21 | 22 | In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below. 23 | 24 | If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 25 | 26 | =========================================================================== 27 | */ 28 | 29 | #include "../../idlib/precompiled.h" 30 | #pragma hdrstop 31 | 32 | void EditorPrintConsole(const char *msg) { 33 | } 34 | -------------------------------------------------------------------------------- /src/idlib/containers/Pair.h: -------------------------------------------------------------------------------- 1 | //---------------------------------------------------------------- 2 | // Pair.cpp 3 | // 4 | // Copyright 2002-2004 Raven Software 5 | //---------------------------------------------------------------- 6 | 7 | #ifndef __PAIR_H__ 8 | #define __PAIR_H__ 9 | 10 | template< class type1, class type2 > 11 | class rvPair { 12 | public: 13 | rvPair() {}; 14 | rvPair( const type1& T1, const type2& T2 ) { first = T1; second = T2; }; 15 | 16 | const type1& First( void ) const { return first; }; 17 | const type2& Second( void ) const { return second; }; 18 | 19 | static int rvPairFirstCompare( const rvPair< type1, type2 > *a, const rvPair< type1, type2 > *b ) { 20 | return b->First() - a->First(); 21 | } 22 | 23 | static int rvPairSecondCompare( const rvPair< type1, type2 > *a, const rvPair< type1, type2 > *b ) { 24 | return b->Second() - a->Second(); 25 | } 26 | 27 | static int rvPairFirstCompareDirect( const rvPair< type1, type2 > *a, const rvPair< type1, type2 > *b ) { 28 | if( b->First() - a->First() < 0.001f || b->First() - a->First() < -0.001f ) { 29 | return 0; 30 | } 31 | 32 | if( a->First() > b->First() ) { 33 | return -1; 34 | } else if( a->First() < b->First() ) { 35 | return 1; 36 | } 37 | return 0; 38 | } 39 | 40 | static int rvPairSecondCompareDirect( const rvPair< type1, type2 > *a, const rvPair< type1, type2 > *b ) { 41 | if( b->Second() - a->Second() < 0.001f || b->Second() - a->Second() < -0.001f ) { 42 | return 0; 43 | } 44 | 45 | if( a->Second() > b->Second() ) { 46 | return -1; 47 | } else if( a->Second() < b->Second() ) { 48 | return 1; 49 | } 50 | return 0; 51 | } 52 | 53 | private: 54 | type1 first; 55 | type2 second; 56 | }; 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /src/tools/guied/GEOptionsDlg.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | 4 | Doom 3 GPL Source Code 5 | Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company. 6 | 7 | This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?). 8 | 9 | Doom 3 Source Code is free software: you can redistribute it and/or modify 10 | it under the terms of the GNU General Public License as published by 11 | the Free Software Foundation, either version 3 of the License, or 12 | (at your option) any later version. 13 | 14 | Doom 3 Source Code is distributed in the hope that it will be useful, 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | GNU General Public License for more details. 18 | 19 | You should have received a copy of the GNU General Public License 20 | along with Doom 3 Source Code. If not, see . 21 | 22 | In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below. 23 | 24 | If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA. 25 | 26 | =========================================================================== 27 | */ 28 | #ifndef GEOPTIONSDLG_H_ 29 | #define GEOPTIONSDLG_H_ 30 | 31 | bool GEOptionsDlg_DoModal ( HWND parent ); 32 | 33 | #endif // GEOPTIONSDLG_H_ --------------------------------------------------------------------------------