Knightmare66
1abde37ba0
Changed parameter order for Q_strncpyz() and Q_strncatz() to match Com_strcpy() and Com_strcat() from missionpack DLL.
2021-01-25 02:47:07 -05:00
Knightmare66
2cac9ab01c
Added HUD font option to interface options menu.
2021-01-11 02:04:12 -05:00
Knightmare66
a324593c65
Fixed not acurately setting both console and ui font options when open interface options menu.
2021-01-11 01:38:19 -05:00
Knightmare66
a07cf5c962
Added ui_font and scr_font cvars to separately change menu and HUD font.
...
Added R_DrawString() to allow drawing of text strings directly in the renderer.
Refactored r_speeds drawing to use new R_DrawString() function.
2021-01-11 01:17:13 -05:00
Knightmare66
08b4e6b1b4
Don't copy default.cfg to savegame dir.
2020-10-26 12:48:48 -04:00
Knightmare66
fdca639bd4
Renamed save slots to use format of kmq2savexxx.
...
Increased number of save slots in save/load menus to 24.
2020-09-27 19:59:38 -04:00
Knightmare66
55c983cf4a
Added 165 and 180Hz refresh rates to video menu.
2020-09-20 19:17:00 -04:00
Knightmare66
74e4a4f1cc
Renamed cvars hud_scale, hud_alpha, and hud_squeezedigits to scr_hudsize, scr_hudalpha, and scr_hudsqueezedigits.
...
Added cl_hud and cl_hud_variant placeholder cvars.
Fixed some VS2019 compiler warnings pointed out by Paril.
2020-08-09 17:03:47 -04:00
Knightmare66
37eb683714
Added cvar r_maxfps_autoset to allow disabling of automatic framerate capping.
...
Moved call to CL_SetFramerateCap() to UpdateVideoRef().
Future-proofed CL_SetFramerateCap() for higher refresh rates.
2020-08-06 18:47:26 -04:00
Knightmare66
70759acf65
Added automatic setting of r_maxfps based on r_displayrefresh.
2020-08-06 00:33:53 -04:00
Knightmare66
d49cde7712
Fix "MWHEELUP/MWHEELDOWN is unbound" being spammed to console when scrolling.
...
Fixed overlapped "customize controls" and "reset defaults" in controls option menu
2020-08-05 17:15:30 -04:00
Knightmare66
a523e11915
Abstracted "save" folder name for 64-bit portability.
2020-07-31 17:11:31 -04:00
Knightmare66
7cf0c475f5
Miscellaneous 64-bit porting fixes.
2020-07-29 06:05:09 -04:00
Knightmare66
26d58b1694
Added screenshot gamma correction.
...
Changed stats.log to save to savegamedir instead of the Quake2 root folder.
Renamed cvars menu_sensitivity, menu_rotate, and menu_alpha to ui_sensitivity, ui_item_rotate, and ui_background_alpha.
Removed some unused cvars.
Added CVAR_SAVE_IGNORE flag to "game" and "gamedir" cvars.
Added descriptions for most cvars.
Added dumpcvars command to output a list of cvars with their descriptions to cvarlist.txt.
2020-07-04 01:31:44 -04:00
Knightmare66
e317029eac
Updated GPL headers based on Q2 Tools GPL source release.
2020-06-04 17:01:28 -04:00
Knightmare66
ee9f79daff
Use cvar integer field instead of float value field where applicable in client and UI.
...
Fixed false alerts on 0-length unicasts in PF_Unicast().
2020-05-29 03:54:33 -04:00
Knightmare66
2708250c0a
Added horizontal offset to third-person mode, controlled by cvar cg_thirdperson_offset.
...
Add thirdperson offset option to controls menu.
Added cg_thirdperson_overhead cvar for experimental overhead mode.
Increased MAX_GLTEXTURES to 16K.
2020-05-05 01:37:53 -04:00
Knightmare66
a810f29413
Fixed enleess looped HTTP download attempts of missing player model files.
...
Added cl_http_fallback cvar to disable Q2Pro path and UDP fallback for HTTP downloads.
Added check to prevent game library from sending unicasts to non-present clients (i.e. bots).
Updated Lazarus version number.
Updated Qudos' Unix makefile for source file changes. Compiling for Linux still needs more fixes, such as static libs (libcurl/zlib/png/jpeg/ogg/vorbisfile).
2020-05-04 21:24:51 -04:00
Knightmare66
30012ce19c
Finished implementation of fs_savegamedir and fs_downloaddir.
2020-05-02 16:08:01 -04:00
Knightmare66
e96adb36a9
Added descriptions to option menu submenu actions.
...
Fixed fill of black menu status bar.
Added Sys_ExeDir(), Sys_PrefDir(), and Sys_DownloadDir().
2020-04-18 21:46:47 -04:00
Knightmare66
e6ec99c444
Added support to menu framework for changing font sizes of all menu controls.
...
Added r_clearcolor_r, r_clearcolor_g, r_clearcolor_b cvars to change gl_clear fill color.
2020-04-18 00:24:32 -04:00
Knightmare66
ceb8970ecc
Added font upscaling from Q2Pro.
...
Added dynamic updating of Anisotropic filtering.
Added Cvar_IsModified() function.
Refactored screen and HUD scaling functions.
Added text size to string drawing functions.
Added textSize field to menu items for submenu headers.
Fixed compiling on MSVC6.
2020-04-16 03:18:49 -04:00
Knightmare66
f9688191e1
Added slider to advanced video menu for cel shading width.
2020-02-25 02:53:01 -05:00
Knightmare66
bdf3406328
Added cel shading.
...
Moved ARB warp distortion texture to glMedia struct.
2020-02-23 14:07:48 -05:00
Knightmare66
31b164ca9d
Added support for 160 and 240 Hz refresh rates.
2019-12-09 18:32:27 -05:00
Knightmare66
8ac9e3c693
More cleanup of string handling in CTF code.
...
Increased MAX_ARENAS to 4096.
2019-11-20 21:13:27 -05:00
Knightmare66
92ef67ef44
Changed SetCrosshairNames(), SetFontNames(), and S_OGG_LoadFileList() to use FS_GetFileList().
...
Added zeroing of ogg_filelist pointer after free.
2019-10-12 19:54:15 -04:00
Knightmare66
2959cb730a
Fix possible memory leak in menu font and crosshair loading.
2019-10-11 15:30:46 -04:00
Knightmare66
01d78fcaf7
Added new FS_GetFileList() function to retrieve lists of files (by extension or filter) from both paks and game dirs.
...
Changed UI_LoadArenas() to use FS_GetFileList().
Exported FS_GetFileList() to game DLL.
2019-10-08 21:55:44 -04:00
Knightmare66
e3a80955cd
Replace strstr with non-ambiguous check for file extensions.
2019-08-29 16:58:21 -04:00
Knightmare66
d6e78497f8
Load .arena files not loading from directories, not just from paks.
...
Fix check of FL_REFLECT in M_CheckAttack() being overridden by other if blocks.
Changed falling armor damage to off by default.
Added sanity checks to cl_string.c->StringSetParams().
2019-08-18 02:38:19 -04:00
Knightmare66
cace814029
Set the teamplay box value based on dmflags.
2019-04-18 12:00:55 -04:00
Knightmare66
132b05f03a
Added check for autosave slot in LoadGameCallback() to not specify a non-existent saveshot.
...
Check for minumum length of saveshot name in SCR_DrawLoading().
Skip STX char before map title in dedicated console output.
Increased number of failed images/textures and walsizes to 1024 from 256.
Added one last modType() -> FS_ModType() change I forgot to commit.
2019-04-16 19:15:25 -04:00
Knightmare66
66c41c11aa
Fixed out-of-bounds array access when trying to draw saveshot for back action in save/load menus.
...
Also some other changes for renaming roguepath() to FS_RoguePath() I forgot to commit.
2019-04-15 15:00:12 -04:00
Knightmare66
f986267ae2
inital commit of full repository
2019-03-13 15:20:07 -04:00