Commit Graph
5325 Commits
Author SHA1 Message Date
fgsfds 618a1f3386 port: set g_MaxExplosions to 6 by default 2025-06-14 09:59:19 +02:00
fgsfds 4bd6dd8617 Merge pull request #597 from rafccq/port-no-doors
"No Doors" option in multiplayer
2025-06-11 12:40:33 +02:00
Raf 97444de634 Merge branch 'fgs-port' into port-max-explosions 2025-06-04 01:21:03 -03:00
fgsfds d9185982f8 port: fix sun glare 2025-06-02 23:07:35 +02:00
Raf 8037431686 port: moved the max explosions config to the .ini file 2025-05-30 01:25:18 -03:00
Raf 8891bbf7ec port-mp-setups: spaces -> tabs 2025-05-29 16:05:25 -03:00
Raf 20bd9ddcbb port-mp-setups: a bunch of bug fixes
- only load the MP setup file when loading the agent, instead of when entering CS
- "clear default" was cause the game setup to become invalid upon re-entering it
- all challenges were showing the same text
2025-05-29 15:33:32 -03:00
Raf c866940873 port-no-doors: a couple code quality improvements 2025-05-28 20:57:21 -03:00
Raf 54b62c044f Merge branch 'port' into port-no-doors 2025-05-28 20:43:58 -03: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
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 f12ae756ef rename game_13c510 files to artifact 2025-05-11 12:17:38 -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 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
Raf 52992009db port: no door option in multiplayer, moved the extra settings to a new sibling dialog 2025-04-04 01:49:15 +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 edd58c8925 Fix offset in weapon set by adding IR Scanner and Night Vision 2025-03-30 22:31:51 +09: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
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
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 8a3dd74d5c port: add option to reload with use key in extcontrols 2025-02-11 20:02:35 +01:00
Jonaeru 904faa5485 Add MP Select Random Weapon Menu 2025-02-08 14:01:22 +09:00
fgsfds 5084b4be39 port: simplify the keyboard input a bit and match it to port-net's
backspace key now repeats properly

TYPE WITH KEYBOARD changes into a tooltip when typing

players with controllers are allowed to type, because that seems more convenient

players 2, 3 and 4 are allowed to type too if they hit the button, but only one player can have keyboard focus at a time
2025-01-05 15:27:45 +01:00
fgsfds a05c4290f5 Merge pull request #557 from ZenithMDC/text-input
Allow typing with keyboard in menuitemKeyboard
2025-01-05 13:44:43 +01:00
Catherine Reprobate 701c854ced func0f0d5484 -> savebufferWriteData 2024-12-19 12:51:17 -08:00
Matthew Coppola da07772b1c Allow typing with keyboard in menuitemKeyboard 2024-12-17 05:47:43 -05:00
Matthew Coppola c43f550a7e Prevent crash when copying player data 2024-12-09 16:20:56 -05:00
fgsfds 903dd82ebf port: alternate fix for #548 2024-12-08 13:39:21 +01:00
Matthew Coppola 687b966c5e Allow overriding g_TickRateDiv at runtime 2024-12-06 17:20:24 -05:00
Matthew Coppola 1d14877bec Allow changing vsync and framerate limit at runtime
Also implements a new menu item flag: MENUITEMFLAG_SLIDER_DEFERRED,
which only calls the MENUOP_GETSLIDER callback on entering dimmed mode,
storing its value for later ticks, and only calls the MENUOP_SET
callback on leaving dimmed mode. This was necessary to prevent the
framerate limit slider from immediately affecting the framerate, leading
to an annoying slow down as the value was decremented to 0.
2024-12-06 17:20:22 -05:00
fgsfds b2338179d6 port: don't uncrouch in spaces where we don't fit when using extended controls 2024-11-23 12:14:03 +01:00
fgsfds 683d083fab port: don't round crosspos itself, round a copy instead 2024-11-23 09:54:43 +01:00
fgsfds f75a569075 Merge pull request #522 from ZenithMDC/centered-crosshairs
Center-align crosshairs, zoom range, and radar
2024-11-23 09:20:48 +01:00
fgsfds efda5a5f44 port: also try GL4.1 core; a little bit of cleanup 2024-11-19 17:37:19 +01:00
Catherine Reprobate cea20b6f31 osx build 2024-11-17 10:51:45 -08:00
fgsfds 06dcbcc1b1 port: rename random to rngRandom to avoid conflicts with libc 2024-11-17 11:03:57 +01:00