quakespasm/Quake
Andrei Drexler 401aa52d45 Compensate viewmodel distortion at fov > 90
See: https://github.com/Novum/vkQuake/issues/281

Controlled by new cvar cl_gun_fovscale (defaults to 1).
Based on code from Qrack:
3bc2862b1a/gl_rmain.c (L2384-L2392)
2021-09-02 20:50:50 +03:00
..
anorm_dots.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
anorms.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
arch_def.h added _WINSOCK_DEPRECATED_NO_WARNINGS among the preprocessor definitions 2017-02-14 11:00:29 +00:00
bgmusic.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
bgmusic.h some codec stuff syncing with uhexen2 2013-02-27 16:50:25 +00:00
bspfile.h q64 rerelease 2021 bsp support 2021-09-02 20:50:50 +03:00
build_cross_osx-sdl2.sh Makefile.darwin: target 10.5 when building for x86 against SDL2. 2014-09-17 11:00:28 +00:00
build_cross_osx.sh - Makefile.darwin: -mmacosx-version-min also needs to be among 2012-09-03 21:21:04 +00:00
build_cross_win32-sdl2.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
build_cross_win32.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
build_cross_win64-sdl2.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
build_cross_win64.sh fix the cross-build scripts after r1180. 2015-03-02 22:01:12 +00:00
cd_null.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cd_sdl.c cd_sdl.c: change SDL_CD error return checks from '== -1' back to '< 0' 2018-03-13 08:50:03 +00:00
cdaudio.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cfgfile.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cfgfile.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
chase.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cl_demo.c silence pesky warnings from old compilers 2016-06-24 07:40:08 +00:00
cl_input.c Revert "always run" changes from r797; move the QuakeSpasm customizations to a new "cl_alwaysrun" cvar. 2017-08-23 06:00:20 +00:00
cl_main.c Revert "always run" changes from r797; move the QuakeSpasm customizations to a new "cl_alwaysrun" cvar. 2017-08-23 06:00:20 +00:00
cl_parse.c cl_parse.c: update the svc_strings[] array after recent commits. 2021-08-22 20:25:40 +03:00
cl_tent.c RMQ protocol (999) support, adapted from RMQEngine 2016-06-24 06:15:41 +00:00
client.h Revert "always run" changes from r797; move the QuakeSpasm customizations to a new "cl_alwaysrun" cvar. 2017-08-23 06:00:20 +00:00
cmd.c workaround re-release default.cfg issue: 2021-08-29 14:55:24 +03:00
cmd.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
common.c 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
common.h Add basic localized strings support for 2021 re-release 2021-08-29 17:11:28 +03:00
console.c console.c (Con_TabComplete): don't change the length counter in arg completion. 2018-02-16 05:57:54 +00:00
console.h revise the function attributes usage: do not use the gcc __attribute__ 2017-07-28 12:50:10 +00:00
crc.c CRC_Block: make input pointer const. From QS-Spike 2017-04-02 07:14:53 +00:00
crc.h CRC_Block: make input pointer const. From QS-Spike 2017-04-02 07:14:53 +00:00
cvar.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
cvar.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
default_cfg.h workaround re-release default.cfg issue: 2021-08-29 14:55:24 +03:00
detect.sh Updated support for building the OSX versions using Makefile.darwin. Do 2012-08-16 04:51:41 +00:00
draw.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
filenames.h sync'ed arch_defs.h and filenames.h with uhexen2 tree (for sake of symmetry.) 2016-12-07 06:55:04 +00:00
gl_draw.c "W007: '&array' may not produce intended result" Watcom warning fixes. 2017-09-17 08:00:32 +00:00
gl_fog.c minor simplification 2019-09-12 12:33:02 +00:00
gl_mesh.c Alias model VBO renderer: restructure so each model is stored in a separate VBO and load them in Mod_LoadAliasModel, rather than R_NewMap. 2015-09-20 20:10:49 +00:00
gl_model.c q64 rerelease 2021 bsp support 2021-09-02 20:50:50 +03:00
gl_model.h q64 rerelease 2021 bsp support 2021-09-02 20:50:50 +03:00
gl_refrag.c gl_refrag.c: Hunk-allocate efrags and trim out unused functionality 2017-04-02 19:39:18 +00:00
gl_rlight.c world.c: use DoublePrecisionDotProduct to fix items falling out of the world 2016-02-01 22:41:15 +00:00
gl_rmain.c Merge surface mark & cull optimization from vkQuake 2021-07-07 23:55:50 +03:00
gl_rmisc.c Merge surface mark & cull optimization from vkQuake 2021-07-07 23:55:50 +03:00
gl_screen.c Compensate viewmodel distortion at fov > 90 2021-09-02 20:50:50 +03:00
gl_sky.c Reset pointers to sky textures on map unload/game change 2021-08-10 01:00:02 +03:00
gl_texmgr.c Raised MAX_GLTEXTURES limit from 2048 to 4096 for now per Eric's request 2021-08-31 15:50:28 +03:00
gl_texmgr.h gl_texmgr.h (struct gltexture_s): change 'pants' and 'shirt' to signed char 2018-06-18 07:15:58 +00:00
gl_vidsdl.c window icon should be set after window creation in SDL2. 2021-08-29 17:04:40 +03:00
gl_warp.c Replace some uses of 9999/-9999, and 999999/-999999 with FLT_MAX/-FLT_MAX 2020-03-28 05:09:09 +00:00
gl_warp_sin.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
glquake.h Reset pointers to sky textures on map unload/game change 2021-08-10 01:00:02 +03:00
host.c Add basic localized strings support for 2021 re-release 2021-08-29 17:11:28 +03:00
host_cmd.c Spelling fixes 2020-12-22 12:05:37 +00:00
image.c update lodepng to 20190814 version from mainstream. 2019-08-15 12:01:54 +00:00
image.h - stb_image_write.h: keep only the jpg writer, the only thing we use 2017-08-09 11:33:44 +00:00
in_sdl.c in_sdl: Change controller movement to use cubic easing by default; added 2018-02-05 06:37:50 +00:00
input.h SDL2 Game Controller support 2016-03-01 21:58:08 +00:00
keys.c keys.c: increase CMDLINES (history.txt lines) from 32 to 64 2018-01-10 04:40:31 +00:00
keys.h keys.c: increase CMDLINES (history.txt lines) from 32 to 64 2018-01-10 04:40:31 +00:00
lodepng.c lodepng.c: fix LODEPNG_RESTRICT for gcc 2019-11-18 09:47:04 +00:00
lodepng.h update lodepng to 20190824 version from mainstream. 2019-08-28 00:10:02 +00:00
main_sdl.c don't write the config file if we are Sys_Error()ing 2018-02-21 07:33:07 +00:00
Makefile 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
Makefile.darwin 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
Makefile.w32 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
Makefile.w64 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
mathlib.c revise the function attributes usage: do not use the gcc __attribute__ 2017-07-28 12:50:10 +00:00
mathlib.h world.c: use DoublePrecisionDotProduct to fix items falling out of the world 2016-02-01 22:41:15 +00:00
menu.c Add no-op menu_credits command for quake '2021 release' version 2021-08-24 14:24:24 +03:00
menu.h Rename some (recently added) functions. 2014-10-08 18:30:17 +00:00
miniz.c 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
miniz.h 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
modelgen.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
net.h constify NET_QSocketGetTime() and NET_QSocketGetAddressString() 2015-04-01 09:30:10 +00:00
net_bsd.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_defs.h net_defs.h: add a preprocessor assertion that NET_MAXMESSAGE is sane 2017-04-02 00:45:00 +00:00
net_dgrm.c Spelling fixes 2020-12-22 12:05:37 +00:00
net_dgrm.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_loop.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_loop.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_main.c constify NET_QSocketGetTime() and NET_QSocketGetAddressString() 2015-04-01 09:30:10 +00:00
net_sys.h minor updates to some files from uhexen2 (for sake of symmetry between the two trees.) 2016-08-23 11:24:24 +00:00
net_udp.c net_udp.c (UDP_Init): lose the goto in OSX workaround, restrict the workaround to OSX builds only. 2018-04-20 14:35:32 +00:00
net_udp.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_win.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_wins.c net_wins.c: disable WSA*BlockingHook() stuff for winsock2 builds 2017-07-29 00:35:03 +00:00
net_wins.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_wipx.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
net_wipx.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
OWMakefile.win32 2021 rerelease support: read the localization file from QuakeEX.kpf 2021-09-01 14:00:00 +03:00
pl_linux.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
pl_osx.m silence a few macOS deprecation warnings. 2021-06-28 03:01:02 +03:00
pl_win.c copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
platform.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
pr_cmds.c Add basic localized strings support for 2021 re-release 2021-08-29 17:11:28 +03:00
pr_comp.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
pr_edict.c PR_UglyValueString: increase line[512] to 1024, use q_snprintf 2018-12-30 05:24:36 +00:00
pr_exec.c pr_exec.c, MAX_STACK_DEPTH: increase from 32 to 64 2017-06-23 15:47:01 +00:00
progdefs.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
progdefs.q1 initial import of SDL port of Fitzquake-0.85 / 20090510 sources. 2010-02-15 23:26:55 +00:00
progs.h move the watcom 'aborts' pragma after function declarations. 2017-09-16 19:50:12 +00:00
protocol.h ignore svc_achievement server message for quake '2021 release' version. 2021-08-22 18:55:02 +03:00
q_ctype.h minor updates to some files from uhexen2 (for sake of symmetry between the two trees.) 2016-08-23 11:24:24 +00:00
q_sound.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
q_stdinc.h replace size_t casts to pointers with (u)intptr_t. 2021-08-10 01:04:50 +03:00
qs_bmp.h Simplify the linux icon transparency setting. 2012-09-25 03:07:33 +00:00
quakedef.h bump version to 0.94.0, more documentation updates. 2021-08-30 11:35:00 +03:00
quakespasm.pak Versioned map entity patches 2021-08-29 14:55:10 +03:00
r_alias.c Compensate viewmodel distortion at fov > 90 2021-09-02 20:50:50 +03:00
r_brush.c q64 rerelease 2021 bsp support 2021-09-02 20:50:50 +03:00
r_part.c r_part.c (R_ReadPointFile_f): silence pesky compiler warnings 2017-07-28 20:00:32 +00:00
r_sprite.c r_alias.c, r_sprite.c: print the model name in the "no such skin" (r_alias.c) and "no such frame" (r_sprite.c) developer messages 2015-08-31 18:36:38 +00:00
r_world.c Merge surface mark & cull optimization from vkQuake 2021-07-07 23:55:50 +03:00
render.h gl_refrag.c: Hunk-allocate efrags and trim out unused functionality 2017-04-02 19:39:18 +00:00
resource.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
sbar.c Fixed -Wformat-length warning from experimental gcc-7: 2016-10-07 20:00:27 +00:00
sbar.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
screen.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
server.h map MOVETYPE_GIB of quake '2021 release' version to MOVETYPE_BOUNCE 2021-08-22 18:55:02 +03:00
snd_codec.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_codec.h Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_codeci.h Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_dma.c snd_dma.c: raise MAX_SFX to 1024, for the upcoming arcadim mod. 2015-12-22 06:22:29 +00:00
snd_flac.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_flac.h added flac music support. 2013-07-21 14:02:06 +00:00
snd_mem.c Move more spammy message from "developer 1" to "developer 2", continued: 2015-05-25 18:38:37 +00:00
snd_mikmod.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_mikmod.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_mix.c snd_mix.c: Fix clang warnings about bit-shifting negative numbers 2017-07-28 20:50:03 +00:00
snd_mp3.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_mp3.h snd_mp3.c: moved mp3 tag stuff into a separate module snd_mp3tag.c 2019-12-12 11:37:32 +00:00
snd_mp3tag.c snd_mp3tag.c: check for false positives if id3v1 is not at file's end. 2019-12-29 16:50:06 +00:00
snd_mpg123.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_opus.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_opus.h merged the opus codec support patch 2013-07-18 07:03:11 +00:00
snd_sdl.c snd_sdl.c: pass NULL as the 'obtained' spec to SDL_OpenAudio(): 2019-09-20 18:40:00 +00:00
snd_umx.c snd_umx.c: revise sanity checks and check returned values from FS layer. 2021-07-14 03:37:00 +03:00
snd_umx.h Merge several FS_* and snd_codec* layer updates from uhexen2 tree: 2013-09-25 11:01:12 +00:00
snd_vorbis.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_vorbis.h some codec stuff syncing with uhexen2 2013-02-27 16:50:25 +00:00
snd_wave.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_wave.h Backported external music files support using decoder libraries and the 2011-01-05 19:50:43 +00:00
snd_xmp.c Updates for tracker music: 2021-02-04 23:28:00 +03:00
snd_xmp.h added tracker music support using libxmp >= v4.2.0 (off by default.) 2016-12-07 09:24:49 +00:00
spritegn.h bspfile.h, cdaudio.h, client.h, cmd.h, common.h, console.h, crc.h, cvar.h, 2010-02-21 00:01:08 +00:00
stb_image_write.h Some more image.c / lodepng / stb_image_write clean-ups: 2017-08-09 20:00:08 +00:00
strl_fn.h added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
strlcat.c added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
strlcpy.c added strlcat.c and strlcpy.c: will use them later. 2011-12-27 11:03:39 +00:00
sv_main.c silence misleading indentation warnings from clang. 2021-06-28 03:01:02 +03:00
sv_move.c sv_move.c: add explicit int cast to a float argument to abs(). 2017-07-28 20:50:25 +00:00
sv_phys.c map MOVETYPE_GIB of quake '2021 release' version to MOVETYPE_BOUNCE 2021-08-22 18:55:02 +03:00
sv_user.c RMQ protocol (999) support, adapted from RMQEngine 2016-06-24 06:15:41 +00:00
sys.h noreturn functions: use the 'aborts' aux pragma with Watcom 2017-07-28 20:11:03 +00:00
sys_sdl_unix.c don't write the config file if we are Sys_Error()ing 2018-02-21 07:33:07 +00:00
sys_sdl_win.c don't write the config file if we are Sys_Error()ing 2018-02-21 07:33:07 +00:00
vid.h Com_game_f: try execing quake.rc automatically.. 2017-06-23 22:02:49 +00:00
view.c fix rendering bug when cl_bobcycle was set to zero (sf.net bug/41) 2021-03-31 23:51:10 +03:00
view.h Contrast support with a "contrast" cvar, behaving the same as MarkV's. 2016-02-12 23:26:36 +00:00
wad.c W_LoadWadFile, COM_CheckRegistered: more helpful error messages 2017-08-14 04:10:32 +00:00
wad.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
world.c SV_TouchLinks: new workaround for touch functions that modify the 2017-08-28 02:15:04 +00:00
world.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00
wsaerror.h * arch_def.h, net_sys.h, wsaerror.h: New headers, adapted from uhexen2. 2010-06-21 10:55:21 +00:00
zone.c Spelling fixes 2020-12-22 12:05:37 +00:00
zone.h copyright years, general tidy-up, remove unused d_ifacea.h. 2014-09-22 08:55:46 +00:00