Commit Graph
79 Commits
Author SHA1 Message Date
fgsfds c3f572f016 port: recreate infiltration camera effects
using newly added modulation blending and noise
2023-09-17 23:34:02 +02:00
Phnod d033a7fa02 Merge branch 'port' of https://github.com/Phnod/perfect_dark into zoom-hud-fov
# Conflicts:
#	src/include/data.h
2023-09-02 19:05:12 -04:00
fgsfds e5e685902c port: don't use G_RM_NOOP2 with non-noop 1cyc modes
this ALMOST fixes sparks and blood splatter
2023-09-01 17:56:00 +02:00
Phnod 810db26bf4 fix: undo regression with previous cleanup, horizon scanner previously showed the wrong zoom level relative to FOV change 2023-09-01 10:07:15 -04:00
Phnod 5033c096a2 cleanup: move PLATFORM_N64 preprocessor checks for fov zoom into a separate macro to reduce clutter 2023-09-01 09:48:53 -04:00
Phnod 917209cb65 fix: remove +1 from horizon scanner's displayed zoom level to show the accurate zoom level
Previously the display would instantly jump from 1.00x to 2.01x, and show 31.00x instead of 30.00 at the max zoom level
2023-08-31 21:31:31 -04:00
Phnod 0bf57ddd48 fix: apply FovAffectsZoom to horizon scanner zoom 2023-08-31 21:26:00 -04:00
GreaseMonkey 43a91b2b4b Fix "mpindex=4" UB cases for various view gadgets 2023-08-29 13:15:42 +12:00
Catherine Reprobate 12571746d7 Unmap L_TRIG and *_JPAD 2023-08-18 13:59:13 -07:00
fgsfds da9046f745 port: swap RGBA color literals 2023-08-05 01:57:26 +02:00
fgsfds 9433dc7769 port: make it not crash on the intro sequence and render SOME geometry 2023-08-01 23:38:06 +02:00
Ryan Dwyer 2e386f7a34 Use ARRAYCOUNT in many more places 2023-05-28 00:48:58 +10:00
Ryan Dwyer 5255f7c346 Use Vtx/Col instead of struct gfxvtx, struct colour and u32 2023-05-27 13:22:14 +10:00
Ryan Dwyer d5a21a8459 Replace gDPSetVerticeArray with gSPVertex, rename gDPSetColorArray to gSPColor and rename gDPTri4 to gSPTri4 2023-05-27 10:27:15 +10:00
Ryan Dwyer be585be596 Name most sky symbols 2023-05-25 17:35:22 +10:00
Ryan Dwyer 8559aeed1f Introduce FBALLOC and SCREEN constants for dimensions 2023-05-14 13:00:29 +10:00
Ryan Dwyer 89152f7b40 Rename a heap of light and brightness symbols 2023-04-13 20:13:13 +10:00
Ryan Dwyer ba11c5634b Introduce uintptr_t 2022-12-07 21:00:03 +10:00
Ryan Dwyer 32d529e9b5 Avoid UB in bondview's var800a41c0 2022-10-31 17:31:02 +10:00
Ryan Dwyer 724aecb04e ntsc-beta: Decompile bviewDrawHorizonScanner 2022-10-20 22:27:46 +10:00
Ryan Dwyer f98d64bd6f ntsc-beta: Decompile bviewDrawIrLens 2022-10-20 22:20:07 +10:00
Ryan Dwyer 5ca3b87ad4 Decompile other versions of bviewDrawEyespyMetrics 2022-10-16 17:14:33 +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 5dd7d9e020 Decompile bviewDrawIrLens 2022-09-01 18:00:54 +10:00
Ryan Dwyer 4e7a978c16 Decompile bviewCopyPixels 2022-09-01 17:24:55 +10:00
Ryan Dwyer e82da009d2 Rename most text functions 2022-07-06 19:22:01 +10:00
Ryan Dwyer ced58d1029 Decompile portal00018148 2022-06-04 12:47:56 +10:00
Ryan Dwyer ed29909c77 Decompile bviewDrawFisheye 2022-06-01 22:21:56 +10:00
Ryan Dwyer 251c5f6aff Attempt to decompile bviewDrawIrLens 2022-05-31 21:25:47 +10:00
Ryan Dwyer 7cb9578e69 Decompile bviewDrawIntroFaderBlur 2022-05-29 20:52:48 +10:00
Ryan Dwyer ecc36a73ed Decompile bviewRenderNvLens 2022-04-05 12:11:14 +10:00
Ryan Dwyer 40c778872e Introduce RANDOMFRAC() macro 2022-04-02 12:21:25 +10:00
Ryan Dwyer 70375816f1 Rename most remaining game files 2022-03-23 21:22:06 +10:00
Ryan Dwyer 022eb49a56 jpn-final: Replace jal addresses with symbols 2022-03-17 17:17:34 +10:00
Ryan Dwyer b6ef09ca20 jpn-final: Get game segment matching excluding pointers 2022-03-16 17:50:25 +10:00
Ryan Dwyer 9f46789551 pal-beta: Replace jal addresses with symbols 2022-03-12 16:06:12 +10:00
Ryan Dwyer f5eb967ee2 pal-beta: Get game segment matching excluding pointers 2022-03-11 21:58:39 +10:00
Ryan Dwyer 8cacff28e1 Attempt to decompile menugfxRenderGradient 2022-01-25 08:25:37 +10:00
Ryan Dwyer e9d7bc7ab4 Decompile bviewRenderEyespyDecorations 2022-01-20 21:41:23 +10:00
Ryan Dwyer 28dc309908 Decompile func0f13c2d0nb 2022-01-20 19:14:07 +10:00
Ryan Dwyer 5d40470f89 ntsc-beta: Get ROM fully matching 2021-10-26 17:15:43 +10:00
Ryan Dwyer 1c1278a8c3 ntsc-beta: Get data segment matching excluding pointers 2021-10-24 17:46:34 +10:00
Ryan Dwyer d82a6ba619 Rename a bunch of lib files and functions
* lib_070d0.c to vm.c
* lib_09a80.c to vi.c
* lib_0bfb0.c to fault.c
* lib_0c000.c to crash.c
* lib_11420.c to music.c
* lib_13710.c to pimgr.c
* lib_184d0.c to ailist.c and path.c
* lib_233c0.c to anim.c
* lib_24e40.c to collision.c
* lib_2fa00.c to rmon.c
* lib_34030.c to speaker.c
* lib_37b00.c to mp3.c
2021-10-11 22:46:29 +10:00
Ryan Dwyer bba63fe1fd Rename lib_159b0.c to mtxasm.s and lib_16110.c to mtx.c 2021-10-11 21:46:17 +10:00
Ryan Dwyer c1657dd95b Rename func0000db30 to mainOverrideVariable and add docblock 2021-10-11 20:32:18 +10:00
Ryan Dwyer 329f3351f4 Attempt to decompile viUpdateMode, and rename many VI symbols 2021-10-10 20:51:42 +10:00
Ryan Dwyer b83e729290 Decompile vi00009b50 2021-10-08 18:46:49 +10:00
Ryan Dwyer 7a0f4b5835 Rename game_0d4690.c to savebuffer.c, game_102240.c to mainmenu.c, game_107fb0.c to filemgr.c and split game_110680.c into bossfile.c and filelist.c 2021-09-16 23:42:06 +10:00
Ryan Dwyer 753706896a pal-final: Decompile fontLoad 2021-09-06 18:38:43 +10:00