Files
Microtransactions64/include/config/config_debug.h
Fazana 17498e081d 2.1.0 Puppyprint Changes (#362)
* Puppyprint text size

* Update puppyprint.c

* Revert broken render_multi_image changes

* revert multi image tweak

parallel momento

* Update puppyprint debug colors to work with new hexadecimal system

* Puppyprint color reversion to currEnv + some bugfixes

* Remove a pointless color array

* Add forgotten comment

* i can type yes definitely

* Fix some puppyprint formatting edge cases

* Missed one last puppyprint edge case

* Additional strLen check

* Variable length fix + command ignoring strlen

* type changes

* Update puppyprint.c

* Box clamping

* Revamped profiling, fixed right alignment

* Update puppycam2.c

* Deferred printing

* Update puppyprint.c

* Fixed negatives being stupid

* Puppyprint Memory view rework

* Update level_script.c

* tweaks

* Fix new line spacing with different scales

also small bit of optimisation

* Spacing fixes

* Lightweight text option

* puppyprint debug now using light text where applicable

* Update puppyprint.c

* Update puppyprint.c

* level select menu

* merge profilers into one WIP

* Fully ascii compliant

* Finishing touches hopefully

* Update puppyprint.c

* new font

* vanilla font

* o

* Update hud.c

* last kerning fixes

* Requested changes

* requested changes

* fix the j

* requested changes

* change ur clothes

* Update surface_collision.c

* requested changes

* Update puppyprint.h

* Update camera.c

* .

* Update puppyprint.c

* Update puppyprint.c

* Update puppyprint.c

* fix J

* font

* font system rework

* ia4 outline font

* pain

* fix deferred printing

* fix format change

* Add audio profiling to Puppyprint Debug

* Optimize audio profiling substantially

* Minor audio optimizations

* requested changes

* oops accidentally commited 6 lmfao

* Update game_init.c

* Update puppyprint.c

* Update puppyprint.c

* Improve Puppyprint deferred prints

This is safer, more readable, and more runtime efficient all in the same package

* change return type

* fix building with profiler only

* Update profiling.c

* fix upscaled texture rectangles from multi image

---------

Co-authored-by: gheskett <gheskett@gmail.com>
2023-03-12 12:29:08 -04:00

88 lines
2.2 KiB
C

#pragma once
/******************
* DEBUG SETTINGS *
******************/
/**
* Enables most debug options, including PUPPYPRINT_DEBUG.
*/
// #define DEBUG_ALL
/**
* Disables all debug options (except PUPPYPRINT).
*/
// #define DISABLE_ALL
/**
* Enables a comprehensive standalone profiler. Automatically enabled by PUPPYPRINT_DEBUG.
* If not using PUPPYPRINT_DEBUG, press L to toggle the profiler.
*/
#define USE_PROFILER
/**
* -- TEST LEVEL --
* Uncomment this define and set a test level in order to boot straight into said level.
* This allows you to quickly test the level you're working on.
* If you want the game to boot normally, just comment out the define again.
*/
// #define TEST_LEVEL LEVEL_BOB
/**
* Enables debug level select. Hold L while the game boots to turn it on.
*/
#define DEBUG_LEVEL_SELECT
/**
* Enables debug free move (D-pad up to enter, A to exit).
*/
#define ENABLE_DEBUG_FREE_MOVE
/**
* Enables a custom, enhanced performance profiler. (Enables PUPPYPRINT by default in config_safeguards).
*/
// #define PUPPYPRINT_DEBUG
/**
* Uses cycles instead of microseconds in Puppyprint debug output.
*/
// #define PUPPYPRINT_DEBUG_CYCLES
/**
* A vanilla style debug mode. It doesn't rely on a text engine, but it's much less powerful that PUPPYPRINT_DEBUG.
* Press D-pad left to show the debug UI.
*/
// #define VANILLA_STYLE_CUSTOM_DEBUG
/**
* Visual debug enables some collision visuals. Tapping Right on the D-pad will cycle between visual hitboxes, visual surfaces, both, and neither.
* If puppyprint is enabled, then this can be cycled only while the screen is active.
*/
// #define VISUAL_DEBUG
/**
* Opens all courses and doors. Used for debugging purposes to unlock all content.
*/
#define UNLOCK_ALL
/**
* Same as above, but also reads all save file flags as complete.
* This will not overwrite existing save file data unless you save over it.
*/
// #define COMPLETE_SAVE_FILE
/**
* Removes the limit on FPS.
*/
// #define UNLOCK_FPS
/**
* Includes vanilla debug functionality.
*/
// #define VANILLA_DEBUG
/**
* Forces a crash when the game starts. Useful for debugging the crash screen.
*/
// #define DEBUG_FORCE_CRASH_ON_BOOT