├── dist ├── macosx │ └── todo ├── windows │ └── todo └── linux │ └── share │ ├── icons │ └── hicolor │ │ ├── 128x128 │ │ └── apps │ │ │ └── org.dhewm3.Dhewm3.png │ │ └── 256x256 │ │ └── apps │ │ └── org.dhewm3.Dhewm3.png │ └── applications │ ├── org.dhewm3.Dhewm3.desktop │ └── org.dhewm3.Dhewm3.d3xp.desktop ├── base └── default.cfg ├── neo ├── sys │ ├── linux │ │ ├── setup │ │ │ ├── binary.conf │ │ │ ├── brandelf.c │ │ │ ├── makeself │ │ │ │ ├── TODO │ │ │ │ ├── README │ │ │ │ ├── makeself.1 │ │ │ │ ├── makeself.lsm │ │ │ │ ├── makeself.sh │ │ │ │ └── update-readme │ │ │ ├── image │ │ │ │ ├── License.txt │ │ │ │ ├── doom3.png │ │ │ │ ├── bin │ │ │ │ │ └── Linux │ │ │ │ │ │ └── x86 │ │ │ │ │ │ ├── doom3 │ │ │ │ │ │ └── doom3-dedicated │ │ │ │ ├── openurl.sh │ │ │ │ ├── setup.data │ │ │ │ │ ├── setup.xml.in │ │ │ │ │ └── postinstall.sh │ │ │ │ └── README │ │ │ ├── image-demo │ │ │ │ ├── License.txt │ │ │ │ ├── bin │ │ │ │ │ └── Linux │ │ │ │ │ │ └── x86 │ │ │ │ │ │ └── doom3-demo │ │ │ │ ├── setup.data │ │ │ │ │ ├── setup.xml.in │ │ │ │ │ └── postinstall.sh │ │ │ │ └── README │ │ │ ├── lokisetup │ │ │ │ ├── loki_setup.tgz │ │ │ │ └── loki_setupdb.tgz │ │ │ ├── image-sdk │ │ │ │ ├── License.SDK.txt │ │ │ │ ├── setup.data │ │ │ │ │ ├── setup.xml.in │ │ │ │ │ └── config.sh │ │ │ │ └── README.SDK.txt │ │ │ ├── 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 │ │ │ └── loki_setup.patch │ │ ├── pk4 │ │ │ ├── packup-nocase.sh │ │ │ ├── packup.sh │ │ │ ├── updatepaks.sh │ │ │ └── syncfromlist.sh │ │ └── runner │ │ │ └── runner.tac │ ├── aros │ │ ├── setup │ │ │ ├── ADoom3.info.src │ │ │ ├── ADoom3.png │ │ │ └── mmakefile.src │ │ ├── ADoom3.info.src │ │ ├── ROE.info.src │ │ ├── ROE.png │ │ ├── ADoom3.png │ │ ├── mmakefile.src │ │ ├── dll │ │ │ ├── dllimport.c │ │ │ └── dllglue.c │ │ ├── aros_local.h │ │ └── aros_dedicated.cpp │ ├── win32 │ │ ├── rc │ │ │ ├── dhewm3.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 │ │ │ ├── CreateResourceIDs.h │ │ │ ├── doom_resource.h │ │ │ └── ScriptEditor_resource.h │ │ ├── win_input.cpp │ │ └── sdk │ │ │ ├── D3SDK.nsi │ │ │ └── prepare.py │ ├── osx │ │ ├── Doom3.icns │ │ ├── Doom 3.rsrc │ │ ├── SDLMain.h │ │ ├── version.plist │ │ ├── Info.plist │ │ └── DLL.OSX.txt │ └── posix │ │ └── posix_public.h ├── mmakefile.src ├── MayaImport │ ├── mayaimport.def │ └── maya_main.h ├── tools │ ├── radiant │ │ ├── Z.CPP │ │ ├── QE3.CPP │ │ ├── XYWnd.cpp │ │ ├── WIN_DLG.CPP │ │ ├── WIN_QE3.CPP │ │ ├── WIN_QE3.RC2 │ │ ├── autocaulk.h │ │ ├── PARSE.H │ │ ├── Z.H │ │ ├── CurveDlg.h │ │ └── CommentsDlg.h │ ├── 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 │ │ └── Tools.hhc │ ├── common │ │ ├── PropTree │ │ │ ├── PropTreeView.h │ │ │ ├── PropTreeItemFileEdit.h │ │ │ ├── PropTreeItemStatic.h │ │ │ ├── PropTreeItemStatic.cpp │ │ │ ├── PropTreeItemButton.h │ │ │ └── PropTreeInfo.h │ │ ├── MaskEdit.h │ │ ├── RenderBumpFlatDialog.h │ │ ├── SpinButton.h │ │ └── ColorButton.h │ ├── materialeditor │ │ ├── MaterialView.cpp │ │ └── MaterialEditor.h │ ├── guied │ │ ├── GEOptionsDlg.h │ │ ├── GEItemScriptsDlg.h │ │ ├── GEItemPropsDlg.h │ │ ├── GEModifier.cpp │ │ ├── GEDeleteModifier.h │ │ ├── GEHideModifier.h │ │ ├── GEInsertModifier.h │ │ ├── GEPropertyPage.h │ │ ├── GEStateModifier.h │ │ ├── GEZOrderModifier.h │ │ ├── GEMoveModifier.h │ │ ├── GEWindowWrapper_stub.cpp │ │ ├── GESizeModifier.h │ │ └── GEModifierGroup.h │ ├── debugger │ │ ├── DebuggerMessages.h │ │ └── DebuggerFindDlg.h │ ├── compilers │ │ └── aas │ │ │ └── AASFileManager.h │ └── af │ │ └── DialogAFName.h ├── config.h.in ├── idlib │ ├── hashing │ │ ├── MD4.h │ │ ├── MD5.h │ │ └── CRC32.h │ ├── math │ │ ├── Complex.cpp │ │ └── Simd_3DNow.h │ └── geometry │ │ └── DrawVert.cpp ├── sound │ └── efxlib.h ├── renderer │ ├── glsl │ │ ├── stencilShadowShaderFP.cpp │ │ ├── diffuseMapShaderFP.cpp │ │ ├── cubeMapShaderFP.cpp │ │ ├── stencilShadowShaderVP.cpp │ │ ├── zfillShaderFP.cpp │ │ ├── zfillShaderVP.cpp │ │ ├── zfillClipShaderFP.cpp │ │ ├── fogShaderFP.cpp │ │ ├── zfillClipShaderVP.cpp │ │ ├── diffuseCubeShaderVP.cpp │ │ ├── skyboxCubeShaderVP.cpp │ │ ├── diffuseMapShaderVP.cpp │ │ ├── blendLightShaderVP.cpp │ │ ├── fogShaderVP.cpp │ │ ├── reflectionCubeShaderVP.cpp │ │ └── glsl_shaders.h │ └── qgl.h ├── framework │ ├── BuildVersion.h │ ├── Unzip.h │ ├── DemoChecksum.h │ └── DeclEntityDef.h ├── d3xp │ ├── gamesys │ │ ├── SysCmds.h │ │ └── DebugGraph.h │ └── WorldSpawn.h ├── game │ ├── gamesys │ │ ├── SysCmds.h │ │ └── DebugGraph.h │ └── WorldSpawn.h └── ui │ ├── GameWindow.h │ ├── GameWindow.cpp │ └── FieldWindow.h ├── COPYING.txt └── .gitignore /dist/macosx/todo: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /dist/windows/todo: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /base/default.cfg: -------------------------------------------------------------------------------- 1 | # empty file 2 | -------------------------------------------------------------------------------- /neo/sys/linux/setup/binary.conf: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /neo/sys/aros/setup/ADoom3.info.src: -------------------------------------------------------------------------------- 1 | TYPE = DRAWER 2 | -------------------------------------------------------------------------------- /neo/sys/win32/rc/dhewm3.rc: -------------------------------------------------------------------------------- 1 | icon ICON "res/doom.ico" 2 | -------------------------------------------------------------------------------- /neo/sys/aros/ADoom3.info.src: -------------------------------------------------------------------------------- 1 | TYPE = TOOL 2 | STACK = 10000000 3 | -------------------------------------------------------------------------------- /neo/sys/aros/ROE.info.src: -------------------------------------------------------------------------------- 1 | TYPE = PROJECT 2 | DEFAULTTOOL = C:IconX 3 | -------------------------------------------------------------------------------- /COPYING.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/COPYING.txt -------------------------------------------------------------------------------- /neo/mmakefile.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/mmakefile.src -------------------------------------------------------------------------------- /neo/MayaImport/mayaimport.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | dllEntry 3 | Maya_ConvertModel 4 | Maya_Shutdown 5 | -------------------------------------------------------------------------------- /neo/sys/aros/ROE.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/aros/ROE.png -------------------------------------------------------------------------------- /neo/sys/osx/Doom3.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/osx/Doom3.icns -------------------------------------------------------------------------------- /neo/sys/aros/ADoom3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/aros/ADoom3.png -------------------------------------------------------------------------------- /neo/sys/osx/Doom 3.rsrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/osx/Doom 3.rsrc -------------------------------------------------------------------------------- /neo/tools/radiant/Z.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/radiant/Z.CPP -------------------------------------------------------------------------------- /neo/sys/aros/mmakefile.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/aros/mmakefile.src -------------------------------------------------------------------------------- /neo/sys/win32/rc/Radiant.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/Radiant.rc -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/Q.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/Q.BMP -------------------------------------------------------------------------------- /neo/sys/win32/win_input.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/win_input.cpp -------------------------------------------------------------------------------- /neo/tools/Help/MT_help.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/MT_help.htm -------------------------------------------------------------------------------- /neo/tools/radiant/QE3.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/radiant/QE3.CPP -------------------------------------------------------------------------------- /neo/tools/radiant/XYWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/radiant/XYWnd.cpp -------------------------------------------------------------------------------- /neo/sys/aros/setup/ADoom3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/aros/setup/ADoom3.png -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/doom.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/doom.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/qe3.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/qe3.ico -------------------------------------------------------------------------------- /neo/tools/radiant/WIN_DLG.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/radiant/WIN_DLG.CPP -------------------------------------------------------------------------------- /neo/tools/radiant/WIN_QE3.CPP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/radiant/WIN_QE3.CPP -------------------------------------------------------------------------------- /neo/tools/radiant/WIN_QE3.RC2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/radiant/WIN_QE3.RC2 -------------------------------------------------------------------------------- /neo/sys/linux/setup/brandelf.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/brandelf.c -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/BEVEL.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/BEVEL.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/BITMAP2.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/BITMAP2.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/BMP0002.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/BMP0002.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/DEFTEX.WAL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/DEFTEX.WAL -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/ENDCAP.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/ENDCAP.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/IBEVEL.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/IBEVEL.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/IENDCAP.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/IENDCAP.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/Radiant.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/Radiant.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/Toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/Toolbar.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/cchsb.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/cchsb.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/ccrgb.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/ccrgb.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/fpoint.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/fpoint.cur -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/icon2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/icon2.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/spliter.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/spliter.cur -------------------------------------------------------------------------------- /neo/tools/Help/MVH_Overview.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/MVH_Overview.htm -------------------------------------------------------------------------------- /neo/tools/Help/images/Play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/Play.png -------------------------------------------------------------------------------- /neo/tools/Help/images/orgoff.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/orgoff.png -------------------------------------------------------------------------------- /neo/tools/Help/images/stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/stop.png -------------------------------------------------------------------------------- /neo/sys/linux/setup/makeself/TODO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/makeself/TODO -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/BMP00001.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/BMP00001.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/MEtoolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/MEtoolbar.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/RADIANT3.GIF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/RADIANT3.GIF -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/TOOLBAR1.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/TOOLBAR1.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/TOOLBAR2.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/TOOLBAR2.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/VIEWDEFA.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/VIEWDEFA.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/VIEWOPPO.BMP: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/VIEWOPPO.BMP -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/bmp00002.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/bmp00002.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/bmp00003.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/bmp00003.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/bmp00004.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/bmp00004.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/bmp00005.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/bmp00005.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/dbg_back.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/dbg_back.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/dbg_empty.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/dbg_empty.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/dbg_open.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/dbg_open.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/fxed_link.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/fxed_link.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/fxeditor.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/fxeditor.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/matedtree.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/matedtree.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/shaderbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/shaderbar.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/shaderdoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/shaderdoc.ico -------------------------------------------------------------------------------- /neo/tools/Help/images/OpenAnim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/OpenAnim.png -------------------------------------------------------------------------------- /neo/tools/Help/images/OpenMesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/OpenMesh.png -------------------------------------------------------------------------------- /neo/tools/Help/images/PrevAnim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/PrevAnim.png -------------------------------------------------------------------------------- /neo/tools/Help/images/animloop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/animloop.png -------------------------------------------------------------------------------- /neo/tools/Help/images/diffuse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/diffuse.png -------------------------------------------------------------------------------- /neo/tools/Help/images/lastanim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/lastanim.png -------------------------------------------------------------------------------- /neo/tools/Help/images/nextanim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/nextanim.png -------------------------------------------------------------------------------- /neo/tools/Help/images/resetcam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/resetcam.png -------------------------------------------------------------------------------- /neo/tools/Help/images/showskel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/showskel.png -------------------------------------------------------------------------------- /neo/tools/Help/images/showsurf.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/showsurf.png -------------------------------------------------------------------------------- /neo/tools/Help/images/showtris.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/showtris.png -------------------------------------------------------------------------------- /neo/tools/Help/images/specular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/specular.png -------------------------------------------------------------------------------- /neo/sys/linux/setup/image/License.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image/License.txt -------------------------------------------------------------------------------- /neo/sys/linux/setup/image/doom3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image/doom3.png -------------------------------------------------------------------------------- /neo/sys/linux/setup/makeself/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/makeself/README -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/RadiantDoc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/RadiantDoc.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/dbg_current.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/dbg_current.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/dbg_toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/dbg_toolbar.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/fxed_toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/fxed_toolbar.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_expand.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_expand.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_hand.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_hand.cur -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/logo_sm3dfx.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/logo_sm3dfx.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/me_enabled.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/me_enabled.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/me_off_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/me_off_icon.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/me_on_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/me_on_icon.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/shaderframe.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/shaderframe.ico -------------------------------------------------------------------------------- /neo/tools/Help/images/FirstAnim.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/FirstAnim.png -------------------------------------------------------------------------------- /neo/tools/Help/images/reloadtex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/reloadtex.png -------------------------------------------------------------------------------- /neo/tools/Help/images/showbones.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/showbones.png -------------------------------------------------------------------------------- /neo/tools/Help/images/shownorms.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/shownorms.png -------------------------------------------------------------------------------- /neo/sys/linux/setup/makeself/makeself.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/makeself/makeself.1 -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/MEFileToolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/MEFileToolbar.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/MaterialEditor.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/MaterialEditor.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/dbg_breakpoint.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/dbg_breakpoint.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_collapse.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_collapse.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_scripts.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_scripts.ico -------------------------------------------------------------------------------- /neo/tools/Help/images/showoverdraw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/tools/Help/images/showoverdraw.png -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-demo/License.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-demo/License.txt -------------------------------------------------------------------------------- /neo/sys/linux/setup/makeself/makeself.lsm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/makeself/makeself.lsm -------------------------------------------------------------------------------- /neo/sys/linux/setup/makeself/makeself.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/makeself/makeself.sh -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/dbg_currentline.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/dbg_currentline.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_nav_visible.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_nav_visible.ico -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/me_disabled_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/me_disabled_icon.ico -------------------------------------------------------------------------------- /neo/sys/linux/setup/lokisetup/loki_setup.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/lokisetup/loki_setup.tgz -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_scripts_white.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_scripts_white.ico -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-sdk/License.SDK.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-sdk/License.SDK.txt -------------------------------------------------------------------------------- /neo/sys/linux/setup/lokisetup/loki_setupdb.tgz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/lokisetup/loki_setupdb.tgz -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_viewer_toolbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_viewer_toolbar.bmp -------------------------------------------------------------------------------- /neo/sys/win32/rc/res/guied_nav_visibledisabled.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/win32/rc/res/guied_nav_visibledisabled.ico -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/bin/Linux/x86/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/bin/Linux/x86/setup -------------------------------------------------------------------------------- /dist/linux/share/icons/hicolor/128x128/apps/org.dhewm3.Dhewm3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/dist/linux/share/icons/hicolor/128x128/apps/org.dhewm3.Dhewm3.png -------------------------------------------------------------------------------- /dist/linux/share/icons/hicolor/256x256/apps/org.dhewm3.Dhewm3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/dist/linux/share/icons/hicolor/256x256/apps/org.dhewm3.Dhewm3.png -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/xsu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/xsu -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/setup.gtk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/bin/Linux/x86/glibc-2.1/setup.gtk -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/setup.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/setup.mo -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/de/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/es/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/fr/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/it/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/nl/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/ru/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/sv/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/loki-uninstall.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/emileb/d3es-multithread/HEAD/neo/sys/linux/setup/image-base/setup.data/locale/en_UK/LC_MESSAGES/loki-uninstall.mo -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build* 2 | *~ 3 | .*.swp 4 | *.pyc 5 | .cproject 6 | .project 7 | .settings/ 8 | 9 | /dhewm* 10 | /*-releases/ 11 | /neo/.vs* 12 | /neo/out* 13 | /neo/build* 14 | /.vs* 15 | 16 | /neo/CMakeSettings.json 17 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/tools/Help/Tools.hhk: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | -------------------------------------------------------------------------------- /neo/tools/Help/default.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 |

Quake 4 tools table of contents

8 |

 

9 | 10 | 11 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /dist/linux/share/applications/org.dhewm3.Dhewm3.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Comment=dhewm 3 is a Doom 3 GPL source port 3 | Categories=Game;Shooter; 4 | Exec=dhewm3 "$@" 5 | Icon=org.dhewm3.Dhewm3 6 | Name=Dhewm3 7 | StartupNotify=true 8 | Terminal=false 9 | Type=Application 10 | Keywords=doom;first;person;shooter;dark;singleplayer;multiplayer; 11 | -------------------------------------------------------------------------------- /dist/linux/share/applications/org.dhewm3.Dhewm3.d3xp.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Comment=dhewm 3 is a Doom 3 GPL source port 3 | Categories=Game;Shooter; 4 | Exec=dhewm3 +set fs_game d3xp "$@" 5 | Icon=org.dhewm3.Dhewm3 6 | Name=Dhewm3 XP 7 | StartupNotify=true 8 | Terminal=false 9 | Type=Application 10 | Keywords=doom;first;person;shooter;dark;singleplayer;multiplayer; 11 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/config.h.in: -------------------------------------------------------------------------------- 1 | #ifndef __DOOM3_CONFIG_H__ 2 | #define __DOOM3_CONFIG_H__ 3 | 4 | #define BUILD_OS "@os@" 5 | #define BUILD_CPU "@cpu@" 6 | 7 | #define BUILD_LIBRARY_SUFFIX "@CMAKE_SHARED_LIBRARY_SUFFIX@" 8 | 9 | #define BUILD_LIBDIR "@libdir@" 10 | #define BUILD_DATADIR "@datadir@" 11 | 12 | #cmakedefine HAVE_JPEG_MEM_SRC 13 | 14 | #cmakedefine ID_ENABLE_CURL 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/idlib/hashing/MD4.h: -------------------------------------------------------------------------------- 1 | #ifndef __MD4_H__ 2 | #define __MD4_H__ 3 | 4 | /* 5 | =============================================================================== 6 | 7 | Calculates a checksum for a block of data 8 | using the MD4 message-digest algorithm. 9 | 10 | =============================================================================== 11 | */ 12 | 13 | unsigned int MD4_BlockChecksum( const void *data, int length ); 14 | 15 | #endif /* !__MD4_H__ */ 16 | -------------------------------------------------------------------------------- /neo/idlib/hashing/MD5.h: -------------------------------------------------------------------------------- 1 | #ifndef __MD5_H__ 2 | #define __MD5_H__ 3 | 4 | /* 5 | =============================================================================== 6 | 7 | Calculates a checksum for a block of data 8 | using the MD5 message-digest algorithm. 9 | 10 | =============================================================================== 11 | */ 12 | 13 | unsigned int MD5_BlockChecksum( const void *data, int length ); 14 | 15 | #endif /* !__MD5_H__ */ 16 | -------------------------------------------------------------------------------- /neo/sys/osx/SDLMain.h: -------------------------------------------------------------------------------- 1 | /* SDLMain.m - main entry point for our Cocoa-ized SDL app 2 | Initial Version: Darrell Walisser 3 | Non-NIB-Code & other changes: Max Horn 4 | 5 | Feel free to customize this file to suit your needs 6 | */ 7 | 8 | #ifndef _SDLMain_h_ 9 | #define _SDLMain_h_ 10 | 11 | #import 12 | 13 | @interface SDLMain : NSObject 14 | @end 15 | 16 | #endif /* _SDLMain_h_ */ 17 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/sys/aros/setup/mmakefile.src: -------------------------------------------------------------------------------- 1 | # $Id$ 2 | 3 | include $(TOP)/config/make.cfg 4 | 5 | #MM- aros-doom3 : aros-doom3-defconfig 6 | 7 | #MM aros-doom3-defconfig : aros-doom3-dirs 8 | 9 | aros-doom3-defconfig: $(AROS_CONTRIB)/Games/Fps/ADoom3/base/default.cfg 10 | 11 | $(AROS_CONTRIB)/Games/ADoom3/base/default.cfg: $(SRCDIR)/$(CURDIR)/default.cfg 12 | @$(CP) $< $@ 13 | 14 | %build_icons mmake=iconset-Gorilla-contrib-icons-extras-games-adoom3 icons=ADoom3 dir=$(AROS_CONTRIB)/Games/Fps 15 | 16 | #MM 17 | aros-doom3-dirs : 18 | %mkdirs_q $(AROS_CONTRIB)/Fps/Games/ADoom3/base 19 | 20 | %common 21 | -------------------------------------------------------------------------------- /neo/idlib/hashing/CRC32.h: -------------------------------------------------------------------------------- 1 | #ifndef __CRC32_H__ 2 | #define __CRC32_H__ 3 | 4 | /* 5 | =============================================================================== 6 | 7 | Calculates a checksum for a block of data 8 | using the CRC-32. 9 | 10 | =============================================================================== 11 | */ 12 | 13 | void CRC32_InitChecksum( unsigned int &crcvalue ); 14 | void CRC32_UpdateChecksum( unsigned int &crcvalue, const void *data, int length ); 15 | void CRC32_FinishChecksum( unsigned int &crcvalue ); 16 | unsigned int CRC32_BlockChecksum( const void *data, int length ); 17 | 18 | #endif /* !__CRC32_H__ */ 19 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/sys/linux/setup/image-sdk/README.SDK.txt: -------------------------------------------------------------------------------- 1 | DOOM III Linux SDK 2 | ================== 3 | 4 | The DOOM build system is based on scons ( a make replacement ) 5 | http://www.scons.org/ 6 | packages are available for most recent distributions 7 | 8 | To build, invoke scons from the src/ directory 9 | use 'scons -h' for build configuration options 10 | scons 0.96 or newer is required for build 11 | 12 | Release 1.3.1 is compiled with gcc 4.0. Note that you can specify the compiler by setting CC and CXX on the command line. If you use a different gcc release line than 4.x, you may run into ABI issues. 13 | 14 | Links 15 | ----- 16 | 17 | Doom III Linux FAQ: 18 | http://zerowing.idsoftware.com/linux/doom/ 19 | 20 | Doom III mod developement resources: 21 | http://www.iddevnet.com/ 22 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/sys/osx/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | dhewm3 9 | CFBundleIconFile 10 | Doom3.icns 11 | CFBundleIdentifier 12 | org.dhewg.dhewm3 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundlePackageType 16 | APPL 17 | CFBundleSignature 18 | DHM3 19 | CFBundleVersion 20 | 3000 21 | NSMainNibFile 22 | MainMenu 23 | NSPrincipalClass 24 | NSApplication 25 | 26 | 27 | -------------------------------------------------------------------------------- /neo/sys/aros/dll/dllimport.c: -------------------------------------------------------------------------------- 1 | /* 2 | ** This file handles the implicit (loadtime) imports. 3 | ** For a DLL its called automatically but a normal executable must call it manually 4 | ** if it wants to import symbols from a DLL 5 | */ 6 | 7 | #define __DLL_LIB_BUILD 8 | 9 | #include "dll.h" 10 | #include 11 | #include 12 | 13 | int dllImportSymbols() 14 | { 15 | dll_tImportSymbol *symtable=DLL_ImportSymbols; //reference caller's import symbol table 16 | 17 | while(symtable->SymbolPointer) //End of table ?? 18 | { 19 | void *sym; 20 | void *h=dllInternalLoadLibrary(symtable->DLLFileName,symtable->DLLPortName,0L); 21 | 22 | if(!h) 23 | return 0L; 24 | 25 | sym=dllGetProcAddress(h,symtable->SymbolName); 26 | 27 | if(!sym) 28 | return 0L; 29 | 30 | *symtable->SymbolPointer=sym; 31 | 32 | symtable++; 33 | } 34 | 35 | 36 | return 1L; //Success 37 | } 38 | -------------------------------------------------------------------------------- /neo/sys/aros/dll/dllglue.c: -------------------------------------------------------------------------------- 1 | /* 2 | ** This file contains glue linked into the "shared" object 3 | */ 4 | 5 | #define DEBUG 1 6 | 7 | #include 8 | #include 9 | 10 | #include "sys/aros/dll/dll.h" 11 | 12 | extern void *GetGameAPI(void *); 13 | 14 | void* dllFindResource(int id, char *pType) 15 | { 16 | return NULL; 17 | } 18 | 19 | void* dllLoadResource(void *pHandle) 20 | { 21 | return NULL; 22 | } 23 | 24 | void dllFreeResource(void *pHandle) 25 | { 26 | return; 27 | } 28 | 29 | dll_tExportSymbol DLL_ExportSymbols[] = 30 | { 31 | {dllFindResource, "dllFindResource"}, 32 | {dllLoadResource, "dllLoadResource"}, 33 | {dllFreeResource, "dllFreeResource"}, 34 | {(void *)GetGameAPI, "GetGameAPI"}, 35 | {0,0} 36 | }; 37 | 38 | dll_tImportSymbol DLL_ImportSymbols[] = 39 | { 40 | {0,0,0,0} 41 | }; 42 | 43 | int DLL_Init(void) 44 | { 45 | return 1; 46 | } 47 | 48 | void DLL_DeInit(void) 49 | { 50 | } 51 | -------------------------------------------------------------------------------- /neo/sound/efxlib.h: -------------------------------------------------------------------------------- 1 | /* 2 | */ 3 | 4 | #ifndef __EFXLIBH 5 | #define __EFXLIBH 6 | 7 | #include "idlib/containers/List.h" 8 | #include "idlib/Str.h" 9 | #include "idlib/Lexer.h" 10 | #include "idlib/Heap.h" 11 | #include "framework/Common.h" 12 | #include "sound/sound.h" 13 | 14 | #define EFX_VERBOSE 0 15 | 16 | #if EFX_VERBOSE 17 | #define EFXprintf(...) do { common->Printf(__VA_ARGS__); } while (false) 18 | #else 19 | #define EFXprintf(...) do { } while (false) 20 | #endif 21 | 22 | struct idSoundEffect { 23 | idSoundEffect(); 24 | ~idSoundEffect(); 25 | 26 | bool alloc(); 27 | 28 | idStr name; 29 | ALuint effect; 30 | }; 31 | 32 | class idEFXFile { 33 | public: 34 | idEFXFile(); 35 | ~idEFXFile(); 36 | 37 | bool FindEffect( idStr &name, ALuint *effect ); 38 | bool LoadFile( const char *filename, bool OSPath = false ); 39 | void Clear( void ); 40 | 41 | private: 42 | bool ReadEffect( idLexer &lexer, idSoundEffect *effect ); 43 | 44 | idListeffects; 45 | }; 46 | 47 | #endif // __EFXLIBH 48 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/renderer/glsl/stencilShadowShaderFP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const stencilShadowShaderFP = R"( 21 | #version 100 22 | precision lowp float; 23 | 24 | // Out 25 | // gl_FragColor 26 | 27 | void main(void) 28 | { 29 | gl_FragColor = vec4(0,0,0,1.0); 30 | } 31 | )"; 32 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/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 | virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct); 22 | #ifdef _DEBUG 23 | virtual void AssertValid() const; 24 | virtual void Dump(CDumpContext& dc) const; 25 | #endif 26 | 27 | CPropTree& GetPropertyTreeCtrl() { return m_Tree; }; 28 | 29 | protected: 30 | DECLARE_MESSAGE_MAP() 31 | 32 | public: 33 | virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, 34 | DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, 35 | CCreateContext* pContext = NULL); 36 | 37 | afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 38 | afx_msg void OnSize(UINT nType, int cx, int cy); 39 | afx_msg void OnPaint(); 40 | }; 41 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/renderer/glsl/diffuseMapShaderFP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const diffuseMapShaderFP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | varying vec2 var_TexCoord; 26 | varying lowp vec4 var_Color; 27 | 28 | // Uniforms 29 | uniform sampler2D u_fragmentMap0; 30 | uniform lowp vec4 u_glColor; 31 | 32 | // Out 33 | // gl_FragCoord 34 | 35 | void main(void) 36 | { 37 | gl_FragColor = texture2D(u_fragmentMap0, var_TexCoord) * u_glColor * var_Color; 38 | } 39 | )"; 40 | -------------------------------------------------------------------------------- /neo/renderer/glsl/cubeMapShaderFP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const cubeMapShaderFP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | varying vec3 var_TexCoord; 26 | varying lowp vec4 var_Color; 27 | 28 | // Uniforms 29 | uniform samplerCube u_fragmentCubeMap0; 30 | uniform lowp vec4 u_glColor; 31 | 32 | // Out 33 | // gl_FragColor 34 | 35 | void main(void) 36 | { 37 | gl_FragColor = textureCube(u_fragmentCubeMap0, var_TexCoord) * u_glColor * var_Color; 38 | } 39 | )"; 40 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/renderer/glsl/stencilShadowShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const stencilShadowShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | 27 | // Uniforms 28 | uniform highp mat4 u_modelViewProjectionMatrix; 29 | uniform vec4 u_lightOrigin; 30 | 31 | // Out 32 | // gl_Position 33 | 34 | void main(void) 35 | { 36 | gl_Position = u_modelViewProjectionMatrix * (attr_Vertex.w * u_lightOrigin + attr_Vertex - u_lightOrigin); 37 | } 38 | )"; 39 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/renderer/glsl/zfillShaderFP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const zfillShaderFP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | varying vec2 var_TexDiffuse; 26 | 27 | // Uniforms 28 | uniform sampler2D u_fragmentMap0; 29 | uniform lowp float u_alphaTest; 30 | uniform lowp vec4 u_glColor; 31 | 32 | // Out 33 | // gl_FragCoord 34 | 35 | void main(void) 36 | { 37 | if (u_alphaTest > texture2D(u_fragmentMap0, var_TexDiffuse).a) { 38 | discard; 39 | } 40 | 41 | gl_FragColor = u_glColor; 42 | } 43 | )"; 44 | -------------------------------------------------------------------------------- /neo/renderer/glsl/zfillShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const zfillShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | attribute vec4 attr_TexCoord; 27 | 28 | // Uniforms 29 | uniform highp mat4 u_modelViewProjectionMatrix; 30 | uniform mat4 u_textureMatrix; 31 | 32 | // Out 33 | // gl_Position 34 | varying vec2 var_TexDiffuse; 35 | 36 | void main(void) 37 | { 38 | var_TexDiffuse = (u_textureMatrix * attr_TexCoord).xy; // Homogeneous coordinates of textureMatrix supposed to be 1 39 | 40 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 41 | } 42 | )"; 43 | -------------------------------------------------------------------------------- /neo/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 | -------------------------------------------------------------------------------- /neo/renderer/glsl/zfillClipShaderFP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const zfillClipShaderFP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | varying vec2 var_TexDiffuse; 26 | varying vec2 var_TexClip; 27 | 28 | // Uniforms 29 | uniform sampler2D u_fragmentMap0; 30 | uniform sampler2D u_fragmentMap1; 31 | uniform lowp float u_alphaTest; 32 | uniform lowp vec4 u_glColor; 33 | 34 | // Out 35 | // gl_FragCoord 36 | 37 | void main(void) 38 | { 39 | if (u_alphaTest > (texture2D(u_fragmentMap0, var_TexDiffuse).a * texture2D(u_fragmentMap1, var_TexClip).a) ) { 40 | discard; 41 | } 42 | 43 | gl_FragColor = u_glColor; 44 | } 45 | )"; 46 | -------------------------------------------------------------------------------- /neo/renderer/glsl/fogShaderFP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const fogShaderFP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | varying vec2 var_TexFog; // input Fog TexCoord 26 | varying vec2 var_TexFogEnter; // input FogEnter TexCoord 27 | 28 | // Uniforms 29 | uniform sampler2D u_fragmentMap0; // Fog Image 30 | uniform sampler2D u_fragmentMap1; // Fog Enter Image 31 | uniform lowp vec4 u_fogColor; // Fog Color 32 | 33 | // Out 34 | // gl_FragCoord // output Fragment color 35 | 36 | void main(void) 37 | { 38 | gl_FragColor = texture2D( u_fragmentMap0, var_TexFog ) * texture2D( u_fragmentMap1, var_TexFogEnter ) * vec4(u_fogColor.rgb, 1.0); 39 | } 40 | )"; 41 | -------------------------------------------------------------------------------- /neo/sys/win32/sdk/prepare.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python 2 | # prepare content for SDK 3 | 4 | import shutil, os, stat 5 | 6 | media = '../../../../../media-sdk' 7 | media = os.path.abspath( media ) 8 | 9 | try: 10 | shutil.rmtree( 'Doom3_SDK' ) 11 | except: 12 | print 'Could not remove Doom3_SDK' 13 | pass 14 | 15 | # copy source from list 16 | f = open( 'source.list' ) 17 | l = [ s[:-1] for s in f.readlines() ] 18 | f.close() 19 | for p in l: 20 | sp = os.path.join( '../../..', p ) 21 | dp = os.path.join( 'Doom3_SDK/src', p ) 22 | try: 23 | os.makedirs( os.path.dirname( dp ) ) 24 | except: 25 | pass 26 | print 'cp ' + sp + ' -> ' + dp 27 | shutil.copy( sp, dp ) 28 | 29 | # copy explicit media content over 30 | for root, dirs, files in os.walk( media ): 31 | if '.svn' in dirs: 32 | dirs.remove( '.svn' ) 33 | for f in files: 34 | sp = os.path.join( root, f ) 35 | dp = os.path.join( 'Doom3_SDK', sp[ len( media ) + 1: ] ) 36 | try: 37 | os.makedirs( os.path.dirname( dp ) ) 38 | except: 39 | pass 40 | print 'cp ' + sp + ' -> ' + dp 41 | shutil.copy( sp, dp ) 42 | 43 | def makewritable( path ): 44 | for root, dirs, files in os.walk( path ): 45 | for f in files: 46 | os.chmod( os.path.join( root, f ), stat.S_IWRITE ) 47 | 48 | # cleanup '.svn' 49 | for root, dirs, files in os.walk( 'Doom3_SDK' ): 50 | if '.svn' in dirs: 51 | print 'remove ' + os.path.join( root, '.svn' ) 52 | # SVN sets readonly on some files, which causes rmtree failure on win32 53 | makewritable( os.path.join( root, '.svn' ) ) 54 | shutil.rmtree( os.path.join( root, '.svn' ) ) 55 | dirs.remove( '.svn' ) 56 | -------------------------------------------------------------------------------- /neo/renderer/glsl/zfillClipShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const zfillClipShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | attribute vec4 attr_TexCoord; 27 | 28 | // Uniforms 29 | uniform highp mat4 u_modelViewProjectionMatrix; 30 | uniform mat4 u_textureMatrix; 31 | uniform vec4 u_clipPlane; 32 | 33 | // Out 34 | // gl_Position 35 | varying vec2 var_TexDiffuse; 36 | varying vec2 var_TexClip; 37 | 38 | void main(void) 39 | { 40 | var_TexDiffuse = (u_textureMatrix * attr_TexCoord).xy; // Homogeneous coordinates of textureMatrix supposed to be 1 41 | 42 | var_TexClip = vec2( dot( u_clipPlane, attr_Vertex), 0.5 ); 43 | 44 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 45 | } 46 | )"; 47 | -------------------------------------------------------------------------------- /neo/framework/BuildVersion.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 | const int BUILD_NUMBER = 1305; 29 | -------------------------------------------------------------------------------- /neo/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 "tools/edit_gui_common.h" 29 | 30 | 31 | #include "materialview.h" 32 | -------------------------------------------------------------------------------- /neo/renderer/glsl/diffuseCubeShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const diffuseCubeShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | attribute lowp vec4 attr_Color; 27 | attribute vec3 attr_TexCoord; 28 | 29 | // Uniforms 30 | uniform highp mat4 u_modelViewProjectionMatrix; 31 | uniform mat4 u_textureMatrix; 32 | uniform lowp float u_colorAdd; 33 | uniform lowp float u_colorModulate; 34 | 35 | // Out 36 | // gl_Position 37 | varying vec3 var_TexCoord; 38 | varying lowp vec4 var_Color; 39 | 40 | void main(void) 41 | { 42 | var_TexCoord = (u_textureMatrix * vec4(attr_TexCoord, 0.0)).xyz; 43 | 44 | if (u_colorModulate == 0.0) { 45 | var_Color = vec4(u_colorAdd); 46 | } else { 47 | var_Color = (attr_Color * u_colorModulate) + vec4(u_colorAdd); 48 | } 49 | 50 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 51 | } 52 | )"; 53 | -------------------------------------------------------------------------------- /neo/renderer/glsl/skyboxCubeShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const skyboxCubeShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | attribute lowp vec4 attr_Color; 27 | 28 | // Uniforms 29 | uniform highp mat4 u_modelViewProjectionMatrix; 30 | uniform mat4 u_textureMatrix; 31 | uniform lowp float u_colorAdd; 32 | uniform lowp float u_colorModulate; 33 | uniform vec4 u_viewOrigin; 34 | 35 | // Out 36 | // gl_Position 37 | varying vec3 var_TexCoord; 38 | varying lowp vec4 var_Color; 39 | 40 | void main(void) 41 | { 42 | var_TexCoord = (u_textureMatrix * (attr_Vertex - u_viewOrigin)).xyz; 43 | 44 | if (u_colorModulate == 0.0) { 45 | var_Color = vec4(u_colorAdd); 46 | } else { 47 | var_Color = (attr_Color * u_colorModulate) + vec4(u_colorAdd); 48 | } 49 | 50 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 51 | } 52 | )"; 53 | -------------------------------------------------------------------------------- /neo/d3xp/gamesys/SysCmds.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 | 29 | #ifndef __SYS_CMDS_H__ 30 | #define __SYS_CMDS_H__ 31 | 32 | void D_DrawDebugLines( void ); 33 | 34 | #endif /* !__SYS_CMDS_H__ */ 35 | -------------------------------------------------------------------------------- /neo/game/gamesys/SysCmds.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 | 29 | #ifndef __SYS_CMDS_H__ 30 | #define __SYS_CMDS_H__ 31 | 32 | void D_DrawDebugLines( void ); 33 | 34 | #endif /* !__SYS_CMDS_H__ */ 35 | -------------------------------------------------------------------------------- /neo/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_ -------------------------------------------------------------------------------- /neo/renderer/glsl/diffuseMapShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const diffuseMapShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | attribute lowp vec4 attr_Color; 27 | attribute vec4 attr_TexCoord; 28 | 29 | // Uniforms 30 | uniform highp mat4 u_modelViewProjectionMatrix; 31 | uniform mat4 u_textureMatrix; 32 | uniform lowp float u_colorAdd; 33 | uniform lowp float u_colorModulate; 34 | 35 | // Out 36 | // gl_Position 37 | varying vec2 var_TexCoord; 38 | varying lowp vec4 var_Color; 39 | 40 | void main(void) 41 | { 42 | var_TexCoord = (u_textureMatrix * attr_TexCoord).xy; // Homogeneous coordinates of textureMatrix supposed to be 1 43 | 44 | if (u_colorModulate == 0.0) { 45 | var_Color = vec4(u_colorAdd); 46 | } else { 47 | var_Color = (attr_Color * u_colorModulate) + vec4(u_colorAdd); 48 | } 49 | 50 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 51 | } 52 | )"; 53 | -------------------------------------------------------------------------------- /neo/tools/guied/GEItemScriptsDlg.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 GEITEMSCRIPTSDLG_H_ 29 | #define GEITEMSCRIPTSDLG_H_ 30 | 31 | bool GEItemScriptsDlg_DoModal ( HWND parent, idWindow* window ); 32 | 33 | #endif // GEITEMSCRIPTSDLG_H_ -------------------------------------------------------------------------------- /neo/tools/common/MaskEdit.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 MASKEDIT_H_ 29 | #define MASKEDIT_H_ 30 | 31 | void MaskEdit_Attach ( HWND hWnd, const char* invalid ); 32 | void NumberEdit_Attach ( HWND hWnd ); 33 | 34 | #endif // MASKEDIT_H_ -------------------------------------------------------------------------------- /neo/tools/radiant/autocaulk.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 | 29 | #ifndef AUTOCAULK_H 30 | #define AUTOCAULK_H 31 | 32 | 33 | void Select_AutoCaulk(); 34 | 35 | 36 | #endif // AUTOCAULK_H 37 | 38 | ///////////////// eof ////////////// 39 | -------------------------------------------------------------------------------- /neo/tools/common/RenderBumpFlatDialog.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 | 29 | #ifndef __RENDERBUMPFLATDIALOG_H 30 | #define __RENDERBUMPFLATDIALOG_H 31 | 32 | void DoRBFDialog(const char *FileName); 33 | 34 | #endif // __RENDERBUMPFLATDIALOG_H 35 | -------------------------------------------------------------------------------- /neo/tools/guied/GEItemPropsDlg.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 GEITEMPROPSDLG_H_ 29 | #define GEITEMPROPSDLG_H_ 30 | 31 | bool GEItemPropsDlg_DoModal ( HWND parent, idWindow* window, idDict& outDict ); 32 | 33 | #endif // GEITEMPROPSDLG_H_ -------------------------------------------------------------------------------- /neo/tools/common/PropTree/PropTreeItemStatic.cpp: -------------------------------------------------------------------------------- 1 | // PropTreeItemStatic.cpp 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 | //#include "stdafx.h" 20 | #include "tools/edit_gui_common.h" 21 | 22 | 23 | #include "PropTree.h" 24 | 25 | #include "PropTreeItemStatic.h" 26 | 27 | 28 | CPropTreeItemStatic::CPropTreeItemStatic() : 29 | m_sAttribute(_T("")) 30 | { 31 | } 32 | 33 | 34 | CPropTreeItemStatic::~CPropTreeItemStatic() 35 | { 36 | } 37 | 38 | 39 | void CPropTreeItemStatic::DrawAttribute(CDC* pDC, const RECT& rc) 40 | { 41 | ASSERT(m_pProp!=NULL); 42 | 43 | pDC->SelectObject(m_pProp->GetNormalFont()); 44 | pDC->SetTextColor(RGB(0,0,0)); 45 | pDC->SetBkMode(TRANSPARENT); 46 | 47 | CRect r = rc; 48 | pDC->DrawText(m_sAttribute, r, DT_SINGLELINE|DT_VCENTER); 49 | } 50 | 51 | 52 | LPARAM CPropTreeItemStatic::GetItemValue() 53 | { 54 | return (LPARAM)(LPCTSTR)m_sAttribute; 55 | } 56 | 57 | 58 | void CPropTreeItemStatic::SetItemValue(LPARAM lParam) 59 | { 60 | if (lParam==0L) 61 | { 62 | TRACE0("CPropTreeItemStatic::SetItemValue() - Invalid lParam value\n"); 63 | return; 64 | } 65 | 66 | m_sAttribute = (LPCTSTR)lParam; 67 | } 68 | -------------------------------------------------------------------------------- /neo/tools/common/SpinButton.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 | 29 | #ifndef SPINBUTTON_H_ 30 | #define SPINBUTTON_H_ 31 | 32 | void SpinButton_SetIncrement ( HWND hWnd, float inc ); 33 | void SpinButton_HandleNotify ( NMHDR* hdr ); 34 | void SpinButton_SetRange ( HWND hWnd, float min, float max ); 35 | 36 | #endif // SPINBUTOTN_H_ 37 | -------------------------------------------------------------------------------- /neo/tools/Help/Tools.hhc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 |
    12 |
  • 13 | 14 | 15 |
      16 |
    • 17 | 18 | 19 | 20 |
    • 21 | 22 | 23 |
        24 |
      • 25 | 26 | 27 | 28 |
      29 |
    • 30 | 31 | 32 |
        33 |
      • 34 | 35 | 36 | 37 |
      • 38 | 39 | 40 | 41 |
      • 42 | 43 | 44 | 45 |
      • 46 | 47 | 48 | 49 |
      • 50 | 51 | 52 | 53 |
      54 |
    55 |
56 | 57 | -------------------------------------------------------------------------------- /neo/framework/Unzip.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 | 29 | #ifndef __UNZIP_H__ 30 | #define __UNZIP_H__ 31 | 32 | #include "framework/minizip/unzip.h" 33 | 34 | // everything that was here is now in unzip.h (most of it was there originally anyway, 35 | // the three custom functions added by id Software were added there) 36 | 37 | #endif /* __UNZIP_H__ */ 38 | -------------------------------------------------------------------------------- /neo/ui/GameWindow.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 | 29 | #ifndef __GAMEWINDOW_H__ 30 | #define __GAMEWINDOW_H__ 31 | 32 | #include "ui/Window.h" 33 | 34 | class idGameWindowProxy : public idWindow { 35 | public: 36 | idGameWindowProxy( idDeviceContext *d, idUserInterfaceLocal *gui ); 37 | void Draw( int time, float x, float y ); 38 | }; 39 | 40 | #endif 41 | -------------------------------------------------------------------------------- /neo/tools/guied/GEModifier.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 "tools/edit_gui_common.h" 30 | 31 | 32 | #include "GEApp.h" 33 | 34 | rvGEModifier::rvGEModifier ( const char* name, idWindow* window ) 35 | { 36 | mWindow = window; 37 | mName = name; 38 | 39 | if ( mWindow ) 40 | { 41 | mWrapper = rvGEWindowWrapper::GetWrapper ( window ); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /neo/tools/radiant/PARSE.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 | 29 | #define MAXTOKEN 1024 30 | 31 | extern char token[MAXTOKEN]; 32 | extern int scriptline; 33 | 34 | // NOTE: added WINAPI call syntax to export these for plugins in _QERScripLibTable 35 | void StartTokenParsing (const char *data); 36 | bool WINAPI GetToken (bool crossline); 37 | void WINAPI UngetToken (void); 38 | bool TokenAvailable (void); 39 | -------------------------------------------------------------------------------- /neo/renderer/glsl/blendLightShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const blendLightShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | 27 | // Uniforms 28 | uniform highp mat4 u_modelViewProjectionMatrix; 29 | uniform mat4 u_fogMatrix; 30 | 31 | // Out 32 | // gl_Position 33 | varying vec2 var_TexFog; 34 | varying vec2 var_TexFogEnter; 35 | 36 | void main(void) 37 | { 38 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 39 | 40 | // What will be computed: 41 | // 42 | // vec4 tc; 43 | // tc.x = dot( u_fogMatrix[0], attr_Vertex ); 44 | // tc.y = dot( u_fogMatrix[1], attr_Vertex ); 45 | // tc.z = 0.0; 46 | // tc.w = dot( u_fogMatrix[2], attr_Vertex ); 47 | // var_TexFog.xy = tc.xy / tc.w; 48 | // 49 | // var_TexFogEnter.x = dot( u_fogMatrix[3], attr_Vertex ); 50 | // var_TexFogEnter.y = 0.5; 51 | 52 | // Optimized version: 53 | // 54 | var_TexFog = vec2(dot( u_fogMatrix[0], attr_Vertex ), dot( u_fogMatrix[1], attr_Vertex )) / dot( u_fogMatrix[2], attr_Vertex ); 55 | var_TexFogEnter = vec2( dot( u_fogMatrix[3], attr_Vertex ), 0.5 ); 56 | } 57 | )"; -------------------------------------------------------------------------------- /neo/sys/linux/setup/image/README: -------------------------------------------------------------------------------- 1 | DOOM III Linux 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 | A licensed copy of Doom III retail for Windows 22 | In order to play the additional Resurrection of Evil Expansion Pack, a licensed copy of the Expansion Pack for Windows 23 | 24 | Installation instructions: 25 | -------------------------- 26 | 27 | The following files need to be copied from the win32 install CDs 28 | to your base/ directory ( md5 sums provided below as reference ) 29 | by default, /usr/local/games/doom3/base 30 | 31 | 71b8d37b2444d3d86a36fd61783844fe base/pak000.pk4 32 | 4bc4f3ba04ec2b4f4837be40e840a3c1 base/pak001.pk4 33 | fa84069e9642ad9aa4b49624150cc345 base/pak002.pk4 34 | f22d8464997924e4913e467e7d62d5fe base/pak003.pk4 35 | 38561a3c73f93f2e6fd31abf1d4e9102 base/pak004.pk4 36 | 37 | If you are also installing the Resurrection of Evil Expansion Pack, 38 | you need to copy the following file to your d3xp/ directory 39 | by default, /usr/local/games/doom3/d3xp 40 | 41 | a883fef0fd10aadeb73d34c462ff865d d3xp/pak000.pk4 42 | 43 | Localization is not supported on Linux ( only english ), you should not copy over any of the zpak files. 44 | 45 | Start the game with the command: doom3 46 | Start the dedicated server with the command: doom3-dedicated 47 | 48 | If installed, you can start the Expansion Pack directly from the command line with the command: doom3 +set fs_game d3xp 49 | Or you can select it in the mods menu of the base game. 50 | 51 | For troubleshooting and help, see: 52 | http://zerowing.idsoftware.com/linux/ 53 | 54 | -------------------------------------------------------------------------------- /neo/idlib/math/Complex.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 "sys/platform.h" 30 | 31 | #include "idlib/math/Complex.h" 32 | 33 | idComplex complex_origin( 0.0f, 0.0f ); 34 | 35 | /* 36 | ============= 37 | idComplex::ToString 38 | ============= 39 | */ 40 | const char *idComplex::ToString( int precision ) const { 41 | return idStr::FloatArrayToString( ToFloatPtr(), GetDimension(), precision ); 42 | } 43 | -------------------------------------------------------------------------------- /neo/idlib/geometry/DrawVert.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 "sys/platform.h" 30 | 31 | #include "idlib/geometry/DrawVert.h" 32 | 33 | /* 34 | ============= 35 | idDrawVert::Normalize 36 | ============= 37 | */ 38 | void idDrawVert::Normalize( void ) { 39 | normal.Normalize(); 40 | tangents[1].Cross( normal, tangents[0] ); 41 | tangents[1].Normalize(); 42 | tangents[0].Cross( tangents[1], normal ); 43 | tangents[0].Normalize(); 44 | } 45 | -------------------------------------------------------------------------------- /neo/sys/aros/aros_local.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 __AROS_LOCAL_H__ 29 | #define __AROS_LOCAL_H__ 30 | 31 | #include "renderer/RenderSystem.h" 32 | #include "renderer/tr_local.h" 33 | 34 | // input.cpp 35 | void Sys_XEvents(); 36 | void Sys_XUninstallGrabs(); 37 | 38 | 39 | #define KEY_MASK (1 << 0) 40 | #define MOUSE_MASK (1 << 1) 41 | #define X_MASK (KEY_MASK | MOUSE_MASK | 1 << 2) 42 | 43 | #endif 44 | -------------------------------------------------------------------------------- /neo/sys/aros/aros_dedicated.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 "sys/platform.h" 30 | #include "renderer/tr_local.h" 31 | #include "sys/aros/aros_public.h" 32 | 33 | #include "sys/aros/aros_local.h" 34 | 35 | /* 36 | ================ 37 | Sys_GetVideoRam 38 | returns in megabytes 39 | ================ 40 | */ 41 | 42 | struct Library *MesaBase; 43 | 44 | int Sys_GetVideoRam( void ) { 45 | return 64; 46 | } 47 | -------------------------------------------------------------------------------- /neo/tools/guied/GEDeleteModifier.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 GEDELETEMODIFIER_H_ 29 | #define GEDELETEMODIFIER_H_ 30 | 31 | #ifndef GEMODIFIER_H_ 32 | #include "GEModifier.h" 33 | #endif 34 | 35 | class rvGEDeleteModifier : public rvGEModifier 36 | { 37 | public: 38 | 39 | rvGEDeleteModifier ( const char* name, idWindow* window ); 40 | 41 | virtual bool Apply ( void ); 42 | virtual bool Undo ( void ); 43 | }; 44 | 45 | #endif // GEDELETEMODIFIER_H_ -------------------------------------------------------------------------------- /neo/tools/materialeditor/MaterialEditor.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 | #pragma once 29 | 30 | #include "../../sys/win32/rc/MaterialEditor_resource.h" 31 | 32 | /** 33 | * Structure used to store the user defined search parameters. 34 | */ 35 | typedef struct { 36 | bool searched; 37 | idStr searchText; 38 | int nameOnly; 39 | int searchScope; 40 | } MaterialSearchData_t; 41 | 42 | 43 | extern CFont* materialEditorFont; 44 | 45 | extern HWND GetMaterialEditorWindow(); -------------------------------------------------------------------------------- /neo/tools/radiant/Z.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 | 29 | // window system independent camera view code 30 | 31 | typedef struct 32 | { 33 | int width, height; 34 | 35 | idVec3 origin; // at center of window 36 | float scale; 37 | } z_t; 38 | 39 | extern z_t z; 40 | 41 | void Z_Init (void); 42 | void Z_MouseDown (int x, int y, int buttons); 43 | void Z_MouseUp (int x, int y, int buttons); 44 | void Z_MouseMoved (int x, int y, int buttons); 45 | void Z_Draw (void); 46 | -------------------------------------------------------------------------------- /neo/renderer/glsl/fogShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const fogShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; // input Vertex Coordinates 26 | 27 | // Uniforms 28 | uniform highp mat4 u_modelViewProjectionMatrix; 29 | uniform mat4 u_fogMatrix; // fogPlanes 0, 1, 3 (CATION: not 2!), 2 30 | 31 | // Out 32 | // gl_Position // output Vertex Coordinates 33 | varying vec2 var_TexFog; // output Fog TexCoord 34 | varying vec2 var_TexFogEnter; // output FogEnter TexCoord 35 | 36 | void main(void) 37 | { 38 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 39 | 40 | // What will be computed: 41 | // 42 | // var_TexFog.x = dot(u_fogMatrix[0], attr_Vertex); 43 | // var_TexFog.y = dot(u_fogMatrix[1], attr_Vertex); 44 | // var_TexFogEnter.x = dot(u_fogMatrix[2], attr_Vertex); 45 | // var_TexFogEnter.y = dot(u_fogMatrix[3], attr_Vertex); 46 | 47 | // Optimized version: 48 | var_TexFog = vec2(dot(u_fogMatrix[0], attr_Vertex),dot(u_fogMatrix[1], attr_Vertex)); 49 | var_TexFogEnter = vec2(dot(u_fogMatrix[2], attr_Vertex),dot(u_fogMatrix[3], attr_Vertex)); 50 | } 51 | )"; 52 | -------------------------------------------------------------------------------- /neo/sys/win32/rc/CreateResourceIDs.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 | 29 | #ifndef __CREATERESOURCEIDS__ 30 | #define __CREATERESOURCEIDS__ 31 | 32 | /* 33 | =============================================================================== 34 | 35 | Create resource IDs without conflicts. 36 | 37 | =============================================================================== 38 | */ 39 | 40 | void CreateResourceIDs_f( const idCmdArgs &args ); 41 | 42 | #endif /* !__CREATERESOURCEIDS__ */ 43 | -------------------------------------------------------------------------------- /neo/d3xp/gamesys/DebugGraph.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 | 29 | #ifndef __DEBUGGRAPH_H__ 30 | #define __DEBUGGRAPH_H__ 31 | 32 | #include "idlib/containers/List.h" 33 | #include "idlib/math/Vector.h" 34 | 35 | class idDebugGraph { 36 | public: 37 | idDebugGraph(); 38 | void SetNumSamples( int num ); 39 | void AddValue( float value ); 40 | void Draw( const idVec4 &color, float scale ) const; 41 | 42 | private: 43 | idList samples; 44 | int index; 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /neo/game/gamesys/DebugGraph.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 | 29 | #ifndef __DEBUGGRAPH_H__ 30 | #define __DEBUGGRAPH_H__ 31 | 32 | #include "idlib/containers/List.h" 33 | #include "idlib/math/Vector.h" 34 | 35 | class idDebugGraph { 36 | public: 37 | idDebugGraph(); 38 | void SetNumSamples( int num ); 39 | void AddValue( float value ); 40 | void Draw( const idVec4 &color, float scale ) const; 41 | 42 | private: 43 | idList samples; 44 | int index; 45 | }; 46 | 47 | #endif 48 | -------------------------------------------------------------------------------- /neo/framework/DemoChecksum.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 | 29 | /* 30 | =============================================================================== 31 | 32 | Pak file checksum for demo build. 33 | 34 | =============================================================================== 35 | */ 36 | 37 | // every time a new demo pk4 file is built, this checksum must be updated. 38 | // the easiest way to get it is to just run the game and see what it spits out 39 | #define DEMO_PAK_CHECKSUM 0xfe75bbef 40 | -------------------------------------------------------------------------------- /neo/tools/common/ColorButton.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 COLORBUTTON_H_ 29 | #define COLORBUTTON_H_ 30 | 31 | void ColorButton_DrawItem ( HWND hWnd, LPDRAWITEMSTRUCT dis ); 32 | void ColorButton_SetColor ( HWND hWnd, COLORREF color ); 33 | void ColorButton_SetColor ( HWND hWnd, const char* color ); 34 | COLORREF ColorButton_GetColor ( HWND hWnd ); 35 | 36 | void AlphaButton_SetColor ( HWND hWnd, const char* color ); 37 | 38 | void AlphaButton_OpenPopup ( HWND button ); 39 | 40 | #endif // COLORBUTTON_H_ -------------------------------------------------------------------------------- /neo/renderer/glsl/reflectionCubeShaderVP.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #include "glsl_shaders.h" 19 | 20 | const char * const reflectionCubeShaderVP = R"( 21 | #version 100 22 | precision mediump float; 23 | 24 | // In 25 | attribute highp vec4 attr_Vertex; 26 | attribute lowp vec4 attr_Color; 27 | attribute vec3 attr_TexCoord; 28 | 29 | // Uniforms 30 | uniform highp mat4 u_modelViewProjectionMatrix; 31 | uniform mat4 u_modelViewMatrix; 32 | uniform mat4 u_textureMatrix; 33 | uniform lowp float u_colorAdd; 34 | uniform lowp float u_colorModulate; 35 | 36 | // Out 37 | // gl_Position 38 | varying vec3 var_TexCoord; 39 | varying lowp vec4 var_Color; 40 | 41 | void main(void) 42 | { 43 | var_TexCoord = (u_textureMatrix * reflect( normalize( u_modelViewMatrix * attr_Vertex ), 44 | // This suppose the modelView matrix is orthogonal 45 | // Otherwise, we should use the inverse transpose 46 | u_modelViewMatrix * vec4(attr_TexCoord,0.0) )).xyz ; 47 | 48 | if (u_colorModulate == 0.0) { 49 | var_Color = vec4(u_colorAdd); 50 | } else { 51 | var_Color = (attr_Color * u_colorModulate) + vec4(u_colorAdd); 52 | } 53 | 54 | gl_Position = u_modelViewProjectionMatrix * attr_Vertex; 55 | } 56 | )"; 57 | -------------------------------------------------------------------------------- /neo/tools/guied/GEHideModifier.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 GEHIDEMODIFIER_H_ 29 | #define GEHIDEMODIFIER_H_ 30 | 31 | #ifndef GEMODIFIER_H_ 32 | #include "GEModifier.h" 33 | #endif 34 | 35 | class rvGEHideModifier : public rvGEModifier 36 | { 37 | public: 38 | 39 | rvGEHideModifier ( const char* name, idWindow* window, bool hide ); 40 | 41 | virtual bool Apply ( void ); 42 | virtual bool Undo ( void ); 43 | 44 | protected: 45 | 46 | bool mHide; 47 | bool mUndoHide; 48 | idWindow* mParent; 49 | }; 50 | 51 | #endif // GEHIDEMODIFIER_H_ -------------------------------------------------------------------------------- /neo/sys/win32/rc/doom_resource.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 | 29 | #define IDB_BITMAP_LOGO 4000 30 | #define IDI_ICON1 4001 31 | 32 | 33 | 34 | // Next default values for new objects 35 | // 36 | #ifdef APSTUDIO_INVOKED 37 | #ifndef APSTUDIO_READONLY_SYMBOLS 38 | #define _APS_3D_CONTROLS 1 39 | #define _APS_NEXT_RESOURCE_VALUE 4002 40 | #define _APS_NEXT_COMMAND_VALUE 24000 41 | #define _APS_NEXT_CONTROL_VALUE 4200 42 | #define _APS_NEXT_SYMED_VALUE 4002 43 | #endif 44 | #endif 45 | -------------------------------------------------------------------------------- /neo/renderer/qgl.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 | /* 29 | ** QGL.H 30 | */ 31 | 32 | #ifndef __QGL_H__ 33 | #define __QGL_H__ 34 | 35 | #include 36 | #include 37 | 38 | typedef void (*GLExtension_t)(void); 39 | 40 | #ifdef __cplusplus 41 | extern "C" { 42 | #endif 43 | 44 | GLExtension_t GLimp_ExtensionPointer( const char *name ); 45 | 46 | #ifdef __cplusplus 47 | } 48 | #endif 49 | 50 | // declare qgl functions 51 | #define QGLPROC(name, rettype, args) extern rettype (GL_APIENTRYP q##name) args; 52 | #include "renderer/qgl_proc.h" 53 | 54 | #endif 55 | -------------------------------------------------------------------------------- /neo/tools/radiant/CurveDlg.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 | #pragma once 29 | 30 | 31 | // CCurveDlg dialog 32 | 33 | class CCurveDlg : public CDialog 34 | { 35 | DECLARE_DYNAMIC(CCurveDlg) 36 | 37 | public: 38 | CCurveDlg(CWnd* pParent = NULL); // standard constructor 39 | virtual ~CCurveDlg(); 40 | 41 | // Dialog Data 42 | enum { IDD = IDD_DIALOG_NEWCURVE }; 43 | 44 | idStr strCurveType; 45 | protected: 46 | CComboBox comboCurve; 47 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 48 | virtual void OnOK(); 49 | 50 | DECLARE_MESSAGE_MAP() 51 | }; 52 | -------------------------------------------------------------------------------- /neo/renderer/glsl/glsl_shaders.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of the D3wasm project (http://www.continuation-labs.com/projects/d3wasm) 3 | * Copyright (c) 2019 Gabriel Cuvillier. 4 | * 5 | * This program is free software: you can redistribute it and/or modify 6 | * it under the terms of the GNU General Public License as published by 7 | * the Free Software Foundation, version 3. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License 15 | * along with this program. If not, see . 16 | */ 17 | 18 | #ifndef D3WASM_GLSL_SHADERS_H 19 | #define D3WASM_GLSL_SHADERS_H 20 | 21 | // Main Light Interaction 22 | // gouraud 23 | extern const char* const interactionShaderVP; 24 | extern const char* const interactionShaderFP; 25 | // phong 26 | extern const char* const interactionPhongShaderVP; 27 | extern const char* const interactionPhongShaderFP; 28 | // Fog 29 | extern const char* const fogShaderVP; 30 | extern const char* const blendLightShaderVP; 31 | extern const char* const fogShaderFP; 32 | // Depth Buffer 33 | // no clip planes 34 | extern const char* const zfillShaderVP; 35 | extern const char* const zfillShaderFP; 36 | // clip planes 37 | extern const char* const zfillClipShaderVP; 38 | extern const char* const zfillClipShaderFP; 39 | // Ambient Surfaces 40 | // diffuse mapping (default diffuse surfaces) 41 | extern const char* const diffuseMapShaderVP; 42 | extern const char* const diffuseMapShaderFP; 43 | // cube mapping (skybox/wobblesky, diffusecube, reflection) 44 | extern const char* const diffuseCubeShaderVP; 45 | extern const char* const skyboxCubeShaderVP; 46 | extern const char* const reflectionCubeShaderVP; 47 | extern const char* const cubeMapShaderFP; 48 | // Shadows 49 | extern const char* const stencilShadowShaderVP; 50 | extern const char* const stencilShadowShaderFP; 51 | 52 | #endif //D3WASM_GLSL_SHADERS_H 53 | -------------------------------------------------------------------------------- /neo/tools/common/PropTree/PropTreeItemButton.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // PropTreeItemButton.h : header file 4 | // 5 | // Copyright (C) 1998-2001 Scott Ramsay 6 | // sramsay@gonavi.com 7 | // http://www.gonavi.com 8 | // 9 | // This material is provided "as is", with absolutely no warranty expressed 10 | // or implied. Any use is at your own risk. 11 | // 12 | // Permission to use or copy this software for any purpose is hereby granted 13 | // without fee, provided the above notices are retained on all copies. 14 | // Permission to modify the code and to distribute modified code is granted, 15 | // provided the above notices are retained, and a notice that the code was 16 | // modified is included with the above copyright notice. 17 | // 18 | // If you use this code, drop me an email. I'd like to know if you find the code 19 | // useful. 20 | 21 | #include "PropTreeItem.h" 22 | 23 | ///////////////////////////////////////////////////////////////////////////// 24 | // CPropTreeItemButton window 25 | 26 | class PROPTREE_API CPropTreeItemButton : public CPropTreeItem 27 | { 28 | // Construction 29 | public: 30 | CPropTreeItemButton(); 31 | virtual ~CPropTreeItemButton(); 32 | 33 | // Attributes 34 | public: 35 | // The non-attribute area needs drawing 36 | virtual LONG DrawItem(CDC* pDC, const RECT& rc, LONG x, LONG y); 37 | 38 | // The attribute area needs drawing 39 | virtual void DrawAttribute(CDC* pDC, const RECT& rc); 40 | 41 | // Retrieve the item's attribute value 42 | virtual LPARAM GetItemValue(); 43 | 44 | // Set the item's attribute value 45 | virtual void SetItemValue(LPARAM lParam); 46 | 47 | // Overrideable - Returns TRUE if the point is on the button 48 | virtual BOOL HitButton(const POINT& pt); 49 | 50 | void SetButtonText( LPCSTR text ); 51 | 52 | protected: 53 | CString buttonText; 54 | CRect buttonRect; 55 | CRect hitTestRect; 56 | bool mouseDown; 57 | 58 | }; 59 | 60 | ///////////////////////////////////////////////////////////////////////////// 61 | 62 | //{{AFX_INSERT_LOCATION}} 63 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 64 | -------------------------------------------------------------------------------- /neo/tools/radiant/CommentsDlg.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 | #pragma once 29 | #include "afxwin.h" 30 | 31 | 32 | // CCommentsDlg dialog 33 | 34 | class CCommentsDlg : public CDialog 35 | { 36 | DECLARE_DYNAMIC(CCommentsDlg) 37 | 38 | public: 39 | CCommentsDlg(CWnd* pParent = NULL); // standard constructor 40 | virtual ~CCommentsDlg(); 41 | 42 | // Dialog Data 43 | enum { IDD = IDD_DIALOG_COMMENTS }; 44 | 45 | protected: 46 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 47 | 48 | DECLARE_MESSAGE_MAP() 49 | public: 50 | CString strName; 51 | CString strPath; 52 | CString strComments; 53 | }; 54 | -------------------------------------------------------------------------------- /neo/tools/debugger/DebuggerMessages.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 DEBUGGERMESSAGES_H_ 29 | #define DEBUGGERMESSAGES_H_ 30 | 31 | enum EDebuggerMessage 32 | { 33 | DBMSG_UNKNOWN, 34 | DBMSG_CONNECT, 35 | DBMSG_CONNECTED, 36 | DBMSG_DISCONNECT, 37 | DBMSG_ADDBREAKPOINT, 38 | DBMSG_REMOVEBREAKPOINT, 39 | DBMSG_HITBREAKPOINT, 40 | DBMSG_RESUME, 41 | DBMSG_RESUMED, 42 | DBMSG_BREAK, 43 | DBMSG_PRINT, 44 | DBMSG_INSPECTVARIABLE, 45 | DBMSG_INSPECTCALLSTACK, 46 | DBMSG_INSPECTTHREADS, 47 | DBMSG_STEPOVER, 48 | DBMSG_STEPINTO, 49 | DBMSG_INSPECTSCRIPTS, 50 | DBMSG_EXECCOMMAND 51 | }; 52 | 53 | #endif // DEBUGGER_MESSAGES_H_ -------------------------------------------------------------------------------- /neo/ui/GameWindow.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 "sys/platform.h" 30 | #include "ui/DeviceContext.h" 31 | #include "ui/Window.h" 32 | #include "ui/UserInterfaceLocal.h" 33 | 34 | #include "ui/GameWindow.h" 35 | 36 | /* 37 | ================ 38 | idGameWindowProxy::idGameWindowProxy 39 | ================ 40 | */ 41 | idGameWindowProxy::idGameWindowProxy( idDeviceContext *d, idUserInterfaceLocal *g ) : idWindow( d, g ) { } 42 | 43 | /* 44 | ================ 45 | idGameWindowProxy::Draw 46 | ================ 47 | */ 48 | void idGameWindowProxy::Draw( int time, float x, float y ) { 49 | common->Printf( "TODO: idGameWindowProxy::Draw\n" ); 50 | } 51 | -------------------------------------------------------------------------------- /neo/MayaImport/maya_main.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 | 29 | #ifndef __MAYA_MAIN_H__ 30 | #define __MAYA_MAIN_H__ 31 | 32 | #include "framework/FileSystem.h" 33 | 34 | class idCommon; 35 | class idSys; 36 | 37 | /* 38 | ============================================================== 39 | 40 | Maya Import 41 | 42 | ============================================================== 43 | */ 44 | 45 | 46 | typedef bool ( *exporterDLLEntry_t )( int version, idCommon *common, idSys *sys ); 47 | typedef const char *( *exporterInterface_t )( const char *ospath, const char *commandline ); 48 | typedef void ( *exporterShutdown_t )( void ); 49 | 50 | #endif /* !__MAYA_MAIN_H__ */ 51 | -------------------------------------------------------------------------------- /neo/sys/osx/DLL.OSX.txt: -------------------------------------------------------------------------------- 1 | short: 2 | 3 | dlopen/dlclose, then dlopen a dynamic library again won't go through C++ static initialization again 4 | 5 | long: 6 | 7 | first dlopen: 8 | set a break in idTypeInfo constructor ( class typeinfo is static ) 9 | nothing happens on dlopen, statics are initialized when resolving symbols ( as they need to be before any C++ code runs ) 10 | #0 0x900429ac in kill () 11 | #1 0x1ee95074 in idClass::ProcessEventArgPtr(idEventDef const*, int*) () at /Users/timo/SVN/Doom/neo/framework/CmdSystem.h:130 12 | #2 0x1ee94ff4 in idClass::ProcessEventArgPtr(idEventDef const*, int*) () at /Users/timo/SVN/Doom/neo/framework/CmdSystem.h:130 13 | #3 0x1f138d30 in __static_initialization_and_destruction_0(int, int) (__initialize_p=521892804, __priority=520821908) at /Users/timo/SVN/Doom/neo/game/Actor.cpp:339 14 | #4 0x1f138d94 in _GLOBAL__I__ZN11idAnimStateC2Ev () at /Users/timo/SVN/Doom/neo/game/Actor.cpp:106 15 | #5 0x8fe17728 in __dyld_call_module_initializers_for_library () 16 | #6 0x8fe174a0 in __dyld_call_module_initializers () 17 | #7 0x8fe11704 in __dyld_link_in_need_modules () 18 | #8 0x8fe14f50 in __dyld__dyld_NSLookupSymbolInImage () 19 | #9 0x900f81f0 in dlsymIntern () 20 | #10 0x900f8b1c in dlsym () 21 | #11 0x001e71c8 in Sys_DLL_GetProcAddress(int, char const*) (handle=392873136, sym=0x3a0b20 "GetGameAPI") at /Users/timo/SVN/Doom/neo/sys/posix/posix_main.cpp:376 22 | #12 0x0008c968 in idCommonLocal::LoadGameDLL() (this=0x78a85c) at /Users/timo/SVN/Doom/neo/framework/Common.cpp:2589 23 | 24 | then do reloadEngine, the DLL will be dlclose, then dlopen again 25 | this time no initialization happens ( even though there is another dlsym call, and a call to GetGameAPI ) 26 | things in that case pretty much behave like the monolithic build does 27 | 28 | searched online and found a bunch of people complaining about this problem here and there, but no obvious fix around 29 | http://lists.apple.com/archives/darwin-development/2003/Sep/msg00109.html 30 | 31 | from the dlopen man page and various things online, I think that on top of dlclose, one should also remove 32 | the library from the address space to force a fresh start 33 | 34 | maybe using NSModule ( man 3 NSModule ) would fix those issues? 35 | -------------------------------------------------------------------------------- /neo/tools/guied/GEInsertModifier.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 GEINSERTMODIFIER_H_ 29 | #define GEINSERTMODIFIER_H_ 30 | 31 | #ifndef GEMODIFIER_H_ 32 | #include "GEModifier.h" 33 | #endif 34 | 35 | class rvGEInsertModifier : public rvGEModifier 36 | { 37 | public: 38 | 39 | rvGEInsertModifier ( const char* name, idWindow* window, idWindow* parent, idWindow* before ); 40 | 41 | virtual bool Apply ( void ); 42 | virtual bool Undo ( void ); 43 | 44 | protected: 45 | 46 | idWindow* mUndoParent; 47 | idWindow* mUndoBefore; 48 | idWindow* mParent; 49 | idWindow* mBefore; 50 | idRectangle mRect; 51 | idRectangle mUndoRect; 52 | }; 53 | 54 | #endif // GEINSERTMODIFIER_H_ -------------------------------------------------------------------------------- /neo/tools/guied/GEPropertyPage.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 | 29 | #ifndef GEPROPERTYPAGE_H_ 30 | #define GEPROPERTYPAGE_H_ 31 | 32 | class rvGEPropertyPage 33 | { 34 | public: 35 | 36 | rvGEPropertyPage ( ); 37 | 38 | virtual bool Init ( void ) { return true; } 39 | virtual bool Apply ( void ) { return true; } 40 | virtual bool SetActive ( void ) { return true; } 41 | virtual bool KillActive ( void ) { return true; } 42 | virtual int HandleMessage ( UINT msg, WPARAM wParam, LPARAM lParam ); 43 | 44 | static INT_PTR CALLBACK WndProc ( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ); 45 | 46 | protected: 47 | 48 | HWND mPage; 49 | }; 50 | 51 | #endif // GEPROPERTYPAGE_H_ -------------------------------------------------------------------------------- /neo/tools/common/PropTree/PropTreeInfo.h: -------------------------------------------------------------------------------- 1 | #if !defined(AFX_PROPTREEINFO_H__22BD9C18_A68C_4BB8_B7FC_C4A7DA0E1EBF__INCLUDED_) 2 | #define AFX_PROPTREEINFO_H__22BD9C18_A68C_4BB8_B7FC_C4A7DA0E1EBF__INCLUDED_ 3 | 4 | #if _MSC_VER > 1000 5 | #pragma once 6 | #endif // _MSC_VER > 1000 7 | // PropTreeInfo.h : header file 8 | // 9 | // 10 | // Copyright (C) 1998-2001 Scott Ramsay 11 | // sramsay@gonavi.com 12 | // http://www.gonavi.com 13 | // 14 | // This material is provided "as is", with absolutely no warranty expressed 15 | // or implied. Any use is at your own risk. 16 | // 17 | // Permission to use or copy this software for any purpose is hereby granted 18 | // without fee, provided the above notices are retained on all copies. 19 | // Permission to modify the code and to distribute modified code is granted, 20 | // provided the above notices are retained, and a notice that the code was 21 | // modified is included with the above copyright notice. 22 | // 23 | // If you use this code, drop me an email. I'd like to know if you find the code 24 | // useful. 25 | 26 | class CPropTree; 27 | 28 | ///////////////////////////////////////////////////////////////////////////// 29 | // CPropTreeInfo window 30 | 31 | class PROPTREE_API CPropTreeInfo : public CStatic 32 | { 33 | // Construction 34 | public: 35 | CPropTreeInfo(); 36 | 37 | // Attributes 38 | public: 39 | // CPropTree class that this class belongs 40 | void SetPropOwner(CPropTree* pProp); 41 | 42 | protected: 43 | CPropTree* m_pProp; 44 | 45 | // Operations 46 | public: 47 | 48 | // Overrides 49 | // ClassWizard generated virtual function overrides 50 | //{{AFX_VIRTUAL(CPropTreeInfo) 51 | //}}AFX_VIRTUAL 52 | 53 | // Implementation 54 | public: 55 | virtual ~CPropTreeInfo(); 56 | 57 | // Generated message map functions 58 | protected: 59 | //{{AFX_MSG(CPropTreeInfo) 60 | afx_msg void OnPaint(); 61 | //}}AFX_MSG 62 | 63 | DECLARE_MESSAGE_MAP() 64 | }; 65 | 66 | ///////////////////////////////////////////////////////////////////////////// 67 | 68 | //{{AFX_INSERT_LOCATION}} 69 | // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 70 | 71 | #endif // !defined(AFX_PROPTREEINFO_H__22BD9C18_A68C_4BB8_B7FC_C4A7DA0E1EBF__INCLUDED_) 72 | -------------------------------------------------------------------------------- /neo/tools/guied/GEStateModifier.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 GESTATEMODIFIER_H_ 29 | #define GESTATEMODIFIER_H_ 30 | 31 | #ifndef GEMODIFIER_H_ 32 | #include "GEModifier.h" 33 | #endif 34 | 35 | class rvGEStateModifier : public rvGEModifier 36 | { 37 | public: 38 | 39 | rvGEStateModifier ( const char* name, idWindow* window, idDict& dict ); 40 | 41 | virtual bool Apply ( void ); 42 | virtual bool Undo ( void ); 43 | 44 | protected: 45 | 46 | bool SetState ( idDict& dict ); 47 | 48 | rvGEWindowWrapper::EWindowType mWindowType; 49 | rvGEWindowWrapper::EWindowType mUndoWindowType; 50 | idDict mDict; 51 | idDict mUndoDict; 52 | }; 53 | 54 | #endif // GESTATEMODIFIER_H_ -------------------------------------------------------------------------------- /neo/tools/debugger/DebuggerFindDlg.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 DEBUGGERFINDDLG_H_ 29 | #define DEBUGGERFINDDLG_H_ 30 | 31 | class rvDebuggerWindow; 32 | 33 | class rvDebuggerFindDlg 34 | { 35 | public: 36 | 37 | rvDebuggerFindDlg ( ); 38 | 39 | bool DoModal ( rvDebuggerWindow* window ); 40 | 41 | const char* GetFindText ( void ); 42 | 43 | protected: 44 | 45 | HWND mWnd; 46 | 47 | private: 48 | 49 | static char mFindText[ 256 ]; 50 | 51 | static INT_PTR CALLBACK DlgProc ( HWND wnd, UINT msg, WPARAM wparam, LPARAM lparam ); 52 | }; 53 | 54 | ID_INLINE const char* rvDebuggerFindDlg::GetFindText ( void ) 55 | { 56 | return mFindText; 57 | } 58 | 59 | #endif // DEBUGGERFINDDLG_H_ -------------------------------------------------------------------------------- /neo/tools/guied/GEZOrderModifier.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 GEZORDERMODIFIER_H_ 29 | #define GEZORDERMODIFIER_H_ 30 | 31 | #ifndef GEMODIFIER_H_ 32 | #include "GEModifier.h" 33 | #endif 34 | 35 | class rvGEZOrderModifier : public rvGEModifier 36 | { 37 | public: 38 | 39 | enum EZOrderChange 40 | { 41 | ZO_FORWARD, 42 | ZO_BACKWARD, 43 | ZO_FRONT, 44 | ZO_BACK, 45 | }; 46 | 47 | rvGEZOrderModifier ( const char* name, idWindow* window, EZOrderChange change ); 48 | 49 | virtual bool Apply ( void ); 50 | virtual bool Undo ( void ); 51 | virtual bool IsValid ( void ); 52 | 53 | protected: 54 | 55 | idWindow* mBefore; 56 | idWindow* mUndoBefore; 57 | }; 58 | 59 | #endif // GEZORDERMODIFIER_H_ -------------------------------------------------------------------------------- /neo/ui/FieldWindow.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 __FIELDWINDOW_H 29 | #define __FIELDWINDOW_H 30 | 31 | #include "ui/Window.h" 32 | 33 | class idFieldWindow : public idWindow { 34 | public: 35 | idFieldWindow(idUserInterfaceLocal *gui); 36 | idFieldWindow(idDeviceContext *d, idUserInterfaceLocal *gui); 37 | virtual ~idFieldWindow(); 38 | 39 | virtual void Draw(int time, float x, float y); 40 | 41 | private: 42 | virtual bool ParseInternalVar(const char *name, idParser *src); 43 | void CommonInit(); 44 | void CalcPaintOffset(int len); 45 | int cursorPos; 46 | int lastTextLength; 47 | int lastCursorPos; 48 | int paintOffset; 49 | bool showCursor; 50 | idStr cursorVar; 51 | }; 52 | 53 | #endif // __FIELDWINDOW_H 54 | -------------------------------------------------------------------------------- /neo/idlib/math/Simd_3DNow.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 | 29 | #ifndef __MATH_SIMD_3DNOW_H__ 30 | #define __MATH_SIMD_3DNOW_H__ 31 | 32 | #include "idlib/math/Simd_MMX.h" 33 | 34 | /* 35 | =============================================================================== 36 | 37 | 3DNow! implementation of idSIMDProcessor 38 | 39 | =============================================================================== 40 | */ 41 | 42 | class idSIMD_3DNow : public idSIMD_MMX { 43 | #if defined(_MSC_VER) && defined(_M_IX86) 44 | public: 45 | virtual const char * VPCALL GetName( void ) const; 46 | 47 | virtual void VPCALL Memcpy( void *dst, const void *src, const int count ); 48 | 49 | #endif 50 | }; 51 | 52 | #endif /* !__MATH_SIMD_3DNOW_H__ */ 53 | -------------------------------------------------------------------------------- /neo/tools/guied/GEMoveModifier.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 GEMOVEMODIFIER_H_ 29 | #define GEMOVEMODIFIER_H_ 30 | 31 | class rvGEMoveModifier : public rvGEModifier 32 | { 33 | public: 34 | 35 | rvGEMoveModifier ( const char* name, idWindow* window, float x, float y ); 36 | 37 | virtual bool CanMerge ( rvGEModifier* merge ); 38 | virtual bool Merge ( rvGEModifier* merge ); 39 | 40 | virtual bool Apply ( void ); 41 | virtual bool Undo ( void ); 42 | 43 | virtual bool IsValid ( void ); 44 | 45 | protected: 46 | 47 | idRectangle mNewRect; 48 | idRectangle mOldRect; 49 | }; 50 | 51 | ID_INLINE bool rvGEMoveModifier::CanMerge ( rvGEModifier* merge ) 52 | { 53 | return true; 54 | } 55 | 56 | #endif // GEMOVEMODIFIER_H_ -------------------------------------------------------------------------------- /neo/d3xp/WorldSpawn.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 | 29 | #ifndef __GAME_WORLDSPAWN_H__ 30 | #define __GAME_WORLDSPAWN_H__ 31 | 32 | #include "Entity.h" 33 | 34 | /* 35 | =============================================================================== 36 | 37 | World entity. 38 | 39 | =============================================================================== 40 | */ 41 | 42 | class idWorldspawn : public idEntity { 43 | public: 44 | CLASS_PROTOTYPE( idWorldspawn ); 45 | 46 | ~idWorldspawn(); 47 | 48 | void Spawn( void ); 49 | 50 | void Save( idRestoreGame *savefile ); 51 | void Restore( idRestoreGame *savefile ); 52 | 53 | private: 54 | void Event_Remove( void ); 55 | }; 56 | 57 | #endif /* !__GAME_WORLDSPAWN_H__ */ 58 | -------------------------------------------------------------------------------- /neo/game/WorldSpawn.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 | 29 | #ifndef __GAME_WORLDSPAWN_H__ 30 | #define __GAME_WORLDSPAWN_H__ 31 | 32 | #include "Entity.h" 33 | 34 | /* 35 | =============================================================================== 36 | 37 | World entity. 38 | 39 | =============================================================================== 40 | */ 41 | 42 | class idWorldspawn : public idEntity { 43 | public: 44 | CLASS_PROTOTYPE( idWorldspawn ); 45 | 46 | ~idWorldspawn(); 47 | 48 | void Spawn( void ); 49 | 50 | void Save( idRestoreGame *savefile ); 51 | void Restore( idRestoreGame *savefile ); 52 | 53 | private: 54 | void Event_Remove( void ); 55 | }; 56 | 57 | #endif /* !__GAME_WORLDSPAWN_H__ */ 58 | -------------------------------------------------------------------------------- /neo/tools/guied/GEWindowWrapper_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 | #include "sys/platform.h" 29 | 30 | #include "ui/EditWindow.h" 31 | #include "ui/ListWindow.h" 32 | #include "ui/BindWindow.h" 33 | #include "ui/RenderWindow.h" 34 | #include "ui/ChoiceWindow.h" 35 | 36 | #include "tools/guied/GEWindowWrapper.h" 37 | #if !defined(ID_ALLOW_TOOLS) 38 | static rvGEWindowWrapper stub_wrap( NULL, rvGEWindowWrapper::WT_UNKNOWN ); 39 | 40 | rvGEWindowWrapper::rvGEWindowWrapper( idWindow* window, EWindowType type ) { } 41 | 42 | rvGEWindowWrapper* rvGEWindowWrapper::GetWrapper ( idWindow* window ) { return &stub_wrap; } 43 | 44 | void rvGEWindowWrapper::SetStateKey( const char*, const char*, bool ) { } 45 | 46 | void rvGEWindowWrapper::Finish() { } 47 | #endif 48 | -------------------------------------------------------------------------------- /neo/tools/compilers/aas/AASFileManager.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 | 29 | #ifndef __AASFILEMANAGER_H__ 30 | #define __AASFILEMANAGER_H__ 31 | 32 | #include "tools/compilers/aas/AASFile.h" 33 | 34 | /* 35 | =============================================================================== 36 | 37 | AAS File Manager 38 | 39 | =============================================================================== 40 | */ 41 | 42 | class idAASFileManager { 43 | public: 44 | virtual ~idAASFileManager( void ) {} 45 | 46 | virtual idAASFile * LoadAAS( const char *fileName, unsigned int mapFileCRC ) = 0; 47 | virtual void FreeAAS( idAASFile *file ) = 0; 48 | }; 49 | 50 | extern idAASFileManager * AASFileManager; 51 | 52 | #endif /* !__AASFILEMANAGER_H__ */ 53 | -------------------------------------------------------------------------------- /neo/tools/guied/GESizeModifier.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 GESIZEMODIFIER_H_ 29 | #define GESIZEMODIFIER_H_ 30 | 31 | class rvGESizeModifier : public rvGEModifier 32 | { 33 | public: 34 | 35 | rvGESizeModifier ( const char* name, idWindow* window, float l, float t, float r, float b ); 36 | 37 | virtual bool CanMerge ( rvGEModifier* merge ); 38 | virtual bool Merge ( rvGEModifier* merge ); 39 | 40 | virtual bool Apply ( void ); 41 | virtual bool Undo ( void ); 42 | 43 | virtual bool IsValid ( void ); 44 | 45 | protected: 46 | 47 | idRectangle mNewRect; 48 | idRectangle mOldRect; 49 | }; 50 | 51 | ID_INLINE bool rvGESizeModifier::CanMerge ( rvGEModifier* merge ) 52 | { 53 | return true; 54 | } 55 | 56 | #endif // GESIZEMODIFIER_H_ 57 | -------------------------------------------------------------------------------- /neo/sys/win32/rc/ScriptEditor_resource.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 | 29 | #define IDD_DIALOG_SCRIPTEDITOR 11000 30 | #define IDR_ACCELERATOR_SCRIPTEDITOR 11001 31 | 32 | #define IDC_SCRIPTEDITOR_EDIT_TEXT 11200 33 | 34 | #define ID_SCRIPTEDITOR_FIND_NEXT 31000 35 | #define ID_SCRIPTEDITOR_GOTOLINE 31001 36 | 37 | // Next default values for new objects 38 | // 39 | #ifdef APSTUDIO_INVOKED 40 | #ifndef APSTUDIO_READONLY_SYMBOLS 41 | #define _APS_3D_CONTROLS 1 42 | #define _APS_NEXT_RESOURCE_VALUE 11002 43 | #define _APS_NEXT_COMMAND_VALUE 31002 44 | #define _APS_NEXT_CONTROL_VALUE 11201 45 | #define _APS_NEXT_SYMED_VALUE 11002 46 | #endif 47 | #endif 48 | -------------------------------------------------------------------------------- /neo/sys/posix/posix_public.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 | 29 | #ifndef __SYS_POSIX__ 30 | #define __SYS_POSIX__ 31 | 32 | #include 33 | 34 | #include "sys/sys_public.h" 35 | 36 | const char* Posix_Cwd( void ); 37 | 38 | const char* Posix_GetExePath(); 39 | const char* Posix_GetSavePath(); 40 | 41 | void Posix_Exit( int ret ); 42 | void Posix_SetExit(int ret); // override the exit code 43 | void Posix_SetExitSpawn( const char *exeName ); // set the process to be spawned when we quit 44 | 45 | void Posix_InitSignalHandlers( void ); // also opens/creates dhewm3.log 46 | void Posix_InitConsoleInput( void ); 47 | void Posix_Shutdown( void ); 48 | 49 | void Sys_DoStartProcess( const char *exeName, bool dofork = true ); // if not forking, current process gets replaced 50 | 51 | #endif 52 | -------------------------------------------------------------------------------- /neo/framework/DeclEntityDef.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 | 29 | #ifndef __DECLENTITYDEF_H__ 30 | #define __DECLENTITYDEF_H__ 31 | 32 | #include "idlib/Dict.h" 33 | #include "framework/DeclManager.h" 34 | 35 | /* 36 | =============================================================================== 37 | 38 | idDeclEntityDef 39 | 40 | =============================================================================== 41 | */ 42 | 43 | class idDeclEntityDef : public idDecl { 44 | public: 45 | idDict dict; 46 | 47 | virtual size_t Size( void ) const; 48 | virtual const char * DefaultDefinition() const; 49 | virtual bool Parse( const char *text, const int textLength ); 50 | virtual void FreeData( void ); 51 | virtual void Print( void ) const; 52 | }; 53 | 54 | #endif /* !__DECLENTITYDEF_H__ */ 55 | -------------------------------------------------------------------------------- /neo/tools/af/DialogAFName.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 | #pragma once 29 | 30 | // DialogAFName dialog 31 | 32 | class DialogAFName : public CDialog { 33 | 34 | DECLARE_DYNAMIC(DialogAFName) 35 | 36 | public: 37 | DialogAFName(CWnd* pParent = NULL); // standard constructor 38 | virtual ~DialogAFName(); 39 | void SetName( CString &str ); 40 | void GetName( CString &str ); 41 | void SetComboBox( CComboBox *combo ); 42 | 43 | enum { IDD = IDD_DIALOG_AF_NAME }; 44 | 45 | protected: 46 | virtual BOOL OnInitDialog(); 47 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 48 | afx_msg void OnBnClickedOk(); 49 | afx_msg void OnEnChangeEditAfName(); 50 | 51 | DECLARE_MESSAGE_MAP() 52 | 53 | private: 54 | CString m_editName; 55 | CComboBox * m_combo; 56 | }; 57 | -------------------------------------------------------------------------------- /neo/tools/guied/GEModifierGroup.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 GEMODIFIERGROUP_H_ 29 | #define GEMODIFIERGROUP_H_ 30 | 31 | #ifndef GEMODIFIER_H_ 32 | #include "GEModifier.h" 33 | #endif 34 | 35 | class rvGEModifierGroup : public rvGEModifier 36 | { 37 | public: 38 | 39 | rvGEModifierGroup ( ); 40 | ~rvGEModifierGroup ( ); 41 | 42 | virtual bool Apply ( void ); 43 | virtual bool Undo ( void ); 44 | 45 | virtual bool CanMerge ( rvGEModifier* merge ); 46 | 47 | virtual bool Merge ( rvGEModifier* merge ); 48 | 49 | virtual bool IsValid ( void ); 50 | 51 | bool Append ( rvGEModifier* mod ); 52 | int GetCount ( void ); 53 | 54 | 55 | protected: 56 | 57 | idList mModifiers; 58 | 59 | }; 60 | 61 | ID_INLINE int rvGEModifierGroup::GetCount( void ) 62 | { 63 | return mModifiers.Num ( ); 64 | } 65 | 66 | #endif --------------------------------------------------------------------------------