Changeset 5202 in orxonox.OLD for trunk/src/lib/shell
- Timestamp:
- Sep 18, 2005, 4:02:35 AM (19 years ago)
- Location:
- trunk/src/lib/shell
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/shell_input.cc
r5197 r5202 33 33 using namespace std; 34 34 35 SHELL_COMMAND(help, ShellInput, help) 36 ->describe("retrieve some help about the input mode") 37 ->setAlias("help"); 35 38 36 39 /** … … 41 44 { 42 45 this->pressedKey = SDLK_FIRST; 46 this->setClassID(CL_SHELL_INPUT, "ShellInput"); 43 47 44 48 this->inputLine = new char[1]; … … 173 177 * prints out some nice help about the Shell 174 178 */ 175 void ShellInput::help() const179 void ShellInput::help() 176 180 { 177 181 PRINT(0)("Help for the most important Shell-commands\n"); 178 182 PRINT(0)("F1 - HELP; F2 - DEBUG; ` - open/close shell\n"); 179 183 PRINT(0)("input order:\n"); 180 PRINT(0)("ClassName ::objectNamefunction [parameter1, [parameter2 ...]] or\n");181 PRINT(0)(" Command[parameter]\n");184 PRINT(0)("ClassName [objectName] function [parameter1, [parameter2 ...]] or\n"); 185 PRINT(0)("Alias [parameter]\n"); 182 186 } 183 187 -
trunk/src/lib/shell/shell_input.h
r5185 r5202 32 32 void setRepeatDelay(float repeatDelay, float repeatRate); 33 33 bool executeCommand(); 34 void help() const;34 void help(); 35 35 36 36 virtual void tick(float dt);
Note: See TracChangeset
for help on using the changeset viewer.