├── .cproject ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .gitmodules ├── .project ├── .pydevproject ├── .vscode ├── launch.json └── tasks.json ├── BSD ├── CONTRIBUTING.md ├── CONTRIBUTORS ├── GPL ├── LGPL ├── LICENSE ├── README.md ├── SConscript.lib ├── SConscript.module ├── SConscript.q3data ├── SConscript.q3map2 ├── SConscript.q3map2.urt ├── SConscript.radiant ├── SConstruct ├── TRANSLATING ├── apple ├── GtkRadiant.app │ └── Contents │ │ ├── Info.plist │ │ ├── MacOS │ │ └── radiant │ │ └── Resources │ │ ├── etc │ │ ├── fonts │ │ │ └── fonts.conf │ │ ├── gtk-2.0 │ │ │ └── gtkrc │ │ └── pango │ │ │ └── pangorc │ │ ├── lib │ │ └── .turd │ │ ├── radiant.icns │ │ └── share │ │ └── gtk-2.0 │ │ ├── icons │ │ └── .turd │ │ └── themes │ │ └── .turd ├── Makefile └── README.md ├── config.py ├── contrib ├── bkgrnd2d │ ├── bkgrnd2d.cpp │ ├── bkgrnd2d.def │ ├── bkgrnd2d.h │ ├── bkgrnd2d.vcxproj │ ├── bkgrnd2d.vcxproj.filters │ ├── dialog.cpp │ ├── dialog.h │ ├── plugin.cpp │ ├── plugin.h │ └── readme_bkgrnd2d-b0.25.txt ├── bobtoolz │ ├── CPortals.h │ ├── DBobView.cpp │ ├── DBobView.h │ ├── DBrush.cpp │ ├── DBrush.h │ ├── DEPair.cpp │ ├── DEPair.h │ ├── DEntity.cpp │ ├── DEntity.h │ ├── DListener.cpp │ ├── DListener.h │ ├── DMap.cpp │ ├── DMap.h │ ├── DPatch.cpp │ ├── DPatch.h │ ├── DPlane.cpp │ ├── DPlane.h │ ├── DPoint.cpp │ ├── DPoint.h │ ├── DShape.cpp │ ├── DShape.h │ ├── DTrainDrawer.cpp │ ├── DTrainDrawer.h │ ├── DTreePlanter.cpp │ ├── DTreePlanter.h │ ├── DVisDrawer.cpp │ ├── DVisDrawer.h │ ├── DWinding.cpp │ ├── DWinding.h │ ├── ScriptParser.cpp │ ├── ScriptParser.h │ ├── StdAfx.cpp │ ├── StdAfx.h │ ├── bobToolz-GTK.cpp │ ├── bobToolz.h │ ├── bobToolz.rc │ ├── bobtoolz-gtk.rc │ ├── bobtoolz.def │ ├── bobtoolz.vcxproj │ ├── bobtoolz.vcxproj.filters │ ├── bsploader.cpp │ ├── bsploader.h │ ├── bt │ │ ├── bt-el1.txt │ │ ├── bt-el2.txt │ │ ├── ctf-blue.txt │ │ ├── ctf-red.txt │ │ ├── door-tex-trim.txt │ │ ├── door-tex.txt │ │ └── tp_ent.txt │ ├── cportals.cpp │ ├── ctfToolz-GTK.cpp │ ├── ctfresource_gtk.h │ ├── ctfresource_gtk.rc │ ├── ctftoolz.def │ ├── dialogs │ │ ├── AboutDialog.cpp │ │ ├── AboutDialog.h │ │ ├── AutoCaulkDialog.cpp │ │ ├── AutoCaulkDialog.h │ │ ├── AutoCaulkStartDialog.cpp │ │ ├── AutoCaulkStartDialog.h │ │ ├── BrushCheckDialog.h │ │ ├── DoorDialog.cpp │ │ ├── DoorDialog.h │ │ ├── IntersectDialog.cpp │ │ ├── IntersectDialog.h │ │ ├── IntersectInfoDialog.cpp │ │ ├── IntersectInfoDialog.h │ │ ├── PolygonDialog.cpp │ │ ├── PolygonDialog.h │ │ ├── StairDialog.cpp │ │ ├── StairDialog.h │ │ ├── TextureResetDialog.cpp │ │ ├── TextureResetDialog.h │ │ ├── brushcheckdialog.cpp │ │ ├── dialogs-gtk.cpp │ │ ├── dialogs-gtk.h │ │ ├── pathplotterdialog.cpp │ │ └── pathplotterdialog.h │ ├── funchandlers-GTK.cpp │ ├── funchandlers-ctf-GTK.cpp │ ├── funchandlers.cpp │ ├── funchandlers.h │ ├── interfaces │ │ └── IScriptParser.h │ ├── lists.cpp │ ├── lists.h │ ├── misc.cpp │ ├── misc.h │ ├── res │ │ └── plugin.rc2 │ ├── resource-gtk.h │ ├── resource.h │ ├── shapes.cpp │ ├── shapes.h │ ├── txt │ │ ├── changelog.txt │ │ └── readme.txt │ ├── visfind.cpp │ └── visfind.h ├── camera │ ├── camera.cpp │ ├── camera.def │ ├── camera.h │ ├── camera.vcxproj │ ├── camera.vcxproj.filters │ ├── dialogs.cpp │ ├── dialogs.h │ ├── dialogs_common.cpp │ ├── funchandlers.cpp │ ├── funchandlers.h │ ├── listener.cpp │ ├── listener.h │ ├── misc.cpp │ ├── misc.h │ ├── renderer.cpp │ └── renderer.h ├── gtkgensurf │ ├── CHANGES │ ├── bitmap.cpp │ ├── dec.cpp │ ├── face.cpp │ ├── font.cpp │ ├── gendlgs.cpp │ ├── gendlgs.h │ ├── genmap.cpp │ ├── gensurf.cpp │ ├── gensurf.h │ ├── gtkgensurf.def │ ├── gtkgensurf.vcxproj │ ├── gtkgensurf.vcxproj.filters │ ├── heretic.cpp │ ├── plugin.cpp │ ├── triangle.c │ ├── triangle.h │ └── view.cpp ├── hydratoolz │ ├── hydratoolz.def │ ├── hydratoolz.vcxproj │ ├── hydratoolz.vcxproj.filters │ ├── plugin.cpp │ └── plugin.h └── prtview │ ├── AboutDialog.cpp │ ├── ConfigDialog.cpp │ ├── LoadPortalFileDialog.cpp │ ├── LoadPortalFileDialog.h │ ├── PrtView.aps │ ├── PrtView.rc │ ├── PrtView.txt │ ├── gtkdlgs.cpp │ ├── gtkdlgs.h │ ├── portals.cpp │ ├── portals.h │ ├── prtview.cpp │ ├── prtview.def │ ├── prtview.h │ ├── prtview.vcxproj │ ├── prtview.vcxproj.filters │ ├── res │ └── PrtView.rc2 │ ├── resource.h │ ├── stdafx.cpp │ └── stdafx.h ├── docs └── manual │ ├── Q3Rad_Manual │ ├── Q3Rad_Manual_files │ │ ├── image002.png │ │ ├── image003.png │ │ ├── image004.png │ │ ├── image006.png │ │ ├── image008.png │ │ ├── image010.png │ │ ├── image012.png │ │ ├── image014.png │ │ ├── image016.png │ │ ├── image018.png │ │ ├── image020.png │ │ ├── image022.png │ │ ├── image024.png │ │ ├── image026.png │ │ ├── image028.png │ │ ├── image030.png │ │ ├── image032.png │ │ ├── image034.png │ │ ├── image035.png │ │ ├── image038.png │ │ └── image040.png │ ├── appndx │ │ ├── appn_a.htm │ │ ├── appn_b_1.htm │ │ ├── appn_b_2.htm │ │ ├── appn_b_3.htm │ │ ├── appn_b_4.htm │ │ ├── appn_b_5.htm │ │ ├── appn_b_6.htm │ │ ├── appn_b_7.htm │ │ ├── appn_b_8.htm │ │ ├── appn_b_9.htm │ │ ├── appn_c.htm │ │ ├── appn_d.htm │ │ ├── appn_e.htm │ │ ├── appn_f.htm │ │ └── sskey_dl.htm │ ├── ch01 │ │ ├── pg1_1.htm │ │ └── pg1_2.htm │ ├── ch02 │ │ └── pg2_1.htm │ ├── ch03 │ │ └── pg3_1.htm │ ├── ch04 │ │ └── pg4_1.htm │ ├── ch05 │ │ └── pg5_1.htm │ ├── ch06 │ │ └── pg6_1.htm │ ├── ch07 │ │ └── pg7_1.htm │ ├── ch08 │ │ └── pg8_1.htm │ ├── ch09 │ │ └── pg9_1.htm │ ├── ch10 │ │ └── pg10_1.htm │ ├── ch11 │ │ └── pg11_1.htm │ ├── ch12 │ │ └── pg12_1.htm │ ├── gtkrad │ │ └── pg1_1.htm │ ├── index.htm │ └── styles │ │ └── q3rad.css │ └── quake3 │ ├── Compile_Manual │ ├── bspc.txt │ ├── cfgq3.c │ ├── headskins.txt │ ├── index.html │ ├── modelskins.txt │ └── q3map.html │ ├── Model_Manual │ ├── model_manual.htm │ └── styles │ │ └── q3rad.css │ ├── New_Teams_For_Q3TA │ └── index.html │ ├── Q3AShader_Manual │ ├── appendix │ │ └── appA.html │ ├── ch01 │ │ └── pg1_1.htm │ ├── ch02 │ │ └── pg2_1.htm │ ├── ch03 │ │ └── pg3_1.htm │ ├── ch04 │ │ └── pg4_1.htm │ ├── ch05 │ │ └── pg5_1.htm │ ├── ch06 │ │ └── pg6_1.htm │ ├── index.htm │ ├── q3ashader_manual_files │ │ └── image002.jpg │ └── styles │ │ └── q3rad.css │ ├── Team_Arena_Mapping_Help │ ├── pages │ │ ├── design_tips.html │ │ ├── map_converters_checklist.html │ │ ├── preface.html │ │ ├── related_links.html │ │ ├── ta_game_types.html │ │ ├── table_of_contents.htm │ │ ├── team_arena_entity_definitions.html │ │ ├── team_arena_prefabs.html │ │ ├── team_powerup_bases.html │ │ └── using_new_game_entities.html │ ├── pics │ │ ├── CRUSADER.gif │ │ ├── INTRUDER.gif │ │ ├── MAINPOP.gif │ │ ├── MENUBACKgif.gif │ │ ├── PAGANs.gif │ │ ├── STROGGS.gif │ │ ├── THEFALLEN.gif │ │ └── logo.gif │ └── start.html │ └── Terrain_Manual │ ├── pages │ ├── Image3.gif │ ├── Image4.gif │ ├── Image5.gif │ ├── Image6.gif │ ├── adding_bots.html │ ├── adding_buildings_to_terrain.html │ ├── art_tools.html │ ├── blocking_vis.html │ ├── boxing_in_the_world.html │ ├── clipping_the_terrain.html │ ├── creating_the_alphamap.html │ ├── creating_the_terrain.html │ ├── entity_keys_and_values.html │ ├── glossary.html │ ├── height_map_into_terrain_mesh.html │ ├── height_maps.html │ ├── introduction.html │ ├── key_changes.html │ ├── lighting_the_terrain.html │ ├── manipulating_the_terrain_mesh.html │ ├── mapping_the_textures.html │ ├── new_or_revised_q3map_shader_comm.html │ ├── other_possible_height_map_tools.html │ ├── related_links.html │ ├── suggested_gensurf_settings.html │ ├── table_of_contents.html │ ├── terrain_entity.html │ ├── terrain_mesh_into_terrain_entity.html │ ├── terrain_related_worldspawn_features.html │ ├── terrain_texture.html │ └── the_meta_shader.html │ ├── pics │ ├── background.jpg │ ├── start.gif │ └── terrain.jpg │ └── start.html ├── flatpak ├── io.github.TTimo.GtkRadiant.appdata.xml └── io.github.TTimo.GtkRadiant.desktop ├── gtkradiant-flatpak.code-workspace ├── include ├── aboutmsg.default ├── aboutmsg.h ├── gtkr_list.h ├── gtkr_vector.h ├── ibrush.h ├── ibspfrontend.h ├── icamera.h ├── idata.h ├── idatastream.h ├── ieclass.h ├── ientity.h ├── ifilesystem.h ├── ifilters.h ├── igl.h ├── iimage.h ├── imap.h ├── imodel.h ├── ipatch.h ├── iplugin.h ├── irefcount.h ├── iscriplib.h ├── iselectedface.h ├── ishaders.h ├── ishadersmanager.h ├── isurfaceplugin.h ├── itoolbar.h ├── iui.h ├── iui_gtk.h ├── iundo.h ├── misc_def.h ├── qerplugin.h ├── qertypes.h ├── qsysprintf.h ├── stl_check.h ├── stream_version.h ├── version.default └── version.h ├── install.py ├── install ├── .gitignore ├── base │ └── textures │ │ └── radiant │ │ ├── notex.png │ │ └── shadernotex.png ├── bitmaps │ ├── brush_flipx.png │ ├── brush_flipy.png │ ├── brush_flipz.png │ ├── brush_rotatex.png │ ├── brush_rotatey.png │ ├── brush_rotatez.png │ ├── cap_bevel.png │ ├── cap_endcap.png │ ├── cap_ibevel.png │ ├── cap_iendcap.png │ ├── curve_cap.png │ ├── dontselectcurve.png │ ├── dontselectmodel.png │ ├── file_open.png │ ├── file_save.png │ ├── icon.png │ ├── logo.png │ ├── patch_bend.png │ ├── patch_drilldown.png │ ├── patch_insdel.png │ ├── patch_showboundingbox.png │ ├── patch_weld.png │ ├── patch_wireframe.png │ ├── popup_selection.png │ ├── scalelockx.png │ ├── scalelocky.png │ ├── scalelockz.png │ ├── select_mouserotate.png │ ├── select_mousescale.png │ ├── selection_csgmerge.png │ ├── selection_csgsubtract.png │ ├── selection_makehollow.png │ ├── selection_makehollowtouch.png │ ├── selection_selectcompletetall.png │ ├── selection_selectinside.png │ ├── selection_selectpartialtall.png │ ├── selection_selecttouching.png │ ├── show_entities.png │ ├── splash.png │ ├── textures_popup.png │ ├── toggle_detail.png │ ├── toggle_struct.png │ ├── view_cameratoggle.png │ ├── view_cameraupdate.png │ ├── view_change.png │ ├── view_clipper.png │ ├── view_cubicclipping.png │ ├── view_entity.png │ ├── window1.png │ ├── window2.png │ ├── window3.png │ └── window4.png └── modules │ └── bitmaps │ ├── bkgrnd2d_conf.bmp │ ├── bkgrnd2d_xy_toggle.bmp │ ├── bkgrnd2d_xz_toggle.bmp │ ├── bkgrnd2d_yz_toggle.bmp │ ├── bobtoolz_caulk.bmp │ ├── bobtoolz_cleanup.bmp │ ├── bobtoolz_dropent.bmp │ ├── bobtoolz_merge.bmp │ ├── bobtoolz_poly.bmp │ ├── bobtoolz_split.bmp │ ├── bobtoolz_trainpathplot.bmp │ ├── bobtoolz_treeplanter.bmp │ ├── bobtoolz_turnedge.bmp │ ├── camera_insp.bmp │ ├── model_reload_entity.bmp │ ├── picomodel.bmp │ └── sample.bmp ├── libs ├── .gitignore ├── bytebool.h ├── cmdlib.h ├── cmdlib │ ├── cmdlib.cpp │ ├── cmdlib.vcxproj │ └── cmdlib.vcxproj.filters ├── ddslib.h ├── ddslib │ ├── ddslib.c │ ├── ddslib.vcxproj │ └── ddslib.vcxproj.filters ├── igl_to_qgl.h ├── l_net │ ├── l_net.c │ ├── l_net.h │ ├── l_net.vcxproj │ ├── l_net.vcxproj.filters │ ├── l_net_berkeley.c │ ├── l_net_wins.c │ └── l_net_wins.h ├── mathlib.h ├── mathlib │ ├── bbox.c │ ├── m4x4.c │ ├── mathlib.c │ ├── mathlib.vcxproj │ ├── mathlib.vcxproj.filters │ └── ray.c ├── md4lib.h ├── md5lib.h ├── md5lib │ ├── Conscript │ ├── md4.c │ ├── md5lib.c │ ├── md5lib.vcxproj │ └── md5lib.vcxproj.filters ├── missing.h ├── pak │ ├── pakstuff.cpp │ ├── unzip.cpp │ └── unzip.h ├── pakstuff.h ├── picomodel.h ├── picomodel │ ├── lwo │ │ ├── clip.c │ │ ├── envelope.c │ │ ├── list.c │ │ ├── lwio.c │ │ ├── lwo2.c │ │ ├── lwo2.h │ │ ├── lwob.c │ │ ├── pntspols.c │ │ ├── surface.c │ │ ├── vecmath.c │ │ └── vmap.c │ ├── picointernal.c │ ├── picointernal.h │ ├── picomodel.c │ ├── picomodel.vcxproj │ ├── picomodel.vcxproj.filters │ ├── picomodules.c │ ├── pm_3ds.c │ ├── pm_ase.c │ ├── pm_fm.c │ ├── pm_fm.h │ ├── pm_iqm.c │ ├── pm_lwo.c │ ├── pm_md2.c │ ├── pm_md3.c │ ├── pm_mdc.c │ ├── pm_ms3d.c │ ├── pm_obj.c │ └── pm_terrain.c ├── splines │ ├── math_angles.cpp │ ├── math_angles.h │ ├── math_matrix.cpp │ ├── math_matrix.h │ ├── math_quaternion.cpp │ ├── math_quaternion.h │ ├── math_vector.cpp │ ├── math_vector.h │ ├── q_parse.cpp │ ├── q_shared.cpp │ ├── q_shared.h │ ├── splines.cpp │ ├── splines.h │ ├── splines.vcxproj │ ├── splines.vcxproj.filters │ ├── util_list.h │ ├── util_str.cpp │ └── util_str.h ├── stdint.msvc.h ├── str.h ├── synapse.h └── synapse │ ├── doc │ ├── design.txt │ ├── runtime.txt │ └── unload.txt │ ├── synapse.cpp │ ├── synapse.vcxproj │ └── synapse.vcxproj.filters ├── makeversion.py ├── memcheck-amd64-openbsd.core ├── plugins ├── eclassfgd │ ├── fgd.def │ ├── fgd.vcxproj │ ├── fgd.vcxproj.filters │ ├── plugin.cpp │ └── plugin.h ├── entity │ ├── eclassmodel.cpp │ ├── entity.cpp │ ├── entity.def │ ├── entity.h │ ├── entity.vcxproj │ ├── entity.vcxproj.filters │ ├── entity_entitymodel.cpp │ ├── entity_entitymodel.h │ ├── light.cpp │ ├── light.h │ ├── miscmodel.cpp │ ├── plugin.cpp │ └── plugin.h ├── image │ ├── bmp.cpp │ ├── bmp.h │ ├── image.cpp │ ├── image.def │ ├── image.h │ ├── image.vcxproj │ ├── image.vcxproj.filters │ ├── jpeg.cpp │ ├── lbmlib.cpp │ └── lbmlib.h ├── imagehl │ ├── imagehl.cpp │ ├── imagehl.def │ ├── imagehl.h │ ├── imagehl.txt │ ├── imagehl.vcxproj │ ├── imagehl.vcxproj.filters │ ├── lbmlib.cpp │ └── lbmlib.h ├── imagem8 │ ├── imagem8.cpp │ ├── imagem8.def │ ├── imagem8.h │ ├── imagem8.vcxproj │ ├── imagem8.vcxproj.filters │ ├── m32.cpp │ ├── m32.h │ ├── m8.cpp │ └── m8.h ├── imagepng │ ├── imagepng.def │ ├── imagepng.vcxproj │ ├── imagepng.vcxproj.filters │ ├── plugin.cpp │ └── plugin.h ├── imagewal │ ├── imagewal.cpp │ ├── imagewal.def │ ├── imagewal.h │ ├── imagewal.vcxproj │ ├── imagewal.vcxproj.filters │ ├── q2_palette.h │ ├── wal.cpp │ └── wal.h ├── map │ ├── map.def │ ├── map.vcxproj │ ├── map.vcxproj.filters │ ├── parse.cpp │ ├── plugin.cpp │ ├── plugin.h │ └── write.cpp ├── mapxml │ ├── mapxml.def │ ├── mapxml.vcxproj │ ├── mapxml.vcxproj.filters │ ├── plugin.cpp │ ├── plugin.h │ ├── xmlparse.cpp │ └── xmlwrite.cpp ├── model │ ├── cpicomodel.cpp │ ├── cpicomodel.h │ ├── cpicosurface.cpp │ ├── cpicosurface.h │ ├── miscmodel.cpp │ ├── model.cpp │ ├── model.def │ ├── model.vcxproj │ ├── model.vcxproj.filters │ ├── plugin.cpp │ ├── plugin.h │ ├── remap.cpp │ └── surface.h ├── sample │ ├── plugin.cpp │ ├── plugin.h │ ├── sample.def │ └── sample.vcproj.out-of-date ├── shaders │ ├── plugin.cpp │ ├── plugin.h │ ├── shaders.cpp │ ├── shaders.def │ ├── shaders.h │ ├── shaders.proj │ ├── shaders.vcxproj │ ├── shaders.vcxproj.filters │ └── shadershl.def ├── spritemodel │ ├── plugin.cpp │ ├── plugin.h │ ├── spritemodel.cpp │ ├── spritemodel.def │ ├── spritemodel.h │ ├── spritemodel.vcxproj │ └── spritemodel.vcxproj.filters ├── surface │ ├── surface.def │ ├── surface.vcxproj │ ├── surface.vcxproj.filters │ ├── surfacedialog.cpp │ ├── surfacedialog.h │ ├── surfdlg_plugin.cpp │ └── surfdlg_plugin.h ├── surface_idtech2 │ ├── surface_idtech2.def │ ├── surface_idtech2.vcxproj │ ├── surface_idtech2.vcxproj.filters │ ├── surfacedialog.cpp │ ├── surfacedialog.h │ ├── surfaceflags.cpp │ ├── surfaceflags.h │ ├── surfdlg_plugin.cpp │ └── surfdlg_plugin.h ├── textool │ ├── 2DView.cpp │ ├── 2DView.h │ ├── ControlPointsManager.cpp │ ├── ControlPointsManager.h │ ├── Doc │ │ ├── Image2.jpg │ │ └── TexTool.html │ ├── StdAfx.cpp │ ├── StdAfx.h │ ├── TexTool.cpp │ ├── TexTool.rc │ ├── changelog.txt │ ├── resource.h │ ├── textool.def │ ├── textool.vcxproj │ └── textool.vcxproj.filters ├── vfspak │ ├── vfs.cpp │ ├── vfs.h │ ├── vfspak.cpp │ ├── vfspak.def │ ├── vfspak.h │ ├── vfspak.vcxproj │ └── vfspak.vcxproj.filters ├── vfspk3 │ ├── unzip-vfspk3.h │ ├── unzip.cpp │ ├── vfs.cpp │ ├── vfs.h │ ├── vfspk3.cpp │ ├── vfspk3.def │ ├── vfspk3.h │ ├── vfspk3.proj │ ├── vfspk3.vcxproj │ └── vfspk3.vcxproj.filters └── vfswad │ ├── unwad.cpp │ ├── unwad.h │ ├── vfs.cpp │ ├── vfs.h │ ├── vfswad.cpp │ ├── vfswad.def │ ├── vfswad.h │ ├── vfswad.txt │ ├── vfswad.vcxproj │ └── vfswad.vcxproj.filters ├── po └── de.po ├── prepare_archive.py ├── radiant.bin.core ├── radiant.pot ├── radiant.sln ├── radiant ├── Makefile.mac ├── bp_dlg.cpp ├── brush.cpp ├── brush.h ├── brush_primit.cpp ├── brushscript.cpp ├── camera.h ├── camwindow.cpp ├── camwindow.h ├── csg.cpp ├── dialog.cpp ├── dialog.h ├── dialoginfo.cpp ├── drag.cpp ├── eclass.cpp ├── eclass_def.cpp ├── eclass_def.h ├── error.cpp ├── feedback.cpp ├── feedback.h ├── file.cpp ├── file.h ├── filters.cpp ├── filters.h ├── findtexturedialog.cpp ├── findtexturedialog.h ├── glinterface.cpp ├── glwidget.cpp ├── glwidget.h ├── glwindow.cpp ├── glwindow.h ├── groupdialog.cpp ├── groupdialog.h ├── gtkdlgs.cpp ├── gtkmisc.cpp ├── gtkmisc.h ├── main.cpp ├── mainframe.cpp ├── mainframe.h ├── map.cpp ├── map.h ├── missing.cpp ├── parse.cpp ├── parse.h ├── patchdialog.cpp ├── patchdialog.h ├── plugin.h ├── pluginentities.cpp ├── pluginmanager.cpp ├── pluginmanager.h ├── pmesh.cpp ├── points.cpp ├── points.h ├── preferences.cpp ├── preferences.h ├── profile.cpp ├── qe3.cpp ├── qe3.h ├── qedefs.h ├── qfiles.h ├── qgl.c ├── qgl.h ├── qgl_ext.cpp ├── queuedraw.cpp ├── radiant.ico ├── radiant.rc ├── radiant.vcxproj ├── radiant.vcxproj.filters ├── resource.h ├── select.cpp ├── select.h ├── selectedface.cpp ├── stdafx.cpp ├── stdafx.h ├── surfacedialog.cpp ├── surfacedialog.h ├── surfaceplugin.cpp ├── surfaceplugin.h ├── targetname.cpp ├── texmanip.cpp ├── texmanip.h ├── textures.h ├── texwindow.cpp ├── texwindow.h ├── ui.cpp ├── ui.h ├── undo.cpp ├── undo.h ├── vertsel.cpp ├── watchbsp.cpp ├── watchbsp.h ├── winding.cpp ├── winding.h ├── xmlstuff.h ├── xywindow.cpp ├── xywindow.h ├── z.cpp ├── z.h ├── zwindow.cpp └── zwindow.h ├── regression_tests └── q3map2 │ ├── base_winding │ ├── README.txt │ ├── base_winding_logging.patch │ ├── maps │ │ └── base_winding.map │ └── textures │ │ └── radiant_regression_tests │ │ └── tile.tga │ ├── coarse_snap_normal │ ├── README.txt │ ├── maps │ │ └── coarse_snap_normal.map │ └── textures │ │ └── radiant_regression_tests │ │ ├── green.tga │ │ ├── red.tga │ │ └── tile.tga │ ├── decal_misalignment │ ├── README.txt │ ├── maps │ │ └── decal_misalignment.map │ ├── scripts │ │ └── radiant_regression_tests.shader │ └── textures │ │ └── radiant_regression_tests │ │ ├── bigtile.tga │ │ ├── glass.tga │ │ ├── qer_glass.tga │ │ └── tile_trans.tga │ ├── degenerate_winding │ ├── README.txt │ ├── maps │ │ └── degenerate_winding.map │ └── textures │ │ └── radiant_regression_tests │ │ ├── green.tga │ │ ├── red.tga │ │ └── tile.tga │ ├── degenerate_winding2 │ ├── README.txt │ ├── maps │ │ └── degenerate_winding2.map │ └── textures │ │ └── radiant_regression_tests │ │ ├── blue.tga │ │ ├── green.tga │ │ ├── red.tga │ │ └── tile.tga │ ├── degenerate_winding3 │ ├── README.txt │ ├── maps │ │ └── degenerate_winding3.map │ └── textures │ │ └── radiant_regression_tests │ │ ├── blue.tga │ │ ├── green.tga │ │ ├── red.tga │ │ └── tile.tga │ ├── disappearing_sliver │ ├── README.txt │ ├── maps │ │ └── disappearing_sliver.map │ ├── textures │ │ └── radiant_regression_tests │ │ │ └── tile.tga │ └── winding_logging.patch │ ├── disappearing_sliver2 │ ├── README.txt │ ├── maps │ │ └── disappearing_sliver2.map │ └── textures │ │ └── radiant_regression_tests │ │ └── tile.tga │ ├── disappearing_sliver3 │ ├── NOTES.txt │ ├── README.txt │ ├── maps │ │ └── disappearing_sliver3.map │ └── textures │ │ └── radiant_regression_tests │ │ └── tile.tga │ ├── duplicate_plane │ ├── README.txt │ ├── maps │ │ └── duplicate_plane.map │ └── textures │ │ └── radiant_regression_tests │ │ └── tile.tga │ ├── model_clipping_45_degrees │ ├── README.txt │ ├── maps │ │ └── model_clipping_45_degrees.map │ ├── models │ │ └── mapobjects │ │ │ └── wedges │ │ │ ├── wedge_45.ase │ │ │ ├── wedge_shallow.ase │ │ │ └── wedge_steep.ase │ ├── scripts │ │ └── radiant_regression_tests.shader │ └── textures │ │ └── radiant_regression_tests │ │ ├── bigtile.tga │ │ └── tile_model.tga │ ├── patch_seam │ ├── README.txt │ ├── maps │ │ └── patch_seam.map │ └── textures │ │ └── radiant_regression_tests │ │ ├── green.tga │ │ └── tile.tga │ ├── piercing_triangle │ ├── README.txt │ ├── maps │ │ └── piercing_triangle.map │ └── textures │ │ └── radiant_regression_tests │ │ └── tile.tga │ ├── plane_aliasing │ ├── README.txt │ ├── maps │ │ └── plane_aliasing.map │ └── textures │ │ └── radiant_regression_tests │ │ ├── blue.tga │ │ ├── green.tga │ │ ├── red.tga │ │ └── tile.tga │ ├── segmentation_fault │ ├── README.txt │ ├── maps │ │ └── segmentation_fault.map │ └── textures │ │ └── radiant_regression_tests │ │ └── tile.tga │ ├── snap_plane │ ├── README.txt │ ├── maps │ │ └── snap_plane.map │ └── textures │ │ └── radiant_regression_tests │ │ ├── green.tga │ │ ├── red.tga │ │ └── tile.tga │ └── sparkly_seam │ ├── README.txt │ ├── maps │ └── sparkly_seam.map │ └── textures │ └── radiant_regression_tests │ └── tile.tga ├── tools ├── .gitignore ├── quake2 │ ├── common │ │ ├── bspfile.c │ │ ├── bspfile.h │ │ ├── cmdlib.c │ │ ├── cmdlib.h │ │ ├── inout.c │ │ ├── inout.h │ │ ├── l3dslib.c │ │ ├── l3dslib.h │ │ ├── lbmlib.c │ │ ├── lbmlib.h │ │ ├── mathlib.c │ │ ├── mathlib.h │ │ ├── path_init.c │ │ ├── polylib.c │ │ ├── polylib.h │ │ ├── q2_threads.h │ │ ├── qfiles.h │ │ ├── scriplib.c │ │ ├── scriplib.h │ │ ├── threads.c │ │ ├── trilib.c │ │ └── trilib.h │ ├── extra │ │ ├── COPYING.txt │ │ ├── Unpack │ │ │ ├── Unpack.dsp │ │ │ ├── Unpack.dsw │ │ │ └── Unpack.java │ │ ├── bsp │ │ │ ├── bsp.mak │ │ │ ├── bspinfo3 │ │ │ │ ├── bspinfo3.c │ │ │ │ └── makefile │ │ │ ├── qbsp3 │ │ │ │ ├── brushbsp.c │ │ │ │ ├── csg.c │ │ │ │ ├── faces.c │ │ │ │ ├── gldraw.c │ │ │ │ ├── glfile.c │ │ │ │ ├── leakfile.c │ │ │ │ ├── makefile │ │ │ │ ├── map.c │ │ │ │ ├── nodraw.c │ │ │ │ ├── portals.c │ │ │ │ ├── prtfile.c │ │ │ │ ├── qbsp.h │ │ │ │ ├── qbsp3.c │ │ │ │ ├── textures.c │ │ │ │ ├── tree.c │ │ │ │ └── writebsp.c │ │ │ ├── qrad3 │ │ │ │ ├── lightmap.c │ │ │ │ ├── makefile │ │ │ │ ├── patches.c │ │ │ │ ├── qrad.h │ │ │ │ ├── qrad3.c │ │ │ │ └── trace.c │ │ │ └── qvis3 │ │ │ │ ├── flow.c │ │ │ │ ├── makefile │ │ │ │ ├── qvis3.c │ │ │ │ └── vis.h │ │ ├── common │ │ │ ├── bspfile.c │ │ │ ├── bspfile.h │ │ │ ├── cmdlib.c │ │ │ ├── cmdlib.h │ │ │ ├── l3dslib.c │ │ │ ├── l3dslib.h │ │ │ ├── lbmlib.c │ │ │ ├── lbmlib.h │ │ │ ├── mathlib.c │ │ │ ├── mathlib.h │ │ │ ├── mdfour.c │ │ │ ├── mdfour.h │ │ │ ├── polylib.c │ │ │ ├── polylib.h │ │ │ ├── qfiles.h │ │ │ ├── scriplib.c │ │ │ ├── scriplib.h │ │ │ ├── threads.c │ │ │ ├── threads.h │ │ │ ├── trilib.c │ │ │ └── trilib.h │ │ ├── qdata │ │ │ ├── anorms.h │ │ │ ├── images.c │ │ │ ├── makefile │ │ │ ├── models.c │ │ │ ├── qdata.c │ │ │ ├── qdata.dsp │ │ │ ├── qdata.dsw │ │ │ ├── qdata.h │ │ │ ├── qdata.mak │ │ │ ├── sprites.c │ │ │ ├── tables.c │ │ │ └── video.c │ │ ├── qe4 │ │ │ ├── brush.c │ │ │ ├── brush.h │ │ │ ├── bspfile.h │ │ │ ├── camera.c │ │ │ ├── camera.h │ │ │ ├── cmdlib.c │ │ │ ├── cmdlib.h │ │ │ ├── csg.c │ │ │ ├── drag.c │ │ │ ├── eclass.c │ │ │ ├── entity.c │ │ │ ├── entity.h │ │ │ ├── entityw.h │ │ │ ├── glingr.h │ │ │ ├── icon1.ico │ │ │ ├── lbmlib.c │ │ │ ├── lbmlib.h │ │ │ ├── makefile │ │ │ ├── map.c │ │ │ ├── map.h │ │ │ ├── mathlib.c │ │ │ ├── mathlib.h │ │ │ ├── mru.c │ │ │ ├── mru.h │ │ │ ├── parse.c │ │ │ ├── parse.h │ │ │ ├── points.c │ │ │ ├── q.bmp │ │ │ ├── qe3.c │ │ │ ├── qe3.h │ │ │ ├── qe4.mak │ │ │ ├── qedefs.h │ │ │ ├── qfiles.h │ │ │ ├── resource.h │ │ │ ├── select.c │ │ │ ├── select.h │ │ │ ├── textures.c │ │ │ ├── textures.h │ │ │ ├── toolbar1.bmp │ │ │ ├── vertsel.c │ │ │ ├── view.h │ │ │ ├── win_cam.c │ │ │ ├── win_dlg.c │ │ │ ├── win_ent.c │ │ │ ├── win_main.c │ │ │ ├── win_qe3.aps │ │ │ ├── win_qe3.c │ │ │ ├── win_qe3.rc │ │ │ ├── win_xy.c │ │ │ ├── win_z.c │ │ │ ├── xy.c │ │ │ ├── xy.h │ │ │ ├── z.c │ │ │ └── z.h │ │ └── texpaint │ │ │ ├── docs.txt │ │ │ ├── resource.h │ │ │ ├── texmake.aps │ │ │ ├── texmake.rc │ │ │ ├── texpaint.c │ │ │ ├── texpaint.h │ │ │ ├── texpaint.mak │ │ │ ├── win_cam.c │ │ │ ├── win_main.c │ │ │ ├── win_pal.c │ │ │ └── win_skin.c │ ├── q2map │ │ ├── brushbsp.c │ │ ├── csg.c │ │ ├── faces.c │ │ ├── flow.c │ │ ├── gldraw.c │ │ ├── glfile.c │ │ ├── leakfile.c │ │ ├── lightmap.c │ │ ├── main.c │ │ ├── map.c │ │ ├── nodraw.c │ │ ├── patches.c │ │ ├── portals.c │ │ ├── prtfile.c │ │ ├── q2map.h │ │ ├── q2map.vcproj.out-of-date │ │ ├── qbsp.c │ │ ├── qbsp.h │ │ ├── qrad.c │ │ ├── qrad.h │ │ ├── qvis.c │ │ ├── qvis.h │ │ ├── textures.c │ │ ├── trace.c │ │ ├── tree.c │ │ └── writebsp.c │ ├── qdata │ │ ├── anorms.h │ │ ├── images.c │ │ ├── makefile │ │ ├── models.c │ │ ├── qdata.c │ │ ├── qdata.h │ │ ├── qdata3.vcproj.out-of-date │ │ ├── sprites.c │ │ ├── tables.c │ │ └── video.c │ └── qdata_heretic2 │ │ ├── adpcm.h │ │ ├── animcomp.c │ │ ├── animcomp.h │ │ ├── anorms.h │ │ ├── book.c │ │ ├── common │ │ ├── bspfile.c │ │ ├── bspfile.h │ │ ├── cmdlib.c │ │ ├── cmdlib.h │ │ ├── her2_threads.h │ │ ├── inout.c │ │ ├── inout.h │ │ ├── l3dslib.c │ │ ├── l3dslib.h │ │ ├── lbmlib.c │ │ ├── lbmlib.h │ │ ├── mathlib.c │ │ ├── mathlib.h │ │ ├── md4.c │ │ ├── path_init.c │ │ ├── polylib.c │ │ ├── polylib.h │ │ ├── qfiles.c │ │ ├── qfiles.h │ │ ├── scriplib.c │ │ ├── scriplib.h │ │ ├── threads.c │ │ ├── token.c │ │ ├── token.h │ │ ├── trilib.c │ │ └── trilib.h │ │ ├── fmodels.c │ │ ├── icon1.ico │ │ ├── images.c │ │ ├── jointed.c │ │ ├── jointed.h │ │ ├── joints.h │ │ ├── models.c │ │ ├── pics.c │ │ ├── qcommon │ │ ├── angles.h │ │ ├── arrayedlist.h │ │ ├── flex.h │ │ ├── fmodel.h │ │ ├── h2common.h │ │ ├── placement.h │ │ ├── q_typedef.h │ │ ├── qfiles.h │ │ ├── reference.c │ │ ├── reference.h │ │ ├── resourcemanager.c │ │ ├── resourcemanager.h │ │ ├── skeletons.c │ │ └── skeletons.h │ │ ├── qd_fmodel.h │ │ ├── qd_skeletons.c │ │ ├── qd_skeletons.h │ │ ├── qdata.c │ │ ├── qdata.h │ │ ├── qdata3_heretic2.vcproj.out-of-date │ │ ├── resource.h │ │ ├── script1.aps │ │ ├── script1.rc │ │ ├── sprites.c │ │ ├── svdcmp.c │ │ ├── tables.c │ │ ├── tmix.c │ │ └── video.c ├── quake3 │ ├── common │ │ ├── aselib.c │ │ ├── aselib.h │ │ ├── bspfile.c │ │ ├── bspfile.h │ │ ├── cmdlib.c │ │ ├── cmdlib.h │ │ ├── imagelib.c │ │ ├── imagelib.h │ │ ├── inout.c │ │ ├── inout.h │ │ ├── jpeg.c │ │ ├── l3dslib.c │ │ ├── l3dslib.h │ │ ├── mutex.c │ │ ├── mutex.h │ │ ├── polylib.c │ │ ├── polylib.h │ │ ├── polyset.h │ │ ├── qfiles.h │ │ ├── qthreads.h │ │ ├── quake3-common.vcxproj │ │ ├── quake3-common.vcxproj.filters │ │ ├── scriplib.c │ │ ├── scriplib.h │ │ ├── surfaceflags.h │ │ ├── threads.c │ │ ├── trilib.c │ │ ├── trilib.h │ │ ├── unzip.c │ │ ├── unzip.h │ │ ├── vfs.c │ │ └── vfs.h │ ├── q3data │ │ ├── 3dslib.c │ │ ├── 3dslib.h │ │ ├── compress.c │ │ ├── images.c │ │ ├── md3lib.c │ │ ├── md3lib.h │ │ ├── models.c │ │ ├── oldstuff.c │ │ ├── p3dlib.c │ │ ├── p3dlib.h │ │ ├── polyset.c │ │ ├── q3data.c │ │ ├── q3data.h │ │ ├── q3data.vcxproj │ │ ├── stripper.c │ │ └── video.c │ └── q3map2 │ │ ├── brush.c │ │ ├── brush_primit.c │ │ ├── bsp.c │ │ ├── bsp_analyze.c │ │ ├── bsp_info.c │ │ ├── bsp_scale.c │ │ ├── bspfile_abstract.c │ │ ├── bspfile_ibsp.c │ │ ├── bspfile_rbsp.c │ │ ├── changelog.q3map1 │ │ ├── changelog.q3map2.txt │ │ ├── convert_ase.c │ │ ├── convert_bsp.c │ │ ├── convert_map.c │ │ ├── decals.c │ │ ├── exportents.c │ │ ├── facebsp.c │ │ ├── fixaas.c │ │ ├── fog.c │ │ ├── game__null.h │ │ ├── game_ef.h │ │ ├── game_etut.h │ │ ├── game_ja.h │ │ ├── game_jk2.h │ │ ├── game_nexuiz.h │ │ ├── game_qfusion.h │ │ ├── game_quake3.h │ │ ├── game_quakelive.h │ │ ├── game_reaction.h │ │ ├── game_sof2.h │ │ ├── game_t.h │ │ ├── game_tenebrae.h │ │ ├── game_tremulous.h │ │ ├── game_unvanquished.h │ │ ├── game_wolf.h │ │ ├── game_wolfet.h │ │ ├── image.c │ │ ├── leakfile.c │ │ ├── light.c │ │ ├── light_bounce.c │ │ ├── light_shadows.c │ │ ├── light_trace.c │ │ ├── light_ydnar.c │ │ ├── lightmaps.c │ │ ├── lightmaps_ydnar.c │ │ ├── listen.pl │ │ ├── main.c │ │ ├── map.c │ │ ├── mesh.c │ │ ├── minimap.c │ │ ├── model.c │ │ ├── patch.c │ │ ├── path_init.c │ │ ├── portals.c │ │ ├── prtfile.c │ │ ├── q3map2.h │ │ ├── q3map2.ico │ │ ├── q3map2.rc │ │ ├── q3map2.vcxproj │ │ ├── q3map2.vcxproj.filters │ │ ├── shaders.c │ │ ├── surface.c │ │ ├── surface_extra.c │ │ ├── surface_foliage.c │ │ ├── surface_fur.c │ │ ├── surface_meta.c │ │ ├── tjunction.c │ │ ├── tree.c │ │ ├── vis.c │ │ ├── visflow.c │ │ └── writebsp.c └── urt │ └── tools │ └── quake3 │ └── q3map2 │ ├── brush.c │ ├── brush_primit.c │ ├── bsp.c │ ├── bspfile_abstract.c │ ├── bspfile_ibsp.c │ ├── bspfile_rbsp.c │ ├── changelog.q3map1 │ ├── changelog.q3map2.txt │ ├── convert_ase.c │ ├── convert_map.c │ ├── decals.c │ ├── exportents.c │ ├── facebsp.c │ ├── fog.c │ ├── game_ef.h │ ├── game_etut.h │ ├── game_ja.h │ ├── game_jk2.h │ ├── game_quake3.h │ ├── game_sof2.h │ ├── game_t.h │ ├── game_tenebrae.h │ ├── game_wolf.h │ ├── game_wolfet.h │ ├── image.c │ ├── leakfile.c │ ├── light.c │ ├── light_bounce.c │ ├── light_shadows.c │ ├── light_trace.c │ ├── light_ydnar.c │ ├── lightmaps.c │ ├── lightmaps_ydnar.c │ ├── listen.pl │ ├── main.c │ ├── map.c │ ├── mesh.c │ ├── model.c │ ├── patch.c │ ├── path_init.c │ ├── portals.c │ ├── prtfile.c │ ├── q3map2.h │ ├── q3map2.ico │ ├── q3map2.rc │ ├── q3map2_urt.vcxproj │ ├── q3map2_urt.vcxproj.filters │ ├── shaders.c │ ├── surface.c │ ├── surface_extra.c │ ├── surface_foliage.c │ ├── surface_fur.c │ ├── surface_meta.c │ ├── tjunction.c │ ├── tree.c │ ├── vis.c │ ├── visflow.c │ └── writebsp.c ├── uncrustify.cfg └── utils.py /.gitignore: -------------------------------------------------------------------------------- 1 | .settings 2 | .DS_Store 3 | 4 | /apple/target/* 5 | /build 6 | /install 7 | /packs 8 | /tools/urt/tools/quake3/q3map2/Debug 9 | /tools/urt/tools/quake3/q3map2/Release 10 | /.sconsign.dblite 11 | /.vs/* 12 | /radiant.opensdf 13 | /radiant.sdf 14 | /radiant.suo 15 | /radiant.v11.suo 16 | /radiant.v12.suo 17 | /radiant.VC.db 18 | /site.sconf 19 | 20 | *.log 21 | *.pdb 22 | *.obj 23 | *.pyc 24 | *.so 25 | *.tlog 26 | *.vcxproj.user 27 | *.zip 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/.gitmodules -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | GtkRadiant 4 | 5 | 6 | 7 | 8 | 9 | org.python.pydev.PyDevBuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.cdt.managedbuilder.core.genmakebuilder 15 | clean,full,incremental, 16 | 17 | 18 | 19 | 20 | org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder 21 | full,incremental, 22 | 23 | 24 | 25 | 26 | 27 | org.eclipse.cdt.core.cnature 28 | org.eclipse.cdt.core.ccnature 29 | org.eclipse.cdt.managedbuilder.core.managedBuildNature 30 | org.eclipse.cdt.managedbuilder.core.ScannerConfigNature 31 | org.python.pydev.pythonNature 32 | 33 | 34 | 35 | 1604374596782 36 | 37 | 30 38 | 39 | org.eclipse.ui.ide.multiFilter 40 | 1.0-name-matches-false-false-apple/target 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /.pydevproject: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Default 5 | 6 | python 2.7 7 | 8 | 9 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "name": "radiant", 9 | "request": "launch", 10 | "type": "cppdbg", 11 | "cwd": "${workspaceFolder}/install", 12 | "program": "${workspaceFolder}/install/radiant.bin" 13 | } 14 | ] 15 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558 3 | // for the documentation about the tasks.json format 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "label": "build local debug", 8 | "type": "shell", 9 | "command": "scons config=debug --no-packs --jobs=12", 10 | "problemMatcher": [], 11 | "group": { 12 | "kind": "build" 13 | } 14 | }, 15 | { 16 | "label": "build local release", 17 | "type": "shell", 18 | "command": "scons config=release --no-packs --jobs=12", 19 | "problemMatcher": [], 20 | "group": { 21 | "kind": "build" 22 | } 23 | }, 24 | { 25 | "label": "build flatpak", 26 | "type": "shell", 27 | "command": "flatpak-builder --user --install --disable-updates --force-clean --ccache gtkradiant io.github.TTimo.GtkRadiant.json", 28 | "options": { 29 | "cwd": "${workspaceFolder}/../io.github.TTimo.GtkRadiant" 30 | }, 31 | "group": { 32 | "kind": "build" 33 | } 34 | } 35 | ] 36 | } 37 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | Here is a quick checklist for any new contributor to the project: 2 | 3 | - Please read the [mission statement](http://icculus.org/gtkradiant/) on the project homepage. 4 | 5 | - This project is mostly coordinated via IRC. We recommend joining the [#radiant channel on QuakeNet IRC](http://webchat.quakenet.org/#radiant) to ask questions there. 6 | 7 | - The [mailing list](http://icculus.org/mailman/listinfo/gtkradiant) is another channel of communication with the developers. 8 | 9 | Ok, I want to write some code! Where do I start? 10 | 11 | - Check the list of [known issues](https://github.com/TTimo/GtkRadiant/issues). 12 | 13 | - Use the milestones filter to find tasks that need to be worked on in priority. 14 | 15 | - Send in pull requests! 16 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | LICENSE ( last update: Wed Feb 8 17:16:40 CST 2006 ) 2 | ----------------------------------------------------- 3 | 4 | There are 3 license types used throughout GtkRadiant source code. 5 | 6 | BSD - modified Berkeley Software Distribution license 7 | ( each BSD licensed source file starts with the appropriate header ) 8 | LGPL - GNU Lesser General Public License v2.1 9 | ( see LGPL at the root of the tree ) 10 | GPL - GNU General Public License 11 | ( see GPL at the root of the tree ) 12 | 13 | How do I check which license applies to a given part of the source code? 14 | 15 | Each source file in the tree comes with a license header which explains what 16 | license applies. To sum up shortly: 17 | 18 | GPL: ( except some files contributed by Loki Software under BSD license ) 19 | GtkRadiant Core 20 | GtkRadiant Modules 21 | GtkRadiant Libraries 22 | Quake III Tools 23 | Quake II Tools 24 | Background2D Plugin 25 | HydraToolz Plugin 26 | 27 | BSD: 28 | JPEG Library 29 | MD5 Library 30 | DDS Library 31 | PicoModel Library 32 | PrtView Plugin 33 | 34 | LGPL 35 | BobToolz Plugin 36 | GenSurf Plugin 37 | -------------------------------------------------------------------------------- /SConscript.lib: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | # GtkRadiant build scripts 3 | # TTimo 4 | # http://scons.org/ 5 | 6 | import os 7 | 8 | Import( [ 'utils', 'config', 'settings', 'project' ] ) 9 | 10 | ( libpath, libname ) = os.path.split( project ) 11 | libname = os.path.splitext( libname )[0] 12 | env = Environment( ENV = os.environ ) 13 | settings.SetupEnvironment( env, config['name'] ) 14 | proj = utils.vcxproj( os.path.join( GetLaunchDir(), project ) ) 15 | 16 | # some filtering. may need to improve that 17 | add_sources = [] 18 | ( drop, files ) = proj.filterSource( r'.*l_net_wins\.c' ) 19 | if ( len( drop ) != 0 ): 20 | add_sources.append( 'l_net_berkeley.c' ) 21 | 22 | emit_func = env.StaticObject 23 | try: 24 | if ( config['shared'] ): 25 | emit_func = env.SharedObject 26 | except: 27 | pass 28 | 29 | objects = [] 30 | for i in files + add_sources: 31 | objects.append( emit_func( source=os.path.join( libpath, i ) ) ) 32 | Return( 'objects' ) 33 | -------------------------------------------------------------------------------- /SConscript.module: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | # GtkRadiant build scripts 3 | # TTimo 4 | # http://scons.org/ 5 | 6 | import os 7 | 8 | Import( [ 'utils', 'config', 'settings', 'project', 'shlib_objects' ] ) 9 | 10 | ( libpath, libname ) = os.path.split( project ) 11 | libname = os.path.splitext( libname )[0] 12 | 13 | env = Environment( ENV = os.environ ) 14 | 15 | useJPEG = True 16 | useGtk = True 17 | useZ = True 18 | usePNG = True 19 | 20 | settings.SetupEnvironment( env, config['name'], useGtk = useGtk, useJPEG = useJPEG, useZ = useZ, usePNG = usePNG ) 21 | proj = utils.vcxproj( os.path.join( GetLaunchDir(), project ) ) 22 | 23 | # some filtering. may need to improve that 24 | add_sources = [] 25 | ( drop, files ) = proj.filterSource( r'.*l_net_wins\.c' ) 26 | if ( len( drop ) != 0 ): 27 | add_sources.append( 'l_net_berkeley.c' ) 28 | 29 | module_base = env.SharedLibrary( os.path.join( 'modules', libname ), shlib_objects + [ os.path.join( libpath, i ) for i in files ] ) 30 | module = env.AddPostAction( module_base, utils.CheckUnresolved ) 31 | 32 | Return( 'module' ) 33 | -------------------------------------------------------------------------------- /SConscript.q3data: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | # GtkRadiant build scripts 3 | # TTimo 4 | # http://scons.org/ 5 | 6 | import os 7 | 8 | Import( [ 'utils', 'config', 'settings', 'lib_objects' ] ) 9 | 10 | env = Environment( ENV = os.environ ) 11 | settings.SetupEnvironment( env, config['name'] ) 12 | env.Prepend( CPPPATH = [ '#tools/quake3/common' ] ) 13 | env.Append( LIBS = [ 'm', 'pthread' ] ) 14 | proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'tools/quake3/q3data/q3data.vcxproj' ) ) 15 | objects = lib_objects 16 | objects += [ os.path.join( 'tools/quake3/q3data', i ) for i in proj.getSourceFiles() ] 17 | q3data = env.Program( 'q3data', objects ) 18 | 19 | Return( 'q3data' ) 20 | -------------------------------------------------------------------------------- /SConscript.q3map2: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | # GtkRadiant build scripts 3 | # TTimo 4 | # http://scons.org/ 5 | 6 | import os 7 | import platform 8 | 9 | Import( [ 'utils', 'config', 'settings', 'lib_objects' ] ) 10 | 11 | env = Environment( ENV = os.environ ) 12 | settings.SetupEnvironment( env, config['name'] ) 13 | env.Prepend( CPPPATH = [ '#tools/quake3/common' ] ) 14 | if platform.system() == "NetBSD": 15 | env.Append( LIBS = [ 'm', 'pthread', 'jpeg', 'png16' ] ) 16 | else: 17 | env.Append( LIBS = [ 'm', 'pthread', 'jpeg', 'png' ] ) 18 | proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'tools/quake3/q3map2/q3map2.vcxproj' ) ) 19 | objects = lib_objects 20 | objects += [ os.path.join( 'tools/quake3/q3map2', i ) for i in proj.getSourceFiles() ] 21 | q3map2 = env.Program( 'q3map2', objects ) 22 | 23 | Return( 'q3map2' ) 24 | -------------------------------------------------------------------------------- /SConscript.q3map2.urt: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | # GtkRadiant build scripts 3 | # TTimo 4 | # http://scons.org/ 5 | 6 | import os 7 | import platform 8 | 9 | Import( [ 'utils', 'config', 'settings', 'lib_objects' ] ) 10 | 11 | env = Environment( ENV = os.environ ) 12 | settings.SetupEnvironment( env, config['name'] ) 13 | env.Prepend( CPPPATH = [ '#tools/quake3/common', ] ) 14 | if platform.system() == "NetBSD": 15 | env.Append( LIBS = [ 'm', 'pthread', 'jpeg', 'png16' ] ) 16 | else: 17 | env.Append( LIBS = [ 'm', 'pthread', 'jpeg', 'png' ] ) 18 | proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'tools/urt/tools/quake3/q3map2/q3map2_urt.vcxproj' ) ) 19 | objects = lib_objects 20 | 21 | def keep_file( n ): 22 | for skip in [ 'cmdlib.c', 'imagelib.c', 'inout.c', 'vfs.c', 'mutex.c', 'polylib.c', 'scriplib.c', 'threads.c', 'unzip.c' ]: 23 | if ( n.find( skip ) != -1 ): 24 | return False 25 | return True 26 | 27 | objects += list(filter( keep_file, [ os.path.join( 'tools/urt/tools/quake3/q3map2', i ) for i in proj.getSourceFiles() ] )) 28 | q3map2_urt = env.Program( 'q3map2_urt', objects ) 29 | 30 | Return( 'q3map2_urt' ) 31 | -------------------------------------------------------------------------------- /SConscript.radiant: -------------------------------------------------------------------------------- 1 | # -*- mode: python -*- 2 | # GtkRadiant build scripts 3 | # TTimo 4 | # http://scons.org/ 5 | 6 | import os 7 | import platform 8 | 9 | Import( [ 'utils', 'config', 'settings', 'lib_objects' ] ) 10 | 11 | env = Environment( ENV = os.environ ) 12 | settings.SetupEnvironment( env, config[ 'name' ], useGtk = True, useGtkGL = True ) 13 | 14 | if ( platform.system() not in ['FreeBSD', 'OpenBSD', 'NetBSD'] ): 15 | env.Append( LIBS = [ 'dl' ] ) 16 | 17 | proj = utils.vcxproj( os.path.join( GetLaunchDir(), 'radiant/radiant.vcxproj' ) ) 18 | 19 | radiant = env.Program( 'radiant.bin', lib_objects + [ os.path.join( 'radiant', i ) for i in proj.getSourceFiles() ] ) 20 | 21 | Return( 'radiant' ) 22 | -------------------------------------------------------------------------------- /TRANSLATING: -------------------------------------------------------------------------------- 1 | Call xgettext to generate the cataloge: 2 | ======================================= 3 | 4 | xgettext -j --keyword="_" -C -o radiant.pot --omit-header radiant/*.cpp radiant/*.h 5 | 6 | Create new translation: 7 | ======================= 8 | 9 | Use a po file editor like Poedit to edit and create new po files. 10 | Select 'New Cataloge from pot' and select the radiant.pot. Enter the translation 11 | data and you can start to translate the available strings. The po files should 12 | go into po/ in the radiant svn. 13 | 14 | Using translations: 15 | =================== 16 | 17 | You just have to copy the compiled mo-file (which is auto-generated when you 18 | save your translation in Poedit) into your radiant installation folder 19 | to lang//LC_MESSAGES/radiant.mo. The next time you start 20 | radiant, your translation should be available. 21 | 22 | General notes: 23 | ============== 24 | 25 | In order to start radiant in a translated version, you have to make sure that 26 | the working dir is set correctly. Otherwise the mo files are not found. 27 | -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | GtkRadiant 9 | CFBundleExecutable 10 | radiant 11 | CFBundleIconFile 12 | radiant.icns 13 | CFBundleIdentifier 14 | org.icculus.gtkradiant 15 | CFBundleName 16 | GtkRadiant 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.6.4 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.6.4 25 | LSMinimumSystemVersion 26 | 10.6 27 | 28 | 29 | -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/MacOS/radiant: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | RADIANT_HOME=$(dirname "$0") 4 | RADIANT_HOME=${RADIANT_HOME/GtkRadiant.app*/GtkRadiant.app} 5 | 6 | echo 7 | echo "Starting GtkRadiant in ${RADIANT_HOME}" 8 | echo 9 | 10 | set -x 11 | 12 | resources="${RADIANT_HOME}/Contents/Resources" 13 | 14 | export FONTCONFIG_PATH="${resources}/etc/fonts" 15 | export FC_DEBUG=1024 16 | 17 | export GDK_GL_LIBGL_PATH="${resources}/lib/libGL.1.dylib" 18 | export GDK_GL_LIBGLU_PATH="${resources}/lib/libGLU.1.dylib" 19 | 20 | export GDK_PATH="${resources}" 21 | export GDK_PIXBUF_MODULE_FILE="${resources}/etc/gtk-2.0/gdk-pixbuf.loaders" 22 | 23 | export GOBJECT_PATH="${resources}" 24 | 25 | export GTK_DATA_PREFIX="${resources}" 26 | export GTK_EXE_PREFIX="${resources}" 27 | export GTK_PATH="${resources}" 28 | 29 | export PANGO_SYSCONFDIR="${resources}/etc" 30 | export PANGO_LIBDIR="${resources}/lib" 31 | 32 | cd "${resources}/install" 33 | ./radiant.bin & 34 | 35 | set +x -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/Resources/etc/gtk-2.0/gtkrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/apple/GtkRadiant.app/Contents/Resources/etc/gtk-2.0/gtkrc -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/Resources/etc/pango/pangorc: -------------------------------------------------------------------------------- 1 | [Pango] -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/Resources/lib/.turd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/apple/GtkRadiant.app/Contents/Resources/lib/.turd -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/Resources/radiant.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/apple/GtkRadiant.app/Contents/Resources/radiant.icns -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/Resources/share/gtk-2.0/icons/.turd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/apple/GtkRadiant.app/Contents/Resources/share/gtk-2.0/icons/.turd -------------------------------------------------------------------------------- /apple/GtkRadiant.app/Contents/Resources/share/gtk-2.0/themes/.turd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/apple/GtkRadiant.app/Contents/Resources/share/gtk-2.0/themes/.turd -------------------------------------------------------------------------------- /contrib/bkgrnd2d/bkgrnd2d.def: -------------------------------------------------------------------------------- 1 | ; bkgrnd2d.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "BKGRND2D" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /contrib/bkgrnd2d/bkgrnd2d.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {e6c1ddd2-218a-4ce7-b2d3-88f8efa1d65d} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | 21 | 22 | src 23 | 24 | 25 | -------------------------------------------------------------------------------- /contrib/bkgrnd2d/dialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // 23 | // bkgrnd2d Plugin dialog box 24 | // 25 | // Code by reyalP aka Reed Mideke 26 | // 27 | // 28 | 29 | #ifndef _BKGRND2D_DIALOG_H_ 30 | #define _BKGRND2D_DIALOG_H_ 31 | 32 | void InitBackgroundDialog(); 33 | void ShowBackgroundDialog(); 34 | void ShowBackgroundDialogPG( int page ); 35 | 36 | #endif // _BKGRND2D_DIALOG_H_ 37 | -------------------------------------------------------------------------------- /contrib/bobtoolz/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | BobToolz plugin for GtkRadiant 3 | Copyright (C) 2001 Gordon Biggans 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | // stdafx.cpp : source file that includes just the standard includes 21 | // plugin.pch will be the pre-compiled header 22 | // stdafx.obj will contain the pre-compiled type information 23 | 24 | #include "StdAfx.h" 25 | -------------------------------------------------------------------------------- /contrib/bobtoolz/bobtoolz-gtk.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/contrib/bobtoolz/bobtoolz-gtk.rc -------------------------------------------------------------------------------- /contrib/bobtoolz/bobtoolz.def: -------------------------------------------------------------------------------- 1 | ; plugin.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "bobToolz" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /contrib/bobtoolz/bt/bt-el1.txt: -------------------------------------------------------------------------------- 1 | common/areaportal 2 | common/clip 3 | common/clusterportal 4 | common/cushion 5 | common/donotenter 6 | common/full_clip 7 | common/hint 8 | common/missileclip 9 | common/nodraw 10 | common/nodrawnonsolid 11 | common/nodrop 12 | common/noimpact 13 | common/origin 14 | common/trigger 15 | common/weapclip 16 | liquid 17 | fog 18 | -------------------------------------------------------------------------------- /contrib/bobtoolz/bt/bt-el2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/contrib/bobtoolz/bt/bt-el2.txt -------------------------------------------------------------------------------- /contrib/bobtoolz/bt/door-tex-trim.txt: -------------------------------------------------------------------------------- 1 | base_support/support1rust 2 | base_support/support1shiny 3 | base_support/support2rust 4 | base_support/wplat1_1 5 | base_support/plate2_5 6 | -------------------------------------------------------------------------------- /contrib/bobtoolz/bt/door-tex.txt: -------------------------------------------------------------------------------- 1 | base_door/shinymetaldoor 2 | base_door/shinymetaldoor_outside 3 | gothic_door/door02_bred 4 | gothic_door/door02_bred2_shiny 5 | gothic_door/door02_eblue2_shiny 6 | gothic_door/door02_i_ornate5_fin 7 | gothic_door/door02_j 8 | gothic_door/door02_j3 9 | gothic_door/door02_j4 10 | gothic_door/door02_k2b 11 | -------------------------------------------------------------------------------- /contrib/bobtoolz/bt/tp_ent.txt: -------------------------------------------------------------------------------- 1 | { 2 | "entity" "misc_model" 3 | 4 | "offset" "-16" 5 | 6 | "model" "models/mapobjects/trees_sd/tree_a.md3" 7 | "model" "models/mapobjects/trees_sd/tree_b.md3" 8 | "model" "models/mapobjects/trees_sd/tree_c.md3" 9 | "model" "models/mapobjects/trees_sd/tree_d.md3" 10 | 11 | "pitch" "-5" "5" 12 | "yaw" "0" "360" 13 | "scale" "1" "1.3" 14 | } 15 | -------------------------------------------------------------------------------- /contrib/bobtoolz/ctfresource_gtk.h: -------------------------------------------------------------------------------- 1 | /* 2 | BobToolz plugin for GtkRadiant 3 | Copyright (C) 2001 Gordon Biggans 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | //{{NO_DEPENDENCIES}} 21 | // Microsoft Developer Studio generated include file. 22 | // Used by ctfresource_gtk.rc 23 | // 24 | 25 | // Next default values for new objects 26 | // 27 | #ifdef APSTUDIO_INVOKED 28 | #ifndef APSTUDIO_READONLY_SYMBOLS 29 | #define _APS_NEXT_RESOURCE_VALUE 101 30 | #define _APS_NEXT_COMMAND_VALUE 40001 31 | #define _APS_NEXT_CONTROL_VALUE 1000 32 | #define _APS_NEXT_SYMED_VALUE 101 33 | #endif 34 | #endif 35 | -------------------------------------------------------------------------------- /contrib/bobtoolz/ctfresource_gtk.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/contrib/bobtoolz/ctfresource_gtk.rc -------------------------------------------------------------------------------- /contrib/bobtoolz/ctftoolz.def: -------------------------------------------------------------------------------- 1 | ; plugin.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "ctfToolz" 4 | DESCRIPTION 'ctfToolz Windows Dynamic Link Library' 5 | 6 | EXPORTS 7 | ; Explicit exports can go here 8 | QERPlug_Init @1 9 | QERPlug_GetName @2 10 | QERPlug_GetCommandList @3 11 | QERPlug_Dispatch @4 12 | QERPlug_GetFuncTable @5 13 | -------------------------------------------------------------------------------- /contrib/bobtoolz/lists.h: -------------------------------------------------------------------------------- 1 | /* 2 | BobToolz plugin for GtkRadiant 3 | Copyright (C) 2001 Gordon Biggans 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | bool LoadExclusionList( char* filename, std::list* exclusionList ); 21 | bool LoadGList( char* filename, GList** loadlist ); 22 | -------------------------------------------------------------------------------- /contrib/bobtoolz/res/plugin.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // SOUNDTEST.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 | -------------------------------------------------------------------------------- /contrib/bobtoolz/resource-gtk.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by bobtoolz-gtk.rc 4 | // 5 | 6 | // Next default values for new objects 7 | // 8 | #ifdef APSTUDIO_INVOKED 9 | #ifndef APSTUDIO_READONLY_SYMBOLS 10 | #define _APS_NEXT_RESOURCE_VALUE 102 11 | #define _APS_NEXT_COMMAND_VALUE 40001 12 | #define _APS_NEXT_CONTROL_VALUE 1000 13 | #define _APS_NEXT_SYMED_VALUE 101 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /contrib/bobtoolz/visfind.h: -------------------------------------------------------------------------------- 1 | /* 2 | BobToolz plugin for GtkRadiant 3 | Copyright (C) 2001 Gordon Biggans 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | std::list *BuildTrace( char* filename, vec3_t v_origin ); 20 | -------------------------------------------------------------------------------- /contrib/camera/camera.def: -------------------------------------------------------------------------------- 1 | ; camera.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "CAMERA" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /contrib/camera/camera.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {0fcbeeab-c74c-4d20-9ff4-20e78480c9ab} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | src 24 | 25 | 26 | src 27 | 28 | 29 | src 30 | 31 | 32 | 33 | 34 | src 35 | 36 | 37 | -------------------------------------------------------------------------------- /contrib/camera/funchandlers.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | /* 23 | Camera plugin for GtkRadiant 24 | Copyright (C) 2002 Splash Damage Ltd. 25 | */ 26 | 27 | void DoNewFixedCamera(); 28 | void DoNewInterpolatedCamera(); 29 | void DoNewSplineCamera(); 30 | void DoCameraInspector(); 31 | void DoPreviewCamera(); 32 | void DoLoadCamera(); 33 | void DoSaveCamera(); 34 | void DoUnloadCamera(); 35 | void DoStartEdit( CCamera *cam ); 36 | void DoStopEdit( void ); 37 | -------------------------------------------------------------------------------- /contrib/gtkgensurf/gtkgensurf.def: -------------------------------------------------------------------------------- 1 | ; gtkgensurf.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "gtkgensurf" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /contrib/hydratoolz/hydratoolz.def: -------------------------------------------------------------------------------- 1 | ; fgd.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "HydraToolz" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /contrib/hydratoolz/hydratoolz.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {c56fc279-0022-404c-aa2e-04bcab30b146} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | -------------------------------------------------------------------------------- /contrib/prtview/LoadPortalFileDialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | PrtView plugin for GtkRadiant 3 | Copyright (C) 2001 Geoffrey Dewan, Loki software and qeradiant.com 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | #if !defined( AFX_LOADPORTALFILEDIALOG_H__6BEDE392_1FDC_11D4_BFF7_204C4F4F5020__INCLUDED_ ) 21 | #define AFX_LOADPORTALFILEDIALOG_H__6BEDE392_1FDC_11D4_BFF7_204C4F4F5020__INCLUDED_ 22 | 23 | #if _MSC_VER >= 1000 24 | #pragma once 25 | #endif // _MSC_VER >= 1000 26 | 27 | #endif // !defined(AFX_LOADPORTALFILEDIALOG_H__6BEDE392_1FDC_11D4_BFF7_204C4F4F5020__INCLUDED_) 28 | -------------------------------------------------------------------------------- /contrib/prtview/PrtView.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/contrib/prtview/PrtView.aps -------------------------------------------------------------------------------- /contrib/prtview/PrtView.txt: -------------------------------------------------------------------------------- 1 | Put prtview.dll in the Q3Radiant plugins directory. 2 | 3 | This program is pretty self explanitary, but point needs to 4 | be mentioned. In the configuration menu for 3D view options, 5 | the lines and polygons flags are tri-state. In the third state, 6 | the lines or polygons will only be drawn if the have the 7 | hint flag set. Older version of q3map will not set this flag 8 | and the hint shader may have to be modified to set it. As of 9 | this writing, I do not know all the details. 10 | 11 | Geoffrey DeWan 12 | gdewan@prairienet.org 13 | -------------------------------------------------------------------------------- /contrib/prtview/gtkdlgs.h: -------------------------------------------------------------------------------- 1 | /* 2 | PrtView plugin for GtkRadiant 3 | Copyright (C) 2001 Geoffrey Dewan, Loki software and qeradiant.com 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | #ifndef _GTKDLGS_H_ 21 | #define _GTKDLGS_H_ 22 | 23 | int DoLoadPortalFileDialog( GtkWidget *parent ); 24 | void DoAboutDlg( GtkWidget *parent ); 25 | void DoConfigDialog( GtkWidget *parent ); 26 | 27 | #endif // _GTKDLGS_H_ 28 | -------------------------------------------------------------------------------- /contrib/prtview/prtview.def: -------------------------------------------------------------------------------- 1 | ; PrtView.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "PrtView" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /contrib/prtview/prtview.h: -------------------------------------------------------------------------------- 1 | /* 2 | PrtView plugin for GtkRadiant 3 | Copyright (C) 2001 Geoffrey Dewan, Loki software and qeradiant.com 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | // PrtView.h : main header file for the PRTVIEW DLL 21 | // 22 | 23 | #if !defined( AFX_PRTVIEW_H__234356A6_1D66_11D4_BFEB_204C4F4F5020__INCLUDED_ ) 24 | #define AFX_PRTVIEW_H__234356A6_1D66_11D4_BFEB_204C4F4F5020__INCLUDED_ 25 | 26 | void InitInstance(); 27 | void SaveConfig(); 28 | 29 | #endif // !defined(AFX_PRTVIEW_H__234356A6_1D66_11D4_BFEB_204C4F4F5020__INCLUDED_) 30 | -------------------------------------------------------------------------------- /contrib/prtview/prtview.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4bbfe452-7e73-4e82-b3e4-a28e6a7bb9b1} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | src 24 | 25 | 26 | src 27 | 28 | 29 | 30 | 31 | src 32 | 33 | 34 | -------------------------------------------------------------------------------- /contrib/prtview/res/PrtView.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // PRTVIEW.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 | -------------------------------------------------------------------------------- /contrib/prtview/stdafx.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | PrtView plugin for GtkRadiant 3 | Copyright (C) 2001 Geoffrey Dewan, Loki software and qeradiant.com 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Lesser General Public 7 | License as published by the Free Software Foundation; either 8 | version 2.1 of the License, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 | Lesser General Public License for more details. 14 | 15 | You should have received a copy of the GNU Lesser General Public 16 | License along with this library; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | */ 19 | 20 | // stdafx.cpp : source file that includes just the standard includes 21 | // PrtView.pch will be the pre-compiled header 22 | // stdafx.obj will contain the pre-compiled type information 23 | 24 | #include "stdafx.h" 25 | -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image002.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image003.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image004.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image006.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image006.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image008.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image008.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image010.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image010.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image012.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image012.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image014.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image014.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image016.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image016.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image018.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image018.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image020.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image020.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image022.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image022.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image024.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image026.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image026.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image028.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image028.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image030.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image030.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image032.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image034.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image034.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image035.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image035.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image038.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image038.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image040.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/Q3Rad_Manual_files/image040.png -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/ch01/pg1_2.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/ch01/pg1_2.htm -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/ch02/pg2_1.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/ch02/pg2_1.htm -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/ch03/pg3_1.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/ch03/pg3_1.htm -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/ch04/pg4_1.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/ch04/pg4_1.htm -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/Q3Rad_Manual/index.htm -------------------------------------------------------------------------------- /docs/manual/Q3Rad_Manual/styles/q3rad.css: -------------------------------------------------------------------------------- 1 | body { font: 12pt "Times New Roman"; 2 | margin-left: 5mm; 3 | margin-right: 5mm; 4 | text-align: justify; 5 | background: #ffffff; 6 | color: #000000 } 7 | h1 { font: bold 24pt Arial, Helvetica } 8 | h2 { font: bold italic 18pt Arial, Helvetica } 9 | .subheading { font: bold 16pt Arial, Helvetica } 10 | :link {color: blue; 11 | text-decoration: none; } 12 | :visited {color: purple; 13 | text-decoration: none; } 14 | h6 { font: 10pt "Times New Roman" } 15 | .MsoToc2 { font: bold small-caps 12pt "Times New Roman" } 16 | .MsoTitle { text-align:center; 17 | font: bold 24pt "BankGothic Md BT"; 18 | letter-spacing:2.5pt } 19 | .heading { font: italic 10pt "Times New Roman" } 20 | .subcontents { font: 10pt "Times New Roman" } 21 | .tip { font: 10pt "Comic Sans MS" } 22 | .type { font: 10pt "Courier New" } 23 | .menu { font: 10pt Arial, Helvetica } 24 | -------------------------------------------------------------------------------- /docs/manual/quake3/Compile_Manual/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Compile_Manual/index.html -------------------------------------------------------------------------------- /docs/manual/quake3/Compile_Manual/q3map.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Compile_Manual/q3map.html -------------------------------------------------------------------------------- /docs/manual/quake3/Model_Manual/styles/q3rad.css: -------------------------------------------------------------------------------- 1 | body { font: 12pt "Times New Roman"; 2 | margin-left: 5mm; 3 | margin-right: 5mm; 4 | text-align: justify; 5 | background: #ffffff; 6 | color: #000000 } 7 | h1 { font: bold 24pt Arial, Helvetica } 8 | h2 { font: bold italic 18pt Arial, Helvetica } 9 | .subheading { font: bold 16pt Arial, Helvetica } 10 | :link {color: blue; 11 | text-decoration: none; } 12 | :visited {color: purple; 13 | text-decoration: none; } 14 | h6 { font: 10pt "Times New Roman" } 15 | .MsoToc2 { font: bold small-caps 12pt "Times New Roman" } 16 | .MsoTitle { text-align:center; 17 | font: bold 24pt "BankGothic Md BT"; 18 | letter-spacing:2.5pt } 19 | .heading { font: italic 10pt "Times New Roman" } 20 | .subcontents { font: 10pt "Times New Roman" } 21 | .tip { font: 10pt "Comic Sans MS" } 22 | .type { font: 10pt "Courier New" } 23 | .menu { font: 10pt Arial, Helvetica } 24 | -------------------------------------------------------------------------------- /docs/manual/quake3/New_Teams_For_Q3TA/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/New_Teams_For_Q3TA/index.html -------------------------------------------------------------------------------- /docs/manual/quake3/Q3AShader_Manual/q3ashader_manual_files/image002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Q3AShader_Manual/q3ashader_manual_files/image002.jpg -------------------------------------------------------------------------------- /docs/manual/quake3/Q3AShader_Manual/styles/q3rad.css: -------------------------------------------------------------------------------- 1 | body { font: 12pt "Times New Roman"; 2 | margin-left: 5mm; 3 | margin-right: 5mm; 4 | text-align: justify; 5 | background: #ffffff; 6 | color: #000000 } 7 | h1 { font: bold 24pt Arial, Helvetica } 8 | h2 { font: bold italic 18pt Arial, Helvetica } 9 | .subheading { font: bold 16pt Arial, Helvetica } 10 | :link {color: blue; 11 | text-decoration: none; } 12 | :visited {color: purple; 13 | text-decoration: none; } 14 | h6 { font: 10pt "Times New Roman" } 15 | .MsoToc2 { font: bold small-caps 12pt "Times New Roman" } 16 | .MsoTitle { text-align:center; 17 | font: bold 24pt "BankGothic Md BT"; 18 | letter-spacing:2.5pt } 19 | .heading { font: italic 10pt "Times New Roman" } 20 | .subcontents { font: 10pt "Times New Roman" } 21 | .tip { font: 10pt "Comic Sans MS" } 22 | .type { font: 10pt "Courier New" } 23 | .menu { font: 10pt Arial, Helvetica } 24 | -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/design_tips.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/design_tips.html -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/map_converters_checklist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/map_converters_checklist.html -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/preface.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/preface.html -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/ta_game_types.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/ta_game_types.html -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/table_of_contents.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/table_of_contents.htm -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/team_arena_entity_definitions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/team_arena_entity_definitions.html -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/team_arena_prefabs.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/team_arena_prefabs.html -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pages/using_new_game_entities.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pages/using_new_game_entities.html -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/CRUSADER.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/CRUSADER.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/INTRUDER.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/INTRUDER.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/MAINPOP.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/MAINPOP.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/MENUBACKgif.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/MENUBACKgif.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/PAGANs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/PAGANs.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/STROGGS.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/STROGGS.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/THEFALLEN.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/THEFALLEN.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/pics/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/pics/logo.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Team_Arena_Mapping_Help/start.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Team_Arena_Mapping_Help/start.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/Image3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/Image3.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/Image4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/Image4.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/Image5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/Image5.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/Image6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/Image6.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/adding_buildings_to_terrain.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/adding_buildings_to_terrain.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/art_tools.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/art_tools.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/blocking_vis.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/blocking_vis.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/boxing_in_the_world.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/boxing_in_the_world.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/clipping_the_terrain.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/clipping_the_terrain.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/creating_the_alphamap.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/creating_the_alphamap.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/creating_the_terrain.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/creating_the_terrain.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/entity_keys_and_values.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/entity_keys_and_values.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/glossary.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/glossary.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/height_map_into_terrain_mesh.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/height_map_into_terrain_mesh.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/height_maps.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/height_maps.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/introduction.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/introduction.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/key_changes.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/key_changes.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/lighting_the_terrain.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/lighting_the_terrain.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/manipulating_the_terrain_mesh.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/manipulating_the_terrain_mesh.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/new_or_revised_q3map_shader_comm.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/new_or_revised_q3map_shader_comm.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/other_possible_height_map_tools.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/other_possible_height_map_tools.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/suggested_gensurf_settings.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/suggested_gensurf_settings.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/table_of_contents.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/table_of_contents.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/terrain_entity.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/terrain_entity.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/terrain_mesh_into_terrain_entity.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/terrain_mesh_into_terrain_entity.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/terrain_related_worldspawn_features.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/terrain_related_worldspawn_features.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/terrain_texture.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/terrain_texture.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pages/the_meta_shader.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pages/the_meta_shader.html -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pics/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pics/background.jpg -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pics/start.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pics/start.gif -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/pics/terrain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/pics/terrain.jpg -------------------------------------------------------------------------------- /docs/manual/quake3/Terrain_Manual/start.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/docs/manual/quake3/Terrain_Manual/start.html -------------------------------------------------------------------------------- /flatpak/io.github.TTimo.GtkRadiant.desktop: -------------------------------------------------------------------------------- 1 | [Desktop Entry] 2 | Version=1.0 3 | Name=GtkRadiant 4 | GenericName=GtkRadiant 5 | Type=Application 6 | Comment=Level editor for ID Tech based games including Quake series. 7 | Icon=io.github.TTimo.GtkRadiant 8 | Exec=gtkradiant 9 | Terminal=false 10 | StartupNotify=false 11 | Keywords=multi;engine;level editor;quake;id tech; 12 | Categories=Development;X-LevelEditor;X-GameLevelEditor; 13 | -------------------------------------------------------------------------------- /gtkradiant-flatpak.code-workspace: -------------------------------------------------------------------------------- 1 | { 2 | "folders": [ 3 | { 4 | "path": "." 5 | }, 6 | { 7 | "path": "../io.github.TTimo.GtkRadiant" 8 | }, 9 | { 10 | "path": "../gtkglext" 11 | }, 12 | { 13 | "path": "../pangox-compat-0.0.2" 14 | } 15 | ], 16 | "settings": {} 17 | } -------------------------------------------------------------------------------- /include/aboutmsg.default: -------------------------------------------------------------------------------- 1 | Custom build by Average Joe 2 | -------------------------------------------------------------------------------- /include/aboutmsg.h: -------------------------------------------------------------------------------- 1 | // generated header, see makeversion.py 2 | #define RADIANT_ABOUTMSG "http://icculus.org/gtkradiant/" 3 | -------------------------------------------------------------------------------- /include/gtkr_list.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include 23 | #include "stl_check.h" 24 | -------------------------------------------------------------------------------- /include/gtkr_vector.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include 23 | #include "stl_check.h" 24 | -------------------------------------------------------------------------------- /include/iimage.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // 23 | // Plugin interface for loading image files 24 | // 25 | 26 | #ifndef _IIMAGE_H_ 27 | #define _IIMAGE_H_ 28 | 29 | #define IMAGE_MAJOR "image" 30 | 31 | // Load an image file 32 | typedef void ( *PFN_QERPLUG_LOADIMAGE )( const char *name, unsigned char **pic, int *width, int *height ); 33 | 34 | struct _QERPlugImageTable 35 | { 36 | int m_nSize; 37 | PFN_QERPLUG_LOADIMAGE m_pfnLoadImage; 38 | }; 39 | 40 | #endif // _IIMAGE_H_ 41 | -------------------------------------------------------------------------------- /include/stream_version.h: -------------------------------------------------------------------------------- 1 | // version defines for q3map stream 2 | #define Q3MAP_STREAM_VERSION "1" 3 | -------------------------------------------------------------------------------- /include/version.default: -------------------------------------------------------------------------------- 1 | 1.6.7 2 | -------------------------------------------------------------------------------- /include/version.h: -------------------------------------------------------------------------------- 1 | // generated header, see makeversion.py 2 | #define RADIANT_VERSION "1.6.7" 3 | #define RADIANT_MINOR_VERSION "7" 4 | #define RADIANT_MAJOR_VERSION "6" 5 | -------------------------------------------------------------------------------- /install/.gitignore: -------------------------------------------------------------------------------- 1 | *.dll 2 | *.pdb 3 | *.exp 4 | *.ilk 5 | *.pdb 6 | *.lib 7 | *.exe 8 | -------------------------------------------------------------------------------- /install/base/textures/radiant/notex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/base/textures/radiant/notex.png -------------------------------------------------------------------------------- /install/base/textures/radiant/shadernotex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/base/textures/radiant/shadernotex.png -------------------------------------------------------------------------------- /install/bitmaps/brush_flipx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/brush_flipx.png -------------------------------------------------------------------------------- /install/bitmaps/brush_flipy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/brush_flipy.png -------------------------------------------------------------------------------- /install/bitmaps/brush_flipz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/brush_flipz.png -------------------------------------------------------------------------------- /install/bitmaps/brush_rotatex.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/brush_rotatex.png -------------------------------------------------------------------------------- /install/bitmaps/brush_rotatey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/brush_rotatey.png -------------------------------------------------------------------------------- /install/bitmaps/brush_rotatez.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/brush_rotatez.png -------------------------------------------------------------------------------- /install/bitmaps/cap_bevel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/cap_bevel.png -------------------------------------------------------------------------------- /install/bitmaps/cap_endcap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/cap_endcap.png -------------------------------------------------------------------------------- /install/bitmaps/cap_ibevel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/cap_ibevel.png -------------------------------------------------------------------------------- /install/bitmaps/cap_iendcap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/cap_iendcap.png -------------------------------------------------------------------------------- /install/bitmaps/curve_cap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/curve_cap.png -------------------------------------------------------------------------------- /install/bitmaps/dontselectcurve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/dontselectcurve.png -------------------------------------------------------------------------------- /install/bitmaps/dontselectmodel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/dontselectmodel.png -------------------------------------------------------------------------------- /install/bitmaps/file_open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/file_open.png -------------------------------------------------------------------------------- /install/bitmaps/file_save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/file_save.png -------------------------------------------------------------------------------- /install/bitmaps/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/icon.png -------------------------------------------------------------------------------- /install/bitmaps/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/logo.png -------------------------------------------------------------------------------- /install/bitmaps/patch_bend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/patch_bend.png -------------------------------------------------------------------------------- /install/bitmaps/patch_drilldown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/patch_drilldown.png -------------------------------------------------------------------------------- /install/bitmaps/patch_insdel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/patch_insdel.png -------------------------------------------------------------------------------- /install/bitmaps/patch_showboundingbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/patch_showboundingbox.png -------------------------------------------------------------------------------- /install/bitmaps/patch_weld.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/patch_weld.png -------------------------------------------------------------------------------- /install/bitmaps/patch_wireframe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/patch_wireframe.png -------------------------------------------------------------------------------- /install/bitmaps/popup_selection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/popup_selection.png -------------------------------------------------------------------------------- /install/bitmaps/scalelockx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/scalelockx.png -------------------------------------------------------------------------------- /install/bitmaps/scalelocky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/scalelocky.png -------------------------------------------------------------------------------- /install/bitmaps/scalelockz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/scalelockz.png -------------------------------------------------------------------------------- /install/bitmaps/select_mouserotate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/select_mouserotate.png -------------------------------------------------------------------------------- /install/bitmaps/select_mousescale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/select_mousescale.png -------------------------------------------------------------------------------- /install/bitmaps/selection_csgmerge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_csgmerge.png -------------------------------------------------------------------------------- /install/bitmaps/selection_csgsubtract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_csgsubtract.png -------------------------------------------------------------------------------- /install/bitmaps/selection_makehollow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_makehollow.png -------------------------------------------------------------------------------- /install/bitmaps/selection_makehollowtouch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_makehollowtouch.png -------------------------------------------------------------------------------- /install/bitmaps/selection_selectcompletetall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_selectcompletetall.png -------------------------------------------------------------------------------- /install/bitmaps/selection_selectinside.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_selectinside.png -------------------------------------------------------------------------------- /install/bitmaps/selection_selectpartialtall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_selectpartialtall.png -------------------------------------------------------------------------------- /install/bitmaps/selection_selecttouching.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/selection_selecttouching.png -------------------------------------------------------------------------------- /install/bitmaps/show_entities.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/show_entities.png -------------------------------------------------------------------------------- /install/bitmaps/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/splash.png -------------------------------------------------------------------------------- /install/bitmaps/textures_popup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/textures_popup.png -------------------------------------------------------------------------------- /install/bitmaps/toggle_detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/toggle_detail.png -------------------------------------------------------------------------------- /install/bitmaps/toggle_struct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/toggle_struct.png -------------------------------------------------------------------------------- /install/bitmaps/view_cameratoggle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/view_cameratoggle.png -------------------------------------------------------------------------------- /install/bitmaps/view_cameraupdate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/view_cameraupdate.png -------------------------------------------------------------------------------- /install/bitmaps/view_change.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/view_change.png -------------------------------------------------------------------------------- /install/bitmaps/view_clipper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/view_clipper.png -------------------------------------------------------------------------------- /install/bitmaps/view_cubicclipping.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/view_cubicclipping.png -------------------------------------------------------------------------------- /install/bitmaps/view_entity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/view_entity.png -------------------------------------------------------------------------------- /install/bitmaps/window1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/window1.png -------------------------------------------------------------------------------- /install/bitmaps/window2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/window2.png -------------------------------------------------------------------------------- /install/bitmaps/window3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/window3.png -------------------------------------------------------------------------------- /install/bitmaps/window4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/bitmaps/window4.png -------------------------------------------------------------------------------- /install/modules/bitmaps/bkgrnd2d_conf.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bkgrnd2d_conf.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bkgrnd2d_xy_toggle.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bkgrnd2d_xy_toggle.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bkgrnd2d_xz_toggle.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bkgrnd2d_xz_toggle.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bkgrnd2d_yz_toggle.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bkgrnd2d_yz_toggle.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_caulk.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_caulk.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_cleanup.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_cleanup.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_dropent.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_dropent.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_merge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_merge.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_poly.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_poly.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_split.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_split.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_trainpathplot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_trainpathplot.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_treeplanter.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_treeplanter.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/bobtoolz_turnedge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/bobtoolz_turnedge.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/camera_insp.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/camera_insp.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/model_reload_entity.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/model_reload_entity.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/picomodel.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/picomodel.bmp -------------------------------------------------------------------------------- /install/modules/bitmaps/sample.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/install/modules/bitmaps/sample.bmp -------------------------------------------------------------------------------- /libs/.gitignore: -------------------------------------------------------------------------------- 1 | x64 2 | -------------------------------------------------------------------------------- /libs/cmdlib/cmdlib.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {5b5174e4-6b53-495c-8c78-a46586325252} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | -------------------------------------------------------------------------------- /libs/ddslib/ddslib.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {34c33370-1405-43f2-96ba-4bac589509d0} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | -------------------------------------------------------------------------------- /libs/l_net/l_net.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {a44bb1fd-a991-4172-a02c-da78e1508916} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | -------------------------------------------------------------------------------- /libs/mathlib/mathlib.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {ff58e692-c55e-41d2-865f-3f129baf6c18} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | -------------------------------------------------------------------------------- /libs/md5lib/Conscript: -------------------------------------------------------------------------------- 1 | Import qw( BASE_CFLAGS CC ); 2 | 3 | $env = new cons 4 | ( 5 | ENV => { PATH => $ENV{PATH}, HOME => $ENV{HOME} }, 6 | CC => $CC, 7 | CPPPATH => "#libs", 8 | CFLAGS => $BASE_CFLAGS 9 | ); 10 | Library $env 'md5lib', 'md5lib.c'; 11 | Install $env '..', 'md5lib.a'; 12 | -------------------------------------------------------------------------------- /libs/md5lib/md5lib.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {04c49966-ecc6-4226-ba65-fd9ceff8ab5d} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | -------------------------------------------------------------------------------- /libs/picomodel/lwo/vecmath.c: -------------------------------------------------------------------------------- 1 | /* 2 | ====================================================================== 3 | vecmath.c 4 | 5 | Basic vector and matrix functions. 6 | 7 | Ernie Wright 17 Sep 00 8 | ====================================================================== */ 9 | 10 | #include 11 | 12 | 13 | float dot( float a[], float b[] ){ 14 | return a[ 0 ] * b[ 0 ] + a[ 1 ] * b[ 1 ] + a[ 2 ] * b[ 2 ]; 15 | } 16 | 17 | 18 | void cross( float a[], float b[], float c[] ){ 19 | c[ 0 ] = a[ 1 ] * b[ 2 ] - a[ 2 ] * b[ 1 ]; 20 | c[ 1 ] = a[ 2 ] * b[ 0 ] - a[ 0 ] * b[ 2 ]; 21 | c[ 2 ] = a[ 0 ] * b[ 1 ] - a[ 1 ] * b[ 0 ]; 22 | } 23 | 24 | 25 | void normalize( float v[] ){ 26 | float r; 27 | 28 | r = ( float ) sqrt( dot( v, v ) ); 29 | if ( r > 0 ) { 30 | v[ 0 ] /= r; 31 | v[ 1 ] /= r; 32 | v[ 2 ] /= r; 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /libs/splines/splines.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {377c74fa-c58a-42d1-9b33-a300bcc75733} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | src 24 | 25 | 26 | src 27 | 28 | 29 | src 30 | 31 | 32 | src 33 | 34 | 35 | -------------------------------------------------------------------------------- /libs/synapse/synapse.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {a6ca8ef9-5af6-4e58-91c6-409e74cdabc8} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | -------------------------------------------------------------------------------- /memcheck-amd64-openbsd.core: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/memcheck-amd64-openbsd.core -------------------------------------------------------------------------------- /plugins/eclassfgd/fgd.def: -------------------------------------------------------------------------------- 1 | ; fgd.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "FGD" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/eclassfgd/fgd.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {520e62b0-5bfa-4bb0-ac11-ef17e79a101f} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | -------------------------------------------------------------------------------- /plugins/entity/entity.def: -------------------------------------------------------------------------------- 1 | ; entity.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "ENTITY" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/entity/entity.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {109e1292-2d14-47ea-bbac-1296c682ddbe} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | src 24 | 25 | 26 | src 27 | 28 | 29 | 30 | 31 | src 32 | 33 | 34 | -------------------------------------------------------------------------------- /plugins/entity/light.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 4 | For a list of contributors, see the accompanying CONTRIBUTORS file. 5 | 6 | This file is part of GtkRadiant. 7 | 8 | GtkRadiant is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 2 of the License, or 11 | (at your option) any later version. 12 | 13 | GtkRadiant is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with GtkRadiant; if not, write to the Free Software 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | bool Entity_IsLight( entity_t *e ); 24 | void Light_OnKeyValueChanged( entity_t *e, const char *key, const char* value ); 25 | void DrawLight( entity_t* e, int nGLState, int pref, int nViewType ); 26 | -------------------------------------------------------------------------------- /plugins/image/image.def: -------------------------------------------------------------------------------- 1 | ; image.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "Image" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/image/image.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {d32b9b42-58a3-4825-a03f-3c9a4cac423e} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | 24 | 25 | src 26 | 27 | 28 | -------------------------------------------------------------------------------- /plugins/imagehl/imagehl.def: -------------------------------------------------------------------------------- 1 | ; hlimage.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "ImageHL" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/imagehl/imagehl.txt: -------------------------------------------------------------------------------- 1 | ImageHL 2 | ======= 3 | 4 | Coding by Dominic Clifton - Hydra - hydra@hydras-world.com 5 | 6 | What is it ? 7 | ------------ 8 | 9 | This GTKRadiant 1.2+ plugin handles the loading of textures from .WAD files. 10 | I'll refer to these textures as .HLW files, even though they don't have any 11 | extension when they're stored in the .WAD file itself. 12 | 13 | You need a VFS plugin to go with this plugin that can open and read .WAD files 14 | My VFSWAD plugin does just this. 15 | 16 | Developer Notes 17 | --------------- 18 | 19 | The project file will copy the compiled DLL file and this .TXT file to 20 | "$(HLRADIANTDIR)modules" so make sure you have that environment variable 21 | defined. 22 | 23 | For my GTKRadiant 1.2 HalfLife game pack files I use the directory: 24 | "E:\games\HalfLife\Tools\GTKR12N". Under which there are the directories 25 | "modules" and "plugins" 26 | 27 | Credits 28 | ------- 29 | Thanks to the guys that made Wally for releasing an example WAD loader. 30 | without it this would not have been possible. 31 | -------------------------------------------------------------------------------- /plugins/imagehl/imagehl.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {278a6502-781d-4e02-81c5-9fd25e575d6f} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | 18 | 19 | src 20 | 21 | 22 | -------------------------------------------------------------------------------- /plugins/imagehl/lbmlib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // lbmlib.h 23 | 24 | #ifdef __linux__ 25 | #define WINAPI 26 | #endif 27 | 28 | typedef unsigned char byte; 29 | 30 | #ifdef USE_TARGA 31 | void LoadTGA( char *filename, byte **pixels, int *width, int *height ); 32 | #endif 33 | 34 | // LoadImage will rely on file extension to call LoadTGA loadHLW 35 | void LoadImage( const char *name, byte **pic, int *width, int *height ); 36 | -------------------------------------------------------------------------------- /plugins/imagem8/imagem8.def: -------------------------------------------------------------------------------- 1 | ; imagem8.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "ImageM8" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/imagem8/imagem8.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {44f89972-3fd0-4a24-ae9b-6ee95ec9d612} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | 21 | 22 | src 23 | 24 | 25 | -------------------------------------------------------------------------------- /plugins/imagepng/imagepng.def: -------------------------------------------------------------------------------- 1 | ; imagepng.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "IMAGEPNG" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/imagepng/imagepng.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {c86ad45c-bae6-49a8-8401-c57aa56710e4} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | -------------------------------------------------------------------------------- /plugins/imagepng/plugin.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef _PLUGIN_H_ 23 | #define _PLUGIN_H_ 24 | 25 | #include "qerplugin.h" 26 | #include "iimage.h" 27 | #include "ifilesystem.h" 28 | 29 | void LoadImage( const char *filename, unsigned char **pic, int *width, int *height ); 30 | 31 | #endif // _PLUGIN_H_ 32 | -------------------------------------------------------------------------------- /plugins/imagewal/imagewal.def: -------------------------------------------------------------------------------- 1 | ; imagewal.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "Imagewal" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/imagewal/imagewal.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {748a51d6-301c-44af-9989-6c76a704d1df} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | 18 | 19 | src 20 | 21 | 22 | -------------------------------------------------------------------------------- /plugins/map/map.def: -------------------------------------------------------------------------------- 1 | ; mapq3.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "MAP" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/map/map.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {242a9734-0a61-4d55-8ee3-2bfb1de451ff} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | src 20 | 21 | 22 | src 23 | 24 | 25 | -------------------------------------------------------------------------------- /plugins/mapxml/mapxml.def: -------------------------------------------------------------------------------- 1 | ; mapxml.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "MAPXML" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/mapxml/mapxml.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {2e8c3b01-b404-497f-be1b-951c1bab1c1c} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | src 20 | 21 | 22 | src 23 | 24 | 25 | -------------------------------------------------------------------------------- /plugins/model/model.def: -------------------------------------------------------------------------------- 1 | ; model.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "MODEL" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/model/model.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {1df999dc-51b5-4b04-9717-d684ececfd2d} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | src 24 | 25 | 26 | 27 | 28 | src 29 | 30 | 31 | -------------------------------------------------------------------------------- /plugins/sample/sample.def: -------------------------------------------------------------------------------- 1 | ; sample.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "SAMPLE" 4 | DESCRIPTION 'SAMPLE Windows Dynamic Link Library' 5 | 6 | EXPORTS 7 | ; Explicit exports can go here 8 | Synapse_EnumerateInterfaces @1 9 | -------------------------------------------------------------------------------- /plugins/shaders/shaders.def: -------------------------------------------------------------------------------- 1 | ; shaders.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "Shaders" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/shaders/shaders.proj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/plugins/shaders/shaders.proj -------------------------------------------------------------------------------- /plugins/shaders/shaders.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {99685ec2-3155-4f11-bb65-d5bfe773b4ea} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | 18 | 19 | src 20 | 21 | 22 | -------------------------------------------------------------------------------- /plugins/shaders/shadershl.def: -------------------------------------------------------------------------------- 1 | ; shaders.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "ShadersHL" 4 | DESCRIPTION 'ShadersHL Windows Dynamic Link Library' 5 | 6 | EXPORTS 7 | ; Explicit exports can go here 8 | Synapse_EnumerateInterfaces @1 9 | -------------------------------------------------------------------------------- /plugins/spritemodel/spritemodel.def: -------------------------------------------------------------------------------- 1 | ; md3model.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "SPRITEMODEL" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/spritemodel/spritemodel.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {787c1134-2dc8-4937-ad86-ffeb54d8cd72} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | 18 | 19 | src 20 | 21 | 22 | -------------------------------------------------------------------------------- /plugins/surface/surface.def: -------------------------------------------------------------------------------- 1 | ; surface.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "SURFACE" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/surface/surface.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4714147c-2cf5-4549-9975-bbba399fa909} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | src 20 | 21 | 22 | -------------------------------------------------------------------------------- /plugins/surface/surfacedialog.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef _SURFACEDIALOG_H_ 23 | #define _SURFACEDIALOG_H_ 24 | 25 | void UpdateSurfaceDialog(); 26 | void DoSurface(); 27 | void ToggleSurface(); 28 | void SurfaceDlgFitAll(); 29 | GtkWidget *Get_SI_Module_Widget(); 30 | 31 | #endif // _SURFACEDIALOG_H_ 32 | -------------------------------------------------------------------------------- /plugins/surface_idtech2/surface_idtech2.def: -------------------------------------------------------------------------------- 1 | ; surface_idtech2.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "SURFACE_IDTECH2" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/surface_idtech2/surface_idtech2.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {8d3e9596-a105-4ce1-8cfb-7b02c906b270} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | src 20 | 21 | 22 | src 23 | 24 | 25 | -------------------------------------------------------------------------------- /plugins/surface_idtech2/surfaceflags.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef _SURFACEFLAGS_H 23 | #define _SURFACEFLAGS_H 24 | 25 | #include "surfdlg_plugin.h" 26 | 27 | void set_surface_flags_button_state( texdef_to_face_t *texdef_face_list, bool b_isListEmpty ); 28 | void apply_surface_flags( texdef_to_face_t *texdef_face_list ); 29 | GtkWidget* create_SurfaceFlagsFrame( GtkWidget* surfacedialog_widget ); 30 | 31 | #endif // _SURFACEFLAGS_H 32 | -------------------------------------------------------------------------------- /plugins/textool/Doc/Image2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/plugins/textool/Doc/Image2.jpg -------------------------------------------------------------------------------- /plugins/textool/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // stdafx.cpp : source file that includes just the standard includes 23 | // stdafx.obj will contain the pre-compiled type information 24 | 25 | #include "StdAfx.h" 26 | 27 | // TODO: reference any additional headers you need in STDAFX.H 28 | // and not in this file 29 | -------------------------------------------------------------------------------- /plugins/textool/changelog.txt: -------------------------------------------------------------------------------- 1 | 11/19/99 2 | first usable version 3 | here is the TODO-list for next release, ( most certainly a wish list ) 4 | 5 | - TODO: add hooks with the selected face and selected patch data. tell the plugin when selected face 6 | or selected patch has changed. 7 | the hooks should use a generic interface inside Radiant for "observers" 8 | - TODO: add other usefull texturing tools, if designers come up with good ideas 9 | -------------------------------------------------------------------------------- /plugins/textool/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by TexTool.rc 4 | // 5 | #define IDUNDO 3 6 | #define IDD_DIALOG 101 7 | #define IDD_DIALOG2 102 8 | #define IDR_DROP_MENU 103 9 | #define ID_DROP_VALIDATE 40001 10 | #define ID_DROP_ZOOMIN 40002 11 | #define ID_DROP_ZOOMOUT 40003 12 | #define ID_DROP_CANCEL 40004 13 | 14 | // Next default values for new objects 15 | // 16 | #ifdef APSTUDIO_INVOKED 17 | #ifndef APSTUDIO_READONLY_SYMBOLS 18 | #define _APS_NEXT_RESOURCE_VALUE 104 19 | #define _APS_NEXT_COMMAND_VALUE 40005 20 | #define _APS_NEXT_CONTROL_VALUE 1001 21 | #define _APS_NEXT_SYMED_VALUE 101 22 | #endif 23 | #endif 24 | -------------------------------------------------------------------------------- /plugins/textool/textool.def: -------------------------------------------------------------------------------- 1 | ; textool.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "TexTool" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/textool/textool.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {d32b8194-f1be-4a05-a303-de03bbcb8087} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | 24 | 25 | src 26 | 27 | 28 | -------------------------------------------------------------------------------- /plugins/vfspak/vfspak.def: -------------------------------------------------------------------------------- 1 | ; vfspak.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "VFSPAK" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/vfspak/vfspak.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {622f4d25-31dc-4aa2-9b1e-afd96657bc09} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | 18 | 19 | src 20 | 21 | 22 | -------------------------------------------------------------------------------- /plugins/vfspk3/vfspk3.def: -------------------------------------------------------------------------------- 1 | ; vfspk3.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "VFSPK3" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/vfspk3/vfspk3.proj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/plugins/vfspk3/vfspk3.proj -------------------------------------------------------------------------------- /plugins/vfspk3/vfspk3.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {80d99d44-2717-431c-83a8-18c05e725ded} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | 21 | 22 | src 23 | 24 | 25 | -------------------------------------------------------------------------------- /plugins/vfswad/vfswad.def: -------------------------------------------------------------------------------- 1 | ; vfswad.def : Declares the module parameters for the DLL. 2 | 3 | LIBRARY "vfswad" 4 | 5 | EXPORTS 6 | ; Explicit exports can go here 7 | Synapse_EnumerateInterfaces @1 8 | -------------------------------------------------------------------------------- /plugins/vfswad/vfswad.txt: -------------------------------------------------------------------------------- 1 | VFSWAD 2 | ====== 3 | 4 | Coding by Dominic Clifton - Hydra - hydra@hydras-world.com 5 | 6 | What is it ? 7 | ------------ 8 | 9 | This GTKRadiant 1.2+ plugin handles the extracting of files from .WAD files. 10 | I'll refer to these files as .HLW files, even though they don't have any 11 | extension when they're stored in the .WAD file itself. 12 | 13 | You need an image plugin to go with this plugin that can read .HLW files 14 | My ImageHL plugin does just this. 15 | 16 | Developer Notes 17 | --------------- 18 | 19 | The project file will copy the compiled DLL file and this .TXT file to 20 | "$(HLRADIANTDIR)\modules" so make sure you have that environment variable 21 | defined. 22 | 23 | For my GTKRadiant 1.2 HalfLife game pack files I use the directory: 24 | "E:\games\HalfLife\Tools\GTKR12N\". Under which there are the directories 25 | "modules" and "plugins" 26 | 27 | Credits 28 | ------- 29 | Thanks to the guys that made Wally for releasing an example WAD loader. 30 | without it this would not have been possible. 31 | -------------------------------------------------------------------------------- /plugins/vfswad/vfswad.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {247309a7-a422-4567-bf6d-d5ea361eda62} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | 21 | 22 | src 23 | 24 | 25 | -------------------------------------------------------------------------------- /prepare_archive.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | import os, time, zipfile, functools, pprint, subprocess 4 | 5 | if ( __name__ == '__main__' ): 6 | date_tag = time.strftime('%Y%m%d') 7 | folder_name = 'GtkRadiant-1.6.4-%s' % date_tag 8 | base_name = '%s.zip' % folder_name 9 | full_path = os.path.join( r'D:\\', base_name ) 10 | 11 | def write_file( z, prefix_path, folder_name, root, fn ): 12 | fullpath = os.path.join( root, fn ) 13 | arcname = fullpath.replace( prefix_path, folder_name ) 14 | print( '%s -> %s' % ( fullpath, arcname ) ) 15 | z.write( fullpath, arcname ) 16 | 17 | z = zipfile.ZipFile( full_path, 'w', zipfile.ZIP_DEFLATED ) 18 | prefix_path = r'D:\GtkRadiant\install' 19 | for root, dirs, files in os.walk( prefix_path, topdown = True ): 20 | if ( root.find( '.svn' ) >= 0 ): 21 | continue 22 | files = [n for n in files if not ( 23 | n.endswith( '.lib' ) 24 | or n.endswith( '.pdb' ) 25 | or n.endswith( '.exp' ) )] 26 | list(map( functools.partial( write_file, z, prefix_path, folder_name, root ), files )) 27 | z.close() 28 | 29 | # could be nicer to import s3cmd 30 | subprocess.check_call( [ r'C:\Python27\python.exe', r'C:\Python27\Scripts\s3cmd', 'put', full_path, 's3://gtkradiant' ] ) 31 | -------------------------------------------------------------------------------- /radiant.bin.core: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/radiant.bin.core -------------------------------------------------------------------------------- /radiant/filters.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef _FILTERS_H_ 23 | #define _FILTERS_H_ 24 | 25 | void FiltersActivate( void ); 26 | bfilter_t *FilterCreate( int type, int bmask, const char *str, int exclude ); 27 | bfilter_t *FilterAdd( bfilter_t *pFilter, int type, int bmask, const char *str, int exclude ); 28 | bfilter_t *FilterListDelete( bfilter_t *pFilter ); 29 | bfilter_t *FilterAddBase( bfilter_t *pFilter ); 30 | void FilterUpdateBase(); 31 | bool FilterBrush( brush_t *pb ); 32 | 33 | #endif // _FILTERS_H_ 34 | -------------------------------------------------------------------------------- /radiant/qgl_ext.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | /* 23 | ** qgl_ext.cpp 24 | ** 25 | ** TTimo 26 | ** I wanted a C++ file for some new qgl stuff 27 | */ 28 | 29 | #include "stdafx.h" 30 | 31 | int Sys_QGL_ExtensionSupported( const char *extension ){ 32 | int ret; 33 | 34 | Sys_Printf( "Checking for extension '%s'...", extension ); 35 | ret = GL_ExtensionSupported( extension ); 36 | if ( ret ) { 37 | Sys_Printf( "Found\n" ); 38 | } 39 | else 40 | { 41 | Sys_Printf( "Not Found\n" ); 42 | } 43 | return ret; 44 | } 45 | -------------------------------------------------------------------------------- /radiant/radiant.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/radiant/radiant.ico -------------------------------------------------------------------------------- /radiant/z.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | 23 | // window system independent camera view code 24 | 25 | typedef struct 26 | { 27 | int width, height; 28 | 29 | qboolean timing; 30 | 31 | vec3_t origin; // at center of window 32 | float scale; 33 | } z_t; 34 | 35 | extern z_t z; 36 | 37 | void Z_Init( void ); 38 | void Z_MouseDown( int x, int y, int buttons ); 39 | void Z_MouseUp( int x, int y, int buttons ); 40 | void Z_MouseMoved( int x, int y, int buttons ); 41 | void Z_Draw( void ); 42 | -------------------------------------------------------------------------------- /regression_tests/q3map2/base_winding/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The provided map, maps/base_winding.map, serves as an example map to test 5 | changes to BaseWindingForPlane(). This map has planes at many different 6 | angles. Use the patch base_winding_logging.patch to log the computed 7 | base windings, in order to compare before and after when making changes to 8 | BaseWindingForPlane(). 9 | -------------------------------------------------------------------------------- /regression_tests/q3map2/base_winding/base_winding_logging.patch: -------------------------------------------------------------------------------- 1 | Index: tools/quake3/q3map2/brush.c 2 | =================================================================== 3 | --- tools/quake3/q3map2/brush.c (revision 369) 4 | +++ tools/quake3/q3map2/brush.c (working copy) 5 | @@ -357,6 +357,8 @@ 6 | side_t *side; 7 | plane_t *plane; 8 | 9 | + static int brushord = -1; 10 | + brushord++; 11 | 12 | /* walk the list of brush sides */ 13 | for( i = 0; i < brush->numsides; i++ ) 14 | @@ -367,6 +369,13 @@ 15 | 16 | /* make huge winding */ 17 | w = BaseWindingForPlane( plane->normal, plane->dist ); 18 | + Sys_Printf(">>> BaseWindingForPlane() for brush %i, side %i is as follows:\n", brushord, i); 19 | + for (j = 0; j < w->numpoints; j++) { 20 | + Sys_Printf(">>> (%.1f %.1f %.1f) [rounded to nearest integer coordinates]\n", 21 | + Q_rint(w->p[j][0]), 22 | + Q_rint(w->p[j][1]), 23 | + Q_rint(w->p[j][2])); 24 | + } 25 | 26 | /* walk the list of brush sides */ 27 | for( j = 0; j < brush->numsides && w != NULL; j++ ) 28 | -------------------------------------------------------------------------------- /regression_tests/q3map2/base_winding/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/base_winding/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/coarse_snap_normal/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | Because of the coarse nature of SnapNormal(), planes that are 0.25 degrees 5 | away from being axial are "snapped" to be axial. The "normal epsilon" 6 | is a very small value by default, and cannot go much smaller (without 7 | running into limits of floating point numbers). The problem with 8 | SnapNormal() is that we compare the components of the normal that are near 9 | 1, instead of comaring the components that are near 0. This leads to a very 10 | coarse and inaccurate SnapNormal(). 11 | 12 | If you open the example map in Radiant, you can see that the red brick should 13 | touch the middle checkered brick at the edge. However, once this map is 14 | compiled, the edges are a significant distance apart. This is due to the 15 | coarse and inaccurate nature of SnapNormal(). Likewise, the green brick should 16 | be flush with the center tiled brick, but it's not. 17 | -------------------------------------------------------------------------------- /regression_tests/q3map2/coarse_snap_normal/textures/radiant_regression_tests/green.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/coarse_snap_normal/textures/radiant_regression_tests/green.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/coarse_snap_normal/textures/radiant_regression_tests/red.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/coarse_snap_normal/textures/radiant_regression_tests/red.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/coarse_snap_normal/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/coarse_snap_normal/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/decal_misalignment/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The info_null in the map for the decal is not 100% below the center of the 5 | decal itself, because to be totally below it would have to lie on half-units. 6 | So, the info_null lies almost directly below the center of the decal. In 7 | this particular case, all kinds of bad things happen to the decal. For one, 8 | during compiling we get warnings like this: 9 | 10 | Bad texture matrix! (B) (50.512253, -49.515625) != (50.484375, -49.515625) 11 | Bad texture matrix! (C) (48.723190, -49.522587) != (48.695312, -49.515625) 12 | Bad texture matrix! (B) (48.723186, -49.522587) != (48.695312, -49.515625) 13 | 14 | If you look at where the decal (it's just a blue translucent tile texture) 15 | meets the far wall, it's clearly not aligned correctly. The tile on the decal 16 | and the tile on the wall should align perfectly, and it's quite a bit off. 17 | -------------------------------------------------------------------------------- /regression_tests/q3map2/decal_misalignment/scripts/radiant_regression_tests.shader: -------------------------------------------------------------------------------- 1 | textures/radiant_regression_tests/tile_trans 2 | { 3 | qer_trans 0.9 4 | q3map_bounceScale 0.0 5 | surfaceparm trans 6 | cull disable 7 | polygonOffset 8 | { 9 | map textures/radiant_regression_tests/tile_trans.tga 10 | blendFunc blend 11 | alphaGen const 1 12 | } 13 | } 14 | 15 | textures/radiant_regression_tests/glass 16 | { 17 | qer_editorImage textures/radiant_regression_tests/qer_glass.tga 18 | qer_trans 0.6 19 | q3map_bounceScale 0.0 20 | surfaceparm nolightmap 21 | surfaceparm detail 22 | surfaceparm trans 23 | cull disable 24 | { 25 | map textures/radiant_regression_tests/glass.tga 26 | blendFunc add 27 | tcGen environment 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/bigtile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/bigtile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/glass.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/glass.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/qer_glass.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/qer_glass.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/tile_trans.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/decal_misalignment/textures/radiant_regression_tests/tile_trans.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | I'm testing when windings become degenerate. 5 | -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding/textures/radiant_regression_tests/green.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding/textures/radiant_regression_tests/green.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding/textures/radiant_regression_tests/red.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding/textures/radiant_regression_tests/red.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding2/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The sample map contains a wedge brush. The tip (the sharp edge) of the wedge 5 | is chopped off by 2 planes, leaving very narrow windings. Each of these 2 6 | narrow windings is less than 0.1 units tall. However, the wedge has height 7 | exactly equal to 1/8 unit at the point where it is chopped. Therefore, 8 | the two narrow sides caused by the chops are expected to be degenerate and the 9 | top face of the wedge is expected to be unaffected. This should leave a 10 | "hole" in the narrow part of the wedge. 11 | 12 | The hole isn't desirable but it's expected based on the logic in the code. 13 | Still, if there is a hole in the brush, I consider this regression test to 14 | be broken. 15 | -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/blue.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/blue.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/green.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/green.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/red.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/red.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding2/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding3/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The sample map contains a wedge brush. The tip (the sharp edge) of the wedge 5 | is chopped off by the YZ plane (side 5, or the last side, of the brush). 6 | The height of the wedge where it is chopped is about 0.9. This makes it 7 | barely smaller than DEGENERATE_EPSILON. So the face resulting from the chop 8 | is probably degenerate, and that winding will be removed. I'm now wondering 9 | what happens to the rest of the brush. 0.9 rounded to the nearest 1/8 unit 10 | is 1/8, so the top face of the brush should get a slight raise, making the 11 | "hole" even bigger. The sides will have degenerate edges near the chop, so 12 | they will become triangles, creating open slivers in the sides. 13 | 14 | Although this behavior is a tad nasty, it is expected based on the way the 15 | code is written. I want to make sure nothing really nasty happens. 16 | 17 | I consider this regression test to be broken if there is a "hole" in the brush, 18 | and I consider this test to be very broken if something more drastic happens. 19 | -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/blue.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/blue.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/green.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/green.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/red.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/red.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/degenerate_winding3/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/disappearing_sliver/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/disappearing_sliver/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/disappearing_sliver2/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/disappearing_sliver2/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/disappearing_sliver3/NOTES.txt: -------------------------------------------------------------------------------- 1 | Random notes for Rambetter, don't expect to understand this: 2 | ============================================================ 3 | 4 | Brush 0 is the problem. 5 | 6 | Side 0 is the problem (under surf tri). 7 | Side 1 is the +y 4-face. 8 | Side 2 is the -x 4-face. 9 | Side 3 is the -y 4-face. 10 | side 4 is the +z tri. 11 | 12 | (6144, 16122) -> (6784, 16241) 13 | x "climb" of side 1 is 6784 - 6144 = 640. 14 | y "climb" of side 1 is 16241 - 16122 = 119. 15 | 16 | x/y "climb rate" of side 1 is 640 / 119 = 5.378151261. 17 | 18 | After clipping side 0 against side 1, we get 19 | ************ 20 | **** (-262144, -33762.8125) -> (262144, 63722) 21 | ************ 22 | The slope of that is (262144 + 262144) / (63722 + 33762.8125) = 5.378150571. 23 | 24 | (-262144, y) -> (6784, 16241) 25 | So (6784 + 262144) / (16241 - y) = 640 / 119 26 | So y = 16241 - ((119 * (6784 + 262144)) / 640) = -33762.8 27 | 28 | (6144, 16122) -> (262144, y) 29 | So (262144 - 6144) / (y - 16122) = 640 / 119 30 | So y = 16122 + ((119 * (262144 - 6144)) / 640) = 63722 31 | 32 | After clipping side 0 against side 1 should have 33 | ************ 34 | **** (-262144, -33762.8) -> (262144, 63722) 35 | ************ 36 | 37 | -------------------------------------------------------------------------------- /regression_tests/q3map2/disappearing_sliver3/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/disappearing_sliver3/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/duplicate_plane/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The 4-sided brush in the middle of the room (brush 0) has a duplicate plane. 5 | The last side (side 4) is a duplicate of the third side (side 2) with the 6 | vertexes re-arranged. 7 | 8 | I wanted to make sure that ChopWindingInPlaceAccu() is doing the right thing 9 | by setting a winding to NULL when all its points lie on the plane that the 10 | winding is being chopped with. This seems to be the case. My concern was 11 | that both windings for that duplicate plane will be NULL'ed out. 12 | 13 | Seems that some other code might be fixing duplicate planes. That's OK. 14 | -------------------------------------------------------------------------------- /regression_tests/q3map2/duplicate_plane/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/duplicate_plane/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/model_clipping_45_degrees/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | There are 3 model wedges in the map that are auto-clipped. The middle wedge 5 | with the 45 degree slope is the problem. The slope face does not become solid; 6 | therefore, there is a nonsolid "hole" on the wedge part. The other two wedges 7 | are fine. 45 degrees seems to be a problem for model clipping. 8 | -------------------------------------------------------------------------------- /regression_tests/q3map2/model_clipping_45_degrees/scripts/radiant_regression_tests.shader: -------------------------------------------------------------------------------- 1 | textures/radiant_regression_tests/tile_model 2 | { 3 | q3map_clipModel 4 | q3map_forceMeta 5 | { 6 | map $lightmap 7 | } 8 | { 9 | map textures/radiant_regression_tests/tile_model.tga 10 | blendFunc filter 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /regression_tests/q3map2/model_clipping_45_degrees/textures/radiant_regression_tests/bigtile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/model_clipping_45_degrees/textures/radiant_regression_tests/bigtile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/model_clipping_45_degrees/textures/radiant_regression_tests/tile_model.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/model_clipping_45_degrees/textures/radiant_regression_tests/tile_model.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/patch_seam/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The seam where the two patches meet has holes. This is because the 5 | triangulations of the two patch meshes don't match. 6 | 7 | It may or may not be possible to adjust the process of compiling patch mesh 8 | to make good seams more probable. Investigate. 9 | -------------------------------------------------------------------------------- /regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/green.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/green.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/patch_seam/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/piercing_triangle/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | In the disappearing_triangle regression test I outlined a potential problem 5 | in the tjunction.c code, having to do with 2 points being too close together 6 | on a winding, and that winding becoming invalid (drawsurf disappearing). 7 | 8 | This example map is the same as disappearing_triangle.map, except that the 9 | floor is raised by 1 unit. Therefore the floor intersects the sliver triangle. 10 | The resulting chopped sliver has a very short edge that is "degenerate" and 11 | causes that draw surf to go away due to problems in the tjunction.c code. 12 | 13 | This is speculation at this point. I will provide more info after the bug has 14 | been fixed. 15 | -------------------------------------------------------------------------------- /regression_tests/q3map2/piercing_triangle/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/piercing_triangle/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/blue.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/blue.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/green.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/green.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/red.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/red.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/plane_aliasing/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/segmentation_fault/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The example map, maps/segmentation_fault.map, contains an example of this 5 | bug. q3map2 might segfault while compiling this map. This sort of thing 6 | might happen in certain intermediate versions of q3map2 while work is being 7 | done on fixing the math accuracy. The bug may not have happened in older 8 | version of q3map2, before the math accuracy issues were addressed. 9 | 10 | To trigger the bug, compile the map; you don't need -vis or -light. Only 11 | -bsp (the first q3map2 stage) is necessary to trigger the bug. The only 12 | entities in the map are a light and a info_player_deathmatch, so the map will 13 | compile for any Q3 mod. 14 | 15 | Here is a description of the problem brush (brush #0): 16 | 17 | side 0: -z face 18 | side 1: +z face 19 | side 2: -y face 20 | side 3: +x face 21 | side 4: +y face 22 | side 5: -x face 23 | side 6: problem side "accidentally showed up" :-) 24 | 25 | Side 6 is actually a superfluous plane and will be NULL'ed out in the code. 26 | If the code does not handle a NULL'ed out winding correctly, it will 27 | segfault. 28 | -------------------------------------------------------------------------------- /regression_tests/q3map2/segmentation_fault/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/segmentation_fault/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/snap_plane/textures/radiant_regression_tests/green.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/snap_plane/textures/radiant_regression_tests/green.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/snap_plane/textures/radiant_regression_tests/red.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/snap_plane/textures/radiant_regression_tests/red.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/snap_plane/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/snap_plane/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /regression_tests/q3map2/sparkly_seam/README.txt: -------------------------------------------------------------------------------- 1 | DESCRIPTION OF PROBLEM: 2 | ======================= 3 | 4 | The example map, maps/sparkly_seam.map, contains two triangular brushes near 5 | the side of the room. The seam between these two brushes "sparkles" even 6 | though the endpoints of the edges are exactly the same. 7 | 8 | To trigger the bug, compile the map; you don't need -vis or -light. Only 9 | -bsp (the first q3map2 stage) is necessary to trigger the bug. The only 10 | entities in the map are a light and a info_player_deathmatch, so the map will 11 | compile for any Q3 mod. 12 | 13 | 14 | SOLUTION TO PROBLEM: 15 | ==================== 16 | 17 | None yet. The problem is likely caused by sloppy math operations (significant 18 | loss of precision). This bug pops in and out of existence with every other 19 | commit at the moment. The problem is likely caused by the operations in the 20 | brush winding computation (where the planes are intersected with each other). 21 | I have not gotten around to addressing that code yet. 22 | -------------------------------------------------------------------------------- /regression_tests/q3map2/sparkly_seam/textures/radiant_regression_tests/tile.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/regression_tests/q3map2/sparkly_seam/textures/radiant_regression_tests/tile.tga -------------------------------------------------------------------------------- /tools/.gitignore: -------------------------------------------------------------------------------- 1 | x64 2 | Debug 3 | Release 4 | -------------------------------------------------------------------------------- /tools/quake2/common/l3dslib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | // 22 | // l3dslib.h: header file for loading triangles from a 3DS triangle file 23 | // 24 | void Load3DSTriangleList( char *filename, triangle_t **pptri, int *numtriangles ); 25 | -------------------------------------------------------------------------------- /tools/quake2/common/q2_threads.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | #ifndef _THREADS_H 22 | 23 | #define _THREADS_H 24 | 25 | extern int numthreads; 26 | 27 | void ThreadSetDefault( void ); 28 | int GetThreadWork( void ); 29 | void RunThreadsOnIndividual( int workcnt, qboolean showpacifier, void ( *func )( int ) ); 30 | void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ); 31 | void ThreadLock( void ); 32 | void ThreadUnlock( void ); 33 | 34 | #endif // _THREADS_H 35 | -------------------------------------------------------------------------------- /tools/quake2/common/trilib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | // 22 | // trilib.h: header file for loading triangles from an Alias triangle file 23 | // 24 | #define MAXTRIANGLES 2048 25 | 26 | typedef struct { 27 | vec3_t verts[3]; 28 | } triangle_t; 29 | 30 | void LoadTriangleList( char *filename, triangle_t **pptri, int *numtriangles ); 31 | -------------------------------------------------------------------------------- /tools/quake2/extra/Unpack/Unpack.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 5.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "Unpack"=.\Unpack.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /tools/quake2/extra/common/l3dslib.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 1997-2006 Id Software, Inc. 4 | 5 | This file is part of Quake 2 Tools source code. 6 | 7 | Quake 2 Tools source code is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Quake 2 Tools source code is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Quake 2 Tools source code; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | // 24 | // l3dslib.h: header file for loading triangles from a 3DS triangle file 25 | // 26 | void Load3DSTriangleList (char *filename, triangle_t **pptri, int *numtriangles); 27 | 28 | -------------------------------------------------------------------------------- /tools/quake2/extra/common/threads.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 1997-2006 Id Software, Inc. 4 | 5 | This file is part of Quake 2 Tools source code. 6 | 7 | Quake 2 Tools source code is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Quake 2 Tools source code is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Quake 2 Tools source code; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | extern int numthreads; 24 | 25 | void ThreadSetDefault (void); 26 | int GetThreadWork (void); 27 | void RunThreadsOnIndividual (int workcnt, qboolean showpacifier, void(*func)(int)); 28 | void RunThreadsOn (int workcnt, qboolean showpacifier, void(*func)(int)); 29 | void ThreadLock (void); 30 | void ThreadUnlock (void); 31 | 32 | -------------------------------------------------------------------------------- /tools/quake2/extra/common/trilib.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 1997-2006 Id Software, Inc. 4 | 5 | This file is part of Quake 2 Tools source code. 6 | 7 | Quake 2 Tools source code is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Quake 2 Tools source code is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Quake 2 Tools source code; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | // 24 | // trilib.h: header file for loading triangles from an Alias triangle file 25 | // 26 | #define MAXTRIANGLES 2048 27 | 28 | typedef struct { 29 | vec3_t verts[3]; 30 | } triangle_t; 31 | 32 | void LoadTriangleList (char *filename, triangle_t **pptri, int *numtriangles); 33 | 34 | -------------------------------------------------------------------------------- /tools/quake2/extra/qdata/qdata.dsw: -------------------------------------------------------------------------------- 1 | Microsoft Developer Studio Workspace File, Format Version 5.00 2 | # WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE! 3 | 4 | ############################################################################### 5 | 6 | Project: "qdata"=.\qdata.dsp - Package Owner=<4> 7 | 8 | Package=<5> 9 | {{{ 10 | }}} 11 | 12 | Package=<4> 13 | {{{ 14 | }}} 15 | 16 | ############################################################################### 17 | 18 | Global: 19 | 20 | Package=<5> 21 | {{{ 22 | }}} 23 | 24 | Package=<3> 25 | {{{ 26 | }}} 27 | 28 | ############################################################################### 29 | 30 | -------------------------------------------------------------------------------- /tools/quake2/extra/qe4/icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/extra/qe4/icon1.ico -------------------------------------------------------------------------------- /tools/quake2/extra/qe4/makefile: -------------------------------------------------------------------------------- 1 | 2 | TARGETOS=WINNT 3 | 4 | !include 5 | 6 | # This line allows NMAKE to work as well 7 | 8 | all: gengl.exe 9 | 10 | # Update the object file if necessary 11 | 12 | gengl.obj: gengl.c gengl.h 13 | $(cc) $(cflags) $(cvars) $(cdebug) $(cf) gengl.c 14 | 15 | render.obj: render.c gengl.h 16 | $(cc) $(cflags) $(cvars) $(cdebug) $(cf) render.c 17 | 18 | gengl.res: gengl.rc genglrc.h 19 | rc -r gengl.rc 20 | 21 | gengl.exe: gengl.obj gengl.res render.obj 22 | $(link) $(linkdebug) /NODEFAULTLIB $(guilflags) -out:gengl.exe \ 23 | gengl.obj render.obj gengl.res $(guilibsdll) opengl32.lib glu32.lib 24 | -------------------------------------------------------------------------------- /tools/quake2/extra/qe4/parse.h: -------------------------------------------------------------------------------- 1 | /* 2 | =========================================================================== 3 | Copyright (C) 1997-2006 Id Software, Inc. 4 | 5 | This file is part of Quake 2 Tools source code. 6 | 7 | Quake 2 Tools source code is free software; you can redistribute it 8 | and/or modify it under the terms of the GNU General Public License as 9 | published by the Free Software Foundation; either version 2 of the License, 10 | or (at your option) any later version. 11 | 12 | Quake 2 Tools source code is distributed in the hope that it will be 13 | useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with Quake 2 Tools source code; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | =========================================================================== 21 | */ 22 | 23 | // parse.h -- text file parsing routines 24 | 25 | #define MAXTOKEN 1024 26 | 27 | extern char token[MAXTOKEN]; 28 | extern int scriptline; 29 | 30 | void StartTokenParsing (char *data); 31 | qboolean GetToken (qboolean crossline); 32 | void UngetToken (void); 33 | qboolean TokenAvailable (void); 34 | 35 | -------------------------------------------------------------------------------- /tools/quake2/extra/qe4/q.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/extra/qe4/q.bmp -------------------------------------------------------------------------------- /tools/quake2/extra/qe4/toolbar1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/extra/qe4/toolbar1.bmp -------------------------------------------------------------------------------- /tools/quake2/extra/qe4/win_qe3.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/extra/qe4/win_qe3.aps -------------------------------------------------------------------------------- /tools/quake2/extra/qe4/win_qe3.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/extra/qe4/win_qe3.rc -------------------------------------------------------------------------------- /tools/quake2/extra/texpaint/docs.txt: -------------------------------------------------------------------------------- 1 | 2 | Texpaint works with three data types: 3 | 4 | Skin textures 5 | Model frames 6 | S/T mappings 7 | 8 | 9 | Skin textures can be either lbm or pcx files, and they will allways be 10 | saved out the same size as loaded in, even if it is larger than the 11 | active texture area. 12 | 13 | Model frames are alias .tri files. Adding support for 3ds would not 14 | be difficult, but it is likely that there would be coordinate problems 15 | unless the entire model was done completely in 3ds. 16 | 17 | S/T mappings allow a skin to be mapped onto any model frame. A mapping is 18 | generated from a base frame and a texture size. If a coords.txt file is 19 | not present, texpaint will generate a default mapping that is compatable 20 | with the output of the old texmake. New skin or remap to skin will 21 | generate a new coords.txt file. 22 | 23 | 24 | Usage 25 | ----- 26 | A three button mouse is required. 27 | 28 | The left button paints with the current color in either the skin window 29 | or the camera window, or selects colors in the palette view. Ctrl-left 30 | click picks up the color clicked on in any view, making it current. 31 | 32 | Right button dragging slides the object or skin around. Ctrl-right drag 33 | to move in or out on the object. 34 | 35 | Middle button dragging rotates the object in the camera view. Ctrl-middle 36 | drag to change the roll angle. 37 | 38 | 39 | -------------------------------------------------------------------------------- /tools/quake2/extra/texpaint/texmake.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/extra/texpaint/texmake.aps -------------------------------------------------------------------------------- /tools/quake2/q2map/nodraw.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include "qbsp.h" 23 | 24 | vec3_t draw_mins, draw_maxs; 25 | qboolean drawflag; 26 | 27 | void Draw_ClearWindow( void ){ 28 | } 29 | 30 | //============================================================ 31 | 32 | #define GLSERV_PORT 25001 33 | 34 | 35 | void GLS_BeginScene( void ){ 36 | } 37 | 38 | void GLS_Winding( winding_t *w, int code ){ 39 | } 40 | 41 | void GLS_EndScene( void ){ 42 | } 43 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/common/her2_threads.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | #ifndef _THREADS_H 22 | 23 | #define _THREADS_H 24 | 25 | 26 | extern int numthreads; 27 | 28 | void ThreadSetDefault( void ); 29 | int GetThreadWork( void ); 30 | void RunThreadsOnIndividual( int workcnt, qboolean showpacifier, void ( *func )( int ) ); 31 | void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ); 32 | void ThreadLock( void ); 33 | void ThreadUnlock( void ); 34 | 35 | #endif //_THREADS_H 36 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/common/l3dslib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // 23 | // l3dslib.h: header file for loading triangles from a 3DS triangle file 24 | // 25 | void DefaultNodesList( mesh_node_t **nodesList, int *num_mesh_nodes, int *numtriangles ); 26 | 27 | void Load3DSTriangleList( char *filename, triangle_t **pptri, int *numtriangles, mesh_node_t **ppmnodes, int *num_mesh_nodes ); 28 | void LoadASC( char *fileName, triangle_t **triList, int *triangleCount, mesh_node_t **ppmnodes, int *num_mesh_nodes ); 29 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/common/md4.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/qdata_heretic2/common/md4.c -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/icon1.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/qdata_heretic2/icon1.ico -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/jointed.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef _JOINTED_H 23 | #define _JOINTED_H 24 | 25 | #include "joints.h" 26 | 27 | void LoadGlobals( char *fileName ); 28 | void LoadClusters( char *fileName, int **clusterList, int *num_verts, int skel_type ); 29 | void LoadJointList( char *fileName, struct QDataJoint_s *jointList, int num_verts ); 30 | 31 | #define NUM_CLUSTERS 8 32 | 33 | #define NOT_JOINTED -1 34 | 35 | #endif //_JOINTED_H 36 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/qcommon/flex.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // Generic flexible format 23 | 24 | typedef struct 25 | { 26 | char ident[32]; 27 | int version; 28 | int size; 29 | } header_t; 30 | 31 | void WriteHeader( FILE *, char *, int, int, void * ); 32 | 33 | // end 34 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/qcommon/h2common.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef H2COMMON_H 23 | #define H2COMMON_H 24 | #define H2COMMON_API 25 | #endif 26 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/qcommon/placement.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef PLACEMENT_H 23 | #define PLACEMENT_H 24 | 25 | #include "q_typedef.h" 26 | 27 | //typedef float vec3_t[3]; 28 | 29 | typedef struct Placement_s 30 | { 31 | vec3_t origin; 32 | vec3_t direction; 33 | vec3_t up; 34 | } Placement_t; 35 | 36 | #endif 37 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by Script1.rc 4 | // 5 | #define IDI_ICON1 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NO_MFC 1 12 | #define _APS_3D_CONTROLS 1 13 | #define _APS_NEXT_RESOURCE_VALUE 102 14 | #define _APS_NEXT_COMMAND_VALUE 40001 15 | #define _APS_NEXT_CONTROL_VALUE 1000 16 | #define _APS_NEXT_SYMED_VALUE 101 17 | #endif 18 | #endif 19 | -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/script1.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/qdata_heretic2/script1.aps -------------------------------------------------------------------------------- /tools/quake2/qdata_heretic2/script1.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake2/qdata_heretic2/script1.rc -------------------------------------------------------------------------------- /tools/quake3/common/aselib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | 23 | #include "../common/cmdlib.h" 24 | #include "mathlib.h" 25 | #include "polyset.h" 26 | 27 | void ASE_Load( const char *filename, qboolean verbose, qboolean meshanims ); 28 | int ASE_GetNumSurfaces( void ); 29 | polyset_t *ASE_GetSurfaceAnimation( int ndx, int *numFrames, int skipFrameStart, int skipFrameEnd, int maxFrames ); 30 | const char *ASE_GetSurfaceName( int ndx ); 31 | void ASE_Free( void ); 32 | -------------------------------------------------------------------------------- /tools/quake3/common/l3dslib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // 23 | // l3dslib.h: header file for loading triangles from a 3DS triangle file 24 | // 25 | void Load3DSTriangleList( char *filename, triangle_t **pptri, int *numtriangles ); 26 | -------------------------------------------------------------------------------- /tools/quake3/common/mutex.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | 23 | 24 | typedef void *mutex_t; 25 | 26 | void MutexLock( mutex_t *m ); 27 | void MutexUnlock( mutex_t *m ); 28 | mutex_t *MutexAlloc( void ); 29 | -------------------------------------------------------------------------------- /tools/quake3/common/qthreads.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | 23 | extern int numthreads; 24 | 25 | void ThreadSetDefault( void ); 26 | int GetThreadWork( void ); 27 | void RunThreadsOnIndividual( int workcnt, qboolean showpacifier, void ( *func )( int ) ); 28 | void RunThreadsOn( int workcnt, qboolean showpacifier, void ( *func )( int ) ); 29 | void ThreadLock( void ); 30 | void ThreadUnlock( void ); 31 | -------------------------------------------------------------------------------- /tools/quake3/common/quake3-common.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {d4a9c379-4e75-46a8-a63d-dbf5d1b7a10c} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | 10 | 11 | src 12 | 13 | 14 | src 15 | 16 | 17 | src 18 | 19 | 20 | src 21 | 22 | 23 | src 24 | 25 | 26 | src 27 | 28 | 29 | src 30 | 31 | 32 | src 33 | 34 | 35 | src 36 | 37 | 38 | src 39 | 40 | 41 | -------------------------------------------------------------------------------- /tools/quake3/common/trilib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | // 23 | // trilib.h: header file for loading triangles from an Alias triangle file 24 | // 25 | void TRI_LoadPolysets( const char *filename, polyset_t **ppPSET, int *numpsets ); 26 | -------------------------------------------------------------------------------- /tools/quake3/q3data/md3lib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include 23 | #include "../common/cmdlib.h" 24 | #include "mathlib.h" 25 | #include "../common/qfiles.h" 26 | 27 | void MD3_Dump( const char *filename ); 28 | void MD3_ComputeTagFromTri( md3Tag_t *pTag, const float tri[3][3] ); 29 | -------------------------------------------------------------------------------- /tools/quake3/q3data/p3dlib.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 3 | For a list of contributors, see the accompanying CONTRIBUTORS file. 4 | 5 | This file is part of GtkRadiant. 6 | 7 | GtkRadiant is free software; you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation; either version 2 of the License, or 10 | (at your option) any later version. 11 | 12 | GtkRadiant is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with GtkRadiant; if not, write to the Free Software 19 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | 23 | #define P3D_GET_CROSSLINE 1 24 | #define P3D_GET_RESTOFLINE 2 25 | 26 | int P3DLoad( const char *filename ); 27 | void P3DClose(); 28 | 29 | int P3DGetNextPair( char **name, char **associatedShader ); 30 | -------------------------------------------------------------------------------- /tools/quake3/q3map2/game_t.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 4 | For a list of contributors, see the accompanying CONTRIBUTORS file. 5 | 6 | This file is part of GtkRadiant. 7 | 8 | GtkRadiant is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 2 of the License, or 11 | (at your option) any later version. 12 | 13 | GtkRadiant is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with GtkRadiant; if not, write to the Free Software 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | /* ydnar: for -game support */ 24 | typedef struct game_s 25 | { 26 | char *arg; /* -game matches this */ 27 | char *gamePath; /* main game data dir */ 28 | char *homeBasePath; /* home sub-dir on unix */ 29 | char *magic; /* magic word for figuring out base path */ 30 | qboolean wolfLight; /* when true, lights work like wolf q3map */ 31 | int bspVersion; /* BSP version to use */ 32 | } 33 | game_t; 34 | -------------------------------------------------------------------------------- /tools/quake3/q3map2/listen.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl -w 2 | 3 | use IO::Socket; 4 | use Net::hostent; 5 | 6 | my $port = shift || 13131; 7 | 8 | my $server = IO::Socket::INET->new( 9 | Proto => 'tcp', 10 | LocalPort => $port, 11 | Listen => SOMAXCONN, 12 | Reuse => 1 ) 13 | || die "can't setup server"; 14 | print "[Q3Map2 listener $0 is now active on port $port]\n"; 15 | 16 | while( $client = $server->accept() ) 17 | { 18 | 19 | $client->autoflush( 1 ); 20 | 21 | $hostinfo = gethostbyaddr( $client->peeraddr ); 22 | printf "[Connect from %s]\n\n", $hostinfo ? $hostinfo->name : $client->peerhost; 23 | 24 | #ask the client for a command 25 | print $client "[server]\$"; 26 | my $text = ""; 27 | while( <$client> ) 28 | { 29 | $text .= $_; 30 | while( $text =~ s|]*>([^<]+)|| ) 31 | { 32 | my $msg = $1; 33 | 34 | # fix xml ents 35 | $msg =~ s|<|<|g; 36 | $msg =~ s|>|>|g; 37 | $msg =~ s|"|"|g;#" 38 | $msg =~ s|'|'|g;#' 39 | 40 | print $msg; 41 | } 42 | } 43 | 44 | printf "\n[Disconnected: %s]\n\n", $hostinfo ? $hostinfo->name : $client->peerhost; 45 | close $client; 46 | } 47 | -------------------------------------------------------------------------------- /tools/quake3/q3map2/q3map2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/quake3/q3map2/q3map2.ico -------------------------------------------------------------------------------- /tools/quake3/q3map2/q3map2.rc: -------------------------------------------------------------------------------- 1 | 101 ICON DISCARDABLE "q3map2.ico" 2 | -------------------------------------------------------------------------------- /tools/urt/tools/quake3/q3map2/game_t.h: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | Copyright (C) 1999-2007 id Software, Inc. and contributors. 4 | For a list of contributors, see the accompanying CONTRIBUTORS file. 5 | 6 | This file is part of GtkRadiant. 7 | 8 | GtkRadiant is free software; you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation; either version 2 of the License, or 11 | (at your option) any later version. 12 | 13 | GtkRadiant is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with GtkRadiant; if not, write to the Free Software 20 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | /* ydnar: for -game support */ 24 | typedef struct game_s 25 | { 26 | char *arg; /* -game matches this */ 27 | char *gamePath; /* main game data dir */ 28 | char *homeBasePath; /* home sub-dir on unix */ 29 | char *magic; /* magic word for figuring out base path */ 30 | qboolean wolfLight; /* when true, lights work like wolf q3map */ 31 | int bspVersion; /* BSP version to use */ 32 | } 33 | game_t; 34 | -------------------------------------------------------------------------------- /tools/urt/tools/quake3/q3map2/listen.pl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl -w 2 | 3 | use IO::Socket; 4 | use Net::hostent; 5 | 6 | my $port = shift || 13131; 7 | 8 | my $server = IO::Socket::INET->new( 9 | Proto => 'tcp', 10 | LocalPort => $port, 11 | Listen => SOMAXCONN, 12 | Reuse => 1 ) 13 | || die "can't setup server"; 14 | print "[Q3Map2 listener $0 is now active on port $port]\n"; 15 | 16 | while( $client = $server->accept() ) 17 | { 18 | 19 | $client->autoflush( 1 ); 20 | 21 | $hostinfo = gethostbyaddr( $client->peeraddr ); 22 | printf "[Connect from %s]\n\n", $hostinfo ? $hostinfo->name : $client->peerhost; 23 | 24 | #ask the client for a command 25 | print $client "[server]\$"; 26 | my $text = ""; 27 | while( <$client> ) 28 | { 29 | $text .= $_; 30 | while( $text =~ s|]*>([^<]+)|| ) 31 | { 32 | my $msg = $1; 33 | 34 | # fix xml ents 35 | $msg =~ s|<|<|g; 36 | $msg =~ s|>|>|g; 37 | $msg =~ s|"|"|g;#" 38 | $msg =~ s|'|'|g;#' 39 | 40 | print $msg; 41 | } 42 | } 43 | 44 | printf "\n[Disconnected: %s]\n\n", $hostinfo ? $hostinfo->name : $client->peerhost; 45 | close $client; 46 | } 47 | -------------------------------------------------------------------------------- /tools/urt/tools/quake3/q3map2/q3map2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTimo/GtkRadiant/270af88f3c2471f6773bded0b5760a3115b52965/tools/urt/tools/quake3/q3map2/q3map2.ico -------------------------------------------------------------------------------- /tools/urt/tools/quake3/q3map2/q3map2.rc: -------------------------------------------------------------------------------- 1 | 101 ICON DISCARDABLE "q3map2.ico" 2 | --------------------------------------------------------------------------------