Commit graph

292 commits

Author SHA1 Message Date
blendogames
e8ab644e5a Sound buffer messages are now only displayed in developer mode. 2024-02-08 16:05:47 -08:00
blendogames
8675f35794 Fixed bug where joystick movement was ignoring the player movement lock. 2024-01-30 19:48:23 -08:00
blendogames
3ee852d7e2 Joystick can now select menu items. Added various gamepad menu interactions. 2024-01-30 19:24:23 -08:00
blendogames
ebb29bd2ad Merge branch 'master' of https://github.com/blendogames/thirtyflightsofloving 2024-01-30 08:32:33 -08:00
blendogames
9d0145669b basic gamepad support for menus. 2024-01-30 08:32:31 -08:00
Ethan Lee
09a7f12cdd Avoid setting vid_gamma in Unix ApplyVideoChanges 2021-12-08 17:48:17 -05:00
blendogames
7ed5bb377b
Update README.md 2021-12-06 22:37:57 -08:00
Ethan Lee
2ee7db1902 Disable brightness slider on Linux/macOS.
SDL has SDL_SetWindowGammaRamp which maps to what the win32 sys does, but it's
a really bad experience and it doesn't even work on Wayland (and oftentimes X?)
anyway. This is something that a faux-backbuffer would have to cover instead.
2021-12-03 01:15:16 -05:00
blendogames
32ef9104af updated menu credits 2021-12-02 16:59:16 -08:00
Ethan Lee
f4cad5010e Apply changes from Thirty Flights of Loving (2021 Edition) 2021-12-02 18:09:12 -05:00
Knightmare66
3da932f697 Added Ethan Lee's fix for vsync on Unix builds.
Misc Unux compiling fixes.
Added VS2015 project files.
Added 32-bit static libs for VS2015.
2021-12-02 15:17:38 -05:00
Knightmare66
fe555d0600 Removed GL_LockArrays()/GL_UnlockArrays() in r_glstate.c.
Removed arraysLocked qboolean member from struct glState_t.
Removed detection for GL_EXT_compiled_vertex_array (array locking extension) in r_main.c.
Removed extCompiledVertArray qboolean member from struct glConfig_t.
2021-11-19 20:54:59 -05:00
Knightmare66
befa8db495 Added GL_PrintError() for more detailed OpenGL error output.
Added R_EndFrame() to remove direct calls to GLimp_EndFrame() from client and UI.
Removed GL_LockArrays()/GL_UnlockArrays() calls in shadow volume rendering.
Changed parameters to UI_DrawMenuString(), UI_DrawString(), and variants.
Added UI_DrawPopupMessage() to simplify popup text drawing.
2021-11-19 07:25:37 -05:00
Knightmare66
4cb3614976 Updated libcurl to 7.80.0. 2021-11-18 20:36:27 -05:00
Knightmare66
52efbae77d Missed a couple of things from Linux finishing changes. 2021-11-18 01:26:32 -05:00
Knightmare66
e7eca9e3ff Change game library name in makefile to match recent change for x86_64 -> x64. 2021-11-17 19:41:25 -05:00
Knightmare66
9be3063f0e Fixed reformatting typo in qgl_unix.c. 2021-11-17 19:04:52 -05:00
Knightmare66
0dc88d405d Merged Ethan Lee's finishing Linux and MacOS X porting changes.
Added support for MacOS-specific keys to cl_keys.c.
2021-11-17 18:58:12 -05:00
Knightmare66
25d030bf19 Added detection for Windows 11 and Windows Server 2019. 2021-11-15 00:52:53 -05:00
Knightmare66
730ed13e71 Added CPUID support for Intel Alder Lake CPUs. 2021-11-15 00:10:23 -05:00
Knightmare66
f829090864 Added custom animations array and enabled target_animation entity in missionpack DLL.
Added support for custom client railgun colors in missionpack DLL.
Removed sk_rail_color_* cvars from missionpack DLL.
Added CS_HUDVARIANT configstring.
Added code to set CS_HUDVARIANT configstring in game DLLs.
2021-11-11 21:32:00 -05:00
Knightmare66
ec1c4c03f8 More reformating and refactoring of m_actor.c in default Lazarus and missionpack DLLs. 2021-11-05 16:08:04 -04:00
Knightmare66
6de038bb2b Refactored m_actor.c in default Lazarus and missionpack DLLs with macros for weapon numbers.
Reformatted g_camera.c in default Lazarus and missionpack DLLs.
Added color string utility function to missionpack DLL.
2021-11-05 05:23:57 -04:00
Knightmare66
054d9522ec More formatting changes to misc_actor code in default missionpack and Lazarus DLLs.
Added support for LMSP plasma rifle to misc_actor in missionpack DLL.
2021-11-03 18:02:54 -04:00
Knightmare66
b4a509243d Reformatted m_actor.c and m_actor_weap.c in default Lazarus and missionpack DLLs. 2021-11-03 03:46:07 -04:00
Knightmare66
f4d66df31b Added "This file is generated by Extractfuncs, do not modify" comment to header ouput for extractfuncs. 2021-11-02 19:19:17 -04:00
Knightmare66
304e3e30c4 Fall back to using r_mode when GetSystemMetrics() API calls fail in win32/vid_dll.c->VID_GetModeInfo().
Previous handling of API call failure could cause repeat returns of false, resulting in a fatal error.
2021-11-01 21:51:39 -04:00
Knightmare66
d552aa1e48 Use proper detection of error/failure from GetSystemMetrics() API calls in win32/vid_dll.c->VID_GetModeInfo(). 2021-11-01 20:38:22 -04:00
Knightmare66
95295401a4 Added support for custom client railgun colors in 3ZB2, Awakening2, and Zaero DLLs.
Added weapon balancing and tech control cvars to 3ZB2 DLL.
Added Vampire and Ammogen techs to 3ZB2 game DLL.
Fixed func_door_secret movement bug (when built with origin brush) in Zaero DLL.
Fixed armor stacking bug in default Lazarus, missionpack, and Zaero DLLs.
Removed unused tech cvars in default Lazarus DLL.
Changed parsing of TE_BLASTER_COLORED tempent.
2021-10-31 03:53:09 -04:00
Knightmare66
b4fe9c809e Added custom animations array and re-enabled target_animation entity in default Lazarus DLL.
Added support for custom client railgun colors in default Lazarus DLL.
Removed sk_rail_color_* cvars from default Lazarus DLL.
2021-10-28 21:39:19 -04:00
Knightmare66
b573e7da75 Add support for arrays of structs (up to 4 dimensions) to extractfuncs. 2021-10-28 20:28:49 -04:00
Knightmare66
1816e40c8f Change vid_fullscreen default to 0. 2021-10-24 22:18:06 -04:00
Knightmare66
7c837e73a5 Increase default fullscreen resolution to 1024x768. 2021-10-24 19:22:35 -04:00
Knightmare66
97a87dbe6e Added color1 userinfo cvar for player railgun effect color to client.
Added red/green/blue component sliders to player setup menu to change player railgun effect color.
Added parsing test code for color1 cvar in client code of default Lazarus DLL.
Will integrate custom color into railgun weapon code for next savegame version increment.
2021-10-21 02:03:19 -04:00
Knightmare66
5d252f3bbc Added changable railgun weapon skin based on sk_railgun_skin cvar to change railgun skin to default Lazarus, missionpack, and Zaero DLLs.
Added sk_rail_color_red, sk_rail_color_green, and sk_rail_color_blue cvars to change rail trail color when cvar sk_rail_color is set to 2 in default Lazarus, missionpack, and Zaero DLLs.
Added ctf_railcolors cvar to default Lazarus DLL.
2021-10-16 23:19:27 -04:00
Knightmare66
4635d4a5b8 Clean up Q_ftol() for Linux porting in DLL sources. 2021-10-11 22:02:12 -04:00
Knightmare66
fa0f460482 Straighten out USE_GLMIPMAP platform/OS confusion in r_image.c. 2021-10-11 17:58:06 -04:00
Knightmare66
6eec9c1a76 Fix minor oops with _WIN32 macro in g_misc.c. 2021-10-11 17:37:32 -04:00
Knightmare66
86b480711c Added unix shell script for extractfuncs.
Updated extractfuncs.exe from latest source.
Use new cvar modified functions to force vid_restart from vid_ref.
Renamed qglDrawRangeElementsEXT to qglDrawRangeElements in qgl_win.c (missed in last commit).
2021-10-11 16:27:13 -04:00
Knightmare66
4eea7036b8 Added Ethan Lee's Linux porting changes.
Moved loadingMessage, loadingMessages, and loadingPercent variables in client into client_static_t struct.
2021-10-11 15:38:20 -04:00
Knightmare66
3956855f13 Added support for custom axis rotation for func_door_rotating, func_door_rot_dh, func_door_swinging, func_rotating, and func_rotatating_dh in default Lazarus and missionpack DLLs. 2021-10-06 19:04:43 -04:00
Knightmare66
d15474a52e Added changeable blaster weapon skin based on sk_blaster_color cvar in default Lazarus, missionpack, and Zaero DLLs.
Refactored some weapon code in missionpack DLL.
2021-09-30 20:09:36 -04:00
Knightmare66
bea11c25e0 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:50:33 -04:00
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
fcdd241f96 Added re-initialization of UI data (via UI_RefreshData() in ui_main.c) when changing gamedirs.
Added CL_ChangeGameRefresh() in cl_main.c.
Refactored execution of default.cfg and kmq2config.cfg via FS_ExecConfigs() in filesystem.c.
Fixed crash due to uncleared pointers when reinitializing mapshotvalid state arrays.
2021-09-27 21:37:44 -04:00
Knightmare66
3fcff505a8 Renamed internally generated textures.
Changed blendmode for envmap entity shells.
2021-09-27 12:59:00 -04:00
Knightmare66
2744534829 Added flag to reload player models in menu when new player models/skins have been downloaded. 2021-09-21 03:02:44 -04:00
Knightmare66
26bf1a14ad Added support for downloading sounds with player models. 2021-09-12 02:03:24 -04:00
Knightmare66
d0d781761d Added keybind menu control type.
Refactored key binding menu with new control type.
Minor cleanup of menu implementations.
2021-09-05 00:05:38 -04:00
Knightmare66
3ce18b138c Refactored spincontrol menu control with value lists, simplifying menu implementations.
Simplified loading and saving of cvars in slider menu control.
Enlarged text in Game, Multiplayer, and Options menus.
Fixed repeat of failed file causing HTTP downloads to restart.
Added cl_zoommode cvar to simplify Lazarus zoom command.
Changed zoom command to use new cl_zoommode cvar in default Lazarus and missionpack DLLs.
Removed unused "crossh" cvar in default Lazarus and missionpack DLLs.
Fixed Makron not having a classname when spawned from Jorg in default Lazarus and missionpack DLLs.
Made Tactician Gunner ignore small amounts of damage in missionpack DLL.
2021-09-04 02:18:06 -04:00