Commit Graph

6800 Commits

Author SHA1 Message Date
fgsfds fedcbb8917 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-16 10:53:02 +02:00
Ryan Dwyer fb5b505bab Untangle menuitemdata structs 2023-08-16 18:34:08 +10:00
Ryan Dwyer f020543599 Use sizeof for setup prop sizes instead of literals 2023-08-16 14:36:34 +10:00
fgsfds 7a4edd6ef7 port: fix SHADE_ALPHA with fog again 2023-08-16 02:15:04 +02:00
fgsfds 2b5e136cc0 port: fix #15 and menu sliders in general 2023-08-16 02:13:58 +02:00
fgsfds ab4d595904 port: fix #14
patch courtesy of Ryan
2023-08-16 00:28:20 +02:00
fgsfds b1247b5eac port: purge texcache when gunmem is released as well 2023-08-16 00:19:53 +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
fgsfds 1eb30b28e1 port: don't shove headers into the link command line 2023-08-15 21:35:09 +02:00
fgsfds 6a749bdae5 port: temporary fix for explosion texture colors 2023-08-15 17:49:09 +02:00
fgsfds 9aa15c6fbb
Merge pull request #12 from MaikelChan/menu_rendering
Fixed flipped texts and menu elements that were beyond the near clip plane
2023-08-15 16:43:31 +02:00
fgsfds 8aa8d61bb8 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port
this fixes collision bugs related to moving objects and rotation of a lot of stuff
2023-08-15 16:16:18 +02:00
Ryan Dwyer 24657743ff Fix mtx3Copy in C translation 2023-08-15 22:28:11 +10:00
MaikelChan 6f35e00c16
Fixed flipped texts and menu elements that were beyond the near clip plane. 2023-08-15 05:05:53 +02:00
fgsfds 20fd3a8f67 port: make alt-enter go into fullscreen 2023-08-15 01:06:14 +02:00
fgsfds 7666ccf2c7 port: fix muzzle flashes on some guns 2023-08-15 00:49:35 +02:00
fgsfds 0cc29d2c99 port: fix healthbar rendering 2023-08-15 00:16:25 +02:00
fgsfds 1b1222494e port: move game viewport init to gfx_init() 2023-08-14 22:07:36 +02:00
fgsfds 94c3dfe51e port: fixup aspect ratio on the 3d parts of the title sequence 2023-08-14 22:07:16 +02:00
fgsfds 58d93cb083 port: hackfix psychosis gun crash 2023-08-14 19:43:05 +02:00
fgsfds f5bcc25e10 port: fix textureconfig-related texture corruption
explosions are still miscolored, but no longer garbage
2023-08-14 18:30:02 +02:00
fgsfds a31e2209c5 port: fix firing range
props to Ryan again
2023-08-14 17:53:08 +02:00
fgsfds 4d52a8e476 port: scale gun swivel only when mouse aiming 2023-08-14 17:42:48 +02:00
fgsfds c3fb50c358 port; refactor widescreen PR a bit
abstract aspect into a video* function

re-add gun swivel, but make it slower on hi res
2023-08-14 17:39:02 +02:00
fgsfds 65115089af
Merge pull request #4 from MaikelChan/aspect_ratio
Sort of implemented arbitrary aspect ratio and mouse movement improvements
2023-08-14 17:24:57 +02:00
fgsfds 48bac90a7b
Merge pull request #5 from babbygremlin/port
Fix default control scheme for combat sim
2023-08-14 17:18:35 +02:00
babbygremlin 93a38649f3 Fix default control scheme for combat sim
the default control scheme for new profiles in combat simulations was being set to 1.1 instead of 1.2 this just changes the number, its very tiny
2023-08-14 00:30:30 -07:00
MaikelChan 89c5cfb46b
Sort of implemented arbitrary aspect ratio and mouse movement improvements. 2023-08-14 07:20:05 +02:00
fgsfds 51808cd1f8 port: fix a bunch of controller-related bugs
don't completely override kb+m input when a controller is connected (fixes #3)

handle controller disconnection

add adequate default controller binds

add deadzone
2023-08-13 23:18:24 +02:00
fgsfds 758eb77578 port: fix credits crash
campaign is now more or less completable, other than the pushbox collision bug
2023-08-13 22:49:00 +02:00
fgsfds 358f788b61 port: read gbi command id correctly in gfxReplaceGbiCommands 2023-08-13 21:09:04 +02:00
fgsfds e0d4bf44b8 port: read command ids correctly when rendering in xray mode 2023-08-13 21:04:00 +02:00
fgsfds 7ec10febae port: swap intro commands properly 2023-08-13 20:30:28 +02:00
fgsfds 8acd495e91 port: revert the loaded_texture changes
they broke more than they fixed
2023-08-13 20:05:26 +02:00
fgsfds 5f11dd48a2 Revert "port: make the tmem_index allocation a little bit more sane"
This reverts commit 0f0e674f71.
2023-08-13 20:02:33 +02:00
fgsfds 38343bfbf1 Revert "port: change the loaded_texture system yet again; fix a couple crashes"
This reverts commit 6750bd9422.
2023-08-13 20:02:16 +02:00
fgsfds 76ed7f180e port: padoffsets are actually u16 2023-08-13 19:42:51 +02:00
fgsfds 6750bd9422 port: change the loaded_texture system yet again; fix a couple crashes
in combat sim once in a million years, in G5 and Villa
2023-08-13 18:52:15 +02:00
fgsfds d51a7bc9d6 port: rename some math functions to avoid conflicts with libc 2023-08-13 17:13:08 +02:00
fgsfds 6cb545aaf0 port: swap more cctv and linkliftdoorobj fields
props to Ryan for noticing
2023-08-13 16:48:21 +02:00
fgsfds 4b8c4a5bcd port: saner bg portal swapping 2023-08-13 15:52:43 +02:00
fgsfds 0a9a191f27
Update README.md 2023-08-13 12:05:59 +02:00
fgsfds 83c1bd3ffd ci: bundle DLL hell with windows builds 2023-08-13 11:56:54 +02:00
fgsfds 23c57ad033
ci: add placeholder file to data directory so it gets packaged 2023-08-13 11:45:42 +02:00
fgsfds cf1594bcbb
ci: forgot to --add-architecture 2023-08-13 11:39:05 +02:00
fgsfds 10caa91099
ci: add even more missing deps 2023-08-13 11:37:19 +02:00