FS2_Open
Open source remastering of the Freespace 2 engine
consolecmds.cpp File Reference

This file contains the "built-in" commands for the debug console, and is listed by the 'help' and '?' commands. More...

#include "debugconsole/console.h"
#include "debugconsole/consoleparse.h"
#include "io/key.h"
#include <algorithm>

Go to the source code of this file.

Functions

void dc_shell_font (void)
 
void dc_shell_resize (void)
 
void dc_shell_resize_buf (void)
 
 DCF (debug,"Runs a command in debug mode.")
 
 DCF (help,"Displays the help list.")
 

Variables

debug_commanddc_commands [DC_MAX_COMMANDS]
 
int dc_commands_size = 0
 
debug_command dc_man ("man","Also displays the help list", dcf_help)
 

Detailed Description

This file contains the "built-in" commands for the debug console, and is listed by the 'help' and '?' commands.

All other debug commands should be in their respective files and added to the console with the DCF macro. For further documentation, please see console.h

Definition in file consolecmds.cpp.

Function Documentation

void dc_shell_font ( void  )
void dc_shell_resize ( void  )
void dc_shell_resize_buf ( void  )
DCF ( debug  ,
"Runs a command in debug mode."   
)

Definition at line 79 of file consolecmds.cpp.

DCF ( help  ,
"Displays the help list."   
)

Definition at line 113 of file consolecmds.cpp.

Variable Documentation

Definition at line 27 of file consolecmds.cpp.

int dc_commands_size = 0

Definition at line 28 of file consolecmds.cpp.

debug_command dc_man("man","Also displays the help list", dcf_help)