tango.zh#
Variables#
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
int[] |
|
const int |
|
const int |
|
const int |
|
untyped[] |
|
const int |
|
untyped[] |
|
char32[] |
|
const int |
|
untyped[] |
|
const int |
|
int[] |
Functions#
int |
Tango_GetCustomVar(int var) |
void |
Tango_SetCustomVar(int var, int value) |
int |
__Tango_RunCustomFunction(int function, int[] args) |
bool |
__Tango_PressAdvance(int waitTime) |
bool |
|
void |
|
bool |
|
bool |
|
void |
|
bool |
|
bool |
|
void |
|
bool |
|
bool |
|
bool |
|
void |
Variable descriptions#
const int __TANGO_SCROLL_SPEED = 4
π Source
Standard settings ββββββββββββββββββββ How fast messages scroll.
const int __TANGO_SPEEDUP_FACTOR = 5
π Source
How much holding A speeds up text.
const int __TANGO_IGNORE_NEWLY_PRESSED_SPEED_KEYS = 1
π Source
If this is enabled, speedup keys pressed in the same frame a slot was activated will be ignored until theyβre pressed again.
const int __TANGO_SCROLL_TO_NEXT = 1
π Source
Whether the current string scrolls up before displaying the next one rather than just disappearing.
const int __TANGO_SCROLL_SPEEDUP = 1
π Source
Whether holding A or B speeds up scrolling to the next message.
const int __TANGO_SFX_ON_SPACE = 0
π Source
Whether a sound is played when a space is printed.
const int __TANGO_DELAY_ON_SPACE = 1
π Source
Whether thereβs a delay before a space, as with printable characters.
const int __TANGO_AUTO_ADVANCE_TIME = 90
π Source
Strings that advance automatically will wait this long before doing so.
const int __TANGO_ENABLE_BRACKET_HIGHLIGHT = 1
π Source
Whether [[double brackets]] change the text color instead of being printed.
Menu cursors will take this long to travel between options. A speed of 1 or less is instantaneous.
const int __TANGO_DRAWING_LAYER = 6
π Source
The layer to draw on.
const int __TANGO_BITMAP = 6
π Source
Which offscreen bitmap to use for text rendering.
const int __TANGO_CODE_DELIMITER = 64
π Source
String codes are marked by this character. 64 is @
const int __TANGO_MAX_STRING_FUNC_LENGTH = 16
π Source
The maximum length of a string handled by @string. Increasing this will make the function take more space in the buffer, regardless of the argument. Itβs not necessary to account for the null terminator.
const int __TANGO_LOGGING_LEVEL = 2
π Source
Logging level. 0: Donβt log anything 1: Only log errors 2: Log all messages (only if loggingFull.zh is used)
const int __TANGO_ONSCREEN_NOTIFICATION = 1
π Source
Whether to display a notification onscreen when an error is logged.
const int __TANGO_ERROR_NOTIFICATION_TEXT_COLOR = 1
π Source
Onscreen error notification colors.
const int __TANGO_ERROR_NOTIFICATION_BG_COLOR = 0
π Source
Access as @d0 to @d7; can be safely removed
const int VAR_TANGO_D0 = 0.0055
π Source
const int VAR_TANGO_D7 = 0.0062
π Source
Menu data
untyped[] __Tango_Data π Source
34+3*__TANGO_MAX_MENU_ITEMS
const int __TANGO_NUM_STYLES = 10
π Source
Style data
untyped[] __Tango_Styles π Source
48 * __TANGO_NUM_STYLES
char32[] __Tango_Buffer π Source
Arbitrary size
const int __TANGO_NUM_SLOTS = 2
π Source
untyped[] __Tango_SlotData π Source
24 * __TANGO_NUM_SLOTS
const int TANGO_SLOT_NORMAL = 0
π Source
Slot types and definitions
Function descriptions#
int Tango_GetCustomVar(int var) π Source
void Tango_SetCustomVar(int var, int value) π Source
int __Tango_RunCustomFunction(int function, int[] args) π Source
Custom functions
bool __Tango_PressAdvance(int waitTime) π Source
Edit these functions to change which buttons are used. Return Link->Press* for advance/end string button waitTime indicates how long the prompt has been displayed
bool __Tango_InputAdvance() π Source
Return Link->Input* for advance/end string button
void __Tango_UnpressAdvance() π Source
Unset Link->Input* and Link->Press* for advance/end string button
bool __Tango_PressSpeedup() π Source
Return Link->Press* for speedup button
bool __Tango_InputSpeedup() π Source
Return Link->Input* for speedup button
void __Tango_UnpressSpeedup() π Source
Unset Link->Input* and Link->Press* for speedup button
bool __Tango_PressSuperSpeed() π Source
Return Link->Press* for super speed button
bool __Tango_InputSuperSpeed() π Source
Return Link->Input* for super speed button
void __Tango_UnpressSuperSpeed() π Source
Unset Link->Input* and Link->Press* for super speed button
Return Link->Press* for menu select button
Return Link->Press* for menu cancel button
Return Link->Input* for both menu select and cancel buttons
Unset Link->Input* and Link->Press* for menu select and cancel buttons