Changeset 9869 in orxonox.OLD for trunk/src/lib/shell/some_shell_commands.cc
- Timestamp:
- Oct 3, 2006, 12:19:30 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/shell/some_shell_commands.cc
r8623 r9869 29 29 30 30 #include "network_game_rules.h" 31 31 SHELL_COMMAND(say, NetworkGameRules, shellSay)->setAlias("say"); 32 32 33 33 #include "player_stats.h" 34 34 SHELL_COMMAND(nick, PlayerStats, shellNick)->setAlias("nick"); 35 35 36 #include "class_list.h"37 SHELL_COMMAND(debug, ClassList, ClassList::debugS)38 ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output")39 ->defaultValues(MT_NULL, 1);36 // #include "class_list.h" 37 // SHELL_COMMAND(debug, ClassList, ClassList::debugS) 38 // ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output") 39 // ->defaultValues(MT_NULL, 1); 40 40 41 41 #include "p_node.h" 42 43 42 SHELL_COMMAND(debugNode, PNode, debugNode); 43 SHELL_COMMAND(setPosition, PNode, setAbsCoor); 44 44 45 45 #include "render_2d.h" 46 46 SHELL_COMMAND(toggleNodeVisibility, Render2D, toggleNodesVisibility); 47 47 48 48 49 49 #include "material.h" 50 51 52 50 SHELL_COMMAND(setDiffuseTexture, Material, setDiffuseMap) 51 ->defaultValues(MT_NULL, (int)GL_TEXTURE_2D) 52 ->completionPlugin(0, CompletorFileSystem()); 53 53 54 #include "loading/resource_manager.h" 55 namespace Resources { 56 SHELL_COMMAND(debug, ResourceManager, debug); 57 SHELL_COMMAND(load, ResourceManager, loadFromLoadStringHACK); 58 SHELL_COMMAND(unload, ResourceManager, unloadAllBelowKeepLevelINT); 59 } 60 61 #include "loading/load_param_class_description.h" 62 SHELL_COMMAND_STATIC(printAll, LoadParamClassDescription, &LoadParamClassDescription::printAll) 63 ->defaultValues(MT_NULL, true); 64 SHELL_COMMAND_STATIC(capture, LoadParamClassDescription, &LoadParamClassDescription::captureDescriptions) 65 ->defaultValues(true); 66 67 #include "loading/game_loader.h" 68 SHELL_COMMAND(quit, GameLoader, stop) 69 ->describe("quits the game") 70 ->setAlias("orxoquit"); 71 72 #include "object_list.h" 73 SHELL_COMMAND_STATIC(debugAll, ObjectListBase, &ObjectListBase::debugAll);
Note: See TracChangeset
for help on using the changeset viewer.