Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Public Member Functions | |
virtual | ~ShipCommands () |
ShipCommands () | |
void | pymenu () |
void | left (bool *isKeyDown) |
void | right (bool *isKeyDown) |
void | up (bool *isKeyDown) |
void | down (bool *isKeyDown) |
void | roll (bool *isKeyDown) |
void | setkps (const char *in) |
Definition at line 17 of file ship_commands.cpp.
|
inlinevirtual |
Definition at line 34 of file ship_commands.cpp.
References CommandInterpretor, and commandI::remCommand().
|
inline |
Definition at line 39 of file ship_commands.cpp.
References commandI::addCommand(), commandI::addMenu(), commandI::addMenuItem(), mItem::autoreprint, CommandInterpretor, mItem::display, mItem::func2call, mItem::inputbit, mItem::inputbit2, mItem::Name, pymenu(), mItem::selectstring, and setkps().
void ShipCommands::down | ( | bool * | isKeyDown) |
Definition at line 110 of file ship_commands.cpp.
void ShipCommands::left | ( | bool * | isKeyDown) |
Definition at line 98 of file ship_commands.cpp.
void ShipCommands::pymenu | ( | ) |
Definition at line 93 of file ship_commands.cpp.
References CommandInterpretor, RText::conoutf(), and commandI::setMenu().
Referenced by ShipCommands().
void ShipCommands::right | ( | bool * | isKeyDown) |
Definition at line 102 of file ship_commands.cpp.
void ShipCommands::roll | ( | bool * | isKeyDown) |
Definition at line 114 of file ship_commands.cpp.
void ShipCommands::setkps | ( | const char * | in) |
Definition at line 121 of file ship_commands.cpp.
References fmin(), Unit::GetComputerData(), UniverseUtil::getPlayer(), VegaConfig::getVariable(), Unit::Computer::max_speed(), XMLSupport::parse_bool(), XMLSupport::parse_float(), Unit::Computer::set_speed, and vs_config.
Referenced by ShipCommands().
void ShipCommands::up | ( | bool * | isKeyDown) |
Definition at line 106 of file ship_commands.cpp.