Commit graph

12 commits

Author SHA1 Message Date
Knightmare66
e8680f266e Added automatic re-initialization of UI data and execution of config files (via CL_ChangeGameRefresh() and FS_ExecConfigs()) when changing "game" cvar and gamedir.
Added CL_ChangeGameRefresh() in cl_main.c.
Added UI_RefreshData() in ui_main.c.
Added FS_ExecConfigs() in filesystem.c to handle execution of default.cfg and kmq2config.cfg.
Fixed crash due to uncleared pointers when reinitializing mapshotvalid state arrays.
2021-09-27 21:47:12 -04:00
Knightmare66
1b4eb2b6d7 Refactored server, qcommon, and Win32 code to use cvar integer field where applicable.
Commented out removal of "sethud" command in cl_screen.c.
2021-03-05 16:46:22 -05:00
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
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
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
e317029eac Updated GPL headers based on Q2 Tools GPL source release. 2020-06-04 17:01:28 -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
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
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
f986267ae2 inital commit of full repository 2019-03-13 15:20:07 -04:00