├── README.md └── quakespasm ├── LICENSE.txt ├── Linux ├── CodeBlocks │ ├── QuakeSpasm-SDL2.cbp │ └── QuakeSpasm.cbp └── sgml │ ├── Makefile.sgml │ ├── Quakespasm.sgml │ └── sgml2rawtxt ├── MacOSX ├── AppController.h ├── AppController.m ├── Build_Instructions.md ├── English.lproj │ ├── InfoPlist.strings │ └── Launcher.nib │ │ ├── designable.nib │ │ └── keyedobjects.nib ├── Info.plist ├── Launcher-Info.plist ├── QuakeArgument.h ├── QuakeArgument.m ├── QuakeArguments.h ├── QuakeArguments.m ├── QuakeSpasm.icns ├── QuakeSpasm.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── QuakeSpasm.xcscheme ├── QuakeSpasmPPC.xcodeproj │ └── project.pbxproj ├── SDL.framework │ ├── Headers │ ├── License.rtf │ ├── ReadMe.txt │ ├── Resources │ ├── SDL │ ├── UniversalBinaryNotes.rtf │ └── Versions │ │ ├── A │ │ ├── Headers │ │ │ ├── SDL.h │ │ │ ├── SDL_active.h │ │ │ ├── SDL_audio.h │ │ │ ├── SDL_byteorder.h │ │ │ ├── SDL_cdrom.h │ │ │ ├── SDL_config.h │ │ │ ├── SDL_config_dreamcast.h │ │ │ ├── SDL_config_macos.h │ │ │ ├── SDL_config_macosx.h │ │ │ ├── SDL_config_minimal.h │ │ │ ├── SDL_config_nds.h │ │ │ ├── SDL_config_os2.h │ │ │ ├── SDL_config_symbian.h │ │ │ ├── SDL_config_win32.h │ │ │ ├── SDL_copying.h │ │ │ ├── SDL_cpuinfo.h │ │ │ ├── SDL_endian.h │ │ │ ├── SDL_error.h │ │ │ ├── SDL_events.h │ │ │ ├── SDL_getenv.h │ │ │ ├── SDL_joystick.h │ │ │ ├── SDL_keyboard.h │ │ │ ├── SDL_keysym.h │ │ │ ├── SDL_loadso.h │ │ │ ├── SDL_main.h │ │ │ ├── SDL_mouse.h │ │ │ ├── SDL_mutex.h │ │ │ ├── SDL_name.h │ │ │ ├── SDL_opengl.h │ │ │ ├── SDL_platform.h │ │ │ ├── SDL_quit.h │ │ │ ├── SDL_rwops.h │ │ │ ├── SDL_stdinc.h │ │ │ ├── SDL_syswm.h │ │ │ ├── SDL_thread.h │ │ │ ├── SDL_timer.h │ │ │ ├── SDL_types.h │ │ │ ├── SDL_version.h │ │ │ ├── SDL_video.h │ │ │ ├── begin_code.h │ │ │ └── close_code.h │ │ ├── Resources │ │ │ ├── Info.plist │ │ │ └── SDLMain.nib │ │ │ │ └── objects.nib │ │ ├── SDL │ │ └── devel-lite │ │ │ ├── ReadMeDevLite.txt │ │ │ ├── SDLMain.h │ │ │ └── SDLMain.m │ │ └── Current ├── SDL2.framework │ ├── Headers │ ├── Resources │ ├── SDL2 │ └── Versions │ │ ├── A │ │ ├── Headers │ │ │ ├── SDL.h │ │ │ ├── SDL_assert.h │ │ │ ├── SDL_atomic.h │ │ │ ├── SDL_audio.h │ │ │ ├── SDL_bits.h │ │ │ ├── SDL_blendmode.h │ │ │ ├── SDL_clipboard.h │ │ │ ├── SDL_config.h │ │ │ ├── SDL_config_android.h │ │ │ ├── SDL_config_iphoneos.h │ │ │ ├── SDL_config_macosx.h │ │ │ ├── SDL_config_minimal.h │ │ │ ├── SDL_config_os2.h │ │ │ ├── SDL_config_pandora.h │ │ │ ├── SDL_config_psp.h │ │ │ ├── SDL_config_windows.h │ │ │ ├── SDL_config_winrt.h │ │ │ ├── SDL_config_wiz.h │ │ │ ├── SDL_copying.h │ │ │ ├── SDL_cpuinfo.h │ │ │ ├── SDL_egl.h │ │ │ ├── SDL_endian.h │ │ │ ├── SDL_error.h │ │ │ ├── SDL_events.h │ │ │ ├── SDL_filesystem.h │ │ │ ├── SDL_gamecontroller.h │ │ │ ├── SDL_gesture.h │ │ │ ├── SDL_haptic.h │ │ │ ├── SDL_hints.h │ │ │ ├── SDL_joystick.h │ │ │ ├── SDL_keyboard.h │ │ │ ├── SDL_keycode.h │ │ │ ├── SDL_loadso.h │ │ │ ├── SDL_log.h │ │ │ ├── SDL_main.h │ │ │ ├── SDL_messagebox.h │ │ │ ├── SDL_metal.h │ │ │ ├── SDL_mouse.h │ │ │ ├── SDL_mutex.h │ │ │ ├── SDL_name.h │ │ │ ├── SDL_opengl.h │ │ │ ├── SDL_opengl_glext.h │ │ │ ├── SDL_opengles.h │ │ │ ├── SDL_opengles2.h │ │ │ ├── SDL_opengles2_gl2.h │ │ │ ├── SDL_opengles2_gl2ext.h │ │ │ ├── SDL_opengles2_gl2platform.h │ │ │ ├── SDL_opengles2_khrplatform.h │ │ │ ├── SDL_pixels.h │ │ │ ├── SDL_platform.h │ │ │ ├── SDL_power.h │ │ │ ├── SDL_quit.h │ │ │ ├── SDL_rect.h │ │ │ ├── SDL_render.h │ │ │ ├── SDL_revision.h │ │ │ ├── SDL_rwops.h │ │ │ ├── SDL_scancode.h │ │ │ ├── SDL_sensor.h │ │ │ ├── SDL_shape.h │ │ │ ├── SDL_stdinc.h │ │ │ ├── SDL_surface.h │ │ │ ├── SDL_system.h │ │ │ ├── SDL_syswm.h │ │ │ ├── SDL_thread.h │ │ │ ├── SDL_timer.h │ │ │ ├── SDL_touch.h │ │ │ ├── SDL_types.h │ │ │ ├── SDL_version.h │ │ │ ├── SDL_video.h │ │ │ ├── SDL_vulkan.h │ │ │ ├── begin_code.h │ │ │ └── close_code.h │ │ ├── Resources │ │ │ └── Info.plist │ │ └── SDL2 │ │ └── Current ├── SDLApplication.h ├── SDLApplication.m ├── SDLMain.h ├── SDLMain.m ├── ScreenInfo.h ├── ScreenInfo.m └── codecs │ ├── include │ ├── FLAC │ │ ├── callback.h │ │ ├── export.h │ │ ├── format.h │ │ ├── ordinals.h │ │ └── stream_decoder.h │ ├── flac_config.txt │ ├── mad.h │ ├── mikmod.h │ ├── mikmod_config.txt │ ├── mpg123.h │ ├── mpg123_config.txt │ ├── ogg │ │ ├── config_types.h │ │ ├── ogg.h │ │ └── os_types.h │ ├── opus │ │ ├── opus.h │ │ ├── opus_defines.h │ │ ├── opus_multistream.h │ │ ├── opus_types.h │ │ └── opusfile.h │ ├── opusfile.h │ ├── vorbis │ │ ├── codec.h │ │ └── vorbisfile.h │ └── xmp.h │ └── lib │ ├── libFLAC.dylib │ ├── libmad.dylib │ ├── libmikmod.dylib │ ├── libmpg123.dylib │ ├── libogg.dylib │ ├── libopus.dylib │ ├── libopusfile.dylib │ ├── libvorbis.dylib │ ├── libvorbisfile.dylib │ └── libxmp.dylib ├── Makefile.nx ├── Misc ├── QuakeSpasm_512.png ├── fitzquake080.txt ├── fitzquake080sdl.txt ├── fitzquake085.txt ├── fs_search_order.patch ├── mk_header.c ├── qs_pak │ ├── Makefile │ ├── default.cfg │ ├── default.cfg.orig │ ├── gfx │ │ └── conback.lmp │ ├── maps │ │ ├── e1m1.ent │ │ ├── e1m1.ent.orig │ │ ├── e1m2.ent │ │ ├── e1m2.ent.orig │ │ ├── e1m4.ent │ │ ├── e1m4.ent.orig │ │ ├── e2m2.ent │ │ ├── e2m2.ent.orig │ │ ├── e2m3.ent │ │ ├── e2m3.ent.orig │ │ ├── e2m7.ent │ │ └── e2m7.ent.orig │ └── mkpak.sh ├── quake_retexturing_project.patch └── systest.c ├── Quake ├── Makefile ├── Makefile.darwin ├── Makefile.w32 ├── Makefile.w64 ├── OWMakefile.win32 ├── anorm_dots.h ├── anorms.h ├── arch_def.h ├── bgmusic.c ├── bgmusic.h ├── bspfile.h ├── build_cross_osx-sdl2.sh ├── build_cross_osx.sh ├── build_cross_win32-sdl2.sh ├── build_cross_win32.sh ├── build_cross_win64-sdl2.sh ├── build_cross_win64.sh ├── cd_null.c ├── cd_sdl.c ├── cdaudio.h ├── cfgfile.c ├── cfgfile.h ├── chase.c ├── cl_demo.c ├── cl_input.c ├── cl_main.c ├── cl_parse.c ├── cl_tent.c ├── client.h ├── cmd.c ├── cmd.h ├── common.c ├── common.h ├── console.c ├── console.h ├── crc.c ├── crc.h ├── cvar.c ├── cvar.h ├── detect.sh ├── draw.h ├── filenames.h ├── gl_draw.c ├── gl_fog.c ├── gl_mesh.c ├── gl_model.c ├── gl_model.h ├── gl_refrag.c ├── gl_rlight.c ├── gl_rmain.c ├── gl_rmisc.c ├── gl_screen.c ├── gl_sky.c ├── gl_texmgr.c ├── gl_texmgr.h ├── gl_vidsdl.c ├── gl_warp.c ├── gl_warp_sin.h ├── glad │ ├── glad.c │ └── glad.h ├── glquake.h ├── host.c ├── host_cmd.c ├── image.c ├── image.h ├── in_sdl.c ├── input.h ├── keys.c ├── keys.h ├── lodepng.c ├── lodepng.h ├── main_sdl.c ├── main_sdl_nx.c ├── mathlib.c ├── mathlib.h ├── menu.c ├── menu.h ├── modelgen.h ├── net.h ├── net_bsd.c ├── net_defs.h ├── net_dgrm.c ├── net_dgrm.h ├── net_loop.c ├── net_loop.h ├── net_main.c ├── net_sys.h ├── net_udp.c ├── net_udp.h ├── net_win.c ├── net_wins.c ├── net_wins.h ├── net_wipx.c ├── net_wipx.h ├── pl_linux.c ├── pl_nx.c ├── pl_osx.m ├── pl_win.c ├── platform.h ├── pr_cmds.c ├── pr_comp.h ├── pr_edict.c ├── pr_exec.c ├── progdefs.h ├── progdefs.q1 ├── progs.h ├── protocol.h ├── q_ctype.h ├── q_sound.h ├── q_stdinc.h ├── qs_bmp.h ├── quakedef.h ├── quakespasm.pak ├── r_alias.c ├── r_brush.c ├── r_part.c ├── r_sprite.c ├── r_world.c ├── render.h ├── resource.h ├── sbar.c ├── sbar.h ├── screen.h ├── server.h ├── snd_codec.c ├── snd_codec.h ├── snd_codeci.h ├── snd_dma.c ├── snd_flac.c ├── snd_flac.h ├── snd_mem.c ├── snd_mikmod.c ├── snd_mikmod.h ├── snd_mix.c ├── snd_mp3.c ├── snd_mp3.h ├── snd_mp3tag.c ├── snd_mpg123.c ├── snd_opus.c ├── snd_opus.h ├── snd_sdl.c ├── snd_umx.c ├── snd_umx.h ├── snd_vorbis.c ├── snd_vorbis.h ├── snd_wave.c ├── snd_wave.h ├── snd_xmp.c ├── snd_xmp.h ├── spritegn.h ├── stb_image_write.h ├── strl_fn.h ├── strlcat.c ├── strlcpy.c ├── sv_main.c ├── sv_move.c ├── sv_phys.c ├── sv_user.c ├── sys.h ├── sys_sdl_nx.c ├── sys_sdl_unix.c ├── sys_sdl_win.c ├── vid.h ├── view.c ├── view.h ├── wad.c ├── wad.h ├── world.c ├── world.h ├── wsaerror.h ├── zone.c └── zone.h ├── Quakespasm-Music.txt ├── Quakespasm.html ├── Quakespasm.txt ├── Windows ├── CodeBlocks │ ├── QuakeSpasm-SDL2.cbp │ └── QuakeSpasm.cbp ├── QuakeSpasm-old.ico ├── QuakeSpasm.ico ├── QuakeSpasm.rc ├── SDL │ ├── BUGS │ ├── COPYING │ ├── README-SDL.txt │ ├── bin │ │ └── sdl-config │ ├── include │ │ ├── SDL.h │ │ ├── SDL_active.h │ │ ├── SDL_audio.h │ │ ├── SDL_byteorder.h │ │ ├── SDL_cdrom.h │ │ ├── SDL_config.h │ │ ├── SDL_config_dreamcast.h │ │ ├── SDL_config_macos.h │ │ ├── SDL_config_macosx.h │ │ ├── SDL_config_minimal.h │ │ ├── SDL_config_nds.h │ │ ├── SDL_config_os2.h │ │ ├── SDL_config_symbian.h │ │ ├── SDL_config_win32.h │ │ ├── SDL_copying.h │ │ ├── SDL_cpuinfo.h │ │ ├── SDL_endian.h │ │ ├── SDL_error.h │ │ ├── SDL_events.h │ │ ├── SDL_getenv.h │ │ ├── SDL_joystick.h │ │ ├── SDL_keyboard.h │ │ ├── SDL_keysym.h │ │ ├── SDL_loadso.h │ │ ├── SDL_main.h │ │ ├── SDL_mouse.h │ │ ├── SDL_mutex.h │ │ ├── SDL_name.h │ │ ├── SDL_opengl.h │ │ ├── SDL_platform.h │ │ ├── SDL_quit.h │ │ ├── SDL_rwops.h │ │ ├── SDL_stdinc.h │ │ ├── SDL_syswm.h │ │ ├── SDL_thread.h │ │ ├── SDL_timer.h │ │ ├── SDL_types.h │ │ ├── SDL_version.h │ │ ├── SDL_video.h │ │ ├── begin_code.h │ │ └── close_code.h │ ├── lib │ │ ├── SDL.dll │ │ ├── SDL.lib │ │ ├── SDLmain.lib │ │ ├── libSDL.dll.a │ │ └── libSDLmain.a │ ├── lib64 │ │ ├── SDL.dll │ │ ├── SDL.lib │ │ ├── SDLmain.lib │ │ ├── libSDL.dll.a │ │ └── libSDLmain.a │ ├── main │ │ └── SDL_win32_main.c │ └── watcom │ │ ├── SDL.def │ │ ├── SDL.exp │ │ ├── SDL.lib │ │ ├── def2lbc.awk │ │ └── makefile ├── SDL2 │ ├── BUGS.txt │ ├── COPYING.txt │ ├── README-SDL.txt │ ├── README.txt │ ├── WhatsNew.txt │ ├── bin │ │ └── sdl2-config │ ├── include │ │ ├── SDL.h │ │ ├── SDL_assert.h │ │ ├── SDL_atomic.h │ │ ├── SDL_audio.h │ │ ├── SDL_bits.h │ │ ├── SDL_blendmode.h │ │ ├── SDL_clipboard.h │ │ ├── SDL_config.h │ │ ├── SDL_config_android.h │ │ ├── SDL_config_iphoneos.h │ │ ├── SDL_config_macosx.h │ │ ├── SDL_config_minimal.h │ │ ├── SDL_config_os2.h │ │ ├── SDL_config_pandora.h │ │ ├── SDL_config_psp.h │ │ ├── SDL_config_windows.h │ │ ├── SDL_config_winrt.h │ │ ├── SDL_config_wiz.h │ │ ├── SDL_copying.h │ │ ├── SDL_cpuinfo.h │ │ ├── SDL_egl.h │ │ ├── SDL_endian.h │ │ ├── SDL_error.h │ │ ├── SDL_events.h │ │ ├── SDL_filesystem.h │ │ ├── SDL_gamecontroller.h │ │ ├── SDL_gesture.h │ │ ├── SDL_haptic.h │ │ ├── SDL_hints.h │ │ ├── SDL_joystick.h │ │ ├── SDL_keyboard.h │ │ ├── SDL_keycode.h │ │ ├── SDL_loadso.h │ │ ├── SDL_log.h │ │ ├── SDL_main.h │ │ ├── SDL_messagebox.h │ │ ├── SDL_metal.h │ │ ├── SDL_mouse.h │ │ ├── SDL_mutex.h │ │ ├── SDL_name.h │ │ ├── SDL_opengl.h │ │ ├── SDL_opengl_glext.h │ │ ├── SDL_opengles.h │ │ ├── SDL_opengles2.h │ │ ├── SDL_opengles2_gl2.h │ │ ├── SDL_opengles2_gl2ext.h │ │ ├── SDL_opengles2_gl2platform.h │ │ ├── SDL_opengles2_khrplatform.h │ │ ├── SDL_pixels.h │ │ ├── SDL_platform.h │ │ ├── SDL_power.h │ │ ├── SDL_quit.h │ │ ├── SDL_rect.h │ │ ├── SDL_render.h │ │ ├── SDL_revision.h │ │ ├── SDL_rwops.h │ │ ├── SDL_scancode.h │ │ ├── SDL_sensor.h │ │ ├── SDL_shape.h │ │ ├── SDL_stdinc.h │ │ ├── SDL_surface.h │ │ ├── SDL_system.h │ │ ├── SDL_syswm.h │ │ ├── SDL_thread.h │ │ ├── SDL_timer.h │ │ ├── SDL_touch.h │ │ ├── SDL_types.h │ │ ├── SDL_version.h │ │ ├── SDL_video.h │ │ ├── SDL_vulkan.h │ │ ├── begin_code.h │ │ └── close_code.h │ ├── lib │ │ ├── SDL2.dll │ │ ├── SDL2.lib │ │ ├── SDL2main.lib │ │ ├── libSDL2.dll.a │ │ └── libSDL2main.a │ ├── lib64 │ │ ├── SDL2.dll │ │ ├── SDL2.lib │ │ ├── SDL2main.lib │ │ ├── libSDL2.dll.a │ │ └── libSDL2main.a │ ├── main │ │ ├── SDL_windows.h │ │ └── SDL_windows_main.c │ └── watcom │ │ ├── SDL2.def │ │ ├── SDL2.exp │ │ ├── SDL2.lib │ │ ├── def2lbc.awk │ │ └── makefile ├── VisualStudio │ ├── quakespasm-sdl2.vcproj │ ├── quakespasm.sln │ └── quakespasm.vcproj ├── codecs │ ├── include │ │ ├── FLAC │ │ │ ├── callback.h │ │ │ ├── export.h │ │ │ ├── format.h │ │ │ ├── ordinals.h │ │ │ └── stream_decoder.h │ │ ├── flac_config.txt │ │ ├── mad.h │ │ ├── mikmod.h │ │ ├── mikmod_config.txt │ │ ├── mpg123.h │ │ ├── mpg123_config.txt │ │ ├── ogg │ │ │ ├── config_types.h │ │ │ ├── ogg.h │ │ │ └── os_types.h │ │ ├── opus │ │ │ ├── opus.h │ │ │ ├── opus_defines.h │ │ │ ├── opus_multistream.h │ │ │ ├── opus_types.h │ │ │ └── opusfile.h │ │ ├── opusfile.h │ │ ├── tremor │ │ │ ├── ivorbiscodec.h │ │ │ └── ivorbisfile.h │ │ ├── vorbis │ │ │ ├── codec.h │ │ │ └── vorbisfile.h │ │ └── xmp.h │ ├── x64 │ │ ├── libFLAC-8.dll │ │ ├── libFLAC.dll.a │ │ ├── libFLAC.lib │ │ ├── libmad-0.dll │ │ ├── libmad.dll.a │ │ ├── libmad.lib │ │ ├── libmikmod-3.dll │ │ ├── libmikmod.dll.a │ │ ├── libmikmod.lib │ │ ├── libmpg123-0.dll │ │ ├── libmpg123.dll.a │ │ ├── libmpg123.lib │ │ ├── libogg-0.dll │ │ ├── libogg.dll.a │ │ ├── libogg.lib │ │ ├── libopus-0.dll │ │ ├── libopus.dll.a │ │ ├── libopus.lib │ │ ├── libopusfile-0.dll │ │ ├── libopusfile.dll.a │ │ ├── libopusfile.lib │ │ ├── libvorbis-0.dll │ │ ├── libvorbis.dll.a │ │ ├── libvorbis.lib │ │ ├── libvorbisfile-3.dll │ │ ├── libvorbisfile.dll.a │ │ ├── libvorbisfile.lib │ │ ├── libvorbisidec-1.dll │ │ ├── libvorbisidec.dll.a │ │ ├── libvorbisidec.lib │ │ ├── libxmp.dll │ │ ├── libxmp.dll.a │ │ └── libxmp.lib │ ├── x86-watcom │ │ ├── FLAC.lib │ │ ├── libxmp.lib │ │ ├── mad.lib │ │ ├── mikmod.lib │ │ ├── mpg123.lib │ │ ├── ogg.lib │ │ ├── opus.lib │ │ ├── opusfile.lib │ │ ├── vorbis.lib │ │ ├── vorbisfile.lib │ │ └── vorbisidec.lib │ └── x86 │ │ ├── libFLAC-8.dll │ │ ├── libFLAC.dll.a │ │ ├── libFLAC.lib │ │ ├── libmad-0.dll │ │ ├── libmad.dll.a │ │ ├── libmad.lib │ │ ├── libmikmod-3.dll │ │ ├── libmikmod.dll.a │ │ ├── libmikmod.lib │ │ ├── libmpg123-0.dll │ │ ├── libmpg123.dll.a │ │ ├── libmpg123.lib │ │ ├── libogg-0.dll │ │ ├── libogg.dll.a │ │ ├── libogg.lib │ │ ├── libopus-0.dll │ │ ├── libopus.dll.a │ │ ├── libopus.lib │ │ ├── libopusfile-0.dll │ │ ├── libopusfile.dll.a │ │ ├── libopusfile.lib │ │ ├── libvorbis-0.dll │ │ ├── libvorbis.dll.a │ │ ├── libvorbis.lib │ │ ├── libvorbisfile-3.dll │ │ ├── libvorbisfile.dll.a │ │ ├── libvorbisfile.lib │ │ ├── libvorbisidec-1.dll │ │ ├── libvorbisidec.dll.a │ │ ├── libvorbisidec.lib │ │ ├── libxmp.dll │ │ ├── libxmp.dll.a │ │ └── libxmp.lib └── misc │ ├── include │ └── msinttypes │ │ ├── README.txt │ │ ├── changelog.txt │ │ ├── inttypes.h │ │ └── stdint.h │ ├── x64 │ ├── libvulkan-1.dll.a │ └── vulkan-1.def │ └── x86 │ ├── libvulkan-1.dll.a │ └── vulkan-1.def └── icon.jpg /README.md: -------------------------------------------------------------------------------- 1 | # QuakespasmNX 2 | Switch port of [Quakespasm](http://quakespasm.sourceforge.net/). 3 | Uses SDL2 as the backend, supports OGG and MP3 music and most other features of Quakespasm. 4 | 5 | ## Building 6 | You need: 7 | * latest versions of devkitA64 and libnx; 8 | * switch-sdl2, switch-zlib, switch-mesa, switch-libdrm_nouveau. 9 | 10 | You can install the libraries with (dkp-)pacman. 11 | 12 | Run make -f Makefile.nx in the `quakespasm` directory to build quakespasmnx.nro. 13 | 14 | ## Running 15 | Place the NRO into `/switch/quakespasm/` on your SD card. 16 | 17 | If you only have the [shareware version of Quake](ftp://ftp.idsoftware.com/idstuff/quake/quake106.zip), copy `pak0.pak` to `/switch/quakespasm/id1/`. 18 | If you have the full version, copy both `pak0.pak` and `pak1.pak` to `/switch/quakespasm/id1/`. 19 | 20 | If you want to play Scourge of Armagon, copy `pak0.pak` from `hipnotic` to `/switch/quakespasm/hipnotic/`. 21 | If you want to play Dissolution of Eternity, copy `pak0.pak` from `rogue` to `/switch/quakespasm/rogue/`. 22 | 23 | Make sure the pak files and the `id1` directory have all-lowercase names, just in case. 24 | 25 | You can run QuakespasmNX using Homebrew Launcher. 26 | 27 | If it crashes, look for `error.log` in `/switch/quakespasm/`. 28 | 29 | Mission Packs and mods are supported. If you have more game folders than just `id1` in `/switch/quakespasm/`, a mod select menu will pop up when you launch QuakespasmNX. 30 | 31 | Music should be placed into a `music` subdirectory inside the appropriate game directory (e.g. Quake music in `id1/music/`, Mission Pack 1 music in `hipnotic/music/`). 32 | 33 | For more information see [the other README](https://github.com/fgsfdsfgs/Quakespasm/blob/master/quakespasm/Quakespasm.txt). 34 | 35 | ## Credits 36 | * Quakespasm was made by: 37 | * Ozkan 38 | * Eric 39 | * Sander 40 | * Stevenaaus 41 | * based on FitzQuake by Fitzgibbons 42 | * and probably others; 43 | * fincs, Armada651, Subv and probably others for their work on the OpenGL/mesa/libdrm stuff; 44 | * id Software for Quake. 45 | -------------------------------------------------------------------------------- /quakespasm/Linux/sgml/Makefile.sgml: -------------------------------------------------------------------------------- 1 | # sgml tools are from linuxdoc-tools 2 | default: Quakespasm.sgml 3 | sgml2html -s 0 -T 2 Quakespasm.sgml 2>/dev/null 4 | all: default text 5 | text txt: Quakespasm.sgml 6 | ./sgml2rawtxt Quakespasm 7 | -------------------------------------------------------------------------------- /quakespasm/Linux/sgml/sgml2rawtxt: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sgml2txt -b 2 "$1" 3 | cat "$1.txt" | sed -e 's/[^m]*m//g' -e 's/.//g' >tmp$$ 4 | mv tmp$$ "$1.txt" 5 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/AppController.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import 22 | #import 23 | #import "QuakeArguments.h" 24 | 25 | extern NSString *FQPrefCommandLineKey; 26 | extern NSString *FQPrefFullscreenKey; 27 | extern NSString *FQPrefScreenModeKey; 28 | 29 | @interface AppController : NSObject { 30 | IBOutlet NSWindow *launcherWindow; 31 | IBOutlet NSTextField *paramTextField; 32 | IBOutlet NSPopUpButton *screenModePopUp; 33 | IBOutlet NSButton *fullscreenCheckBox; 34 | 35 | NSMutableArray *screenModes; 36 | QuakeArguments *arguments; 37 | } 38 | 39 | - (IBAction)changeScreenMode:(id)sender; 40 | - (IBAction)launchQuake:(id)sender; 41 | - (IBAction)cancel:(id)sender; 42 | 43 | - (NSArray *)screenModes; 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /quakespasm/MacOSX/English.lproj/Launcher.nib/keyedobjects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/English.lproj/Launcher.nib/keyedobjects.nib -------------------------------------------------------------------------------- /quakespasm/MacOSX/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIconFile 10 | QuakeSpasm 11 | CFBundleIdentifier 12 | net.sf.quakespasm.QuakeSpasm 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 0.93.2 21 | CFBundleSignature 22 | ???? 23 | LSApplicationCategoryType 24 | public.app-category.action-games 25 | LSMinimumSystemVersionByArchitecture 26 | 27 | i386 28 | 10.4.0 29 | ppc 30 | 10.4.0 31 | x86_64 32 | 10.6.0 33 | 34 | NSMainNibFile 35 | Launcher 36 | NSPrincipalClass 37 | SDLApplication 38 | 39 | 40 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/Launcher-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.yourcompany.Launcher 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | APPL 15 | CFBundleSignature 16 | ???? 17 | CFBundleVersion 18 | 1.0 19 | 20 | 21 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/QuakeArgument.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import 22 | 23 | 24 | @interface QuakeArgument : NSObject { 25 | NSString *name; 26 | NSString *value; 27 | } 28 | 29 | - (id)initWithArgument:(NSString *)n; 30 | - (id)initWithArgument:(NSString *)n andValue:(NSString *)v; 31 | 32 | - (NSString *)name; 33 | - (NSString *)value; 34 | 35 | - (BOOL)hasValue; 36 | @end 37 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/QuakeArgument.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import "QuakeArgument.h" 22 | 23 | 24 | @implementation QuakeArgument 25 | 26 | - (id)initWithArgument:(NSString *)n { 27 | 28 | return [self initWithArgument:n andValue:nil]; 29 | } 30 | 31 | - (id)initWithArgument:(NSString *)n andValue:(NSString *)v { 32 | 33 | self = [super init]; 34 | if (self == nil) 35 | return nil; 36 | 37 | name = [n retain]; 38 | if (v != nil) 39 | value = [v retain]; 40 | 41 | return self; 42 | } 43 | 44 | - (NSString *)name { 45 | 46 | return name; 47 | } 48 | 49 | - (NSString *)value { 50 | 51 | return value; 52 | } 53 | 54 | - (BOOL)hasValue { 55 | 56 | return value != nil; 57 | } 58 | 59 | - (NSString *)description { 60 | 61 | NSMutableString *buffer = [[NSMutableString alloc] init]; 62 | 63 | [buffer appendString:name]; 64 | if ([self hasValue]) { 65 | [buffer appendString:@" "]; 66 | [buffer appendString:value]; 67 | } 68 | 69 | return buffer; 70 | } 71 | 72 | - (void) dealloc 73 | { 74 | [name release]; 75 | [value release]; 76 | 77 | [super dealloc]; 78 | } 79 | 80 | @end 81 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/QuakeArguments.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import 22 | #import "QuakeArgument.h" 23 | 24 | 25 | @interface QuakeArguments : NSObject { 26 | NSMutableArray *quakeArgs; 27 | } 28 | 29 | - (id)initWithArguments:(char **)argv count:(int)argc; 30 | - (void)parseArguments:(NSString *)args; 31 | 32 | - (void)addArgument:(NSString *)arg; 33 | - (void)addArgument:(NSString *)arg withValue:(NSString *)value; 34 | 35 | - (QuakeArgument *)argument:(NSString *)name; 36 | - (void)removeArgument:(NSString *)arg; 37 | 38 | - (int)count; 39 | - (void)setArguments:(char **)args; 40 | @end 41 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/QuakeSpasm.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/QuakeSpasm.icns -------------------------------------------------------------------------------- /quakespasm/MacOSX/QuakeSpasm.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/SDL: -------------------------------------------------------------------------------- 1 | Versions/Current/SDL -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_active.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file SDL_active.h 25 | * Include file for SDL application focus event handling 26 | */ 27 | 28 | #ifndef _SDL_active_h 29 | #define _SDL_active_h 30 | 31 | #include "SDL_stdinc.h" 32 | #include "SDL_error.h" 33 | 34 | #include "begin_code.h" 35 | /* Set up for C function definitions, even when using C++ */ 36 | #ifdef __cplusplus 37 | extern "C" { 38 | #endif 39 | 40 | /** @name The available application states */ 41 | /*@{*/ 42 | #define SDL_APPMOUSEFOCUS 0x01 /**< The app has mouse coverage */ 43 | #define SDL_APPINPUTFOCUS 0x02 /**< The app has input focus */ 44 | #define SDL_APPACTIVE 0x04 /**< The application is active */ 45 | /*@}*/ 46 | 47 | /* Function prototypes */ 48 | /** 49 | * This function returns the current state of the application, which is a 50 | * bitwise combination of SDL_APPMOUSEFOCUS, SDL_APPINPUTFOCUS, and 51 | * SDL_APPACTIVE. If SDL_APPACTIVE is set, then the user is able to 52 | * see your application, otherwise it has been iconified or disabled. 53 | */ 54 | extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void); 55 | 56 | 57 | /* Ends C function definitions when using C++ */ 58 | #ifdef __cplusplus 59 | } 60 | #endif 61 | #include "close_code.h" 62 | 63 | #endif /* _SDL_active_h */ 64 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_byteorder.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file SDL_byteorder.h 25 | * @deprecated Use SDL_endian.h instead 26 | */ 27 | 28 | /* DEPRECATED */ 29 | #include "SDL_endian.h" 30 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_config.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | #ifndef _SDL_config_h 24 | #define _SDL_config_h 25 | 26 | #include "SDL_platform.h" 27 | 28 | /* Add any platform that doesn't build using the configure system */ 29 | #if defined(__DREAMCAST__) 30 | #include "SDL_config_dreamcast.h" 31 | #elif defined(__MACOS__) 32 | #include "SDL_config_macos.h" 33 | #elif defined(__MACOSX__) 34 | #include "SDL_config_macosx.h" 35 | #elif defined(__SYMBIAN32__) 36 | #include "SDL_config_symbian.h" /* must be before win32! */ 37 | #elif defined(__WIN32__) 38 | #include "SDL_config_win32.h" 39 | #elif defined(__OS2__) 40 | #include "SDL_config_os2.h" 41 | #else 42 | #include "SDL_config_minimal.h" 43 | #endif /* platform config */ 44 | 45 | #endif /* _SDL_config_h */ 46 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_config_minimal.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | #ifndef _SDL_config_minimal_h 24 | #define _SDL_config_minimal_h 25 | 26 | #include "SDL_platform.h" 27 | 28 | /* This is the minimal configuration that can be used to build SDL */ 29 | 30 | #include 31 | 32 | typedef signed char int8_t; 33 | typedef unsigned char uint8_t; 34 | typedef signed short int16_t; 35 | typedef unsigned short uint16_t; 36 | typedef signed int int32_t; 37 | typedef unsigned int uint32_t; 38 | typedef unsigned int size_t; 39 | typedef unsigned long uintptr_t; 40 | 41 | /* Enable the dummy audio driver (src/audio/dummy/\*.c) */ 42 | #define SDL_AUDIO_DRIVER_DUMMY 1 43 | 44 | /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ 45 | #define SDL_CDROM_DISABLED 1 46 | 47 | /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */ 48 | #define SDL_JOYSTICK_DISABLED 1 49 | 50 | /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ 51 | #define SDL_LOADSO_DISABLED 1 52 | 53 | /* Enable the stub thread support (src/thread/generic/\*.c) */ 54 | #define SDL_THREADS_DISABLED 1 55 | 56 | /* Enable the stub timer support (src/timer/dummy/\*.c) */ 57 | #define SDL_TIMERS_DISABLED 1 58 | 59 | /* Enable the dummy video driver (src/video/dummy/\*.c) */ 60 | #define SDL_VIDEO_DRIVER_DUMMY 1 61 | 62 | #endif /* _SDL_config_minimal_h */ 63 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_error.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file SDL_error.h 25 | * Simple error message routines for SDL 26 | */ 27 | 28 | #ifndef _SDL_error_h 29 | #define _SDL_error_h 30 | 31 | #include "SDL_stdinc.h" 32 | 33 | #include "begin_code.h" 34 | /* Set up for C function definitions, even when using C++ */ 35 | #ifdef __cplusplus 36 | extern "C" { 37 | #endif 38 | 39 | /** 40 | * @name Public functions 41 | */ 42 | /*@{*/ 43 | extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...); 44 | extern DECLSPEC char * SDLCALL SDL_GetError(void); 45 | extern DECLSPEC void SDLCALL SDL_ClearError(void); 46 | /*@}*/ 47 | 48 | /** 49 | * @name Private functions 50 | * @internal Private error message function - used internally 51 | */ 52 | /*@{*/ 53 | #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) 54 | #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) 55 | typedef enum { 56 | SDL_ENOMEM, 57 | SDL_EFREAD, 58 | SDL_EFWRITE, 59 | SDL_EFSEEK, 60 | SDL_UNSUPPORTED, 61 | SDL_LASTERROR 62 | } SDL_errorcode; 63 | extern DECLSPEC void SDLCALL SDL_Error(SDL_errorcode code); 64 | /*@}*/ 65 | 66 | /* Ends C function definitions when using C++ */ 67 | #ifdef __cplusplus 68 | } 69 | #endif 70 | #include "close_code.h" 71 | 72 | #endif /* _SDL_error_h */ 73 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_getenv.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** @file SDL_getenv.h 24 | * @deprecated Use SDL_stdinc.h instead 25 | */ 26 | 27 | /* DEPRECATED */ 28 | #include "SDL_stdinc.h" 29 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_name.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _SDLname_h_ 3 | #define _SDLname_h_ 4 | 5 | #if defined(__STDC__) || defined(__cplusplus) 6 | #define NeedFunctionPrototypes 1 7 | #endif 8 | 9 | #define SDL_NAME(X) SDL_##X 10 | 11 | #endif /* _SDLname_h_ */ 12 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_quit.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** @file SDL_quit.h 24 | * Include file for SDL quit event handling 25 | */ 26 | 27 | #ifndef _SDL_quit_h 28 | #define _SDL_quit_h 29 | 30 | #include "SDL_stdinc.h" 31 | #include "SDL_error.h" 32 | 33 | /** @file SDL_quit.h 34 | * An SDL_QUITEVENT is generated when the user tries to close the application 35 | * window. If it is ignored or filtered out, the window will remain open. 36 | * If it is not ignored or filtered, it is queued normally and the window 37 | * is allowed to close. When the window is closed, screen updates will 38 | * complete, but have no effect. 39 | * 40 | * SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) 41 | * and SIGTERM (system termination request), if handlers do not already 42 | * exist, that generate SDL_QUITEVENT events as well. There is no way 43 | * to determine the cause of an SDL_QUITEVENT, but setting a signal 44 | * handler in your application will override the default generation of 45 | * quit events for that signal. 46 | */ 47 | 48 | /** @file SDL_quit.h 49 | * There are no functions directly affecting the quit event 50 | */ 51 | 52 | #define SDL_QuitRequested() \ 53 | (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUITMASK)) 54 | 55 | #endif /* _SDL_quit_h */ 56 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/SDL_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** @file SDL_types.h 24 | * @deprecated Use SDL_stdinc.h instead. 25 | */ 26 | 27 | /* DEPRECATED */ 28 | #include "SDL_stdinc.h" 29 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Headers/close_code.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Library General Public 7 | License as published by the Free Software Foundation; either 8 | version 2 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 | Library General Public License for more details. 14 | 15 | You should have received a copy of the GNU Library General Public 16 | License along with this library; if not, write to the Free 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file close_code.h 25 | * This file reverses the effects of begin_code.h and should be included 26 | * after you finish any function and structure declarations in your headers 27 | */ 28 | 29 | #ifndef _begin_code_h 30 | #error close_code.h included without matching begin_code.h 31 | #endif 32 | #undef _begin_code_h 33 | 34 | /* Reset structure packing at previous byte alignment */ 35 | #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) 36 | #ifdef __BORLANDC__ 37 | #pragma nopackwarning 38 | #endif 39 | #if (defined(__MWERKS__) && defined(__MACOS__)) 40 | #pragma options align=reset 41 | #pragma enumsalwaysint reset 42 | #else 43 | #pragma pack(pop) 44 | #endif 45 | #endif /* Compiler needs structure packing set */ 46 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 11C74 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | SDL 11 | CFBundleGetInfoString 12 | http://www.libsdl.org 13 | CFBundleIdentifier 14 | SDL 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Simple DirectMedia Layer 19 | CFBundlePackageType 20 | FMWK 21 | CFBundleShortVersionString 22 | 1.2.16 23 | CFBundleSignature 24 | SDLX 25 | CFBundleVersion 26 | 1.2.16 27 | DTCompiler 28 | 29 | DTPlatformBuild 30 | 10M2518 31 | DTPlatformVersion 32 | PG 33 | DTSDKBuild 34 | 10M2518 35 | DTSDKName 36 | macosx10.6 37 | DTXcode 38 | 0400 39 | DTXcodeBuild 40 | 10M2518 41 | 42 | 43 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/Resources/SDLMain.nib/objects.nib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/SDL.framework/Versions/A/Resources/SDLMain.nib/objects.nib -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/SDL: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/SDL.framework/Versions/A/SDL -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/devel-lite/ReadMeDevLite.txt: -------------------------------------------------------------------------------- 1 | This directory is for developers. This directory contains some basic essentials you will need for developing SDL based applications on OS X. The SDL-devel package contains all of this stuff plus more, so you can ignore this if you install the SDL-devel.pkg. The SDL-devel package contains Xcode templates, SDL documentation, and different variations of SDLmain and NIB files for SDL. 2 | 3 | To compile an SDL based application on OS X, SDLMain.m must be compiled into your program. (See the SDL FAQ). The SDL-devel.pkg includes Xcode templates which already do this for you. But for those who may not want to install the dev package, an SDLMain is provided here as a convenience. Be aware that there are different variations of SDLMain.m depending on what class of SDL application you make and they are intended to work with NIB files. Only one SDLMain variant is provided here and without any NIB files. You should look to the SDL-devel package for the others. We currently do not provide a SDLMain.a file, partly to call to attention that there are different variations of SDLmain. 4 | 5 | To build from the command line, your gcc line will look something like this: 6 | 7 | gcc -I/Library/Frameworks/SDL.framework/Headers MyProgram.c SDLmain.m -framework SDL -framework Cocoa 8 | 9 | An SDL/OpenGL based application might look like: 10 | 11 | gcc -I/Library/Frameworks/SDL.framework/Headers -I/System/Library/Frameworks/OpenGL.framework/Headers MyProgram.c SDLmain.m -framework SDL -framework Cocoa -framework OpenGL 12 | 13 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/A/devel-lite/SDLMain.h: -------------------------------------------------------------------------------- 1 | /* SDLMain.m - main entry point for our Cocoa-ized SDL app 2 | Initial Version: Darrell Walisser 3 | Non-NIB-Code & other changes: Max Horn 4 | 5 | Feel free to customize this file to suit your needs 6 | */ 7 | 8 | #ifndef _SDLMain_h_ 9 | #define _SDLMain_h_ 10 | 11 | #import 12 | 13 | @interface SDLMain : NSObject 14 | @end 15 | 16 | #endif /* _SDLMain_h_ */ 17 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Headers: -------------------------------------------------------------------------------- 1 | Versions/Current/Headers -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Resources: -------------------------------------------------------------------------------- 1 | Versions/Current/Resources -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/SDL2: -------------------------------------------------------------------------------- 1 | Versions/Current/SDL2 -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_clipboard.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_clipboard.h 24 | * 25 | * Include file for SDL clipboard handling 26 | */ 27 | 28 | #ifndef SDL_clipboard_h_ 29 | #define SDL_clipboard_h_ 30 | 31 | #include "SDL_stdinc.h" 32 | 33 | #include "begin_code.h" 34 | /* Set up for C function definitions, even when using C++ */ 35 | #ifdef __cplusplus 36 | extern "C" { 37 | #endif 38 | 39 | /* Function prototypes */ 40 | 41 | /** 42 | * \brief Put UTF-8 text into the clipboard 43 | * 44 | * \sa SDL_GetClipboardText() 45 | */ 46 | extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text); 47 | 48 | /** 49 | * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free() 50 | * 51 | * \sa SDL_SetClipboardText() 52 | */ 53 | extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void); 54 | 55 | /** 56 | * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty 57 | * 58 | * \sa SDL_GetClipboardText() 59 | */ 60 | extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void); 61 | 62 | 63 | /* Ends C function definitions when using C++ */ 64 | #ifdef __cplusplus 65 | } 66 | #endif 67 | #include "close_code.h" 68 | 69 | #endif /* SDL_clipboard_h_ */ 70 | 71 | /* vi: set ts=4 sw=4 expandtab: */ 72 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_config.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #ifndef SDL_config_h_ 23 | #define SDL_config_h_ 24 | 25 | #include "SDL_platform.h" 26 | 27 | /** 28 | * \file SDL_config.h 29 | */ 30 | 31 | /* Add any platform that doesn't build using the configure system. */ 32 | #if defined(__WIN32__) 33 | #include "SDL_config_windows.h" 34 | #elif defined(__WINRT__) 35 | #include "SDL_config_winrt.h" 36 | #elif defined(__MACOSX__) 37 | #include "SDL_config_macosx.h" 38 | #elif defined(__IPHONEOS__) 39 | #include "SDL_config_iphoneos.h" 40 | #elif defined(__ANDROID__) 41 | #include "SDL_config_android.h" 42 | #elif defined(__PSP__) 43 | #include "SDL_config_psp.h" 44 | #elif defined(__OS2__) 45 | #include "SDL_config_os2.h" 46 | #else 47 | /* This is a minimal configuration just to get SDL running on new platforms. */ 48 | #include "SDL_config_minimal.h" 49 | #endif /* platform config */ 50 | 51 | #ifdef USING_GENERATED_CONFIG_H 52 | #error Wrong SDL_config.h, check your include path? 53 | #endif 54 | 55 | #endif /* SDL_config_h_ */ 56 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_gesture.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_gesture.h 24 | * 25 | * Include file for SDL gesture event handling. 26 | */ 27 | 28 | #ifndef SDL_gesture_h_ 29 | #define SDL_gesture_h_ 30 | 31 | #include "SDL_stdinc.h" 32 | #include "SDL_error.h" 33 | #include "SDL_video.h" 34 | 35 | #include "SDL_touch.h" 36 | 37 | 38 | #include "begin_code.h" 39 | /* Set up for C function definitions, even when using C++ */ 40 | #ifdef __cplusplus 41 | extern "C" { 42 | #endif 43 | 44 | typedef Sint64 SDL_GestureID; 45 | 46 | /* Function prototypes */ 47 | 48 | /** 49 | * \brief Begin Recording a gesture on the specified touch, or all touches (-1) 50 | * 51 | * 52 | */ 53 | extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId); 54 | 55 | 56 | /** 57 | * \brief Save all currently loaded Dollar Gesture templates 58 | * 59 | * 60 | */ 61 | extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *dst); 62 | 63 | /** 64 | * \brief Save a currently loaded Dollar Gesture template 65 | * 66 | * 67 | */ 68 | extern DECLSPEC int SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *dst); 69 | 70 | 71 | /** 72 | * \brief Load Dollar Gesture templates from a file 73 | * 74 | * 75 | */ 76 | extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src); 77 | 78 | 79 | /* Ends C function definitions when using C++ */ 80 | #ifdef __cplusplus 81 | } 82 | #endif 83 | #include "close_code.h" 84 | 85 | #endif /* SDL_gesture_h_ */ 86 | 87 | /* vi: set ts=4 sw=4 expandtab: */ 88 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_name.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #ifndef SDLname_h_ 23 | #define SDLname_h_ 24 | 25 | #if defined(__STDC__) || defined(__cplusplus) 26 | #define NeedFunctionPrototypes 1 27 | #endif 28 | 29 | #define SDL_NAME(X) SDL_##X 30 | 31 | #endif /* SDLname_h_ */ 32 | 33 | /* vi: set ts=4 sw=4 expandtab: */ 34 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_opengles.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_opengles.h 24 | * 25 | * This is a simple file to encapsulate the OpenGL ES 1.X API headers. 26 | */ 27 | #include "SDL_config.h" 28 | 29 | #ifdef __IPHONEOS__ 30 | #include 31 | #include 32 | #else 33 | #include 34 | #include 35 | #endif 36 | 37 | #ifndef APIENTRY 38 | #define APIENTRY 39 | #endif 40 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_opengles2.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_opengles2.h 24 | * 25 | * This is a simple file to encapsulate the OpenGL ES 2.0 API headers. 26 | */ 27 | #include "SDL_config.h" 28 | 29 | #ifndef _MSC_VER 30 | 31 | #ifdef __IPHONEOS__ 32 | #include 33 | #include 34 | #else 35 | #include 36 | #include 37 | #include 38 | #endif 39 | 40 | #else /* _MSC_VER */ 41 | 42 | /* OpenGL ES2 headers for Visual Studio */ 43 | #include "SDL_opengles2_khrplatform.h" 44 | #include "SDL_opengles2_gl2platform.h" 45 | #include "SDL_opengles2_gl2.h" 46 | #include "SDL_opengles2_gl2ext.h" 47 | 48 | #endif /* _MSC_VER */ 49 | 50 | #ifndef APIENTRY 51 | #define APIENTRY GL_APIENTRY 52 | #endif 53 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_opengles2_gl2platform.h: -------------------------------------------------------------------------------- 1 | #ifndef __gl2platform_h_ 2 | #define __gl2platform_h_ 3 | 4 | /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ 5 | 6 | /* 7 | * This document is licensed under the SGI Free Software B License Version 8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 9 | */ 10 | 11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 12 | * 13 | * Adopters may modify khrplatform.h and this file to suit their platform. 14 | * You are encouraged to submit all modifications to the Khronos group so that 15 | * they can be included in future versions of this file. Please submit changes 16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) 17 | * by filing a bug against product "OpenGL-ES" component "Registry". 18 | */ 19 | 20 | /*#include */ 21 | 22 | #ifndef GL_APICALL 23 | #define GL_APICALL KHRONOS_APICALL 24 | #endif 25 | 26 | #ifndef GL_APIENTRY 27 | #define GL_APIENTRY KHRONOS_APIENTRY 28 | #endif 29 | 30 | #endif /* __gl2platform_h_ */ 31 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_quit.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_quit.h 24 | * 25 | * Include file for SDL quit event handling. 26 | */ 27 | 28 | #ifndef SDL_quit_h_ 29 | #define SDL_quit_h_ 30 | 31 | #include "SDL_stdinc.h" 32 | #include "SDL_error.h" 33 | 34 | /** 35 | * \file SDL_quit.h 36 | * 37 | * An ::SDL_QUIT event is generated when the user tries to close the application 38 | * window. If it is ignored or filtered out, the window will remain open. 39 | * If it is not ignored or filtered, it is queued normally and the window 40 | * is allowed to close. When the window is closed, screen updates will 41 | * complete, but have no effect. 42 | * 43 | * SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) 44 | * and SIGTERM (system termination request), if handlers do not already 45 | * exist, that generate ::SDL_QUIT events as well. There is no way 46 | * to determine the cause of an ::SDL_QUIT event, but setting a signal 47 | * handler in your application will override the default generation of 48 | * quit events for that signal. 49 | * 50 | * \sa SDL_Quit() 51 | */ 52 | 53 | /* There are no functions directly affecting the quit event */ 54 | 55 | #define SDL_QuitRequested() \ 56 | (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0)) 57 | 58 | #endif /* SDL_quit_h_ */ 59 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_revision.h: -------------------------------------------------------------------------------- 1 | #define SDL_REVISION "hg-13387:8a12cc1abc9e" 2 | #define SDL_REVISION_NUMBER 13387 3 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/SDL_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_types.h 24 | * 25 | * \deprecated 26 | */ 27 | 28 | /* DEPRECATED */ 29 | #include "SDL_stdinc.h" 30 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Headers/close_code.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file close_code.h 24 | * 25 | * This file reverses the effects of begin_code.h and should be included 26 | * after you finish any function and structure declarations in your headers 27 | */ 28 | 29 | #ifndef _begin_code_h 30 | #error close_code.h included without matching begin_code.h 31 | #endif 32 | #undef _begin_code_h 33 | 34 | /* Reset structure packing at previous byte alignment */ 35 | #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) 36 | #ifdef __BORLANDC__ 37 | #pragma nopackwarning 38 | #endif 39 | #pragma pack(pop) 40 | #endif /* Compiler needs structure packing set */ 41 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/Resources/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | BuildMachineOSBuild 6 | 16G29 7 | CFBundleDevelopmentRegion 8 | English 9 | CFBundleExecutable 10 | SDL2 11 | CFBundleGetInfoString 12 | http://www.libsdl.org 13 | CFBundleIdentifier 14 | org.libsdl.SDL2 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Simple DirectMedia Layer 19 | CFBundlePackageType 20 | FMWK 21 | CFBundleShortVersionString 22 | 2.0.11 23 | CFBundleSignature 24 | SDLX 25 | CFBundleSupportedPlatforms 26 | 27 | MacOSX 28 | 29 | CFBundleVersion 30 | 2.0.11 31 | DTCompiler 32 | com.apple.compilers.llvm.clang.1_0 33 | DTPlatformBuild 34 | 9A235 35 | DTPlatformVersion 36 | GM 37 | DTSDKBuild 38 | 17A360 39 | DTSDKName 40 | macosx10.8 41 | DTXcode 42 | 0900 43 | DTXcodeBuild 44 | 9A235 45 | 46 | 47 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/A/SDL2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/SDL2.framework/Versions/A/SDL2 -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDL2.framework/Versions/Current: -------------------------------------------------------------------------------- 1 | A -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDLApplication.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import 22 | 23 | #if !defined(USE_SDL2) 24 | @interface SDLApplication : NSApplication { 25 | 26 | } 27 | 28 | @end 29 | #endif 30 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDLApplication.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import "SDLApplication.h" 22 | 23 | // ericw -- with SDL2, this is unneeded and clashes; it has an SDLApplication class internally which does the same thing 24 | #if !defined(USE_SDL2) 25 | 26 | #if defined(SDL_FRAMEWORK) || defined(NO_SDL_CONFIG) 27 | #import 28 | #else 29 | #import "SDL.h" 30 | #endif 31 | 32 | @implementation SDLApplication 33 | - (void)terminate:(id)sender 34 | { 35 | /* Post a SDL_QUIT event */ 36 | SDL_Event event; 37 | event.type = SDL_QUIT; 38 | SDL_PushEvent(&event); 39 | 40 | [super terminate:sender]; 41 | } 42 | @end 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/SDLMain.h: -------------------------------------------------------------------------------- 1 | /* SDLMain.m - main entry point for our Cocoa-ized SDL app 2 | Initial Version: Darrell Walisser 3 | Non-NIB-Code & other changes: Max Horn 4 | 5 | Feel free to customize this file to suit your needs 6 | */ 7 | 8 | #import 9 | 10 | extern int gArgc; 11 | extern char **gArgv; 12 | extern BOOL gFinderLaunch; 13 | extern BOOL gCalledAppMainline; 14 | 15 | @interface SDLMain : NSObject 16 | @end 17 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/ScreenInfo.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import 22 | 23 | 24 | @interface ScreenInfo : NSObject { 25 | int width; 26 | int height; 27 | int bpp; 28 | NSString *description; 29 | } 30 | 31 | - (id)initWithWidth:(int)w height:(int)h bpp:(int)b; 32 | 33 | - (int)width; 34 | - (int)height; 35 | - (int)bpp; 36 | - (NSString *)description; 37 | 38 | @end 39 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/ScreenInfo.m: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 2007-2008 Kristian Duske 3 | 4 | This program is free software; you can redistribute it and/or 5 | modify it under the terms of the GNU General Public License 6 | as published by the Free Software Foundation; either version 2 7 | of the License, or (at your option) any later version. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | See the GNU General Public License for more details. 14 | 15 | You should have received a copy of the GNU General Public License 16 | along with this program; if not, write to the Free Software 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 18 | 19 | */ 20 | 21 | #import "ScreenInfo.h" 22 | 23 | 24 | @implementation ScreenInfo 25 | 26 | - (id)initWithWidth:(int)w height:(int)h bpp:(int)b { 27 | 28 | self = [super init]; 29 | if (!self) 30 | return nil; 31 | 32 | width = w; 33 | height = h; 34 | bpp = b; 35 | 36 | description = [NSString stringWithFormat:@"%d x %d %d Bit", width, height, bpp]; 37 | 38 | return self; 39 | } 40 | 41 | - (int)width { 42 | 43 | return width; 44 | } 45 | 46 | - (int)height { 47 | 48 | return height; 49 | } 50 | 51 | - (int)bpp { 52 | 53 | return bpp; 54 | } 55 | 56 | - (NSString *)description { 57 | 58 | return description; 59 | } 60 | 61 | @end 62 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/include/flac_config.txt: -------------------------------------------------------------------------------- 1 | FLAC v1.3.0 release + several fixes from the flac git repo at xiph.org. 2 | Decoder-only functionality, which is what we need: the encoder stuff is 3 | left out of the build. 4 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/include/mikmod_config.txt: -------------------------------------------------------------------------------- 1 | libmikmod-3.3.9 (mercurial repo as of 2016-08-12) 2 | only the "nosound" driver (drv_nos) is included, all of 3 | the other libmikmod drivers were made "MISSING" drivers. 4 | we only need/register/use drv_nos here and nothing else. 5 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/include/mpg123_config.txt: -------------------------------------------------------------------------------- 1 | mpg123-1.22.4, configured using: 2 | --disable-modules --disable-debug --disable-fifo --disable-ipv6 --disable-network --disable-messages --disable-lfs-alias --with-audio=dummy 3 | edited src/libmpg123/mpg123lib_intern.h and changed macros 4 | NOQUIET, VERBOSE* and PVERB() to be 0, in order to disable 5 | some debug messages from the library. 6 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/include/ogg/config_types.h: -------------------------------------------------------------------------------- 1 | #ifndef __CONFIG_TYPES_H__ 2 | #define __CONFIG_TYPES_H__ 3 | 4 | /* these are filled in by configure */ 5 | #define INCLUDE_INTTYPES_H 1 6 | #define INCLUDE_STDINT_H 1 7 | #define INCLUDE_SYS_TYPES_H 1 8 | 9 | #if INCLUDE_INTTYPES_H 10 | # include 11 | #endif 12 | #if INCLUDE_STDINT_H 13 | # include 14 | #endif 15 | #if INCLUDE_SYS_TYPES_H 16 | # include 17 | #endif 18 | 19 | typedef int16_t ogg_int16_t; 20 | typedef uint16_t ogg_uint16_t; 21 | typedef int32_t ogg_int32_t; 22 | typedef uint32_t ogg_uint32_t; 23 | typedef int64_t ogg_int64_t; 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/include/opusfile.h: -------------------------------------------------------------------------------- 1 | /* just a wrapper to bypass the pkg-config thingy: the 2 | * headers under opus/ are edited accordingly for this */ 3 | #include 4 | -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libFLAC.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libFLAC.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libmad.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libmad.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libmikmod.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libmikmod.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libmpg123.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libmpg123.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libogg.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libogg.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libopus.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libopus.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libopusfile.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libopusfile.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libvorbis.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libvorbis.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libvorbisfile.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libvorbisfile.dylib -------------------------------------------------------------------------------- /quakespasm/MacOSX/codecs/lib/libxmp.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/MacOSX/codecs/lib/libxmp.dylib -------------------------------------------------------------------------------- /quakespasm/Misc/QuakeSpasm_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Misc/QuakeSpasm_512.png -------------------------------------------------------------------------------- /quakespasm/Misc/fs_search_order.patch: -------------------------------------------------------------------------------- 1 | allow plain files to override files inside a PAK file -- Sander van Dijk. 2 | 3 | Index: Quake/common.c 4 | =================================================================== 5 | --- Quake/common.c (revision 1476) 6 | +++ Quake/common.c (working copy) 7 | @@ -2036,13 +2036,6 @@ static void COM_AddGameDirectory (const 8 | else path_id = 1U; 9 | 10 | _add_path: 11 | - // add the directory to the search path 12 | - search = (searchpath_t *) Z_Malloc(sizeof(searchpath_t)); 13 | - search->path_id = path_id; 14 | - q_strlcpy (search->filename, com_gamedir, sizeof(search->filename)); 15 | - search->next = com_searchpaths; 16 | - com_searchpaths = search; 17 | - 18 | // add any pak files in the format pak0.pak pak1.pak, ... 19 | for (i = 0; ; i++) 20 | { 21 | @@ -2074,6 +2067,13 @@ _add_path: 22 | if (!pak) break; 23 | } 24 | 25 | + // add the directory to the search path -- moved here from before the pakX.pak loop -- svdijk. 26 | + search = (searchpath_t *) Z_Malloc(sizeof(searchpath_t)); 27 | + search->path_id = path_id; 28 | + q_strlcpy (search->filename, com_gamedir, sizeof(search->filename)); 29 | + search->next = com_searchpaths; 30 | + com_searchpaths = search; 31 | + 32 | if (!been_here && host_parms->userdir != host_parms->basedir) 33 | { 34 | been_here = true; 35 | 36 | -------------------------------------------------------------------------------- /quakespasm/Misc/mk_header.c: -------------------------------------------------------------------------------- 1 | /* 2 | gcc -Wall mk_header.c -o mk_header 3 | 4 | dumps the bytes of given input to a C header as 5 | comma separated hexadecimal values. the output 6 | header can be used in a C source like: 7 | 8 | const char bin[] = 9 | { 10 | # include "output.h" 11 | }; 12 | 13 | */ 14 | 15 | #include 16 | #include 17 | #include 18 | 19 | int main (int argc, char **argv) 20 | { 21 | FILE *f; 22 | struct stat s; 23 | unsigned char *buf, *ptr; 24 | const char *output; 25 | long i, j; 26 | 27 | if (argc != 2 && argc != 3) 28 | { 29 | printf ("Usage: mk_header [output]\n" 30 | "Default output file is \"output.h\"\n"); 31 | return 1; 32 | } 33 | 34 | if (stat(argv[1], &s) == -1 || 35 | ! S_ISREG(s.st_mode) ) 36 | { 37 | printf ("Couldn't stat %s\n", argv[1]); 38 | return 1; 39 | } 40 | 41 | if (s.st_size == 0) 42 | { 43 | printf ("%s is an empty file\n", argv[1]); 44 | return 1; 45 | } 46 | 47 | buf = (unsigned char *) malloc (s.st_size); 48 | if (buf == NULL) 49 | { 50 | printf ("Couldn't malloc %ld bytes\n", 51 | (long)s.st_size); 52 | return 1; 53 | } 54 | 55 | f = fopen (argv[1], "rb"); 56 | if (f == NULL) 57 | { 58 | free(buf); 59 | printf ("Couldn't open %s\n", argv[1]); 60 | return 1; 61 | } 62 | 63 | if (fread (buf, 1, s.st_size, f) != (size_t) s.st_size) 64 | { 65 | fclose (f); 66 | free (buf); 67 | printf ("Error reading %s\n", argv[1]); 68 | return 1; 69 | } 70 | fclose (f); 71 | 72 | output = (argc == 3) ? argv[2] : "output.h"; 73 | f = fopen (output, "wb"); 74 | if (!f) 75 | { 76 | free (buf); 77 | printf ("Couldn't open %s\n", output); 78 | return 1; 79 | } 80 | 81 | for (i = 0, j = 0, ptr = buf; i < s.st_size; ++i) 82 | { 83 | fprintf (f, "0x%02x", *ptr++); 84 | if (i == s.st_size - 1) 85 | break; 86 | fprintf (f, ","); 87 | if (++j < 16) 88 | fprintf (f, " "); 89 | else 90 | { 91 | j = 0; 92 | fprintf (f, "\n"); 93 | } 94 | } 95 | fprintf (f, "\n"); 96 | 97 | fclose (f); 98 | free (buf); 99 | 100 | return 0; 101 | } 102 | 103 | -------------------------------------------------------------------------------- /quakespasm/Misc/qs_pak/Makefile: -------------------------------------------------------------------------------- 1 | INPUT := gfx/conback.lmp \ 2 | maps/e1m1.ent \ 3 | maps/e1m2.ent \ 4 | maps/e1m4.ent \ 5 | maps/e2m2.ent \ 6 | maps/e2m3.ent \ 7 | maps/e2m7.ent \ 8 | default.cfg 9 | 10 | OUTPUT := quakespasm.pak 11 | 12 | $(OUTPUT): $(INPUT) 13 | ./mkpak.sh $(INPUT) > $(OUTPUT) 14 | 15 | .PHONY: clean 16 | clean: 17 | rm -f $(OUTPUT) 18 | 19 | -------------------------------------------------------------------------------- /quakespasm/Misc/qs_pak/default.cfg.orig: -------------------------------------------------------------------------------- 1 | // 2 | // load keybindings 3 | // 4 | // commands with a leading + will also be called for key up events with 5 | // the + changed to a - 6 | unbindall 7 | 8 | // 9 | // character controls 10 | // 11 | 12 | bind ALT +strafe 13 | 14 | bind , +moveleft 15 | bind . +moveright 16 | bind DEL +lookdown 17 | bind PGDN +lookup 18 | bind END centerview 19 | bind z +lookdown 20 | bind a +lookup 21 | 22 | bind d +moveup 23 | bind c +movedown 24 | bind SHIFT +speed 25 | bind CTRL +attack 26 | bind UPARROW +forward 27 | bind DOWNARROW +back 28 | bind LEFTARROW +left 29 | bind RIGHTARROW +right 30 | 31 | bind SPACE +jump 32 | bind ENTER +jump 33 | 34 | bind TAB +showscores 35 | 36 | bind 1 "impulse 1" 37 | bind 2 "impulse 2" 38 | bind 3 "impulse 3" 39 | bind 4 "impulse 4" 40 | bind 5 "impulse 5" 41 | bind 6 "impulse 6" 42 | bind 7 "impulse 7" 43 | bind 8 "impulse 8" 44 | 45 | bind 0 "impulse 0" 46 | 47 | bind / "impulse 10" // change weapon 48 | 49 | // zoom 50 | alias zoom_in "sensitivity 2;fov 90;wait;fov 70;wait;fov 50;wait;fov 30;wait;fov 10;wait;fov 5;bind F11 zoom_out" 51 | alias zoom_out "sensitivity 4;fov 5;wait;fov 10;wait;fov 30;wait;fov 50;wait;fov 70;wait;fov 90;bind F11 zoom_in; sensitivity 3" 52 | bind F11 zoom_in 53 | 54 | // Function keys 55 | bind F1 "help" 56 | bind F2 "menu_save" 57 | bind F3 "menu_load" 58 | bind F4 "menu_options" 59 | bind F5 "menu_multiplayer" 60 | bind F6 "echo Quicksaving...; wait; save quick" 61 | bind F9 "echo Quickloading...; wait; load quick" 62 | bind F10 "quit" 63 | bind F12 "screenshot" 64 | 65 | // mouse options 66 | bind \ +mlook 67 | 68 | // 69 | // client environment commands 70 | // 71 | bind PAUSE "pause" 72 | bind ESCAPE "togglemenu" 73 | bind ~ "toggleconsole" 74 | bind ` "toggleconsole" 75 | 76 | bind t "messagemode" 77 | 78 | bind + "sizeup" 79 | bind = "sizeup" 80 | bind - "sizedown" 81 | 82 | bind INS +klook 83 | 84 | // 85 | // mouse buttons 86 | // 87 | bind MOUSE1 +attack 88 | bind MOUSE2 +forward 89 | bind MOUSE3 +mlook 90 | 91 | // 92 | // default cvars 93 | // 94 | viewsize 100 95 | gamma 1.0 96 | volume 0.7 97 | sensitivity 3 98 | 99 | -------------------------------------------------------------------------------- /quakespasm/Misc/qs_pak/gfx/conback.lmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Misc/qs_pak/gfx/conback.lmp -------------------------------------------------------------------------------- /quakespasm/Quake/bgmusic.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Background music handling for Quakespasm (adapted from uHexen2) 3 | * Handles streaming music as raw sound samples and runs the midi driver 4 | * 5 | * Copyright (C) 1999-2005 Id Software, Inc. 6 | * Copyright (C) 2010-2012 O.Sezer 7 | * 8 | * This program 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 (at 11 | * your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, but 14 | * WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 16 | * 17 | * See the GNU General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU General Public License along 20 | * with this program; if not, write to the Free Software Foundation, Inc., 21 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | * 23 | */ 24 | 25 | #ifndef _BGMUSIC_H_ 26 | #define _BGMUSIC_H_ 27 | 28 | extern qboolean bgmloop; 29 | extern cvar_t bgm_extmusic; 30 | 31 | qboolean BGM_Init (void); 32 | void BGM_Shutdown (void); 33 | 34 | void BGM_Play (const char *filename); 35 | void BGM_Stop (void); 36 | void BGM_Update (void); 37 | void BGM_Pause (void); 38 | void BGM_Resume (void); 39 | 40 | void BGM_PlayCDtrack (byte track, qboolean looping); 41 | 42 | #endif /* _BGMUSIC_H_ */ 43 | 44 | -------------------------------------------------------------------------------- /quakespasm/Quake/build_cross_osx-sdl2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -f quakespasm.x86 quakespasm.x86_64 QuakeSpasm 4 | make clean 5 | 6 | OLDPATH=$PATH 7 | MAKE_CMD=make 8 | 9 | OSXBUILD=1 10 | export OSXBUILD 11 | STRIP=/bin/true 12 | export STRIP 13 | 14 | # x86 15 | PATH=/opt/cross_osx-x86.5/usr/bin:$OLDPATH 16 | CC=i686-apple-darwin9-gcc 17 | AS=i686-apple-darwin9-as 18 | AR=i686-apple-darwin9-ar 19 | RANLIB=i686-apple-darwin9-ranlib 20 | LIPO=i686-apple-darwin9-lipo 21 | export PATH CC AS AR RANLIB LIPO 22 | $MAKE_CMD MACH_TYPE=x86 USE_SDL2=1 -f Makefile.darwin $* || exit 1 23 | i686-apple-darwin9-strip -S quakespasm || exit 1 24 | mv quakespasm quakespasm.x86 || exit 1 25 | $MAKE_CMD clean 26 | 27 | # x86_64 28 | PATH=/opt/cross_osx-x86_64/usr/bin:$OLDPATH 29 | CC=x86_64-apple-darwin9-gcc 30 | AS=x86_64-apple-darwin9-as 31 | AR=x86_64-apple-darwin9-ar 32 | RANLIB=x86_64-apple-darwin9-ranlib 33 | LIPO=x86_64-apple-darwin9-lipo 34 | export PATH CC AS AR RANLIB LIPO 35 | $MAKE_CMD MACH_TYPE=x86_64 USE_SDL2=1 -f Makefile.darwin $* || exit 1 36 | x86_64-apple-darwin9-strip -S quakespasm || exit 1 37 | mv quakespasm quakespasm.x86_64 || exit 1 38 | $MAKE_CMD clean 39 | 40 | $LIPO -create -o QuakeSpasm quakespasm.x86 quakespasm.x86_64 || exit 1 41 | 42 | -------------------------------------------------------------------------------- /quakespasm/Quake/build_cross_osx.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -f quakespasm.ppc \ 4 | quakespasm.x86 \ 5 | quakespasm.x86_64 \ 6 | QuakeSpasm 7 | make clean 8 | 9 | OLDPATH=$PATH 10 | MAKE_CMD=make 11 | 12 | OSXBUILD=1 13 | export OSXBUILD 14 | STRIP=/bin/true 15 | export STRIP 16 | 17 | # ppc 18 | PATH=/opt/cross_osx-ppc/bin:$OLDPATH 19 | CC=powerpc-apple-darwin9-gcc 20 | AS=powerpc-apple-darwin9-as 21 | AR=powerpc-apple-darwin9-ar 22 | RANLIB=powerpc-apple-darwin9-ranlib 23 | LIPO=powerpc-apple-darwin9-lipo 24 | export PATH CC AS AR RANLIB LIPO 25 | $MAKE_CMD MACH_TYPE=ppc -f Makefile.darwin $* || exit 1 26 | powerpc-apple-darwin9-strip -S quakespasm || exit 1 27 | mv quakespasm quakespasm.ppc || exit 1 28 | $MAKE_CMD clean 29 | 30 | # x86 31 | PATH=/opt/cross_osx-x86/bin:$OLDPATH 32 | CC=i686-apple-darwin9-gcc 33 | AS=i686-apple-darwin9-as 34 | AR=i686-apple-darwin9-ar 35 | RANLIB=i686-apple-darwin9-ranlib 36 | LIPO=i686-apple-darwin9-lipo 37 | export PATH CC AS AR RANLIB LIPO 38 | $MAKE_CMD MACH_TYPE=x86 -f Makefile.darwin $* || exit 1 39 | i686-apple-darwin9-strip -S quakespasm || exit 1 40 | mv quakespasm quakespasm.x86 || exit 1 41 | $MAKE_CMD clean 42 | 43 | # x86_64 44 | PATH=/opt/cross_osx-x86_64/usr/bin:$OLDPATH 45 | CC=x86_64-apple-darwin9-gcc 46 | AS=x86_64-apple-darwin9-as 47 | AR=x86_64-apple-darwin9-ar 48 | RANLIB=x86_64-apple-darwin9-ranlib 49 | LIPO=x86_64-apple-darwin9-lipo 50 | export PATH CC AS AR RANLIB LIPO 51 | $MAKE_CMD MACH_TYPE=x86_64 -f Makefile.darwin $* || exit 1 52 | x86_64-apple-darwin9-strip -S quakespasm || exit 1 53 | mv quakespasm quakespasm.x86_64 || exit 1 54 | $MAKE_CMD clean 55 | 56 | $LIPO -create -o QuakeSpasm quakespasm.ppc quakespasm.x86 quakespasm.x86_64 || exit 1 57 | 58 | -------------------------------------------------------------------------------- /quakespasm/Quake/build_cross_win32-sdl2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Change this script to meet your needs and/or environment. 4 | 5 | TARGET=i686-w64-mingw32 6 | PREFIX=/opt/cross_win32 7 | 8 | PATH="$PREFIX/bin:$PATH" 9 | export PATH 10 | 11 | MAKE_CMD=make 12 | 13 | CC="$TARGET-gcc" 14 | AS="$TARGET-as" 15 | RANLIB="$TARGET-ranlib" 16 | AR="$TARGET-ar" 17 | WINDRES="$TARGET-windres" 18 | STRIP="$TARGET-strip" 19 | export PATH CC AS AR RANLIB WINDRES STRIP 20 | 21 | exec $MAKE_CMD USE_SDL2=1 WINSOCK2=1 CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w32 $* 22 | -------------------------------------------------------------------------------- /quakespasm/Quake/build_cross_win32.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Change this script to meet your needs and/or environment. 4 | 5 | #TARGET=i686-w64-mingw32 6 | TARGET=i686-pc-mingw32 7 | #PREFIX=/opt/cross_win32 8 | PREFIX=/usr/local/cross-win32 9 | 10 | PATH="$PREFIX/bin:$PATH" 11 | export PATH 12 | 13 | MAKE_CMD=make 14 | 15 | CC="$TARGET-gcc" 16 | AS="$TARGET-as" 17 | RANLIB="$TARGET-ranlib" 18 | AR="$TARGET-ar" 19 | WINDRES="$TARGET-windres" 20 | STRIP="$TARGET-strip" 21 | export PATH CC AS AR RANLIB WINDRES STRIP 22 | 23 | exec $MAKE_CMD CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w32 $* 24 | -------------------------------------------------------------------------------- /quakespasm/Quake/build_cross_win64-sdl2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Change this script to meet your needs and/or environment. 4 | 5 | TARGET=x86_64-w64-mingw32 6 | PREFIX=/opt/cross_win64 7 | 8 | PATH="$PREFIX/bin:$PATH" 9 | export PATH 10 | 11 | MAKE_CMD=make 12 | 13 | CC="$TARGET-gcc" 14 | AS="$TARGET-as" 15 | RANLIB="$TARGET-ranlib" 16 | AR="$TARGET-ar" 17 | WINDRES="$TARGET-windres" 18 | STRIP="$TARGET-strip" 19 | export PATH CC AS AR RANLIB WINDRES STRIP 20 | 21 | exec $MAKE_CMD USE_SDL2=1 CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w64 $* 22 | -------------------------------------------------------------------------------- /quakespasm/Quake/build_cross_win64.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Change this script to meet your needs and/or environment. 4 | 5 | TARGET=x86_64-w64-mingw32 6 | PREFIX=/opt/cross_win64 7 | 8 | PATH="$PREFIX/bin:$PATH" 9 | export PATH 10 | 11 | MAKE_CMD=make 12 | 13 | CC="$TARGET-gcc" 14 | AS="$TARGET-as" 15 | RANLIB="$TARGET-ranlib" 16 | AR="$TARGET-ar" 17 | WINDRES="$TARGET-windres" 18 | STRIP="$TARGET-strip" 19 | export PATH CC AS AR RANLIB WINDRES STRIP 20 | 21 | exec $MAKE_CMD CC=$CC AS=$AS RANLIB=$RANLIB AR=$AR WINDRES=$WINDRES STRIP=$STRIP -f Makefile.w64 $* 22 | -------------------------------------------------------------------------------- /quakespasm/Quake/cd_null.c: -------------------------------------------------------------------------------- 1 | /* 2 | * cd_null.c 3 | * 4 | * This program is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2 of the License, or (at 7 | * your option) any later version. 8 | * 9 | * This program is distributed in the hope that it will be useful, but 10 | * WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | * 13 | * See the GNU General Public License for more details. 14 | * 15 | * You should have received a copy of the GNU General Public License along 16 | * with this program; if not, write to the Free Software Foundation, Inc., 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 18 | */ 19 | 20 | 21 | #include "quakedef.h" 22 | 23 | int CDAudio_Play(byte track, qboolean looping) 24 | { 25 | return -1; 26 | } 27 | 28 | void CDAudio_Stop(void) 29 | { 30 | } 31 | 32 | void CDAudio_Pause(void) 33 | { 34 | } 35 | 36 | void CDAudio_Resume(void) 37 | { 38 | } 39 | 40 | void CDAudio_Update(void) 41 | { 42 | } 43 | 44 | int CDAudio_Init(void) 45 | { 46 | Con_Printf("CDAudio disabled at compile time\n"); 47 | return -1; 48 | } 49 | 50 | void CDAudio_Shutdown(void) 51 | { 52 | } 53 | 54 | -------------------------------------------------------------------------------- /quakespasm/Quake/cdaudio.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef __CDAUDIO_H 23 | #define __CDAUDIO_H 24 | 25 | int CDAudio_Init (void); 26 | int CDAudio_Play (byte track, qboolean looping); 27 | /* returns 0 for success, -1 for failure. */ 28 | void CDAudio_Stop (void); 29 | void CDAudio_Pause (void); 30 | void CDAudio_Resume (void); 31 | void CDAudio_Shutdown (void); 32 | void CDAudio_Update (void); 33 | 34 | #endif /* __CDAUDIO_H */ 35 | 36 | -------------------------------------------------------------------------------- /quakespasm/Quake/cfgfile.h: -------------------------------------------------------------------------------- 1 | /* 2 | * cfgfile.h -- misc reads from the config file 3 | * 4 | * Copyright (C) 2008-2012 O.Sezer 5 | * 6 | * This program is free software; you can redistribute it and/or modify 7 | * it under the terms of the GNU General Public License as published by 8 | * the Free Software Foundation; either version 2 of the License, or (at 9 | * your option) any later version. 10 | * 11 | * This program is distributed in the hope that it will be useful, but 12 | * WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | * 15 | * See the GNU General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU General Public License along 18 | * with this program; if not, write to the Free Software Foundation, Inc., 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef __CFGFILE_H 23 | #define __CFGFILE_H 24 | 25 | int CFG_OpenConfig (const char *cfg_name); 26 | // opens the given config file. only one open config file is 27 | // kept: previosly opened one, if any, will be closed. 28 | 29 | void CFG_CloseConfig (void); 30 | // closes the currently open config file. 31 | 32 | void CFG_ReadCvars (const char **vars, int num_vars); 33 | // reads the values of cvars in the given list from the opened 34 | // config file. 35 | 36 | void CFG_ReadCvarOverrides (const char **vars, int num_vars); 37 | // convenience function, reading the "+" command line override 38 | // values of cvars in the given list. doesn't do anything with 39 | // the config file. call this after CFG_ReadCvars() and before 40 | // locking your cvars. 41 | 42 | #endif /* __CFGFILE_H */ 43 | -------------------------------------------------------------------------------- /quakespasm/Quake/console.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef __CONSOLE_H 24 | #define __CONSOLE_H 25 | 26 | // 27 | // console 28 | // 29 | extern int con_totallines; 30 | extern int con_backscroll; 31 | extern qboolean con_forcedup; // because no entities to refresh 32 | extern qboolean con_initialized; 33 | extern byte *con_chars; 34 | 35 | extern char con_lastcenterstring[]; //johnfitz 36 | 37 | void Con_DrawCharacter (int cx, int line, int num); 38 | 39 | void Con_CheckResize (void); 40 | void Con_Init (void); 41 | void Con_DrawConsole (int lines, qboolean drawinput); 42 | void Con_Printf (const char *fmt, ...) FUNC_PRINTF(1,2); 43 | void Con_DWarning (const char *fmt, ...) FUNC_PRINTF(1,2); //ericw 44 | void Con_Warning (const char *fmt, ...) FUNC_PRINTF(1,2); //johnfitz 45 | void Con_DPrintf (const char *fmt, ...) FUNC_PRINTF(1,2); 46 | void Con_DPrintf2 (const char *fmt, ...) FUNC_PRINTF(1,2); //johnfitz 47 | void Con_SafePrintf (const char *fmt, ...) FUNC_PRINTF(1,2); 48 | void Con_DrawNotify (void); 49 | void Con_ClearNotify (void); 50 | void Con_ToggleConsole_f (void); 51 | 52 | void Con_NotifyBox (const char *text); // during startup for sound / cd warnings 53 | 54 | void Con_Show (void); 55 | void Con_Hide (void); 56 | 57 | const char *Con_Quakebar (int len); 58 | void Con_TabComplete (void); 59 | void Con_LogCenterPrint (const char *str); 60 | 61 | // 62 | // debuglog 63 | // 64 | void LOG_Init (quakeparms_t *parms); 65 | void LOG_Close (void); 66 | void Con_DebugLog (const char *msg); 67 | 68 | #endif /* __CONSOLE_H */ 69 | 70 | -------------------------------------------------------------------------------- /quakespasm/Quake/crc.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef _QUAKE_CRC_H 23 | #define _QUAKE_CRC_H 24 | 25 | /* crc.h */ 26 | 27 | void CRC_Init(unsigned short *crcvalue); 28 | void CRC_ProcessByte(unsigned short *crcvalue, byte data); 29 | unsigned short CRC_Value(unsigned short crcvalue); 30 | unsigned short CRC_Block (const byte *start, int count); //johnfitz -- texture crc 31 | 32 | #endif /* _QUAKE_CRC_H */ 33 | 34 | -------------------------------------------------------------------------------- /quakespasm/Quake/detect.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | # script from loki_setup tools 4 | 5 | DetectARCH() 6 | { 7 | status=1 8 | case `uname -m` in 9 | amd64 | x86_64) 10 | echo "x86_64" 11 | status=0;; 12 | i?86 | i86*) 13 | echo "x86" 14 | status=0;; 15 | 90*/*) 16 | echo "hppa" 17 | status=0;; 18 | *) 19 | case `uname -s` in 20 | IRIX*) 21 | echo "mips" 22 | status=0;; 23 | AIX*) 24 | echo "ppc" 25 | status=0;; 26 | *) 27 | arch=`uname -p 2> /dev/null || uname -m` 28 | if test "$arch" = powerpc; then 29 | echo "ppc" 30 | else 31 | echo $arch 32 | fi 33 | status=0;; 34 | esac 35 | esac 36 | return $status 37 | } 38 | 39 | DetectOS() 40 | { 41 | os=`uname -s` 42 | if test "$os" = "OpenUNIX"; then 43 | echo SCO_SV 44 | else 45 | echo $os 46 | fi 47 | return 0 48 | } 49 | 50 | if test "$1" = "os"; then 51 | result=`DetectOS` 52 | elif test "$1" = "arch"; then 53 | result=`DetectARCH` 54 | else 55 | result="OS: `DetectOS`, Arch: `DetectARCH`" 56 | fi 57 | 58 | status="$?" 59 | echo $result 60 | 61 | exit $status 62 | 63 | -------------------------------------------------------------------------------- /quakespasm/Quake/draw.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef _QUAKE_DRAW_H 24 | #define _QUAKE_DRAW_H 25 | 26 | // draw.h -- these are the only functions outside the refresh allowed 27 | // to touch the vid buffer 28 | 29 | extern qpic_t *draw_disc; // also used on sbar 30 | 31 | void Draw_Init (void); 32 | void Draw_Character (int x, int y, int num); 33 | void Draw_DebugChar (char num); 34 | void Draw_Pic (int x, int y, qpic_t *pic); 35 | void Draw_TransPicTranslate (int x, int y, qpic_t *pic, int top, int bottom); //johnfitz -- more parameters 36 | void Draw_ConsoleBackground (void); //johnfitz -- removed parameter int lines 37 | void Draw_TileClear (int x, int y, int w, int h); 38 | void Draw_Fill (int x, int y, int w, int h, int c, float alpha); //johnfitz -- added alpha 39 | void Draw_FadeScreen (void); 40 | void Draw_String (int x, int y, const char *str); 41 | qpic_t *Draw_PicFromWad (const char *name); 42 | qpic_t *Draw_CachePic (const char *path); 43 | void Draw_NewGame (void); 44 | 45 | void GL_SetCanvas (canvastype newcanvas); //johnfitz 46 | 47 | #endif /* _QUAKE_DRAW_H */ 48 | 49 | -------------------------------------------------------------------------------- /quakespasm/Quake/image.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef GL_IMAGE_H 24 | #define GL_IMAGE_H 25 | 26 | //image.h -- image reading / writing 27 | 28 | //be sure to free the hunk after using these loading functions 29 | byte *Image_LoadTGA (FILE *f, int *width, int *height); 30 | byte *Image_LoadPCX (FILE *f, int *width, int *height); 31 | byte *Image_LoadImage (const char *name, int *width, int *height); 32 | 33 | qboolean Image_WriteTGA (const char *name, byte *data, int width, int height, int bpp, qboolean upsidedown); 34 | qboolean Image_WritePNG (const char *name, byte *data, int width, int height, int bpp, qboolean upsidedown); 35 | qboolean Image_WriteJPG (const char *name, byte *data, int width, int height, int bpp, int quality, qboolean upsidedown); 36 | 37 | #endif /* GL_IMAGE_H */ 38 | 39 | -------------------------------------------------------------------------------- /quakespasm/Quake/input.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef _QUAKE_INPUT_H 23 | #define _QUAKE_INPUT_H 24 | 25 | // input.h -- external (non-keyboard) input devices 26 | 27 | void IN_Init (void); 28 | 29 | void IN_Shutdown (void); 30 | 31 | void IN_Commands (void); 32 | // oportunity for devices to stick commands on the script buffer 33 | 34 | // mouse moved by dx and dy pixels 35 | void IN_MouseMotion(int dx, int dy); 36 | 37 | 38 | void IN_SendKeyEvents (void); 39 | // used as a callback for Sys_SendKeyEvents() by some drivers 40 | 41 | void IN_UpdateInputMode (void); 42 | // do stuff if input mode (text/non-text) changes matter to the keyboard driver 43 | 44 | void IN_Move (usercmd_t *cmd); 45 | // add additional movement on top of the keyboard move cmd 46 | 47 | void IN_ClearStates (void); 48 | // restores all button and position states to defaults 49 | 50 | // called when the app becomes active 51 | void IN_Activate (); 52 | 53 | // called when the app becomes inactive 54 | void IN_Deactivate (qboolean free_cursor); 55 | 56 | #ifdef __SWITCH__ 57 | qboolean IN_SwitchKeyboard(char *out, int out_len); 58 | #endif 59 | 60 | #endif /* _QUAKE_INPUT_H */ 61 | 62 | -------------------------------------------------------------------------------- /quakespasm/Quake/menu.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef _QUAKE_MENU_H 24 | #define _QUAKE_MENU_H 25 | 26 | enum m_state_e { 27 | m_none, 28 | m_main, 29 | m_singleplayer, 30 | m_load, 31 | m_save, 32 | m_multiplayer, 33 | m_setup, 34 | m_net, 35 | m_options, 36 | m_video, 37 | m_keys, 38 | m_joystick, 39 | m_help, 40 | m_quit, 41 | m_lanconfig, 42 | m_gameoptions, 43 | m_search, 44 | m_slist, 45 | #ifdef __SWITCH__ 46 | m_mods, 47 | #endif 48 | }; 49 | 50 | extern enum m_state_e m_state; 51 | extern enum m_state_e m_return_state; 52 | 53 | extern qboolean m_entersound; 54 | 55 | // 56 | // menus 57 | // 58 | void M_Init (void); 59 | void M_Keydown (int key); 60 | void M_Charinput (int key); 61 | qboolean M_TextEntry (void); 62 | void M_ToggleMenu_f (void); 63 | 64 | void M_Menu_Main_f (void); 65 | void M_Menu_Options_f (void); 66 | void M_Menu_Quit_f (void); 67 | 68 | void M_Print (int cx, int cy, const char *str); 69 | void M_PrintWhite (int cx, int cy, const char *str); 70 | 71 | void M_Draw (void); 72 | void M_DrawCharacter (int cx, int line, int num); 73 | 74 | void M_DrawPic (int x, int y, qpic_t *pic); 75 | void M_DrawTransPic (int x, int y, qpic_t *pic); 76 | void M_DrawCheckbox (int x, int y, int on); 77 | 78 | #endif /* _QUAKE_MENU_H */ 79 | 80 | -------------------------------------------------------------------------------- /quakespasm/Quake/net_bsd.c: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-1997 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #include "q_stdinc.h" 23 | #include "arch_def.h" 24 | #include "net_sys.h" 25 | #include "quakedef.h" 26 | #include "net_defs.h" 27 | 28 | #include "net_dgrm.h" 29 | #include "net_loop.h" 30 | 31 | net_driver_t net_drivers[] = 32 | { 33 | { "Loopback", 34 | false, 35 | Loop_Init, 36 | Loop_Listen, 37 | Loop_SearchForHosts, 38 | Loop_Connect, 39 | Loop_CheckNewConnections, 40 | Loop_GetMessage, 41 | Loop_SendMessage, 42 | Loop_SendUnreliableMessage, 43 | Loop_CanSendMessage, 44 | Loop_CanSendUnreliableMessage, 45 | Loop_Close, 46 | Loop_Shutdown 47 | }, 48 | 49 | { "Datagram", 50 | false, 51 | Datagram_Init, 52 | Datagram_Listen, 53 | Datagram_SearchForHosts, 54 | Datagram_Connect, 55 | Datagram_CheckNewConnections, 56 | Datagram_GetMessage, 57 | Datagram_SendMessage, 58 | Datagram_SendUnreliableMessage, 59 | Datagram_CanSendMessage, 60 | Datagram_CanSendUnreliableMessage, 61 | Datagram_Close, 62 | Datagram_Shutdown 63 | } 64 | }; 65 | 66 | const int net_numdrivers = (sizeof(net_drivers) / sizeof(net_drivers[0])); 67 | 68 | #include "net_udp.h" 69 | 70 | net_landriver_t net_landrivers[] = 71 | { 72 | { "UDP", 73 | false, 74 | 0, 75 | UDP_Init, 76 | UDP_Shutdown, 77 | UDP_Listen, 78 | UDP_OpenSocket, 79 | UDP_CloseSocket, 80 | UDP_Connect, 81 | UDP_CheckNewConnections, 82 | UDP_Read, 83 | UDP_Write, 84 | UDP_Broadcast, 85 | UDP_AddrToString, 86 | UDP_StringToAddr, 87 | UDP_GetSocketAddr, 88 | UDP_GetNameFromAddr, 89 | UDP_GetAddrFromName, 90 | UDP_AddrCompare, 91 | UDP_GetSocketPort, 92 | UDP_SetSocketPort 93 | } 94 | }; 95 | 96 | const int net_numlandrivers = (sizeof(net_landrivers) / sizeof(net_landrivers[0])); 97 | 98 | -------------------------------------------------------------------------------- /quakespasm/Quake/net_dgrm.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef __NET_DATAGRAM_H 23 | #define __NET_DATAGRAM_H 24 | 25 | int Datagram_Init (void); 26 | void Datagram_Listen (qboolean state); 27 | void Datagram_SearchForHosts (qboolean xmit); 28 | qsocket_t *Datagram_Connect (const char *host); 29 | qsocket_t *Datagram_CheckNewConnections (void); 30 | int Datagram_GetMessage (qsocket_t *sock); 31 | int Datagram_SendMessage (qsocket_t *sock, sizebuf_t *data); 32 | int Datagram_SendUnreliableMessage (qsocket_t *sock, sizebuf_t *data); 33 | qboolean Datagram_CanSendMessage (qsocket_t *sock); 34 | qboolean Datagram_CanSendUnreliableMessage (qsocket_t *sock); 35 | void Datagram_Close (qsocket_t *sock); 36 | void Datagram_Shutdown (void); 37 | 38 | #endif /* __NET_DATAGRAM_H */ 39 | 40 | -------------------------------------------------------------------------------- /quakespasm/Quake/net_loop.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef __NET_LOOP_H 23 | #define __NET_LOOP_H 24 | 25 | // net_loop.h 26 | int Loop_Init (void); 27 | void Loop_Listen (qboolean state); 28 | void Loop_SearchForHosts (qboolean xmit); 29 | qsocket_t *Loop_Connect (const char *host); 30 | qsocket_t *Loop_CheckNewConnections (void); 31 | int Loop_GetMessage (qsocket_t *sock); 32 | int Loop_SendMessage (qsocket_t *sock, sizebuf_t *data); 33 | int Loop_SendUnreliableMessage (qsocket_t *sock, sizebuf_t *data); 34 | qboolean Loop_CanSendMessage (qsocket_t *sock); 35 | qboolean Loop_CanSendUnreliableMessage (qsocket_t *sock); 36 | void Loop_Close (qsocket_t *sock); 37 | void Loop_Shutdown (void); 38 | 39 | #endif /* __NET_LOOP_H */ 40 | 41 | -------------------------------------------------------------------------------- /quakespasm/Quake/net_udp.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-1997 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef __net_udp_h 23 | #define __net_udp_h 24 | 25 | sys_socket_t UDP_Init (void); 26 | void UDP_Shutdown (void); 27 | void UDP_Listen (qboolean state); 28 | sys_socket_t UDP_OpenSocket (int port); 29 | int UDP_CloseSocket (sys_socket_t socketid); 30 | int UDP_Connect (sys_socket_t socketid, struct qsockaddr *addr); 31 | sys_socket_t UDP_CheckNewConnections (void); 32 | int UDP_Read (sys_socket_t socketid, byte *buf, int len, struct qsockaddr *addr); 33 | int UDP_Write (sys_socket_t socketid, byte *buf, int len, struct qsockaddr *addr); 34 | int UDP_Broadcast (sys_socket_t socketid, byte *buf, int len); 35 | const char *UDP_AddrToString (struct qsockaddr *addr); 36 | int UDP_StringToAddr (const char *string, struct qsockaddr *addr); 37 | int UDP_GetSocketAddr (sys_socket_t socketid, struct qsockaddr *addr); 38 | int UDP_GetNameFromAddr (struct qsockaddr *addr, char *name); 39 | int UDP_GetAddrFromName (const char *name, struct qsockaddr *addr); 40 | int UDP_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2); 41 | int UDP_GetSocketPort (struct qsockaddr *addr); 42 | int UDP_SetSocketPort (struct qsockaddr *addr, int port); 43 | 44 | #endif /* __net_udp_h */ 45 | 46 | -------------------------------------------------------------------------------- /quakespasm/Quake/net_wins.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef __NET_WINSOCK_H 23 | #define __NET_WINSOCK_H 24 | 25 | sys_socket_t WINS_Init (void); 26 | void WINS_Shutdown (void); 27 | void WINS_Listen (qboolean state); 28 | sys_socket_t WINS_OpenSocket (int port); 29 | int WINS_CloseSocket (sys_socket_t socketid); 30 | int WINS_Connect (sys_socket_t socketid, struct qsockaddr *addr); 31 | sys_socket_t WINS_CheckNewConnections (void); 32 | int WINS_Read (sys_socket_t socketid, byte *buf, int len, struct qsockaddr *addr); 33 | int WINS_Write (sys_socket_t socketid, byte *buf, int len, struct qsockaddr *addr); 34 | int WINS_Broadcast (sys_socket_t socketid, byte *buf, int len); 35 | const char *WINS_AddrToString (struct qsockaddr *addr); 36 | int WINS_StringToAddr (const char *string, struct qsockaddr *addr); 37 | int WINS_GetSocketAddr (sys_socket_t socketid, struct qsockaddr *addr); 38 | int WINS_GetNameFromAddr (struct qsockaddr *addr, char *name); 39 | int WINS_GetAddrFromName (const char *name, struct qsockaddr *addr); 40 | int WINS_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2); 41 | int WINS_GetSocketPort (struct qsockaddr *addr); 42 | int WINS_SetSocketPort (struct qsockaddr *addr, int port); 43 | 44 | #endif /* __NET_WINSOCK_H */ 45 | 46 | -------------------------------------------------------------------------------- /quakespasm/Quake/net_wipx.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef __NET_WINIPX_H 23 | #define __NET_WINIPX_H 24 | 25 | sys_socket_t WIPX_Init (void); 26 | void WIPX_Shutdown (void); 27 | void WIPX_Listen (qboolean state); 28 | sys_socket_t WIPX_OpenSocket (int port); 29 | int WIPX_CloseSocket (sys_socket_t socketid); 30 | int WIPX_Connect (sys_socket_t socketid, struct qsockaddr *addr); 31 | sys_socket_t WIPX_CheckNewConnections (void); 32 | int WIPX_Read (sys_socket_t socketid, byte *buf, int len, struct qsockaddr *addr); 33 | int WIPX_Write (sys_socket_t socketid, byte *buf, int len, struct qsockaddr *addr); 34 | int WIPX_Broadcast (sys_socket_t socketid, byte *buf, int len); 35 | const char *WIPX_AddrToString (struct qsockaddr *addr); 36 | int WIPX_StringToAddr (const char *string, struct qsockaddr *addr); 37 | int WIPX_GetSocketAddr (sys_socket_t socketid, struct qsockaddr *addr); 38 | int WIPX_GetNameFromAddr (struct qsockaddr *addr, char *name); 39 | int WIPX_GetAddrFromName (const char *name, struct qsockaddr *addr); 40 | int WIPX_AddrCompare (struct qsockaddr *addr1, struct qsockaddr *addr2); 41 | int WIPX_GetSocketPort (struct qsockaddr *addr); 42 | int WIPX_SetSocketPort (struct qsockaddr *addr, int port); 43 | 44 | #endif /* __NET_WINIPX_H */ 45 | 46 | -------------------------------------------------------------------------------- /quakespasm/Quake/platform.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2005 John Fitzgibbons and others 4 | Copyright (C) 2007-2008 Kristian Duske 5 | Copyright (C) 2010-2014 QuakeSpasm developers 6 | 7 | This program is free software; you can redistribute it and/or 8 | modify it under the terms of the GNU General Public License 9 | as published by the Free Software Foundation; either version 2 10 | of the License, or (at your option) any later version. 11 | 12 | This program 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. 15 | 16 | See the GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with this program; if not, write to the Free Software 20 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 21 | 22 | */ 23 | 24 | #ifndef _QUAKE_PLATFORM_H 25 | #define _QUAKE_PLATFORM_H 26 | 27 | /* platform dependent way to set the window icon */ 28 | void PL_SetWindowIcon(void); 29 | 30 | /* platform dependent cleanup */ 31 | void PL_VID_Shutdown (void); 32 | 33 | /* retrieve text from the clipboard (returns Z_Malloc()'ed data) */ 34 | char *PL_GetClipboardData (void); 35 | 36 | /* show an error dialog */ 37 | void PL_ErrorDialog(const char *text); 38 | 39 | #endif /* _QUAKE_PLATFORM_H */ 40 | 41 | -------------------------------------------------------------------------------- /quakespasm/Quake/progdefs.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef __PROGDEFS_H 23 | #define __PROGDEFS_H 24 | 25 | #include "progdefs.q1" 26 | 27 | #endif /* __PROGDEFS_H */ 28 | 29 | -------------------------------------------------------------------------------- /quakespasm/Quake/quakespasm.pak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Quake/quakespasm.pak -------------------------------------------------------------------------------- /quakespasm/Quake/resource.h: -------------------------------------------------------------------------------- 1 | #ifndef _QUAKE_RESOURCE_H 2 | #define _QUAKE_RESOURCE_H 3 | 4 | //{{NO_DEPENDENCIES}} 5 | // Microsoft Developer Studio generated include file. 6 | // Used by winquake.rc 7 | // 8 | #define IDS_STRING1 1 9 | #define IDI_ICON2 1 10 | #define IDD_DIALOG1 108 11 | #define IDD_PROGRESS 109 12 | #define IDC_PROGRESS 1000 13 | 14 | // Next default values for new objects 15 | // 16 | #ifdef APSTUDIO_INVOKED 17 | #ifndef APSTUDIO_READONLY_SYMBOLS 18 | #define _APS_NEXT_RESOURCE_VALUE 113 19 | #define _APS_NEXT_COMMAND_VALUE 40001 20 | #define _APS_NEXT_CONTROL_VALUE 1004 21 | #define _APS_NEXT_SYMED_VALUE 101 22 | #endif 23 | #endif 24 | 25 | #endif /* _QUAKE_RESOURCE_H */ 26 | 27 | -------------------------------------------------------------------------------- /quakespasm/Quake/sbar.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef _QUAKE_SBAR_H 24 | #define _QUAKE_SBAR_H 25 | 26 | // the status bar is only redrawn if something has changed, but if anything 27 | // does, the entire thing will be redrawn for the next vid.numpages frames. 28 | 29 | extern int sb_lines; // scan lines to draw 30 | 31 | void Sbar_Init (void); 32 | void Sbar_LoadPics (void); 33 | 34 | void Sbar_Changed (void); 35 | // call whenever any of the client stats represented on the sbar changes 36 | 37 | void Sbar_Draw (void); 38 | // called every frame by screen 39 | 40 | void Sbar_IntermissionOverlay (void); 41 | // called each frame after the level has been completed 42 | 43 | void Sbar_FinaleOverlay (void); 44 | 45 | #endif /* _QUAKE_SBAR_H */ 46 | 47 | -------------------------------------------------------------------------------- /quakespasm/Quake/screen.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef _QUAKE_SCREEN_H 24 | #define _QUAKE_SCREEN_H 25 | 26 | // screen.h 27 | 28 | void SCR_Init (void); 29 | void SCR_LoadPics (void); 30 | 31 | void SCR_UpdateScreen (void); 32 | 33 | 34 | void SCR_SizeUp (void); 35 | void SCR_SizeDown (void); 36 | void SCR_BringDownConsole (void); 37 | void SCR_CenterPrint (const char *str); 38 | 39 | void SCR_BeginLoadingPlaque (void); 40 | void SCR_EndLoadingPlaque (void); 41 | 42 | int SCR_ModalMessage (const char *text, float timeout); //johnfitz -- added timeout 43 | 44 | extern float scr_con_current; 45 | extern float scr_conlines; // lines of console to display 46 | 47 | extern int sb_lines; 48 | 49 | extern int clearnotify; // set to 0 whenever notify text is drawn 50 | extern qboolean scr_disabled_for_loading; 51 | extern qboolean scr_skipupdate; 52 | 53 | extern cvar_t scr_viewsize; 54 | 55 | extern cvar_t scr_sbaralpha; //johnfitz 56 | 57 | void SCR_UpdateWholeScreen (void); 58 | 59 | //johnfitz -- stuff for 2d drawing control 60 | typedef enum { 61 | CANVAS_NONE, 62 | CANVAS_DEFAULT, 63 | CANVAS_CONSOLE, 64 | CANVAS_MENU, 65 | CANVAS_SBAR, 66 | CANVAS_WARPIMAGE, 67 | CANVAS_CROSSHAIR, 68 | CANVAS_BOTTOMLEFT, 69 | CANVAS_BOTTOMRIGHT, 70 | CANVAS_TOPRIGHT, 71 | CANVAS_INVALID = -1 72 | } canvastype; 73 | extern cvar_t scr_menuscale; 74 | extern cvar_t scr_sbarscale; 75 | extern cvar_t scr_conwidth; 76 | extern cvar_t scr_conscale; 77 | extern cvar_t scr_scale; 78 | extern cvar_t scr_crosshairscale; 79 | //johnfitz 80 | 81 | extern int scr_tileclear_updates; //johnfitz 82 | 83 | #endif /* _QUAKE_SCREEN_H */ 84 | 85 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_codeci.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Audio Codecs: Adapted from ioquake3 with changes. 3 | * For now, only handles streaming music, not sound effects. 4 | * 5 | * Copyright (C) 1999-2005 Id Software, Inc. 6 | * Copyright (C) 2005 Stuart Dalton 7 | * Copyright (C) 2010-2012 O.Sezer 8 | * 9 | * This program is free software; you can redistribute it and/or modify 10 | * it under the terms of the GNU General Public License as published by 11 | * the Free Software Foundation; either version 2 of the License, or (at 12 | * your option) any later version. 13 | * 14 | * This program is distributed in the hope that it will be useful, but 15 | * WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 17 | * 18 | * See the GNU General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU General Public License along 21 | * with this program; if not, write to the Free Software Foundation, Inc., 22 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 23 | * 24 | */ 25 | 26 | #ifndef _SND_CODECI_H_ 27 | #define _SND_CODECI_H_ 28 | 29 | /* Codec internals */ 30 | typedef qboolean (*CODEC_INIT)(void); 31 | typedef void (*CODEC_SHUTDOWN)(void); 32 | typedef qboolean (*CODEC_OPEN)(snd_stream_t *stream); 33 | typedef int (*CODEC_READ)(snd_stream_t *stream, int bytes, void *buffer); 34 | typedef int (*CODEC_REWIND)(snd_stream_t *stream); 35 | typedef void (*CODEC_CLOSE)(snd_stream_t *stream); 36 | 37 | struct snd_codec_s 38 | { 39 | unsigned int type; /* handled data type. (1U << n) */ 40 | qboolean initialized; /* init succeedded */ 41 | const char *ext; /* expected extension */ 42 | CODEC_INIT initialize; 43 | CODEC_SHUTDOWN shutdown; 44 | CODEC_OPEN codec_open; 45 | CODEC_READ codec_read; 46 | CODEC_REWIND codec_rewind; 47 | CODEC_CLOSE codec_close; 48 | snd_codec_t *next; 49 | }; 50 | 51 | qboolean S_CodecForwardStream (snd_stream_t *stream, unsigned int type); 52 | /* Forward a stream to another codec of 'type' type. */ 53 | 54 | #endif /* _SND_CODECI_H_ */ 55 | 56 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_flac.h: -------------------------------------------------------------------------------- 1 | /* fLaC streaming music support. */ 2 | 3 | #if !defined(_SND_FLAC_H_) 4 | #define _SND_FLAC_H_ 1 5 | 6 | #if defined(USE_CODEC_FLAC) 7 | 8 | extern snd_codec_t flac_codec; 9 | 10 | #endif /* USE_CODEC_FLAC */ 11 | 12 | #endif /* ! _SND_FLAC_H_ */ 13 | 14 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_mikmod.h: -------------------------------------------------------------------------------- 1 | /* module tracker decoding support using libmikmod */ 2 | 3 | #if !defined(_SND_MIKMOD_H_) 4 | #define _SND_MIKMOD_H_ 5 | 6 | #if defined(USE_CODEC_MIKMOD) 7 | 8 | extern snd_codec_t mikmod_codec; 9 | 10 | #endif /* USE_CODEC_MIKMOD */ 11 | 12 | #endif /* ! _SND_MIKMOD_H_ */ 13 | 14 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_mp3.h: -------------------------------------------------------------------------------- 1 | /* MP3 decoding support using libmad or libmpg123. */ 2 | 3 | #if !defined(_SND_MP3_H_) 4 | #define _SND_MP3_H_ 5 | 6 | #if defined(USE_CODEC_MP3) 7 | 8 | extern snd_codec_t mp3_codec; 9 | int mp3_skiptags(snd_stream_t *); 10 | 11 | #endif /* USE_CODEC_MP3 */ 12 | 13 | #endif /* ! _SND_MP3_H_ */ 14 | 15 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_opus.h: -------------------------------------------------------------------------------- 1 | /* Ogg/Opus streaming music support. */ 2 | 3 | #if !defined(_SND_OPUS_H_) 4 | #define _SND_OPUS_H_ 1 5 | 6 | #if defined(USE_CODEC_OPUS) 7 | 8 | extern snd_codec_t opus_codec; 9 | 10 | #endif /* USE_CODEC_OPUS */ 11 | 12 | #endif /* ! _SND_OPUS_H_ */ 13 | 14 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_umx.h: -------------------------------------------------------------------------------- 1 | /* Unreal UMX format support */ 2 | #if !defined(_SND_UMX_H_) 3 | #define _SND_UMX_H_ 4 | 5 | #if defined(USE_CODEC_UMX) 6 | 7 | extern snd_codec_t umx_codec; 8 | 9 | #endif /* USE_CODEC_UMX */ 10 | 11 | #endif /* ! _SND_UMX_H_ */ 12 | 13 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_vorbis.h: -------------------------------------------------------------------------------- 1 | /* Ogg/Vorbis streaming music support. */ 2 | 3 | #if !defined(_SND_VORBIS_H_) 4 | #define _SND_VORBIS_H_ 1 5 | 6 | #if defined(USE_CODEC_VORBIS) 7 | 8 | extern snd_codec_t vorbis_codec; 9 | 10 | #endif /* USE_CODEC_VORBIS */ 11 | 12 | #endif /* ! _SND_VORBIS_H_ */ 13 | 14 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_wave.h: -------------------------------------------------------------------------------- 1 | /* WAV streaming music support. */ 2 | 3 | #if !defined(_SND_WAVE_H_) 4 | #define _SND_WAVE_H_ 5 | 6 | #if defined(USE_CODEC_WAVE) 7 | 8 | extern snd_codec_t wav_codec; 9 | 10 | #endif /* USE_CODEC_WAVE */ 11 | 12 | #endif /* ! _SND_WAVE_H_ */ 13 | 14 | -------------------------------------------------------------------------------- /quakespasm/Quake/snd_xmp.h: -------------------------------------------------------------------------------- 1 | /* module tracker decoding support using libxmp */ 2 | #if !defined(_SND_XMP_H_) 3 | #define _SND_XMP_H_ 4 | 5 | #if defined(USE_CODEC_XMP) 6 | 7 | extern snd_codec_t xmp_codec; 8 | 9 | #endif /* USE_CODEC_XMP */ 10 | 11 | #endif /* ! _SND_XMP_H_ */ 12 | 13 | -------------------------------------------------------------------------------- /quakespasm/Quake/strl_fn.h: -------------------------------------------------------------------------------- 1 | /* header file for BSD strlcat and strlcpy */ 2 | 3 | #ifndef __STRLFUNCS_H 4 | #define __STRLFUNCS_H 5 | 6 | /* use our own copies of strlcpy and strlcat taken from OpenBSD */ 7 | extern size_t q_strlcpy (char *dst, const char *src, size_t size); 8 | extern size_t q_strlcat (char *dst, const char *src, size_t size); 9 | 10 | #endif /* __STRLFUNCS_H */ 11 | 12 | -------------------------------------------------------------------------------- /quakespasm/Quake/strlcat.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: strlcat.c,v 1.13 2005/08/08 08:05:37 espie Exp $ */ 2 | 3 | /* 4 | * Copyright (c) 1998 Todd C. Miller 5 | * 6 | * Permission to use, copy, modify, and distribute this software for any 7 | * purpose with or without fee is hereby granted, provided that the above 8 | * copyright notice and this permission notice appear in all copies. 9 | * 10 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 | */ 18 | 19 | #include 20 | #include 21 | 22 | #include "strl_fn.h" 23 | 24 | /* 25 | * Appends src to string dst of size siz (unlike strncat, siz is the 26 | * full size of dst, not space left). At most siz-1 characters 27 | * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 28 | * Returns strlen(src) + MIN(siz, strlen(initial dst)). 29 | * If retval >= siz, truncation occurred. 30 | */ 31 | 32 | size_t 33 | q_strlcat (char *dst, const char *src, size_t siz) 34 | { 35 | char *d = dst; 36 | const char *s = src; 37 | size_t n = siz; 38 | size_t dlen; 39 | 40 | /* Find the end of dst and adjust bytes left but don't go past end */ 41 | while (n-- != 0 && *d != '\0') 42 | d++; 43 | dlen = d - dst; 44 | n = siz - dlen; 45 | 46 | if (n == 0) 47 | return(dlen + strlen(s)); 48 | while (*s != '\0') { 49 | if (n != 1) { 50 | *d++ = *s; 51 | n--; 52 | } 53 | s++; 54 | } 55 | *d = '\0'; 56 | 57 | return(dlen + (s - src)); /* count does not include NUL */ 58 | } 59 | 60 | -------------------------------------------------------------------------------- /quakespasm/Quake/strlcpy.c: -------------------------------------------------------------------------------- 1 | /* $OpenBSD: strlcpy.c,v 1.11 2006/05/05 15:27:38 millert Exp $ */ 2 | 3 | /* 4 | * Copyright (c) 1998 Todd C. Miller 5 | * 6 | * Permission to use, copy, modify, and distribute this software for any 7 | * purpose with or without fee is hereby granted, provided that the above 8 | * copyright notice and this permission notice appear in all copies. 9 | * 10 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 | */ 18 | 19 | #include 20 | #include 21 | 22 | #include "strl_fn.h" 23 | 24 | /* 25 | * Copy src to string dst of size siz. At most siz-1 characters 26 | * will be copied. Always NUL terminates (unless siz == 0). 27 | * Returns strlen(src); if retval >= siz, truncation occurred. 28 | */ 29 | 30 | size_t 31 | q_strlcpy (char *dst, const char *src, size_t siz) 32 | { 33 | char *d = dst; 34 | const char *s = src; 35 | size_t n = siz; 36 | 37 | /* Copy as many bytes as will fit */ 38 | if (n != 0) { 39 | while (--n != 0) { 40 | if ((*d++ = *s++) == '\0') 41 | break; 42 | } 43 | } 44 | 45 | /* Not enough room in dst, add NUL and traverse rest of src */ 46 | if (n == 0) { 47 | if (siz != 0) 48 | *d = '\0'; /* NUL-terminate dst */ 49 | while (*s++) 50 | ; 51 | } 52 | 53 | return(s - src - 1); /* count does not include NUL */ 54 | } 55 | 56 | -------------------------------------------------------------------------------- /quakespasm/Quake/sys.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2010-2014 QuakeSpasm developers 4 | 5 | This program is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU General Public License 7 | as published by the Free Software Foundation; either version 2 8 | of the License, or (at your option) any later version. 9 | 10 | This program 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. 13 | 14 | See the GNU General Public License for more details. 15 | 16 | You should have received a copy of the GNU General Public License 17 | along with this program; if not, write to the Free Software 18 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 19 | 20 | */ 21 | 22 | #ifndef _QUAKE_SYS_H 23 | #define _QUAKE_SYS_H 24 | 25 | // sys.h -- non-portable functions 26 | 27 | void Sys_Init (void); 28 | 29 | // 30 | // file IO 31 | // 32 | 33 | // returns the file size or -1 if file is not present. 34 | // the file should be in BINARY mode for stupid OSs that care 35 | int Sys_FileOpenRead (const char *path, int *hndl); 36 | 37 | int Sys_FileOpenWrite (const char *path); 38 | void Sys_FileClose (int handle); 39 | void Sys_FileSeek (int handle, int position); 40 | int Sys_FileRead (int handle, void *dest, int count); 41 | int Sys_FileWrite (int handle,const void *data, int count); 42 | int Sys_FileTime (const char *path); 43 | void Sys_mkdir (const char *path); 44 | 45 | // 46 | // system IO 47 | // 48 | FUNC_NORETURN void Sys_Quit (void); 49 | FUNC_NORETURN void Sys_Error (const char *error, ...) FUNC_PRINTF(1,2); 50 | // an error will cause the entire program to exit 51 | #ifdef __WATCOMC__ 52 | #pragma aux Sys_Error aborts; 53 | #pragma aux Sys_Quit aborts; 54 | #endif 55 | 56 | void Sys_Printf (const char *fmt, ...) FUNC_PRINTF(1,2); 57 | // send text to the console 58 | 59 | double Sys_DoubleTime (void); 60 | 61 | const char *Sys_ConsoleInput (void); 62 | 63 | void Sys_Sleep (unsigned long msecs); 64 | // yield for about 'msecs' milliseconds. 65 | 66 | void Sys_SendKeyEvents (void); 67 | // Perform Key_Event () callbacks until the input que is empty 68 | 69 | #endif /* _QUAKE_SYS_H */ 70 | 71 | -------------------------------------------------------------------------------- /quakespasm/Quake/view.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef _QUAKE_VIEW_H 24 | #define _QUAKE_VIEW_H 25 | 26 | extern cvar_t vid_gamma; 27 | extern cvar_t vid_contrast; 28 | 29 | extern float v_blend[4]; 30 | 31 | void V_Init (void); 32 | void V_RenderView (void); 33 | void V_CalcBlend (void); 34 | void V_UpdateBlend (void); 35 | float V_CalcRoll (vec3_t angles, vec3_t velocity); 36 | //void V_UpdatePalette (void); //johnfitz 37 | 38 | #endif /* _QUAKE_VIEW_H */ 39 | 40 | -------------------------------------------------------------------------------- /quakespasm/Quake/wad.h: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (C) 1996-2001 Id Software, Inc. 3 | Copyright (C) 2002-2009 John Fitzgibbons and others 4 | Copyright (C) 2010-2014 QuakeSpasm developers 5 | 6 | This program is free software; you can redistribute it and/or 7 | modify it under the terms of the GNU General Public License 8 | as published by the Free Software Foundation; either version 2 9 | of the License, or (at your option) any later version. 10 | 11 | This program is distributed in the hope that it will be useful, 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 14 | 15 | See the GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program; if not, write to the Free Software 19 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 20 | 21 | */ 22 | 23 | #ifndef _QUAKE_WAD_H 24 | #define _QUAKE_WAD_H 25 | 26 | //=============== 27 | // TYPES 28 | //=============== 29 | 30 | #define CMP_NONE 0 31 | #define CMP_LZSS 1 32 | 33 | #define TYP_NONE 0 34 | #define TYP_LABEL 1 35 | 36 | #define TYP_LUMPY 64 // 64 + grab command number 37 | #define TYP_PALETTE 64 38 | #define TYP_QTEX 65 39 | #define TYP_QPIC 66 40 | #define TYP_SOUND 67 41 | #define TYP_MIPTEX 68 42 | 43 | #define WADFILENAME "gfx.wad" //johnfitz -- filename is now hard-coded for honesty 44 | 45 | typedef struct 46 | { 47 | int width, height; 48 | byte data[4]; // variably sized 49 | } qpic_t; 50 | 51 | typedef struct 52 | { 53 | char identification[4]; // should be WAD2 or 2DAW 54 | int numlumps; 55 | int infotableofs; 56 | } wadinfo_t; 57 | 58 | typedef struct 59 | { 60 | int filepos; 61 | int disksize; 62 | int size; // uncompressed 63 | char type; 64 | char compression; 65 | char pad1, pad2; 66 | char name[16]; // must be null terminated 67 | } lumpinfo_t; 68 | 69 | extern int wad_numlumps; 70 | extern lumpinfo_t *wad_lumps; 71 | extern byte *wad_base; 72 | 73 | void W_LoadWadFile (void); //johnfitz -- filename is now hard-coded for honesty 74 | void W_CleanupName (const char *in, char *out); 75 | lumpinfo_t *W_GetLumpinfo (const char *name); 76 | void *W_GetLumpName (const char *name); 77 | void *W_GetLumpNum (int num); 78 | 79 | void SwapPic (qpic_t *pic); 80 | 81 | #endif /* _QUAKE_WAD_H */ 82 | 83 | -------------------------------------------------------------------------------- /quakespasm/Windows/QuakeSpasm-old.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/QuakeSpasm-old.ico -------------------------------------------------------------------------------- /quakespasm/Windows/QuakeSpasm.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/QuakeSpasm.ico -------------------------------------------------------------------------------- /quakespasm/Windows/QuakeSpasm.rc: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | icon ICON "QuakeSpasm.ico" 4 | 5 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/BUGS: -------------------------------------------------------------------------------- 1 | 2 | Bugs are now managed in the SDL bug tracker, here: 3 | 4 | http://bugzilla.libsdl.org/ 5 | 6 | You may report bugs there, and search to see if a given issue has already 7 | been reported, discussed, and maybe even fixed. 8 | 9 | 10 | 11 | You may also find help at the SDL mailing list. Subscription information: 12 | 13 | http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org 14 | 15 | Bug reports are welcome here, but we really appreciate if you use Bugzilla, as 16 | bugs discussed on the mailing list may be forgotten or missed. 17 | 18 | 19 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/README-SDL.txt: -------------------------------------------------------------------------------- 1 | 2 | Please distribute this file with the SDL runtime environment: 3 | 4 | The Simple DirectMedia Layer (SDL for short) is a cross-platfrom library 5 | designed to make it easy to write multi-media software, such as games and 6 | emulators. 7 | 8 | The Simple DirectMedia Layer library source code is available from: 9 | http://www.libsdl.org/ 10 | 11 | This library is distributed under the terms of the GNU LGPL license: 12 | http://www.gnu.org/copyleft/lesser.html 13 | 14 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/bin/sdl-config: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | prefix=/opt/cross_sdl12 4 | exec_prefix=${prefix} 5 | exec_prefix_set=no 6 | lib_suffix= 7 | 8 | usage="\ 9 | Usage: sdl-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--lib-suffix=SUFFIX] [--version] [--cflags] [--libs]" 10 | 11 | if test $# -eq 0; then 12 | echo "${usage}" 1>&2 13 | exit 1 14 | fi 15 | 16 | while test $# -gt 0; do 17 | case "$1" in 18 | -*=*) optarg=`echo "$1" | LC_ALL="C" sed 's/[-_a-zA-Z0-9]*=//'` ;; 19 | *) optarg= ;; 20 | esac 21 | 22 | case $1 in 23 | --prefix=*) 24 | prefix=$optarg 25 | if test $exec_prefix_set = no ; then 26 | exec_prefix=$optarg 27 | fi 28 | ;; 29 | --prefix) 30 | echo $prefix 31 | ;; 32 | --exec-prefix=*) 33 | exec_prefix=$optarg 34 | exec_prefix_set=yes 35 | ;; 36 | --exec-prefix) 37 | echo $exec_prefix 38 | ;; 39 | --lib-suffix=*) 40 | lib_suffix=$optarg 41 | ;; 42 | --version) 43 | echo 1.2.16 44 | ;; 45 | --cflags) 46 | echo -I${prefix}/include -Dmain=SDL_main 47 | ;; 48 | --libs) 49 | echo -L${exec_prefix}/lib${lib_suffix} -lmingw32 -lSDLmain -lSDL -mwindows 50 | ;; 51 | *) 52 | echo "${usage}" 1>&2 53 | exit 1 54 | ;; 55 | esac 56 | shift 57 | done 58 | 59 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_active.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file SDL_active.h 25 | * Include file for SDL application focus event handling 26 | */ 27 | 28 | #ifndef _SDL_active_h 29 | #define _SDL_active_h 30 | 31 | #include "SDL_stdinc.h" 32 | #include "SDL_error.h" 33 | 34 | #include "begin_code.h" 35 | /* Set up for C function definitions, even when using C++ */ 36 | #ifdef __cplusplus 37 | extern "C" { 38 | #endif 39 | 40 | /** @name The available application states */ 41 | /*@{*/ 42 | #define SDL_APPMOUSEFOCUS 0x01 /**< The app has mouse coverage */ 43 | #define SDL_APPINPUTFOCUS 0x02 /**< The app has input focus */ 44 | #define SDL_APPACTIVE 0x04 /**< The application is active */ 45 | /*@}*/ 46 | 47 | /* Function prototypes */ 48 | /** 49 | * This function returns the current state of the application, which is a 50 | * bitwise combination of SDL_APPMOUSEFOCUS, SDL_APPINPUTFOCUS, and 51 | * SDL_APPACTIVE. If SDL_APPACTIVE is set, then the user is able to 52 | * see your application, otherwise it has been iconified or disabled. 53 | */ 54 | extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void); 55 | 56 | 57 | /* Ends C function definitions when using C++ */ 58 | #ifdef __cplusplus 59 | } 60 | #endif 61 | #include "close_code.h" 62 | 63 | #endif /* _SDL_active_h */ 64 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_byteorder.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file SDL_byteorder.h 25 | * @deprecated Use SDL_endian.h instead 26 | */ 27 | 28 | /* DEPRECATED */ 29 | #include "SDL_endian.h" 30 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_config.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | #ifndef _SDL_config_h 24 | #define _SDL_config_h 25 | 26 | #include "SDL_platform.h" 27 | 28 | /* Add any platform that doesn't build using the configure system */ 29 | #if defined(__DREAMCAST__) 30 | #include "SDL_config_dreamcast.h" 31 | #elif defined(__MACOS__) 32 | #include "SDL_config_macos.h" 33 | #elif defined(__MACOSX__) 34 | #include "SDL_config_macosx.h" 35 | #elif defined(__SYMBIAN32__) 36 | #include "SDL_config_symbian.h" /* must be before win32! */ 37 | #elif defined(__WIN32__) 38 | #include "SDL_config_win32.h" 39 | #elif defined(__OS2__) 40 | #include "SDL_config_os2.h" 41 | #else 42 | #include "SDL_config_minimal.h" 43 | #endif /* platform config */ 44 | 45 | #endif /* _SDL_config_h */ 46 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_config_minimal.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | #ifndef _SDL_config_minimal_h 24 | #define _SDL_config_minimal_h 25 | 26 | #include "SDL_platform.h" 27 | 28 | /* This is the minimal configuration that can be used to build SDL */ 29 | 30 | #include 31 | 32 | typedef signed char int8_t; 33 | typedef unsigned char uint8_t; 34 | typedef signed short int16_t; 35 | typedef unsigned short uint16_t; 36 | typedef signed int int32_t; 37 | typedef unsigned int uint32_t; 38 | typedef unsigned int size_t; 39 | typedef unsigned long uintptr_t; 40 | 41 | /* Enable the dummy audio driver (src/audio/dummy/\*.c) */ 42 | #define SDL_AUDIO_DRIVER_DUMMY 1 43 | 44 | /* Enable the stub cdrom driver (src/cdrom/dummy/\*.c) */ 45 | #define SDL_CDROM_DISABLED 1 46 | 47 | /* Enable the stub joystick driver (src/joystick/dummy/\*.c) */ 48 | #define SDL_JOYSTICK_DISABLED 1 49 | 50 | /* Enable the stub shared object loader (src/loadso/dummy/\*.c) */ 51 | #define SDL_LOADSO_DISABLED 1 52 | 53 | /* Enable the stub thread support (src/thread/generic/\*.c) */ 54 | #define SDL_THREADS_DISABLED 1 55 | 56 | /* Enable the stub timer support (src/timer/dummy/\*.c) */ 57 | #define SDL_TIMERS_DISABLED 1 58 | 59 | /* Enable the dummy video driver (src/video/dummy/\*.c) */ 60 | #define SDL_VIDEO_DRIVER_DUMMY 1 61 | 62 | #endif /* _SDL_config_minimal_h */ 63 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_error.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file SDL_error.h 25 | * Simple error message routines for SDL 26 | */ 27 | 28 | #ifndef _SDL_error_h 29 | #define _SDL_error_h 30 | 31 | #include "SDL_stdinc.h" 32 | 33 | #include "begin_code.h" 34 | /* Set up for C function definitions, even when using C++ */ 35 | #ifdef __cplusplus 36 | extern "C" { 37 | #endif 38 | 39 | /** 40 | * @name Public functions 41 | */ 42 | /*@{*/ 43 | extern DECLSPEC void SDLCALL SDL_SetError(const char *fmt, ...); 44 | extern DECLSPEC char * SDLCALL SDL_GetError(void); 45 | extern DECLSPEC void SDLCALL SDL_ClearError(void); 46 | /*@}*/ 47 | 48 | /** 49 | * @name Private functions 50 | * @internal Private error message function - used internally 51 | */ 52 | /*@{*/ 53 | #define SDL_OutOfMemory() SDL_Error(SDL_ENOMEM) 54 | #define SDL_Unsupported() SDL_Error(SDL_UNSUPPORTED) 55 | typedef enum { 56 | SDL_ENOMEM, 57 | SDL_EFREAD, 58 | SDL_EFWRITE, 59 | SDL_EFSEEK, 60 | SDL_UNSUPPORTED, 61 | SDL_LASTERROR 62 | } SDL_errorcode; 63 | extern DECLSPEC void SDLCALL SDL_Error(SDL_errorcode code); 64 | /*@}*/ 65 | 66 | /* Ends C function definitions when using C++ */ 67 | #ifdef __cplusplus 68 | } 69 | #endif 70 | #include "close_code.h" 71 | 72 | #endif /* _SDL_error_h */ 73 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_getenv.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** @file SDL_getenv.h 24 | * @deprecated Use SDL_stdinc.h instead 25 | */ 26 | 27 | /* DEPRECATED */ 28 | #include "SDL_stdinc.h" 29 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_name.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef _SDLname_h_ 3 | #define _SDLname_h_ 4 | 5 | #if defined(__STDC__) || defined(__cplusplus) 6 | #define NeedFunctionPrototypes 1 7 | #endif 8 | 9 | #define SDL_NAME(X) SDL_##X 10 | 11 | #endif /* _SDLname_h_ */ 12 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_quit.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** @file SDL_quit.h 24 | * Include file for SDL quit event handling 25 | */ 26 | 27 | #ifndef _SDL_quit_h 28 | #define _SDL_quit_h 29 | 30 | #include "SDL_stdinc.h" 31 | #include "SDL_error.h" 32 | 33 | /** @file SDL_quit.h 34 | * An SDL_QUITEVENT is generated when the user tries to close the application 35 | * window. If it is ignored or filtered out, the window will remain open. 36 | * If it is not ignored or filtered, it is queued normally and the window 37 | * is allowed to close. When the window is closed, screen updates will 38 | * complete, but have no effect. 39 | * 40 | * SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) 41 | * and SIGTERM (system termination request), if handlers do not already 42 | * exist, that generate SDL_QUITEVENT events as well. There is no way 43 | * to determine the cause of an SDL_QUITEVENT, but setting a signal 44 | * handler in your application will override the default generation of 45 | * quit events for that signal. 46 | */ 47 | 48 | /** @file SDL_quit.h 49 | * There are no functions directly affecting the quit event 50 | */ 51 | 52 | #define SDL_QuitRequested() \ 53 | (SDL_PumpEvents(), SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUITMASK)) 54 | 55 | #endif /* _SDL_quit_h */ 56 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/SDL_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** @file SDL_types.h 24 | * @deprecated Use SDL_stdinc.h instead. 25 | */ 26 | 27 | /* DEPRECATED */ 28 | #include "SDL_stdinc.h" 29 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/include/close_code.h: -------------------------------------------------------------------------------- 1 | /* 2 | SDL - Simple DirectMedia Layer 3 | Copyright (C) 1997-2012 Sam Lantinga 4 | 5 | This library is free software; you can redistribute it and/or 6 | modify it under the terms of the GNU Library General Public 7 | License as published by the Free Software Foundation; either 8 | version 2 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 | Library General Public License for more details. 14 | 15 | You should have received a copy of the GNU Library General Public 16 | License along with this library; if not, write to the Free 17 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 | 19 | Sam Lantinga 20 | slouken@libsdl.org 21 | */ 22 | 23 | /** 24 | * @file close_code.h 25 | * This file reverses the effects of begin_code.h and should be included 26 | * after you finish any function and structure declarations in your headers 27 | */ 28 | 29 | #ifndef _begin_code_h 30 | #error close_code.h included without matching begin_code.h 31 | #endif 32 | #undef _begin_code_h 33 | 34 | /* Reset structure packing at previous byte alignment */ 35 | #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) 36 | #ifdef __BORLANDC__ 37 | #pragma nopackwarning 38 | #endif 39 | #if (defined(__MWERKS__) && defined(__MACOS__)) 40 | #pragma options align=reset 41 | #pragma enumsalwaysint reset 42 | #else 43 | #pragma pack(pop) 44 | #endif 45 | #endif /* Compiler needs structure packing set */ 46 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib/SDL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib/SDL.dll -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib/SDL.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib/SDL.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib/SDLmain.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib/SDLmain.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib/libSDL.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib/libSDL.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib/libSDLmain.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib/libSDLmain.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib64/SDL.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib64/SDL.dll -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib64/SDL.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib64/SDL.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib64/SDLmain.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib64/SDLmain.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib64/libSDL.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib64/libSDL.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/lib64/libSDLmain.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/lib64/libSDLmain.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/watcom/SDL.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL/watcom/SDL.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/watcom/def2lbc.awk: -------------------------------------------------------------------------------- 1 | # get uppercased module name 2 | /^[ \t]*LIBRARY/ { ModuleName = toupper( $2 ); next } 3 | 4 | # skip uninteresting lines 5 | /^[ \t]*(EXPORTS|;)/ { next } 6 | 7 | # NB: Calling conventions essentially do not exist on non-x86 platforms, 8 | # we simply strip the decoration unless 'cpu' equals 386. 9 | 10 | # process fastcall symbols "@symbol@size" 11 | /^[ \t]*@[A-Za-z0-9_]+@[0-9]+/ { 12 | split( $1, parts, "@" ) # split the import name on the at signs 13 | if( cpu == "386" ) 14 | printf( "++'%s'.'%s'..'%s'\n", $1, ModuleName, parts[2] ) 15 | else 16 | printf( "++'%s'.'%s'\n", parts[2], ModuleName ) 17 | next 18 | } 19 | 20 | # process stdcall symbols using "symbol@size" format 21 | /^[ \t]*[A-Za-z0-9_]+@[0-9]+/ { 22 | split( $1, parts, "@" ) # split the import name on the at sign 23 | if( cpu == "386" ) 24 | printf( "++'_%s'.'%s'..'%s'\n", $1, ModuleName, parts[1] ) 25 | else 26 | printf( "++'%s'.'%s'\n", parts[1], ModuleName ) 27 | next 28 | } 29 | 30 | # process cdecl symbols using plain "symbol" format 31 | /^[ \t]*[A-Za-z0-9_]+/ { 32 | split( $1, parts, "@" ) # split the import name on the at sign 33 | if( cpu == "386" ) 34 | printf( "++'_%s'.'%s'..'%s'\n", $1, ModuleName, $1 ) 35 | else 36 | printf( "++'%s'.'%s'\n", parts[1], ModuleName ) 37 | next 38 | } 39 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL/watcom/makefile: -------------------------------------------------------------------------------- 1 | # Open Watcom makefile to generate SDL.lib 2 | # def2lbc.awk (from OW source tree) requires 'awk' 3 | # run 'wmake' 4 | 5 | all: SDL.lib 6 | 7 | SDL.exp: SDL.def def2lbc.awk 8 | awk -v cpu=386 -f def2lbc.awk SDL.def > SDL.exp 9 | 10 | SDL.lib: SDL.exp 11 | wlib -q -b -n -c -pa -s -t -zld -ii -io SDL.lib @SDL.exp 12 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/BUGS.txt: -------------------------------------------------------------------------------- 1 | 2 | Bugs are now managed in the SDL bug tracker, here: 3 | 4 | https://bugzilla.libsdl.org/ 5 | 6 | You may report bugs there, and search to see if a given issue has already 7 | been reported, discussed, and maybe even fixed. 8 | 9 | 10 | You may also find help at the SDL forums/mailing list: 11 | 12 | https://discourse.libsdl.org/ 13 | 14 | Bug reports are welcome here, but we really appreciate if you use Bugzilla, as 15 | bugs discussed on the mailing list may be forgotten or missed. 16 | 17 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/COPYING.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | 21 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/README-SDL.txt: -------------------------------------------------------------------------------- 1 | 2 | Please distribute this file with the SDL runtime environment: 3 | 4 | The Simple DirectMedia Layer (SDL for short) is a cross-platform library 5 | designed to make it easy to write multi-media software, such as games 6 | and emulators. 7 | 8 | The Simple DirectMedia Layer library source code is available from: 9 | https://www.libsdl.org/ 10 | 11 | This library is distributed under the terms of the zlib license: 12 | http://www.zlib.net/zlib_license.html 13 | 14 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/README.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | 4 | (SDL) 5 | 6 | Version 2.0 7 | 8 | --- 9 | https://www.libsdl.org/ 10 | 11 | Simple DirectMedia Layer is a cross-platform development library designed 12 | to provide low level access to audio, keyboard, mouse, joystick, and graphics 13 | hardware via OpenGL and Direct3D. It is used by video playback software, 14 | emulators, and popular games including Valve's award winning catalog 15 | and many Humble Bundle games. 16 | 17 | More extensive documentation is available in the docs directory, starting 18 | with README.md 19 | 20 | Enjoy! 21 | Sam Lantinga (slouken@libsdl.org) 22 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/bin/sdl2-config: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | prefix=/opt/cross_sdl2 4 | exec_prefix=${prefix} 5 | exec_prefix_set=no 6 | lib_suffix= 7 | 8 | usage="\ 9 | Usage: $0 [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--cflags] [--lib-suffix=SUFFIX] [--libs]" 10 | 11 | if test $# -eq 0; then 12 | echo "${usage}" 1>&2 13 | exit 1 14 | fi 15 | 16 | while test $# -gt 0; do 17 | case "$1" in 18 | -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 19 | *) optarg= ;; 20 | esac 21 | 22 | case $1 in 23 | --prefix=*) 24 | prefix=$optarg 25 | if test $exec_prefix_set = no ; then 26 | exec_prefix=$optarg 27 | fi 28 | ;; 29 | --prefix) 30 | echo $prefix 31 | ;; 32 | --exec-prefix=*) 33 | exec_prefix=$optarg 34 | exec_prefix_set=yes 35 | ;; 36 | --exec-prefix) 37 | echo $exec_prefix 38 | ;; 39 | --lib-suffix=*) 40 | lib_suffix=$optarg 41 | ;; 42 | --version) 43 | echo 2.0.11 44 | ;; 45 | --cflags) 46 | echo -I${prefix}/include -Dmain=SDL_main 47 | ;; 48 | --libs) 49 | echo -L${exec_prefix}/lib${lib_suffix} -lmingw32 -lSDL2main -lSDL2 -mwindows 50 | ;; 51 | *) 52 | echo "${usage}" 1>&2 53 | exit 1 54 | ;; 55 | esac 56 | shift 57 | done 58 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_clipboard.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_clipboard.h 24 | * 25 | * Include file for SDL clipboard handling 26 | */ 27 | 28 | #ifndef SDL_clipboard_h_ 29 | #define SDL_clipboard_h_ 30 | 31 | #include "SDL_stdinc.h" 32 | 33 | #include "begin_code.h" 34 | /* Set up for C function definitions, even when using C++ */ 35 | #ifdef __cplusplus 36 | extern "C" { 37 | #endif 38 | 39 | /* Function prototypes */ 40 | 41 | /** 42 | * \brief Put UTF-8 text into the clipboard 43 | * 44 | * \sa SDL_GetClipboardText() 45 | */ 46 | extern DECLSPEC int SDLCALL SDL_SetClipboardText(const char *text); 47 | 48 | /** 49 | * \brief Get UTF-8 text from the clipboard, which must be freed with SDL_free() 50 | * 51 | * \sa SDL_SetClipboardText() 52 | */ 53 | extern DECLSPEC char * SDLCALL SDL_GetClipboardText(void); 54 | 55 | /** 56 | * \brief Returns a flag indicating whether the clipboard exists and contains a text string that is non-empty 57 | * 58 | * \sa SDL_GetClipboardText() 59 | */ 60 | extern DECLSPEC SDL_bool SDLCALL SDL_HasClipboardText(void); 61 | 62 | 63 | /* Ends C function definitions when using C++ */ 64 | #ifdef __cplusplus 65 | } 66 | #endif 67 | #include "close_code.h" 68 | 69 | #endif /* SDL_clipboard_h_ */ 70 | 71 | /* vi: set ts=4 sw=4 expandtab: */ 72 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_config.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #ifndef SDL_config_h_ 23 | #define SDL_config_h_ 24 | 25 | #include "SDL_platform.h" 26 | 27 | /** 28 | * \file SDL_config.h 29 | */ 30 | 31 | /* Add any platform that doesn't build using the configure system. */ 32 | #if defined(__WIN32__) 33 | #include "SDL_config_windows.h" 34 | #elif defined(__WINRT__) 35 | #include "SDL_config_winrt.h" 36 | #elif defined(__MACOSX__) 37 | #include "SDL_config_macosx.h" 38 | #elif defined(__IPHONEOS__) 39 | #include "SDL_config_iphoneos.h" 40 | #elif defined(__ANDROID__) 41 | #include "SDL_config_android.h" 42 | #elif defined(__PSP__) 43 | #include "SDL_config_psp.h" 44 | #elif defined(__OS2__) 45 | #include "SDL_config_os2.h" 46 | #else 47 | /* This is a minimal configuration just to get SDL running on new platforms. */ 48 | #include "SDL_config_minimal.h" 49 | #endif /* platform config */ 50 | 51 | #ifdef USING_GENERATED_CONFIG_H 52 | #error Wrong SDL_config.h, check your include path? 53 | #endif 54 | 55 | #endif /* SDL_config_h_ */ 56 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_gesture.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_gesture.h 24 | * 25 | * Include file for SDL gesture event handling. 26 | */ 27 | 28 | #ifndef SDL_gesture_h_ 29 | #define SDL_gesture_h_ 30 | 31 | #include "SDL_stdinc.h" 32 | #include "SDL_error.h" 33 | #include "SDL_video.h" 34 | 35 | #include "SDL_touch.h" 36 | 37 | 38 | #include "begin_code.h" 39 | /* Set up for C function definitions, even when using C++ */ 40 | #ifdef __cplusplus 41 | extern "C" { 42 | #endif 43 | 44 | typedef Sint64 SDL_GestureID; 45 | 46 | /* Function prototypes */ 47 | 48 | /** 49 | * \brief Begin Recording a gesture on the specified touch, or all touches (-1) 50 | * 51 | * 52 | */ 53 | extern DECLSPEC int SDLCALL SDL_RecordGesture(SDL_TouchID touchId); 54 | 55 | 56 | /** 57 | * \brief Save all currently loaded Dollar Gesture templates 58 | * 59 | * 60 | */ 61 | extern DECLSPEC int SDLCALL SDL_SaveAllDollarTemplates(SDL_RWops *dst); 62 | 63 | /** 64 | * \brief Save a currently loaded Dollar Gesture template 65 | * 66 | * 67 | */ 68 | extern DECLSPEC int SDLCALL SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *dst); 69 | 70 | 71 | /** 72 | * \brief Load Dollar Gesture templates from a file 73 | * 74 | * 75 | */ 76 | extern DECLSPEC int SDLCALL SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src); 77 | 78 | 79 | /* Ends C function definitions when using C++ */ 80 | #ifdef __cplusplus 81 | } 82 | #endif 83 | #include "close_code.h" 84 | 85 | #endif /* SDL_gesture_h_ */ 86 | 87 | /* vi: set ts=4 sw=4 expandtab: */ 88 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_name.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #ifndef SDLname_h_ 23 | #define SDLname_h_ 24 | 25 | #if defined(__STDC__) || defined(__cplusplus) 26 | #define NeedFunctionPrototypes 1 27 | #endif 28 | 29 | #define SDL_NAME(X) SDL_##X 30 | 31 | #endif /* SDLname_h_ */ 32 | 33 | /* vi: set ts=4 sw=4 expandtab: */ 34 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_opengles.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_opengles.h 24 | * 25 | * This is a simple file to encapsulate the OpenGL ES 1.X API headers. 26 | */ 27 | #include "SDL_config.h" 28 | 29 | #ifdef __IPHONEOS__ 30 | #include 31 | #include 32 | #else 33 | #include 34 | #include 35 | #endif 36 | 37 | #ifndef APIENTRY 38 | #define APIENTRY 39 | #endif 40 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_opengles2.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_opengles2.h 24 | * 25 | * This is a simple file to encapsulate the OpenGL ES 2.0 API headers. 26 | */ 27 | #include "SDL_config.h" 28 | 29 | #ifndef _MSC_VER 30 | 31 | #ifdef __IPHONEOS__ 32 | #include 33 | #include 34 | #else 35 | #include 36 | #include 37 | #include 38 | #endif 39 | 40 | #else /* _MSC_VER */ 41 | 42 | /* OpenGL ES2 headers for Visual Studio */ 43 | #include "SDL_opengles2_khrplatform.h" 44 | #include "SDL_opengles2_gl2platform.h" 45 | #include "SDL_opengles2_gl2.h" 46 | #include "SDL_opengles2_gl2ext.h" 47 | 48 | #endif /* _MSC_VER */ 49 | 50 | #ifndef APIENTRY 51 | #define APIENTRY GL_APIENTRY 52 | #endif 53 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_opengles2_gl2platform.h: -------------------------------------------------------------------------------- 1 | #ifndef __gl2platform_h_ 2 | #define __gl2platform_h_ 3 | 4 | /* $Revision: 10602 $ on $Date:: 2010-03-04 22:35:34 -0800 #$ */ 5 | 6 | /* 7 | * This document is licensed under the SGI Free Software B License Version 8 | * 2.0. For details, see http://oss.sgi.com/projects/FreeB/ . 9 | */ 10 | 11 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 12 | * 13 | * Adopters may modify khrplatform.h and this file to suit their platform. 14 | * You are encouraged to submit all modifications to the Khronos group so that 15 | * they can be included in future versions of this file. Please submit changes 16 | * by sending them to the public Khronos Bugzilla (http://khronos.org/bugzilla) 17 | * by filing a bug against product "OpenGL-ES" component "Registry". 18 | */ 19 | 20 | /*#include */ 21 | 22 | #ifndef GL_APICALL 23 | #define GL_APICALL KHRONOS_APICALL 24 | #endif 25 | 26 | #ifndef GL_APIENTRY 27 | #define GL_APIENTRY KHRONOS_APIENTRY 28 | #endif 29 | 30 | #endif /* __gl2platform_h_ */ 31 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_quit.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_quit.h 24 | * 25 | * Include file for SDL quit event handling. 26 | */ 27 | 28 | #ifndef SDL_quit_h_ 29 | #define SDL_quit_h_ 30 | 31 | #include "SDL_stdinc.h" 32 | #include "SDL_error.h" 33 | 34 | /** 35 | * \file SDL_quit.h 36 | * 37 | * An ::SDL_QUIT event is generated when the user tries to close the application 38 | * window. If it is ignored or filtered out, the window will remain open. 39 | * If it is not ignored or filtered, it is queued normally and the window 40 | * is allowed to close. When the window is closed, screen updates will 41 | * complete, but have no effect. 42 | * 43 | * SDL_Init() installs signal handlers for SIGINT (keyboard interrupt) 44 | * and SIGTERM (system termination request), if handlers do not already 45 | * exist, that generate ::SDL_QUIT events as well. There is no way 46 | * to determine the cause of an ::SDL_QUIT event, but setting a signal 47 | * handler in your application will override the default generation of 48 | * quit events for that signal. 49 | * 50 | * \sa SDL_Quit() 51 | */ 52 | 53 | /* There are no functions directly affecting the quit event */ 54 | 55 | #define SDL_QuitRequested() \ 56 | (SDL_PumpEvents(), (SDL_PeepEvents(NULL,0,SDL_PEEKEVENT,SDL_QUIT,SDL_QUIT) > 0)) 57 | 58 | #endif /* SDL_quit_h_ */ 59 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_revision.h: -------------------------------------------------------------------------------- 1 | #define SDL_REVISION "hg-13387:8a12cc1abc9e" 2 | #define SDL_REVISION_NUMBER 13387 3 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/SDL_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_types.h 24 | * 25 | * \deprecated 26 | */ 27 | 28 | /* DEPRECATED */ 29 | #include "SDL_stdinc.h" 30 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/include/close_code.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2019 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file close_code.h 24 | * 25 | * This file reverses the effects of begin_code.h and should be included 26 | * after you finish any function and structure declarations in your headers 27 | */ 28 | 29 | #ifndef _begin_code_h 30 | #error close_code.h included without matching begin_code.h 31 | #endif 32 | #undef _begin_code_h 33 | 34 | /* Reset structure packing at previous byte alignment */ 35 | #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__) 36 | #ifdef __BORLANDC__ 37 | #pragma nopackwarning 38 | #endif 39 | #pragma pack(pop) 40 | #endif /* Compiler needs structure packing set */ 41 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib/SDL2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib/SDL2.dll -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib/SDL2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib/SDL2.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib/SDL2main.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib/SDL2main.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib/libSDL2.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib/libSDL2.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib/libSDL2main.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib/libSDL2main.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib64/SDL2.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib64/SDL2.dll -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib64/SDL2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib64/SDL2.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib64/SDL2main.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib64/SDL2main.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib64/libSDL2.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib64/libSDL2.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/lib64/libSDL2main.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/lib64/libSDL2main.a -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/watcom/SDL2.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/SDL2/watcom/SDL2.lib -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/watcom/def2lbc.awk: -------------------------------------------------------------------------------- 1 | # get uppercased module name 2 | /^[ \t]*LIBRARY/ { ModuleName = toupper( $2 ); next } 3 | 4 | # skip uninteresting lines 5 | /^[ \t]*(EXPORTS|;)/ { next } 6 | 7 | # NB: Calling conventions essentially do not exist on non-x86 platforms, 8 | # we simply strip the decoration unless 'cpu' equals 386. 9 | 10 | # process fastcall symbols "@symbol@size" 11 | /^[ \t]*@[A-Za-z0-9_]+@[0-9]+/ { 12 | split( $1, parts, "@" ) # split the import name on the at signs 13 | if( cpu == "386" ) 14 | printf( "++'%s'.'%s'..'%s'\n", $1, ModuleName, parts[2] ) 15 | else 16 | printf( "++'%s'.'%s'\n", parts[2], ModuleName ) 17 | next 18 | } 19 | 20 | # process stdcall symbols using "symbol@size" format 21 | /^[ \t]*[A-Za-z0-9_]+@[0-9]+/ { 22 | split( $1, parts, "@" ) # split the import name on the at sign 23 | if( cpu == "386" ) 24 | printf( "++'_%s'.'%s'..'%s'\n", $1, ModuleName, parts[1] ) 25 | else 26 | printf( "++'%s'.'%s'\n", parts[1], ModuleName ) 27 | next 28 | } 29 | 30 | # process cdecl symbols using plain "symbol" format 31 | /^[ \t]*[A-Za-z0-9_]+/ { 32 | split( $1, parts, "@" ) # split the import name on the at sign 33 | if( cpu == "386" ) 34 | printf( "++'_%s'.'%s'..'%s'\n", $1, ModuleName, $1 ) 35 | else 36 | printf( "++'%s'.'%s'\n", parts[1], ModuleName ) 37 | next 38 | } 39 | -------------------------------------------------------------------------------- /quakespasm/Windows/SDL2/watcom/makefile: -------------------------------------------------------------------------------- 1 | # Open Watcom makefile to generate SDL2.lib 2 | # def2lbc.awk (from OW source tree) requires 'awk' 3 | # run 'wmake' 4 | 5 | all: SDL2.lib 6 | 7 | SDL2.exp: SDL2.def def2lbc.awk 8 | awk -v cpu=386 -f def2lbc.awk SDL2.def > SDL2.exp 9 | 10 | SDL2.lib: SDL2.exp 11 | wlib -q -b -n -c -pa -s -t -zld -ii -io SDL2.lib @SDL2.exp 12 | -------------------------------------------------------------------------------- /quakespasm/Windows/VisualStudio/quakespasm.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 9.00 3 | # Visual Studio 2005 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quakespasm", "quakespasm.vcproj", "{C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}" 5 | EndProject 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quakespasm-sdl2", "quakespasm-sdl2.vcproj", "{AE77266F-0A23-4F08-A491-369DE664B273}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Debug|Win32 = Debug|Win32 11 | Debug|x64 = Debug|x64 12 | Release|Win32 = Release|Win32 13 | Release|x64 = Release|x64 14 | EndGlobalSection 15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Debug|Win32.ActiveCfg = Debug|Win32 17 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Debug|Win32.Build.0 = Debug|Win32 18 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Debug|x64.ActiveCfg = Debug|x64 19 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Debug|x64.Build.0 = Debug|x64 20 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Release|Win32.ActiveCfg = Release|Win32 21 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Release|Win32.Build.0 = Release|Win32 22 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Release|x64.ActiveCfg = Release|x64 23 | {C0F747A3-D796-4EC0-BF2A-53722CAA3B6A}.Release|x64.Build.0 = Release|x64 24 | {AE77266F-0A23-4F08-A491-369DE664B273}.Debug|Win32.ActiveCfg = Debug|Win32 25 | {AE77266F-0A23-4F08-A491-369DE664B273}.Debug|Win32.Build.0 = Debug|Win32 26 | {AE77266F-0A23-4F08-A491-369DE664B273}.Debug|x64.ActiveCfg = Debug|x64 27 | {AE77266F-0A23-4F08-A491-369DE664B273}.Debug|x64.Build.0 = Debug|x64 28 | {AE77266F-0A23-4F08-A491-369DE664B273}.Release|Win32.ActiveCfg = Release|Win32 29 | {AE77266F-0A23-4F08-A491-369DE664B273}.Release|Win32.Build.0 = Release|Win32 30 | {AE77266F-0A23-4F08-A491-369DE664B273}.Release|x64.ActiveCfg = Release|x64 31 | {AE77266F-0A23-4F08-A491-369DE664B273}.Release|x64.Build.0 = Release|x64 32 | EndGlobalSection 33 | GlobalSection(SolutionProperties) = preSolution 34 | HideSolutionNode = FALSE 35 | EndGlobalSection 36 | EndGlobal 37 | -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/include/flac_config.txt: -------------------------------------------------------------------------------- 1 | FLAC v1.3.0 release + several fixes from the flac git repo at xiph.org. 2 | Decoder-only functionality, which is what we need: the encoder stuff is 3 | left out of the build. 4 | -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/include/mikmod_config.txt: -------------------------------------------------------------------------------- 1 | libmikmod-3.3.9 (mercurial repo as of 2016-08-12) 2 | only the "nosound" driver (drv_nos) is included, all of 3 | the other libmikmod drivers were made "MISSING" drivers. 4 | we only need/register/use drv_nos here and nothing else. 5 | -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/include/mpg123_config.txt: -------------------------------------------------------------------------------- 1 | mpg123-1.22.4, configured using: 2 | --disable-modules --disable-debug --disable-fifo --disable-ipv6 --disable-network --disable-messages --disable-lfs-alias --with-audio=dummy 3 | edited src/libmpg123/mpg123lib_intern.h and changed macros 4 | NOQUIET, VERBOSE* and PVERB() to be 0, in order to disable 5 | some debug messages from the library. 6 | -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/include/ogg/config_types.h: -------------------------------------------------------------------------------- 1 | #ifndef __CONFIG_TYPES_H__ 2 | #define __CONFIG_TYPES_H__ 3 | 4 | /* these are filled in by configure */ 5 | #define INCLUDE_INTTYPES_H 0 6 | #define INCLUDE_STDINT_H 0 7 | #define INCLUDE_SYS_TYPES_H 1 8 | 9 | #if INCLUDE_INTTYPES_H 10 | # include 11 | #endif 12 | #if INCLUDE_STDINT_H 13 | # include 14 | #endif 15 | #if INCLUDE_SYS_TYPES_H 16 | # include 17 | #endif 18 | 19 | typedef short ogg_int16_t; 20 | typedef unsigned short ogg_uint16_t; 21 | typedef int ogg_int32_t; 22 | typedef unsigned int ogg_uint32_t; 23 | typedef long long ogg_int64_t; 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/include/opusfile.h: -------------------------------------------------------------------------------- 1 | /* just a wrapper to bypass the pkg-config thingy: the 2 | * headers under opus/ are edited accordingly for this */ 3 | #include 4 | -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libFLAC-8.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libFLAC-8.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libFLAC.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libFLAC.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libFLAC.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libFLAC.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmad-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmad-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmad.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmad.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmad.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmad.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmikmod-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmikmod-3.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmikmod.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmikmod.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmikmod.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmikmod.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmpg123-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmpg123-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmpg123.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmpg123.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libmpg123.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libmpg123.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libogg-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libogg-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libogg.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libogg.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libogg.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libogg.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libopus-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libopus-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libopus.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libopus.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libopus.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libopus.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libopusfile-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libopusfile-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libopusfile.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libopusfile.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libopusfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libopusfile.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbis-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbis-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbis.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbis.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbis.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbis.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbisfile-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbisfile-3.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbisfile.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbisfile.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbisfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbisfile.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbisidec-1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbisidec-1.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbisidec.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbisidec.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libvorbisidec.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libvorbisidec.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libxmp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libxmp.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libxmp.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libxmp.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x64/libxmp.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x64/libxmp.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/FLAC.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/FLAC.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/libxmp.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/libxmp.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/mad.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/mad.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/mikmod.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/mikmod.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/mpg123.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/mpg123.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/ogg.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/ogg.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/opus.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/opus.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/opusfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/opusfile.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/vorbis.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/vorbis.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/vorbisfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/vorbisfile.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86-watcom/vorbisidec.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86-watcom/vorbisidec.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libFLAC-8.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libFLAC-8.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libFLAC.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libFLAC.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libFLAC.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libFLAC.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmad-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmad-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmad.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmad.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmad.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmad.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmikmod-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmikmod-3.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmikmod.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmikmod.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmikmod.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmikmod.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmpg123-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmpg123-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmpg123.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmpg123.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libmpg123.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libmpg123.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libogg-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libogg-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libogg.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libogg.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libogg.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libogg.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libopus-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libopus-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libopus.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libopus.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libopus.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libopus.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libopusfile-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libopusfile-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libopusfile.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libopusfile.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libopusfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libopusfile.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbis-0.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbis-0.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbis.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbis.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbis.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbis.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbisfile-3.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbisfile-3.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbisfile.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbisfile.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbisfile.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbisfile.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbisidec-1.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbisidec-1.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbisidec.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbisidec.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libvorbisidec.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libvorbisidec.lib -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libxmp.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libxmp.dll -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libxmp.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libxmp.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/codecs/x86/libxmp.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/codecs/x86/libxmp.lib -------------------------------------------------------------------------------- /quakespasm/Windows/misc/include/msinttypes/README.txt: -------------------------------------------------------------------------------- 1 | 2 | msinttypes-r29 from: 3 | 4 | http://msinttypes.googlecode.com/ 5 | http://code.google.com/p/msinttypes/ 6 | 7 | -------------------------------------------------------------------------------- /quakespasm/Windows/misc/x64/libvulkan-1.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/misc/x64/libvulkan-1.dll.a -------------------------------------------------------------------------------- /quakespasm/Windows/misc/x86/libvulkan-1.dll.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/Windows/misc/x86/libvulkan-1.dll.a -------------------------------------------------------------------------------- /quakespasm/icon.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fgsfdsfgs/QuakespasmNX/85af2dc50e680c85a2ea36ebb8d6e0e802d9b426/quakespasm/icon.jpg --------------------------------------------------------------------------------