fgsfds
8a3dd74d5c
port: add option to reload with use key in extcontrols
2025-02-11 20:02:35 +01:00
fgsfds
9a462d3ca8
port: log controller GUID to aid in binding generation
2025-01-25 11:55:50 +01: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
fgsfds
0443c708dd
port: align size of bg light block to 4
...
this avoids unaligned accesses on ARM
2024-12-29 14:47:42 +01:00
fgsfds
7f105f1dcb
port: on ARM, only enable DO_YIELD() if ARMv7 or ARM64
2024-12-29 13:56:44 +01:00
Matthew Coppola
da07772b1c
Allow typing with keyboard in menuitemKeyboard
2024-12-17 05:47:43 -05:00
fgsfds
1e76f6af69
port: actually parse allocation strings; double gfx buffer size on 64-bit
2024-12-17 10:44:33 +01:00
fgsfds
a14e9ed97e
port: retry creating SDL window when trying different GL versions
2024-12-11 14:06:44 +01:00
fgsfds
2439eb6e8d
Merge pull request #551 from ZenithMDC/increase-mouse-speed-precision
...
Increase precision for mouse speed options
2024-12-08 13:40:23 +01:00
fgsfds
903dd82ebf
port: alternate fix for #548
2024-12-08 13:39:21 +01:00
Matthew Coppola
cb449bf7ce
Increase precision for mouse speed options
2024-12-06 22:40:57 -05:00
Matthew Coppola
687b966c5e
Allow overriding g_TickRateDiv at runtime
2024-12-06 17:20:24 -05:00
Matthew Coppola
0b8a333e2b
Rearrange the menu, clean up, and change some things
2024-12-06 17:20:23 -05:00
Matthew Coppola
b34bb01240
Actually sync fullscreen and maximized states with the backend
2024-12-06 17:20:23 -05:00
Matthew Coppola
210b299bd4
Add Display FPS options to Extended Video Options
...
Also changed how the window title FPS works, which is now derived from
the difference in time between subsequent video frames.
2024-12-06 17:20:23 -05:00
Matthew Coppola
6de98cfcd4
Update GUI texture filtering setting immediately
2024-12-06 17:20:23 -05:00
Matthew Coppola
d43c4c0cba
Allow changing MSAA at runtime
2024-12-06 17:20:23 -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
Matthew Coppola
5aa1cc6117
Cache ints instead of strings for video modes
2024-12-06 17:20:22 -05:00
Matthew Coppola
1be0e3680b
Add video option to center the window
2024-12-06 17:20:22 -05:00
Matthew Coppola
09b0a12b0a
Allow changing video resolution at runtime + more
...
Fullscreen exclusive mode is togglable at runtime, as well, as a
dropdown menu with "borderless" and "exclusive" options. All variables
pertaining to video resolution, exclusive mode, and maximized state are
now synchronized. For instance, Alt+Enter will affect the state of the
fullscreen video option and maximizing the window via the title bar will
update the maximize window option accordingly.
2024-12-06 17:20:15 -05:00
fgsfds
a1ca69d9ee
port: fix issues mentioned in #530 and #532
2024-12-04 16:27:53 +01:00
fgsfds
0ad4492ff6
port: default to home directory for saves on OSX as well
2024-11-24 00:25:19 +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
d2d35263a4
port: sanitize controller names
...
because apparently some of them can't fucking resist putting a funny R or TM in there
2024-11-20 13:00:41 +01:00
fgsfds
ba1b6c3232
port: turns out depth_clamp is in core GL since 3.2
2024-11-20 12:51:35 +01:00
fgsfds
3c020cad84
port: detect gl core and GLES3 at runtime; add hacks to make it work properly
2024-11-20 12:07:18 +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
Matthew Coppola
fb18da239f
Move subpixel offset code & fix radar UV map
...
The subpixel offset code has been moved into the draw_rectangle
function, so it can be applied to more than just the fill_rectangle
function.
The radar texture was displaced along its V component and has
been corrected. It has also been subpixel-adjusted to align with the
player's radar dot.
2024-11-15 03:16:33 -05:00
Matthew Coppola
942c966bf2
Replace centered rects with subpixel offsets
2024-11-15 03:16:32 -05:00
Matthew Coppola
e0d59345c7
Center-align crosshairs and zoom range
2024-11-15 03:16:32 -05:00
fgsfds
28fceb67de
port: bring back the host_ structs for filemodel.c
...
this fixes the Pelagic 2 guard thing, but I still need to figure out how to get rid of them without breaking the shit out of everything
2024-11-15 00:42:04 +01:00
fgsfds
b88c3a120b
port: add scopes to cases in preprocess to prevent older compilers from having a heart attack
2024-11-14 19:20:27 +01:00
fgsfds
a6f5077609
port: 64-bit: fix crash site
2024-11-14 18:43:16 +01:00
fgsfds
2cb29e91c6
port: only run the menu blur filter once
2024-11-13 14:04:36 +01:00
fgsfds
55cc2d8e72
port: nswitch: basic Nintendo Switch port
2024-11-13 12:50:42 +01:00
fgsfds
0bdf79cc51
port: build: move to CMake
...
god forgive me
2024-11-12 22:08:18 +01:00
fgsfds
36f9e59304
port: 64-bit: fix jpn builds
2024-11-12 14:05:43 +01:00
fgsfds
3f887b2ecf
port: 64-bit: shrink audio bank allocation after loading
2024-11-12 13:53:52 +01:00
fgsfds
421ac0af79
port: 64-bit: fix extra fields in modelrodata_type11
2024-11-12 13:18:02 +01:00
fgsfds
163dbf9495
port: 64-bit: get rid of host_ structs; further cleanup
2024-11-12 13:13:42 +01:00
fgsfds
2f221b9a1e
port: 64-bit: fix warnings
2024-11-12 10:49:13 +01:00
fgsfds
1448cd597a
port: 64-bit: more cleanup
...
replace the byte swapping macros with the ones from platform.h
rename and move things to match the rest of the code
2024-11-12 10:34:10 +01:00
fgsfds
5c2082f58e
port: 64-bit cleanup: remove FileType, use LOADTYPE instead
2024-11-10 14:02:04 +01:00
fgsfds
23539a02a5
port: 64-bit cleanup: remove exit()/fprintf()
2024-11-10 10:53:59 +01:00
fgsfds
f37abc941e
port: 64-bit cleanup: remove dead preprocess code
2024-11-10 10:41:15 +01:00
Raf
d5ee41fe5d
Merge branch 'fgs-port' into port-x64
...
# Conflicts:
# .github/workflows/c-cpp.yml
2024-10-03 23:58:40 +08:00
fgsfds
2a5c3a351e
port: refactor gbcRomCheck a bit
2024-09-02 10:48:54 +02:00