Commit Graph
7166 Commits
Author SHA1 Message Date
fgsfds 629dbfe924 Merge pull request #613 from AL2009man/FOV-MouseSen-fix
Camera Sensitivity no longer tied to FOV Slider
2025-05-29 20:01:32 +02:00
Catherine Reprobate 45f25c704a refactor(menu): rename unk5d5_06 and sp344 for clarity
Backport from Friends of Joanna: renamed the bool member `unk5d5_06` in
the `menudata` struct to `isdialogopen` to clarify its purpose as a
dialog state flag. Also renamed the local bool variable `sp344` in
`menutick.c` to `isdialogopen` to reflect its relation to the struct
member. Updated all references for consistency and improved readability.
2025-05-24 13:38:43 -07:00
AL2009man d8aefc33fc fixed Sniper Rilfle zoom when using FOV higher than 60%
Removing the scaling entirely beraks Sniper Rifle zoom. So: we're switching back to FOV Scaling, but now it'll be based on `PLAYER_DEFAULT_FOV` instead of `60.0f`. This now ensures tha
2025-05-16 19:26:46 -04:00
AL2009man cdd116830d fixed tmp spacing 2025-05-16 00:50:57 -04:00
AL2009man 11d02dd8f2 last attempt on whitespace fix 2025-05-16 00:46:08 -04:00
AL2009man 73631e8d5f attempted whitespace fix 1 2025-05-16 00:42:34 -04:00
AL2009man a1136f4d61 fixed Mouse Sensitivity affecting FOV Slider
Your mouse sens scale should now behave exactly the same, regardless of FOV Slider
2025-05-16 00:36:17 -04:00
fgsfds 8bfaaf63ed Merge pull request #610 from joshuarwood/documented_zbuffer
Updated variable and function names for artifact handling
2025-05-12 16:43:07 +02:00
joshuarwood 2d59929261 syncing moved files 2025-05-11 12:23:32 -05:00
joshuarwood 86e6e54792 return ifdef to original position following the debugging tests 2025-05-11 12:22:01 -05:00
joshuarwood f12ae756ef rename game_13c510 files to artifact 2025-05-11 12:17:38 -05:00
joshuarwood 062de5bb7b clear up debugging statements 2025-05-11 11:59:11 -05:00
joshuarwood 400865ec25 added debugging to pin point seg fault 2025-05-03 20:17:29 -05:00
joshuarwood 0d6c557982 updated variable names to match Ryan Dwyer's work clarifying the zbuffer behavior 2025-05-03 19:57:52 -05:00
joshuarwood 75e34ace8c added Ryan Dwyer's comment describing how artifact handling behaves 2025-05-03 16:06:10 -05:00
joshuarwood a2428aac1e working to document format used for 16 bit depth integers 2025-05-02 11:53:02 -05:00
Catherine Reprobate 039eb8b562 rename struct menudata.unk00c-> prevmenudata 2025-04-27 16:01:10 -07:00
Catherine Reprobate 872aa3a4a4 rename struct menudata.unk008 -> prevmenuroot 2025-04-27 15:52:58 -07:00
fgsfds 4b8e1d52b5 port: move menuAlt functions to menu.c and make them global 2025-04-27 15:54:39 +02:00
fgsfds f96a03e60f port: clean up previous PR 2025-04-27 15:34:25 +02:00
fgsfds 9d2db1a346 Merge pull request #596 from rafccq/port-enh-mpsetupfile
Enhanced multiplayer game setup save files
2025-04-27 14:26:39 +02:00
AL2009man 9695856be6 updated player.c to account for 0.022f scale
while also changing input.c delta scale to ensure it has a divider
2025-04-11 19:24:25 -04:00
AL2009man 053f7dc8a5 Mouse Sensitivity follows Quake/id Tech mouse sens
this changes mouse sensitiivity scale to mirror id Tech's Mouse Sensitivity Scale. This also makes it easier for Steam Input users (Steam Deck and Steam Controller) to use Gyro To Mouse/Flick Stick's Natural Sensitivity Scale
2025-04-11 00:06:02 -04:00
Raf d4856a193b mpsetups: added weapon set num to the save file 2025-04-02 20:13:19 +08:00
Raf b93015c51c mpsetups: fixed reverse pitch/look ahead being reset when the mpsetups file is created for the first time 2025-04-02 00:33:45 +08:00
Raf 6198fbc479 mpsetups: a bunch of bug fixes
- "load settings" becoming invalid when entering and exiting the challenges screen
- when setting a setup as default, it would change the current setup
- larger window width causing the marquee text to be rendered off-bounds
- reduced the setup name's max length, as it wouldn't fit on the screen in some cases
2025-04-01 17:00:59 +08:00
Raf 0316317aa3 Merge branch 'fgs-port' into port-enh-mpsetupfile 2025-03-31 10:34:42 +08:00
Raf f9cfa0fa43 mpsetups: introduced "menu alt" button/key to toggle presets
Currently the "menu alt" (L/R buttons, or Ctrl/Alt keys) is fixed, but
we may make it bindable later
2025-03-31 10:34:25 +08:00
Raf 8f477a36b6 mpsetups: convert existing setups from the eeprom, removed "combat settings" items from file menu
increased block size from 64 to 80 (it was insufficient)
2025-03-31 10:24:26 +08:00
Raf 4d4fa8f681 savebuffer: extended read/write to accept 64 bits, renamed a function, removed an unused function 2025-03-31 10:10:13 +08:00
Jonaeru 33c5194a1b Fix "Select Dark" in Select Random Weapons feature to not select IR Scanner and Night Vision 2025-03-30 22:48:14 +09:00
Jonaeru edd58c8925 Fix offset in weapon set by adding IR Scanner and Night Vision 2025-03-30 22:31:51 +09:00
Raf a1d6916871 mpsetups: manage default setup + save the selected random weapons 2025-03-29 18:34:01 +08:00
Raf 9e19055348 mpsetups: fixed bugs caused by using a wrong constant + fixed the setup marquee display 2025-03-29 04:17:36 +08:00
Raf dcef8deed8 mpsetups: import/export settings 2025-03-29 02:57:55 +08:00
Raf 3d75365f2b mpsetups: increased max name length to 18 2025-03-27 01:01:46 +08:00
Raf ad9ed9ff3b mpsetupfile: scrapped groups, manage settings: rename/delete 2025-03-25 01:05:57 +08:00
Catherine Reprobate 4f55a41d99 add NVGs and IRGs to CS
- fixes n64-bug: NVGs and IR goggles should not be dual-wieldable
2025-03-23 12:48:16 -07:00
Catherine Reprobate 355f0ed0ee IR Goggle support for 4player and 1-2p draw fixes
- allocate memory for 4player's IR goggle scanlines
- fixes IR goggle alignment
- fixes IR lens for players 2 and 4
- fixes off-by-one rendering error for top two players (bottom of screen)
- fixes off-by-one rendering error for right-side players (right side of semicircle thing)
- fixes dark area flickering; use resolved shading for props if not wearing goggles
- port: fix IR goggle off-by-one draw issues
2025-03-23 12:47:06 -07:00
Raf f5d851f7c2 mpsetupfile (not 100% functional yet): load/save setup file, save new setups/groups, increased mp options/scenario data width 2025-03-24 03:33:34 +08:00
Matthew Coppola ea464ca6ac Allow dragging sliders with the mouse
Additional code was introduced to handle edge cases. Sliders are always
dimmed when clicked with the mouse, now. When the mouse button is
release, dimmed mode is turned off. This was done to prevent adjacent
slider items from being accidentally modified by moving the mouse over
them with the left mouse button held down, as well as to allow proper
functioning of deferred sliders with the mouse.
2025-02-24 00:05:51 -05:00
Matthew Coppola a9752198c3 Make mousescroll work effectively for fast sliders 2025-02-23 22:49:51 -05:00
Matthew Coppola fbd9ef002e Treat mousescroll as a mouse movement 2025-02-23 22:49:51 -05:00
Matthew Coppola e4972ddbe3 Allow adjusting sliders with mousescroll 2025-02-23 22:49:24 -05:00
fgsfds ac4f317879 port: changes to the video settings PR:
- change FPS calculation to use average FPS, use real time instead of render time for interval timing

- remove Maximize Window (you already have a maximize button and it's saved to the INI)

- remove Display FPS Interval from settings (the average user won't care and whoever cares can change it in the INI)

- remove the tickrate override flag and implicit tickrate adjustment in the framerate limit option, instead add one checkbox to uncap tickrate (mostly because I'd like the game to default to the og 60 FPS cap since high FPS is still unstable)

- rearrange some options a bit
2025-02-22 13:22:00 +01:00
fgsfds e3104b7043 Merge pull request #538 from ZenithMDC/revamp-video-options
Allow changing video resolution at runtime + more
2025-02-22 11:26:43 +01:00
fgsfds 176b4282fc Merge pull request #577 from jonaeru/mp-random-weapon-filter
Add "Select Random Weapons" mp menu
2025-02-22 11:16:56 +01:00
fgsfds cd8f06d03a Merge pull request #578 from jonaeru/fix-friendly-fire
Fix to enable Friendly Fire option in Challenge
2025-02-22 11:15:38 +01:00
fgsfds 8a3dd74d5c port: add option to reload with use key in extcontrols 2025-02-11 20:02:35 +01:00
Jonaeru c0aa42759c fix "Select Random Weapons" mp menu, optionindex 2025-02-10 22:39:10 +09:00