Catherine Reprobate
10844e7a52
fixup controller use buttons
2023-08-26 16:14:43 -07:00
Catherine Reprobate
077a091f7d
fixup camspy bindings
2023-08-26 16:14:43 -07:00
Catherine Reprobate
f88493870a
Address multiple extended input nits
...
- Q for radial menu
- mapped remaining xbla buttons, but the menus follow switch controller handfeel
- based on @Phnod's switch-weapons PR: https://github.com/fgsfdsfgs/perfect_dark/pull/57
2023-08-26 16:14:43 -07:00
Catherine Reprobate
3f6f0b3f9c
map sensible xbox inputs
...
xbox A is mapped to n64 B for using items
n64 A is unmapped for controller.
When radial / weapon switching is mapped way from n64 A n64 A can be
remapped as a cancel button .
Trigger will need to be used for the menus until
2023-08-26 16:14:43 -07:00
Phnod
5a0580005f
Added scrollwheel weapon swapping
2023-08-26 16:14:43 -07:00
MaikelChan
5710b2a7dd
Fixed credits texts with wrong UVs.
2023-08-26 13:24:42 +02:00
fgsfds
844139b339
port: restart currently playing MP3 when needed
...
there's probably a way to determine reset condition without adding an extra field to g_Mp3Vars, but I can't be arsed to figure it out
2023-08-26 10:34:35 +02:00
fgsfds
4ab1e08129
port: make sun and light glares use LOS checks
...
this partially fixes them, but there are still problems to iron out
2023-08-25 17:18:02 +02:00
fgsfds
87529f37c8
port: use gettimeofday() as timing source; use smaller tick multiplier to avoid overflows
2023-08-24 18:11:14 +02:00
fgsfds
a85a18774f
port: implement NVG/IRG color modulation using the grayscale command
...
still missing the funky overlays
2023-08-22 23:21:55 +02:00
fgsfds
143d2a107a
port: save config on exit
2023-08-22 20:37:18 +02:00
fgsfds
2533a844a7
port: fix use-after-free when invalidating texcache
2023-08-22 01:35:13 +02:00
fgsfds
62ea74f332
port: turns out rodata comes after texture data
2023-08-22 00:57:27 +02:00
fgsfds
3a10d47903
port: fix normals
2023-08-22 00:42:36 +02:00
fgsfds
12eeb97e71
port: don't go out of bounds when unswizzling textures
...
this might still break though, god knows what else is there in the texconfigs
2023-08-22 00:30:41 +02:00
fgsfds
2670db7ca1
port: add rstick fields to OSContPad
2023-08-21 00:29:51 +02:00
fgsfds
b9944e8669
port: don't crash when swapping empty rooms
2023-08-20 22:20:12 +02:00
fgsfds
2b6b205a78
port: min supported SDL version should now be 2.0.12
2023-08-20 21:25:06 +02:00
fgsfds
8c6d6df5fc
port: be a bit more standard compliant
2023-08-20 19:59:07 +02:00
fgsfds
4b0f2ea439
port: unswizzle pre-swizzled textures
2023-08-20 17:26:11 +02:00
fgsfds
e0ced73d8a
port: fix model lighting
2023-08-20 16:26:21 +02:00
fgsfds
f1186a35d8
port: forgot this
2023-08-20 15:48:46 +02:00
fgsfds
933ba8a708
port: swap all portal vertex batches
...
actually fixes #43
credit to Ryan for the patch
2023-08-20 15:44:01 +02:00
fgsfds
bd5d613a24
port: whitespace cleanup
2023-08-20 15:42:40 +02:00
fgsfds
d007550adb
Merge branch 'port' into port
2023-08-20 15:30:19 +02:00
fgsfds
2a5594d7d5
Merge pull request #47 from tmyqlfpir/no-lods
...
Don't draw LODs for port
2023-08-20 15:14:33 +02:00
fgsfds
7e71450a76
port: wrap malloc & co
...
in case we'll need allocation stats or something later
2023-08-20 14:56:07 +02:00
tmyqlfpir
97258542be
Don't draw LODs for port
2023-08-20 20:08:19 +10:00
Catherine Reprobate
93679e62e8
tested with xbox one controller
...
map implemented buttons to xbla positions
map radial menu to middle the mouse button
2023-08-20 00:00:00 -07:00
fgsfds
0c80abf5b9
port: ignore scissor test in resolve_msaa_color_buffer
2023-08-19 18:02:24 +02:00
fgsfds
a7692fe4ef
port: add MSAA setting
2023-08-19 17:50:31 +02:00
fgsfds
e6a4b9f2fe
port: small clean up in gfx_pc
2023-08-19 15:38:16 +02:00
fgsfds
67c4531771
port: add stick scale config setting; better (?) deadzone
2023-08-19 15:18:15 +02:00
fgsfds
8d26944642
port: three-point does not need GL_LINEAR
2023-08-19 13:57:44 +02:00
fgsfds
2f54ceb96e
port: add texture filter setting
2023-08-19 13:56:15 +02:00
fgsfds
41cdef055e
port: allow keyboard to act as a separate controller
...
also add a way to fake controller connection status for testing
2023-08-19 12:13:23 +02:00
fgsfds
4e42e3ef82
port: mouse wheel binds; handle adding and removing controllers
2023-08-19 02:16:58 +02:00
Catherine Reprobate
a71c7cbba2
Merge branch 'fgsfdsfgs:port' into port
2023-08-18 16:39:44 -07:00
Catherine Reprobate
781fbcddd4
fixup bindings:
...
F and G will switch modes and bringup the radial menu
2023-08-18 16:37:41 -07:00
fgsfds
1d151f2864
port: implement some framebuffer effects
...
cloaking and menu blur
in a likely extremely slow way
2023-08-19 00:48:09 +02:00
fgsfds
249041764b
port: add adjustable fov
2023-08-18 17:18:56 +02:00
fgsfds
554fde7a9d
port: fix rumble
2023-08-18 15:34:13 +02:00
fgsfds
a49bfd00a4
port: add mouse controls to eyespy and slayer
2023-08-18 14:47:08 +02:00
fgsfds
b906f77b37
port: added rumble scale and support for 2 extra buttons
...
also fixed some warnings
2023-08-18 12:26:55 +02:00
fgsfds
7a4edd6ef7
port: fix SHADE_ALPHA with fog again
2023-08-16 02:15:04 +02:00
fgsfds
bed505fd91
port: get rid of __builtin_trap
2023-08-15 23:33:55 +02:00
fgsfds
ffea7cd65a
port: reset texcache on level change
2023-08-15 23:33:25 +02:00
fgsfds
8600aead20
port: close config after reading it
2023-08-15 22:00:39 +02:00
fgsfds
f48879653a
port: forgot this
2023-08-15 21:57:34 +02:00
fgsfds
0c01ab76cf
port: add simple config file
...
includes an option to disable vsync and enable cpu-side frame limiter
2023-08-15 21:45:23 +02:00