Commit graph

36 commits

Author SHA1 Message Date
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
08b4e6b1b4 Don't copy default.cfg to savegame dir. 2020-10-26 12:48:48 -04:00
Knightmare66
6a59000846 Changed chat filtering to also work for private messages.
Renamed "sp2" sprite structs for SP2 to have sp2 in their name.
2020-09-20 18:16:28 -04:00
Knightmare66
cc63f643ac Renamed md2 "alias" structs and defines for MD2 to have MD2 in their names. 2020-09-06 04:17:32 -04:00
Knightmare66
67e211d524 Changed linux game library name to "kmq2gamex86_64.so" for 64-bit builds. 2020-08-11 17:11:53 -04:00
Knightmare66
d9848657dc Const-ified string parms for filesystem funcs, function exports, and related func in game DLLs. 2020-08-11 02:08:18 -04:00
Knightmare66
988347e7d2 Yet more 64-bit porting fixes. 2020-08-02 02:00:01 -04:00
Knightmare66
8f43c6bf9f More 64-bit portability fixes. 2020-08-01 22:54:35 -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
62ea3ccaf4 Added skipping of echo blocks and improved parsing of CL_FilterStuffText(). 2020-05-16 03:06:59 -04:00
Knightmare66
62c5281baa Refactored BUILDSTRING into OS_STRING and COMPILETYPE_STRING 2020-05-06 14:49:40 -04:00
Knightmare66
00dd6821ab Fix bug with .sv2 file getting overwritten inside .savz file when writing savegames to fs_savegamedir. 2020-05-02 16:46:25 -04:00
Knightmare66
30012ce19c Finished implementation of fs_savegamedir and fs_downloaddir. 2020-05-02 16:08:01 -04:00
Knightmare66
cb9d596d44 Added svc_fog to svc_strings and svc_ops_e list.
Changed default hud_scale value to 5.
2020-05-01 15:24:43 -04:00
Knightmare66
a097e077ad Removed NET_SERVER_BUILD macro- it's been usused for years. 2020-04-30 12:13:47 -04:00
Knightmare66
65b0c2281e Updated to libcurl 7.69.1 with HTTPS support.
Added UDP fallback from HTTP downloads and support for Q2Pro-style HTTP URLs.
Now allows downloading non-numerical pak files via flagging certain paks as protected.
Misc filesystem changes.
2020-04-30 02:10:27 -04:00
Knightmare66
9272d5ea85 Change Hunk_* and zone alloc functions to use size_t instead of int.
Replace READ_COMPRESSED_SAVEGAMES and WRITE_COMPRESSED_SAVEGAMES macros with COMPRESSED_SAVEGAMES.
Misc changes and some cleanup to game code.
2020-04-20 03:17:27 -04:00
Knightmare66
2788421eb0 Added working directory fix from R1Q2. 2020-04-18 22:01:14 -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
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
f38b767fc1 Added support for cvar descriptions. 2020-04-08 23:26:17 -04:00
Knightmare66
bf0e8af8a7 Added support for quake2:// URLs.
Pointer fixes to dedicated console.
Renamed new teleport event.
Partial cleanup to game DLL fog code.
Added Zaero monsters and misc entities to missionpack DLL.
2020-04-07 02:02:54 -04:00
Knightmare66
3da6641b19 Added blacklist check for pak files in FS_FindFiles() and FS_FilteredFindFiles(). 2019-10-08 23:08:44 -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
9b61347592 Added compression of .sv2 and .sav files into one .savz zip archive.
Added additional save info (full mapname, date and time, auto/quick save) to server.ssv file.
2019-08-29 18:54:46 -04:00
Knightmare66
6733c0cf6c Added basegame3 cvar to load data from up to 3 other mods. 2019-08-29 16:04:14 -04:00
Knightmare66
fe7685022f Increased MAX_MAP_VISIBILITY. 2019-07-13 14:19:05 -04:00
Knightmare66
faff1135e9 Load maps.lst and files under players/ from disk first.
Added check in FS_FileInPakBlacklist() for certain files that should be loaded from disk first.
Then check for local file in gamedir.  If present, ignore file in pak.
2019-06-11 20:51:34 -04:00
Knightmare66
c206d0a449 Undo previous commit. Fixing the maps.lst external loading will require a more complex approach. 2019-05-06 21:23:30 -04:00
Knightmare66
9c5fca4da2 Fixed maps.lst inside pak file overridding the external version of this file in baseq2.
Blacklisted maps.lst from loading from pak files.
Cleaned up unneeded va() string expansion in cl_main.c->CL_Connect_f().
2019-05-05 13:07:41 -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
da1f56a0c5 Removed message size check for 404 messages in HTTP downloading.
Renamed modType() and roguepath() functions in qcommon/files.c to FS_ModType() and FS_Roguepath().
2019-04-05 01:25:40 -04:00
Knightmare66
f986267ae2 inital commit of full repository 2019-03-13 15:20:07 -04:00