You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
Mat Stack Fix
* Implemented new lightweight CPU/RDP profiler * Added RSP profiling to the lightweight profiler * Added CPU audio to lightweight profiler * Changed lingering manual light struct definitions to gdSPDefLights1, made a dummy light for Koopa's pink shorts * Ran script to convert all light commands to lightcolor commands * Added define guards for the profiler * Wrote function for setting up global light direction in the frame * Moved camera matrix into projection stack * Corrected cameraToObject for the new matrix stack (fixes culling and sound) * Fixed billboarding with new matrix stack * Fixed shadows with new matrix stack * Fixed some areas where the game was previously extracting the camera matrix from various matrices * Restored vanilla light and env map directions under new matrix stack * Fix goddard crash * Fix geo_process_level_of_detail * Remove 'construct_float' from 'geo_process_level_of_detail' * Removed some accidentally added files * Removed unnecessary matrix multiplications in geo_process_object * Added fixlights script to build system for fixing custom assets and added option to disable it if needed * Fixed visual debug with new matstack and cleaned up visual debug code * Fixed handling of WORLD_SCALE in view matrix so it doesn't get cancelled out * Fixed clip planes not scaling based on WORLD_SCALE Co-authored-by: Mr-Wiseguy <mrwiseguyromhacking@gmail.com> Co-authored-by: Arceveti <arceveti@gmail.com> Co-authored-by: thecozies <collinpferguson@gmail.com>
This commit is contained in:
@@ -157,12 +157,12 @@
|
||||
// Debug box
|
||||
#define COLOR_RGBA32_DEBUG_DEFAULT 0x00FF0000 // 0 255 0 0
|
||||
#define COLOR_RGBA32_DEBUG_ALPHA 0x0000007F // 0 0 0 127
|
||||
#define COLOR_RGBA32_DEBUG_POSITION 0x80FFFFFF // 128 255 255 255
|
||||
#define COLOR_RGBA32_DEBUG_HITBOX 0x800000FF // 128 0 0 255
|
||||
#define COLOR_RGBA32_DEBUG_HURTBOX 0x8FF00000 // 143 240 0 0
|
||||
#define COLOR_RGBA32_DEBUG_WARP 0x80FFA500 // 128 255 165 0
|
||||
#define COLOR_RGBA32_DEBUG_PUPPYVOLUME 0x0000FF00 // 0 0 255 0
|
||||
#define COLOR_RGBA32_DEBUG_LIGHT 0x08FF00FF // 8 255 0 255
|
||||
#define COLOR_RGBA32_DEBUG_POSITION 0xFFFFFF80 // 255 255 255 128
|
||||
#define COLOR_RGBA32_DEBUG_HITBOX 0x0000FF80 // 0 0 255 128
|
||||
#define COLOR_RGBA32_DEBUG_HURTBOX 0xF000008F // 240 0 0 143
|
||||
#define COLOR_RGBA32_DEBUG_WARP 0xFFA50080 // 255 165 0 128
|
||||
#define COLOR_RGBA32_DEBUG_PUPPYVOLUME 0x00FF0000 // 0 255 0 0
|
||||
#define COLOR_RGBA32_DEBUG_LIGHT 0xFF00FF08 // 255 0 255 8
|
||||
|
||||
|
||||
// Color RGB(A) Arrays:
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
// Enables a comprehensive standalone profiler. Automatically enabled by PUPPYPRINT_DEBUG.
|
||||
// If not using PUPPYPRINT_DEBUG, press L to toggle the profiler.
|
||||
// #define USE_PROFILER
|
||||
#define USE_PROFILER
|
||||
|
||||
// TEST LEVEL
|
||||
// Uncomment this define and set a test level in order to boot straight into said level.
|
||||
|
||||
Reference in New Issue
Block a user