Commit graph

99 commits

Author SHA1 Message Date
Knightmare66
62ea3ccaf4 Added skipping of echo blocks and improved parsing of CL_FilterStuffText(). 2020-05-16 03:06:59 -04:00
Knightmare66
9b4e85322c Added Q_StrScanToken() to replace StringContainsToken() for non-ambiguous token searching.
Changed CL_FilterStuffText() to use Q_StrScanToken() instead  of strstr().
2020-05-16 01:02:34 -04:00
Knightmare66
b020f21541 Fixed crucified insanes being screwed up by the clearing of spawnflags bit 8, which conflicts with SF_MONSTER_GOODGUY.
This manifiested as glitches such as them sliding downward when they or the player are shot.
2020-05-14 03:38:00 -04:00
Knightmare66
62c5281baa Refactored BUILDSTRING into OS_STRING and COMPILETYPE_STRING 2020-05-06 14:49:40 -04:00
Knightmare66
93dc5e0534 Added chat version advertisement using "!kmq2_version" or "!version" from R1Q2 (client/client.h, cl_main.c, cl_parse.c)
Updated CPU identification (win32/sys_win.c)
2020-05-06 12:55:56 -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
f6f2c9379f Updated readme file for new savegame/config writing/loading behavior. 2020-05-02 18:43:52 -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
02755e0181 Added Zaero autocannon to missionpack DLL. 2020-04-23 03:18:05 -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
ce580d2c10 Added new filesystem functions to game code.
Changed sk_ cvar names to match.
2020-04-19 23:57:44 -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
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
8085bad68a Fixed wrap artifacts on upscaled 128x128 fonts at odd resolutions (1680x1050).
Changed vertex coords in R_DrawChar from float to int.  This fixes wrap artifacts with odd scaling factors.
2020-04-16 18:46:17 -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
562b6c816c Added filename to "Invalid JPEG color components" error message in JPG loader.
Added pointer checks to CL_TextColor().
2020-04-07 23:41:08 -04:00
Knightmare66
e9a777fdf7 Change TextColor() reference in vid_null.c to CL_TextColor(). 2020-04-07 21:17:21 -04:00
Knightmare66
ce11b17e52 Fix text color codes not working in console notify messages due to false reset of formatting parms.
Renamed TextColor() and CL_StringSetParams in cl_string.c to CL_TextColor() and CL_StringSetParams().
Changed SetWindowLong() and GetWindowLong() calls in vid_dll.c to SetWindowLongPtr() and GetWindowLongPtr().
2020-04-07 21:14:22 -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
bf146f4637 Use cvar integer field instead of float value field where applicable in renderer. 2020-03-19 23:37:01 -04:00
Knightmare66
c8ce7c05f9 Added shadow volume bboxes to determine if a volume shadow should be drawn, even if the model isn't in view.
Added z-pass shadows (Doom3 GPL method) when r_shadow_zfail is set to 0.
Removed direct writes to value field of r_lightlevel cvar.
Replaced Com_sprintf() calls in console drawing that fed a buffer into itself with Q_strncatz().
2020-03-19 22:28:18 -04:00
Knightmare66
d1c1e87940 Prevent divide by zero errors with cl_particle_scale cvar. 2020-03-19 17:15:38 -04:00
Knightmare66
7d294586f7 Fixed screen artifacting with light blooms enabled on a video mode with height less than 512.
Fixed text scale not changing after changing video modes.
2020-03-14 23:51:19 -04:00
Knightmare66
1c7ec5a56b Incremented savegame version for missionpack DLL due to addtion of new key items breaking saves.
Fixed savegame crash in missionpack DLL caused by duplication of "key_message" in save fields.
2020-03-13 22:27:24 -04:00
Knightmare66
527ebab91d Fix sound index range for EV_PLAYER_TELEPORT_Q1 to be 0-4, not 0-5. 2020-03-12 02:36:15 -04:00
Knightmare66
f8e43f0a4b Added Q1 teleport entity event. 2020-03-09 15:11:50 -04:00
Knightmare66
f2d381eaf1 asdf 2020-03-08 06:04:30 -04:00
Knightmare66
1eaba3e791 Fixes for lavaball entity and func_door_secret2. 2020-03-08 05:56:09 -04:00
Knightmare66
ef76c81f23 Added more monsters and misc entities to missionpack DLL by request from MikeM. 2020-03-08 04:07:40 -04:00
Knightmare66
ccfa82d228 Exclude alphatest meshes from cel-shading. 2020-02-25 20:57:18 -05:00
Knightmare66
f9688191e1 Added slider to advanced video menu for cel shading width. 2020-02-25 02:53:01 -05:00
Knightmare66
1be86ec1b2 Fixed handling of high-bit alt color strings. 2020-02-24 23:22:45 -05:00
Knightmare66
ff5079f8bb Fixed cell shading outlines on mirrored and view flipped models. 2020-02-24 04:27:50 -05:00
Knightmare66
eb97af1598 Added sources for Zaero mission pack and 3ZB2 bot DLLs.
Added GetFileList() to game function imports in misison pack DLL game.h.
2020-02-23 16:15:28 -05:00
Knightmare66
bdf3406328 Added cel shading.
Moved ARB warp distortion texture to glMedia struct.
2020-02-23 14:07:48 -05:00
Knightmare66
552fe17908 Added missing CTFSay_Team() to client commands list. 2020-02-21 22:01:52 -05:00
Knightmare66
e3b3c0d5cc Renamed project files for official mission pack support DLL. 2020-02-15 14:53:26 -05:00
Knightmare66
0a88219a83 Added missing settable spawn health for info_player_start
Added support for attenuation = -2 player only for target_speaker
Added header file for Coconut Monkey vulture monster
2020-02-13 18:49:26 -05:00
Knightmare66
f1b6052f15 Removed size limit of 512x256 for .wal textures. 2020-02-09 16:27:23 -05:00
Knightmare66
2efcb5a672 Fixed potential crash caused by infinite recursion in client footstep code. 2020-02-09 03:04:16 -05:00
Knightmare66
c6c7e79b5a Added application compatbility manifest for Windows 8.1 and 10.
Increased sky draw distance.
2020-02-06 18:58:22 -05:00
Knightmare66
722289fe27 Added source code from official mission pack support DLL. 2020-01-04 21:25:00 -05:00
Knightmare66
31b164ca9d Added support for 160 and 240 Hz refresh rates. 2019-12-09 18:32:27 -05:00