Commit Graph

6725 Commits

Author SHA1 Message Date
Ryan Dwyer dc04fbc16a Fix crash when a guard spawns at a pad 2023-05-11 20:56:10 +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 9692b51a08 Fix sqrtf in ailist files 2023-05-07 12:46:01 +10:00
Ryan Dwyer c9879d9516 Use inline sqrt.s instruction 2023-05-06 23:15:43 +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 870f090b8c Fix wrong arguments to model00018680 2023-05-05 18:28:28 +10:00
Ryan Dwyer e0236c3cb4 Make profiler use thread-specific cycle counts for page 2 metrics 2023-05-05 18:27:57 +10:00
Ryan Dwyer 261be8d702 Improve roomproplist code 2023-05-04 22:33:52 +10:00
Ryan Dwyer 09d6ccae49 Remove unused code from joy.c 2023-05-04 22:14:43 +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 4acb095c6e Joy: Don't block if there's no read data 2023-05-03 23:27:07 +10:00
Ryan Dwyer e423eac69e Make scheduler pass message IDs instead of pointers 2023-05-03 23:26:44 +10:00
Ryan Dwyer 6b016ffd4f Show bottleneck on profile output 2023-05-03 23:01:00 +10:00
Ryan Dwyer f54c812fdf Fix two profiling bugs 2023-05-03 22:29:18 +10:00
Ryan Dwyer 880db15689 Move framebuffers to separate memory banks 2023-05-03 07:48:25 +10:00
Ryan Dwyer a85ea9d7c1 Make main thread start building second task without waiting for retrace 2023-05-03 00:08:53 +10:00
Ryan Dwyer 7ef3e9d009 Introduce triple buffer and remove RDP freeze 2023-05-02 22:50:56 +10:00
Ryan Dwyer fcc63f7638 Set Everdrive ROM ID and save configuration in the ROM header 2023-05-02 22:27:49 +10:00
Ryan Dwyer 60947bfdfd Remove hi-res video option 2023-05-02 14:16:53 +10:00
Ryan Dwyer f96d9ff901 Refactor scheduler 2023-05-02 12:29:35 +10:00
Ryan Dwyer b18d1259fe Make profiler report RSP, RDP and thread timing accurately 2023-05-01 18:48:04 +10:00
Ryan Dwyer 502f88dddb Enable antialias again 2023-04-24 00:01:18 +10:00
Ryan Dwyer d74f0bce56 Fix CCTV still working when destroyed 2023-04-24 00:00:20 +10:00
Ryan Dwyer 4b97a3845f Fix solo handicaps being reset after configuring 2023-04-23 23:56:52 +10:00
Ryan Dwyer 361e1e9458 Fix roomproplist corruption 2023-04-23 23:53:51 +10:00