Commit Graph
171 Commits
Author SHA1 Message Date
joshuarwood f12ae756ef rename game_13c510 files to artifact 2025-05-11 12:17:38 -05:00
fgsfds 06dcbcc1b1 port: rename random to rngRandom to avoid conflicts with libc 2024-11-17 11:03:57 +01:00
fgsfds 5c2082f58e port: 64-bit cleanup: remove FileType, use LOADTYPE instead 2024-11-10 14:02:04 +01:00
Raf 8533189561 portx64: include "platform.h" wherever the flag PLATFORM_64bit is used, to avoid possible nasty surprises 2024-08-12 21:20:30 +08:00
Raf 4d60c93beb portx64: romdata: proper estimated size for setup files, renamed getEstimatedFileSize function 2024-08-08 20:54:59 +08:00
Raf 8b1e81f32a portx64: pd-extract,preprocess: renamed "_x64" functions, removed now unused preprocess functions, increased snd heap size (x86) 2024-08-08 17:15:33 +08:00
Raf 5795634b9c portx64: files/romdata: getEstimatedFileSize() so we can preallocate enough memory for files in x64 2024-08-02 17:32:33 +08:00
Raf 8a94af6a1c portx64: and more s32 -> uintptr_t 2024-07-30 16:46:02 +08:00
Raf 00c990eded portx64: lots of adjustments in memory allocations/data sizes/offsets etc 2024-07-23 01:52:35 +08:00
Raf b0e6e8f24f portx64: lots more u32 -> uintptr_t 2024-07-11 19:43:01 +08:00
fgsfds ce6424117e port: re-disable glare calculation in multiplayer
they don't render anyway
2024-05-12 16:31:45 +02:00
fgsfds 15c0327592 port: better light glare hit detection 2024-05-12 16:22:34 +02:00
fgsfds 5df6d2fdfb port: slightly simpler fix for bgTestHitOnObj 2023-11-11 17:41:10 +01:00
fgsfds 828776e272 port: account for non-segmented addresses in bgTestHitOnObj 2023-11-05 23:08:34 +01:00
fgsfds 704015deac port: modconfig: add user defined extended weather config
includes a way to specify weatherproof rooms and other hardcoded stuff

this might break something, as it removes some hardcoded checks
2023-09-27 19:44:51 +02:00
fgsfds 54842f50db port: another UB fix in bg.c 2023-09-22 21:06:32 +02:00
fgsfds 5ae29afdeb port: fix some pointer ub in bg.c 2023-09-22 20:52:31 +02:00
fgsfds 0e5b4bde62 Merge branch 'master' of https://github.com/n64decomp/perfect_dark into port 2023-08-28 15:55:54 +02:00
Ryan Dwyer 0b1aabf345 Set names for a heap of shotdata symbols 2023-08-27 21:27:53 +10:00
fgsfds e871156301 port: reduce or eliminate portal seams
by slightly extending the portal scissor boxes
2023-08-22 20:09:14 +02:00
fgsfds 9acd05f16c port: allocate room data from system heap
props to Ryan for the patch
2023-08-20 15:12:09 +02:00
fgsfds 034ff984cc port: fix s32 pointer in bgRenderRoomPass 2023-08-16 14:52:25 +02:00
fgsfds e0d4bf44b8 port: read command ids correctly when rendering in xray mode 2023-08-13 21:04:00 +02:00
fgsfds d51a7bc9d6 port: rename some math functions to avoid conflicts with libc 2023-08-13 17:13:08 +02:00
fgsfds a37441b221 port: hackfix a bunch of UB and seg-related issues
game now runs with -O2
2023-08-08 16:38:45 +02:00
fgsfds 62f3007d2a port: halfassed solution for segmented addresses; fix some dyntex related stuff 2023-08-08 14:30:59 +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 da9046f745 port: swap RGBA color literals 2023-08-05 01:57:26 +02:00
fgsfds a9b772ef99 port: fix hitscans and other uses of Gtri 2023-08-04 16:46:05 +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
fgsfds f91401cb95 port: make the legal screen render correctly
also, total errno death in the same commit because I am dumb
2023-07-30 21:24:39 +02:00
fgsfds da94644c38 port: make it link and load
nothing happens after loading though
2023-07-29 23:21:35 +02:00
Ryan Dwyer 83e8265d5b Introduce RoomNum typedef 2023-06-20 19:14:13 +10:00
Ryan Dwyer 8647634a54 Decompile bgLoadRoom 2023-06-16 21:10:03 +10:00
Ryan Dwyer b97228e682 Fix beta builds when DEBUG is not defined 2023-06-03 12:43:56 +10:00
Ryan Dwyer 8a7c22adda Decompile bgRenderGdlInXray 2023-05-31 17:48:41 +10: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 5cc44be4da Name all env symbols 2023-05-24 21:54:47 +10:00
Ryan Dwyer 92075c6fe7 Name almost all BG symbols 2023-05-23 19:37:20 +10:00
Ryan Dwyer 89152f7b40 Rename a heap of light and brightness symbols 2023-04-13 20:13:13 +10:00
Ryan Dwyer c87aa0567b Replace BG pointer math with a more semantically correct equivalent 2023-01-20 20:38:01 +10:00
Ryan Dwyer 68f2cd6db6 Merge version-specific debug files into one 2023-01-12 21:13:56 +10:00
Ryan Dwyer ba11c5634b Introduce uintptr_t 2022-12-07 21:00:03 +10:00
Ryan Dwyer c20a31db57 Create functionally equivalent C for handwritten func0002f490 and func0002f560 2022-12-02 20:18:50 +10:00
Ryan Dwyer b39c317812 Fix some typoed function names 2022-12-02 07:58:14 +10:00
Ryan Dwyer 3248fa9849 Rename and document room mtx functions 2022-11-28 17:48:59 +10:00
Ryan Dwyer 2d6d88cd6d ntsc-beta, pal-beta and pal-final: Introduce support for gcc 2022-11-26 19:53:48 +10:00
Ryan Dwyer 9f3481ccee Make remaining versions shiftable 2022-11-24 21:58:09 +10:00