Commit Graph
123 Commits
Author SHA1 Message Date
fgsfds 0e5b4bde62 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-28 15:55:54 +02:00
fgsfds 916d147619 port: skip detail textures
this fixes the carpet in Defection and maybe other places, but means that detail textures are broken for now
2023-08-28 15:03:51 +02:00
fgsfds 66443dd2c2 port: don't explode when EEPROM can't be saved or loaded 2023-08-27 17:49:27 +02:00
fgsfds 89849bc805 port: read keybinds from config file 2023-08-27 17:26:57 +02:00
fgsfds 4fef14f9fc port: rework config system
it is no longer required to specify all possible config keys in config.c, you can just use configGet/Set
2023-08-27 17:26:46 +02:00
fgsfds 9529a991ef Merge pull request #68 from NeonNyan/controller-buttons
Multiple input updates
2023-08-27 13:06:16 +02:00
fgsfds 1f49665c05 Merge pull request #103 from iamgreaser/gm/fix-choppy-audio-at-non-60fps
Fix choppy audio at sub-60fps framerates
2023-08-27 12:49:54 +02:00
fgsfds 558875c91c port: fix the RGBA4/8 hack
this fixes the door hinge thing textures in CI
2023-08-27 02:17:30 +02:00
GreaseMonkey 5b0874daef Fix choppy audio at sub-60fps framerates 2023-08-27 12:12:21 +12:00
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