Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ConsoleKeys Namespace Reference

Functions

void BringConsole (const KBData &, KBSTATE newState)
 

Function Documentation

void ConsoleKeys::BringConsole ( const KBData ,
KBSTATE  newState 
)

Definition at line 1518 of file command.cpp.

References commandI::console, commandI::keypress(), RELEASE, and winsys_set_keyboard_func().

Referenced by initGlobalCommandMap().

1519 {
1520  //this way, keyboard state stays synchronized
1521  if (newState == RELEASE) {
1522  if (CommandInterpretor) {
1524  CommandInterpretor->console = true;
1525 #ifdef HAVE_SDL
1526  SDL_EnableUNICODE( true );
1527 #endif
1528  }
1529  }
1530 }