Jo Engine  2023.08.26
Jo Sega Saturn Engine
Typedefs | Functions
console.h File Reference

Jo Engine Console function prototypes. More...

Go to the source code of this file.

Typedefs

typedef bool(* jo_console_command_callback) (int argc, char **argv, int vertical_output, bool *exit)
 Function prototype for jo_console_register_command_handling() More...
 

Functions

void jo_console_register_command_handling (const jo_console_command_callback callback)
 
void jo_console_show_dialog (void)
 

Detailed Description

Jo Engine Console function prototypes.

Author
Johannes Fetz
Bug:
No known bugs.

Typedef Documentation

◆ jo_console_command_callback

typedef bool(* jo_console_command_callback) (int argc, char **argv, int vertical_output, bool *exit)

Function prototype for jo_console_register_command_handling()

Returns
true if the command is known
Parameters
argcArgument count
argvArguments
vertical_outputIndicate where you can start writing to the console using jo_printf(0, vertical_output, "my output")
exitSet the value behind the pointer to true to exit console

Function Documentation

◆ jo_console_register_command_handling()

void jo_console_register_command_handling ( const jo_console_command_callback  callback)

◆ jo_console_show_dialog()

void jo_console_show_dialog ( void  )