Commit Graph
82 Commits
Author SHA1 Message Date
fgsfds 04f95ed1d1 port: net: experimental 8 player support 2023-12-26 22:48:28 +01:00
fgsfds 02329b64a1 Merge branch 'port' of https://github.com/fgsfdsfgs/perfect_dark into port-net 2023-12-23 22:09:43 +01:00
fgsfds aae0f70dd3 port: net: sync some projectiles, doors, parts of bgun, etc 2023-12-23 22:09:37 +01:00
fgsfds 6fc99e4c23 port: net: basic networking with barely working position sync 2023-12-17 12:54:48 +01:00
Bobby Lovell 79fb976bcf Implement a simple colored box menu item type and use that for the preview. 2023-12-14 16:03:29 -05:00
fgsfds 2c20a0487e port: better menu blur
TODO: make it render the blurred texture to the fb once instead of rendering it blurred every frame
2023-12-02 19:18:47 +01:00
fgsfds 600dae58e2 port: allow using N64 control schemes
change from Ext to another control scheme to activate

note that this will require rebinding keys, as the default config is for the Ext scheme
2023-11-26 18:07:35 +01:00
fgsfds cea9527936 port: add controller axis settings
also make sliders look nicer and save some input settings on quit
2023-10-28 14:36:00 +02:00
fgsfds 015817f204 port: add extended options menu
as well as support for string literals in the menu system
2023-10-28 05:33:09 +02:00
Catherine Reprobate 80d787caf9 Support for two-sticks, one controller
port: implements analog movement for pc controllers

port: Implement menu movement with the C stick

port: Implement analog leaning

port: Implement 1.2 + 1 analog zooming

port: pd input lib now handles 32 buttons

port: modern crouch implementation

port: implement analog slayer airbraking

port: xbla farsight strafing

Map crouch buttons

- map cycle crouch to L3
- sensible 1964-style crouch bindings
2023-10-17 18:28:18 -07:00
fgsfds ff8505c013 Merge pull request #130 from Phnod/rotated-text-cutoff-fix
fix: remove height trim on rotated text
2023-09-03 00:19:06 +02:00
Catherine Reprobate 0d6a62ada0 Use XBox / PC Menu A/B semantics
Fixes #110
2023-09-02 13:28:21 -07:00
Phnod eff475c498 fix: nudge menu left side text a pixel to the left to counteract extra pixel column 2023-09-01 14:38:17 -04:00
fgsfds 60e2118001 Merge pull request #114 from iamgreaser/gm/ubfix-0001
Fix a few cases of UB incl. OoB
2023-08-31 18:29:38 +02:00
fgsfds ba8346edb7 port: experimental hack for proper 16:9 HUD
might or might not be more convenient than editing all offsets
2023-08-31 00:45:18 +02:00
fgsfds e29e20e779 port: small cleanup; decrease bigfont height to 26
this avoids scrolling in the main menu; will probably also help with the extended options later
2023-08-30 12:14:18 +02:00
GreaseMonkey 889ae950fe Fix a few cases of UB incl. OoB
Behaviour should be mostly the same but there are some OoB accesses in the menu code where I've had to assume things.

Tests for each OoB case:

- Accessing of layer -1: Select a game file in the "Choose Your Reality" screen.
- Accessing of menu for the 5th player: Die in a mission.
2023-08-29 10:23:14 +12:00
fgsfds 0e5b4bde62 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-28 15:55:54 +02: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
fgsfds 095b7540d5 port: fix aspect on menu models 2023-08-22 20:22:25 +02:00
Ryan Dwyer 38345c1672 Set names for menumodel symbols 2023-08-22 08:48:32 +10:00
fgsfds d007550adb Merge branch 'port' into port 2023-08-20 15:30:19 +02:00
fgsfds 420053178e Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-19 11:45:17 +02:00
Ryan Dwyer 032c5166f4 Fix improper casting of model rwdata 2023-08-19 19:01:00 +10:00
Catherine Reprobate a71c7cbba2 Merge branch 'fgsfdsfgs:port' into port 2023-08-18 16:39:44 -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
Catherine Reprobate 12571746d7 Unmap L_TRIG and *_JPAD 2023-08-18 13:59:13 -07:00
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
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 eb8c4e9ee9 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-06 18:52:09 +02:00
fgsfds 05889b54cb port: partially unfuck menus 2023-08-04 01:11:19 +02:00
Ryan Dwyer 3b4451a2d1 Name more pak symbols 2023-06-25 22:33:57 +10:00
Ryan Dwyer 8c22681e35 Set names for more bondgun symbols 2023-06-04 16:44:37 +10:00
Ryan Dwyer 1df5e4dc51 Document propsnd functions 2023-06-03 11:17:22 +10:00
Ryan Dwyer 0ebce0dcf9 Set names for menucolourpalette properties 2023-05-29 18:31:26 +10:00
Ryan Dwyer 2e386f7a34 Use ARRAYCOUNT in many more places 2023-05-28 00:48:58 +10:00
Ryan Dwyer 8559aeed1f Introduce FBALLOC and SCREEN constants for dimensions 2023-05-14 13:00:29 +10:00
Ryan Dwyer 73fc947f44 Name and document z-buffer functions 2023-05-14 09:23:24 +10:00
Ryan Dwyer ba11c5634b Introduce uintptr_t 2022-12-07 21:00:03 +10:00
Ryan Dwyer 3484a4faed Set names for all model C functions 2022-11-28 22:22:41 +10:00
Ryan Dwyer 3248fa9849 Rename and document room mtx functions 2022-11-28 17:48:59 +10:00
Ryan Dwyer 590aecb48e jpn-final: Decompile menuRender 2022-11-21 23:09:01 +10:00
Ryan Dwyer 43962cdf9d jpn-final: Decompile menuFindAvailableSize 2022-11-21 22:27:00 +10:00
Ryan Dwyer a6a0fbbdca ntsc-beta: Decompile menuRenderModels 2022-11-20 20:51:17 +10:00
Ryan Dwyer 17583575e4 Introduce support for gcc 2022-10-12 22:26:19 +10:00
Ryan Dwyer 15c067fe36 Decompile gasRender 2022-09-16 20:52:10 +10:00
Ryan Dwyer 56c927ac9b Decompile texLoad 2022-08-27 19:56:29 +10:00
Ryan Dwyer feeda3a6e7 Decompile menugfxDrawPlane 2022-08-18 21:47:19 +10:00
Ryan Dwyer b20aa02961 Decompile modelmgrAllocateSlots 2022-08-17 17:22:08 +10:00