[4744] | 1 | /* |
---|
[1853] | 2 | orxonox - the future of 3D-vertical-scrollers |
---|
| 3 | |
---|
| 4 | Copyright (C) 2004 orx |
---|
| 5 | |
---|
| 6 | This program is free software; you can redistribute it and/or modify |
---|
| 7 | it under the terms of the GNU General Public License as published by |
---|
| 8 | the Free Software Foundation; either version 2, or (at your option) |
---|
| 9 | any later version. |
---|
[1855] | 10 | |
---|
| 11 | ### File Specific: |
---|
[7428] | 12 | main-programmer: Benjamin Grauer |
---|
[1855] | 13 | co-programmer: ... |
---|
[1853] | 14 | */ |
---|
| 15 | |
---|
[7428] | 16 | /*! |
---|
| 17 | * @file some_shell_commands.cc |
---|
| 18 | * @brief All the ShellCommands, that should not pollute the SourceCode. |
---|
| 19 | */ |
---|
| 20 | |
---|
[3955] | 21 | //#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ |
---|
[1853] | 22 | |
---|
[7428] | 23 | #include "shell/shell_command.h" |
---|
| 24 | using namespace OrxShell; |
---|
[1853] | 25 | |
---|
| 26 | |
---|
[1856] | 27 | |
---|
[7428] | 28 | #include "class_list.h" |
---|
| 29 | SHELL_COMMAND_STATIC(debug, ClassList, ClassList::debugS) |
---|
| 30 | ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output") |
---|
| 31 | ->defaultValues(MT_NULL, 1); |
---|
[4320] | 32 | |
---|
[7428] | 33 | #include "p_node.h" |
---|
| 34 | SHELL_COMMAND(debugNode, PNode, debugNodeSC); |
---|
| 35 | SHELL_COMMAND(setPosition, PNode, setAbsCoor); |
---|
[4320] | 36 | |
---|
[7457] | 37 | #include "render_2d.h" |
---|
| 38 | SHELL_COMMAND(toggleNodeVisibility, Render2D, toggleNodesVisibility); |
---|
[1853] | 39 | |
---|
[7457] | 40 | |
---|
[7428] | 41 | #include "material.h" |
---|
| 42 | SHELL_COMMAND(setDiffuseTexture, Material, setDiffuseMap) |
---|
| 43 | ->defaultValues(MT_NULL, (int)GL_TEXTURE_2D) |
---|
| 44 | ->completionPlugin(0, CompletorFileSystem()); |
---|
[1853] | 45 | |
---|