Commit Graph

6559 Commits

Author SHA1 Message Date
Ryan Dwyer 266163bcfe Replace BG visibility scripts with C implementation 2022-10-31 17:34:02 +10:00
Ryan Dwyer 0528fe0539 Re-ID AI commands so the most common commands can be identified by the first byte only 2022-10-31 17:34:01 +10:00
Ryan Dwyer 22cd732d8a Remove another VI mode 2022-10-31 17:34:01 +10:00
Ryan Dwyer c1cab6e03e Make AI command handlers able to be inlined 2022-10-31 17:34:01 +10:00
Ryan Dwyer 420d5ee990 Remove unused VI modes 2022-10-31 17:34:01 +10:00
Ryan Dwyer 66f99b50d6 Read pad data directly rather than copying it to the stack 2022-10-31 17:34:01 +10:00
Ryan Dwyer 0b87a5af75 Store pads in their full unpacked format 2022-10-31 17:34:01 +10:00
Ryan Dwyer 0bd58592c4 Change chr AI timers to integers 2022-10-31 17:34:01 +10:00
Ryan Dwyer 04ca114465 Remove excessive reads and writes to g_Vars properties in AI loop 2022-10-31 17:34:01 +10:00
Ryan Dwyer cb0b99d28a Preload BG rooms where possible 2022-10-31 17:34:01 +10:00
Ryan Dwyer e16567742d Place game segment after bss to make more room for memp 2022-10-31 17:34:01 +10:00
Ryan Dwyer bef9668e68 Preprocess ailists to convert goto-labels to goto-offsets 2022-10-31 17:34:01 +10:00
Ryan Dwyer 0c948fdce9 Use pointers for aioffsets 2022-10-31 17:34:01 +10:00
Ryan Dwyer e36d700bad Remove dprint AI command 2022-10-31 17:34:01 +10:00
Ryan Dwyer 827a2f75ee Cache the playercount instead of calculating it many times 2022-10-31 17:34:01 +10:00
Ryan Dwyer 6db8be6d14 Remove code relating to 4MB 2022-10-31 17:34:01 +10:00
Ryan Dwyer c9f4fef2d6 Remove camdraw code 2022-10-31 17:34:01 +10:00
Ryan Dwyer 2995dc4a88 Disable crash and rmon threads 2022-10-31 17:34:01 +10:00
Ryan Dwyer 7c6805c3e2 Make the expansion pak required and disable virtual memory 2022-10-31 17:34:01 +10:00
Ryan Dwyer 4e9d88fab9 Print unused memory to HUD 2022-10-31 17:34:01 +10:00
Ryan Dwyer d89fef7ea9 Implement frame rate graph 2022-10-31 17:33:44 +10:00
Ryan Dwyer fbb5065ebe Add MIT license 2022-10-31 17:33:38 +10:00
Ryan Dwyer 32d529e9b5 Avoid UB in bondview's var800a41c0 2022-10-31 17:31:02 +10:00
Ryan Dwyer e3d77e8086 Avoid some potential UB in bgBuildTables 2022-10-31 17:30:51 +10:00
Ryan Dwyer 39c00dc465 Remove src/generated during clean 2022-10-22 19:12:06 +10:00
Ryan Dwyer 178a779878 Revert "Simplify tile assets - repo clones may need to run make extract again"
This reverts commit 306613e462.

It turns out we do actually need tiles to be built using the asset
manager :\
2022-10-22 19:06:17 +10:00
Ryan Dwyer b159e01edc Improve naming and documentation of inventory data 2022-10-22 18:42:45 +10:00
Ryan Dwyer 4d04f1f282 ntsc-beta: Decompile sndLoadSound 2022-10-21 21:53:10 +10:00
Ryan Dwyer 82d2d500b6 ntsc-beta: Decompile sndLoadSfxCtl 2022-10-21 21:46:14 +10:00
Ryan Dwyer a7721463bf ntsc-beta: Decompile joysTick 2022-10-21 19:31:03 +10:00
Ryan Dwyer 306613e462 Simplify tile assets - repo clones may need to run make extract again 2022-10-21 19:21:50 +10:00
Ryan Dwyer e28b361cb6 ntsc-beta: Decompile joyStopRumble 2022-10-21 00:07:40 +10:00
Ryan Dwyer 43e354a316 ntsc-beta: Decompile botPickupProp 2022-10-20 23:52:15 +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 8ba2480756 pal-beta and pal-final: Decompile botTickUnpaused 2022-10-20 20:29:15 +10:00
Ryan Dwyer 4ac72eae50 Add -fno-common to fix build in gcc v9 2022-10-19 23:15:11 +10:00
Ryan Dwyer 62c36b6539 ntsc-beta and ntsc-1.0: Decompile pak0f11df94 2022-10-19 20:44:12 +10:00
Ryan Dwyer 0d1a1a4e56 pal-beta and pal-final: Decompile hoverbikeUpdateMovement 2022-10-18 23:16:17 +10:00
Ryan Dwyer e68822d444 pal-beta and above: Decompile bgun0f0981e8 2022-10-18 22:24:24 +10:00
Ryan Dwyer 32490cd77d ntsc-beta: Decompile gamefileSave 2022-10-17 17:19:53 +10:00
Ryan Dwyer 1d1d50494e Make some tweaks and fixes for the build system for Ubuntu 2022-10-17 08:12:08 +10:00
Ryan Dwyer 442027050f Use -ffast-math on xldtob.c only 2022-10-17 07:53:38 +10:00
Ryan Dwyer 4749132bc0 ntsc-beta: Decompile joyGetButtonsReleasedThisFrame 2022-10-16 20:30:50 +10:00
Ryan Dwyer 194ba80480 ntsc-beta: Decompile joy0001509cnb 2022-10-16 20:24:58 +10:00
Ryan Dwyer 8d0d9c0e36 ntsc-beta: Decompile bootCheckStackOverflow 2022-10-16 20:14:09 +10:00
Ryan Dwyer b91b0f93a5 ntsc-beta: Decompile bootCountUnusedStack 2022-10-16 20:04:36 +10:00
Ryan Dwyer 295ec06b5e Decompile __osSyncPutChars 2022-10-16 19:26:11 +10:00
Ryan Dwyer 8c7d35da4a Decompile osGetMemSize 2022-10-16 18:50:22 +10:00
Ryan Dwyer 5ca3b87ad4 Decompile other versions of bviewDrawEyespyMetrics 2022-10-16 17:14:33 +10:00