Commit Graph

5658 Commits

Author SHA1 Message Date
Ryan Dwyer 1f97533e09 Juggle memory so Rescue works on co-op 2023-05-18 20:43:48 +10:00
Ryan Dwyer 47e37e5cc5 Tighten the Area 51 room preloading 2023-05-18 20:26:42 +10:00
Ryan Dwyer df29001edb Prevent rooms from loading outside of preload 2023-05-18 17:50:48 +10:00
Ryan Dwyer ca370adf92 Remove two unnecessary portals in Air Force One 2023-05-17 23:56:14 +10:00
Ryan Dwyer 72640f7dba Make debris behave like vanilla 2023-05-16 23:46:31 +10:00
Ryan Dwyer 36ea3a008b Fix standby rooms 2023-05-14 20:29:06 +10:00
Ryan Dwyer 614579ac7c HTM: Remove sqrtf in range check 2023-05-13 19:51:02 +10:00
Ryan Dwyer b83d5a4279 Fix bdlist 2023-05-13 19:19:32 +10:00
Ryan Dwyer ceb3238c47 Fix spark group index 2023-05-13 17:54:39 +10:00
Ryan Dwyer 4ae1652548 Change depth buffer allocation back to hi-res size 2023-05-13 11:57:07 +10:00
Ryan Dwyer 517f2206f6 Remove mod operations that use div where possible 2023-05-12 23:19:37 +10:00
Ryan Dwyer cba20b1e2f Use abs.s instruction where possible 2023-05-12 21:46:45 +10:00
Ryan Dwyer 4c99495ccb Optimise chr bdlist handling 2023-05-12 21:36:37 +10:00
Ryan Dwyer c863898de5 Remove osGetCount calls from weather and lighting code 2023-05-12 20:27:36 +10:00
Ryan Dwyer f9f4df2096 Optimise z-buffer functions 2023-05-12 20:21:38 +10:00
Ryan Dwyer 2e3cb7b5f9 Use uncached memory for room matrices 2023-05-12 00:02:41 +10:00
Ryan Dwyer 161bdd9583 Preload BG rooms for Area 51 stages 2023-05-11 22:26:21 +10:00
Ryan Dwyer a9d0a1e02d ai2asm: Implement some commands in assembly if using CHR_SELF 2023-05-11 19:57:08 +10:00
Ryan Dwyer c24afbddb8 ai2asm: Store current chr in s0 instead of repeatedly loading it from g_Vars.chrdata 2023-05-11 17:20:15 +10:00
Ryan Dwyer 6edc8681da Remove a heap of one-liner functions 2023-05-10 21:24:17 +10:00
Ryan Dwyer e3317f2069 Remove pdmode.c 2023-05-09 23:06:06 +10:00
Ryan Dwyer 8fc5f5b218 Fix crash when a guard spawns 2023-05-09 22:28:44 +10:00
Ryan Dwyer b4441522ca Fix buffer that needs to be initialised 2023-05-09 21:43:23 +10:00
Ryan Dwyer bacc2b92fb Remove unused global variables 2023-05-09 21:26:43 +10:00
Ryan Dwyer 01ce3dc218 Remove g_SndDisabled and g_SndMp3Enabled 2023-05-09 19:35:30 +10:00
Ryan Dwyer bb4d3458c5 Replace array copies with static arrays 2023-05-09 19:21:00 +10:00
Ryan Dwyer ae4687917f Use inline floor and ceil instructions 2023-05-09 17:22:15 +10:00
Ryan Dwyer 6e8249b8bd Tidy up gfxmemory.c 2023-05-09 11:32:05 +10:00
Ryan Dwyer f39432946c Remove arg parser 2023-05-09 11:18:23 +10:00
Ryan Dwyer bcaea5d7e9 Move functions from utils.c, collisionutils.c, crc.c and gfxreplace.c into the files where they're called 2023-05-08 23:27:23 +10:00
Ryan Dwyer 77148cc62e Fix light glares 2023-05-08 22:21:49 +10:00
Ryan Dwyer 2c7cc32d5e Fix inefficient string management 2023-05-08 22:07:42 +10:00
Ryan Dwyer c693fd78b1 Fix texture corruption on Extraction thumbnail 2023-05-08 22:00:36 +10:00
Ryan Dwyer 4a9075d9f7 Replace strcpy(buf, "") 2023-05-08 21:29:42 +10:00
Ryan Dwyer 0449bfa4d8 Remove __FILE__ and __LINE__ function arguments 2023-05-08 21:25:20 +10:00
Ryan Dwyer d16ea9cef0 Make functions static where possible 2023-05-08 21:17:21 +10:00
Ryan Dwyer 86feae85c1 Remove unused global variables 2023-05-06 22:28:50 +10:00
Ryan Dwyer 726ac90f4f Use uncached memory for gfx data writes 2023-05-06 21:29:07 +10:00
Ryan Dwyer 414c2c6b16 Replace objFindByTagId with a direct array lookup 2023-05-06 21:24:20 +10:00
Ryan Dwyer 863b5d7da6 Fix early mine detonation in G5 Building 2023-05-06 15:06:21 +10:00
Ryan Dwyer 261be8d702 Improve roomproplist code 2023-05-04 22:33:52 +10:00
Ryan Dwyer 9a56b3ce36 Fix random aimer taps when there's no controller samples 2023-05-04 22:04:04 +10:00
Ryan Dwyer 681fc1111e Avoid iterating stage table where possible 2023-05-04 19:37:20 +10:00
Ryan Dwyer c3c2617e7b Optimise room mtx functions 2023-05-04 19:09:07 +10:00
Ryan Dwyer b1516774d4 Fix room matrix bug 2023-05-04 18:44:35 +10:00
Ryan Dwyer 039469fcdc Update roommtx function names to same ones used in master 2023-05-04 18:27:17 +10:00
Ryan Dwyer 6b016ffd4f Show bottleneck on profile output 2023-05-03 23:01:00 +10:00
Ryan Dwyer 7ef3e9d009 Introduce triple buffer and remove RDP freeze 2023-05-02 22:50:56 +10:00
Ryan Dwyer 60947bfdfd Remove hi-res video option 2023-05-02 14:16:53 +10:00
Ryan Dwyer b18d1259fe Make profiler report RSP, RDP and thread timing accurately 2023-05-01 18:48:04 +10:00