Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/trunk/src/lib/shell/some_shell_commands.cc @ 7889

Last change on this file since 7889 was 7725, checked in by bensch, 19 years ago

trunk: const Executor introduced

File size: 1.4 KB
RevLine 
[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.
[7725]19 *
20 * This File is here, so that we do not have to pollute the Library-files
21 * with unneccessary other modules.
22 * Like this
[7428]23 */
24
[3955]25//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
[1853]26
[7428]27#include "shell/shell_command.h"
28using namespace OrxShell;
[1853]29
30
[1856]31
[7428]32#include "class_list.h"
[7725]33  SHELL_COMMAND(debug, ClassList, ClassList::debugS)
[7428]34      ->describe("Shows all registered classes, if param1: is a valid ClassName only values of this class are shown. param2: how much output")
35      ->defaultValues(MT_NULL, 1);
[4320]36
[7428]37#include "p_node.h"
[7725]38  SHELL_COMMAND(debugNode, PNode, debugNode);
[7428]39  SHELL_COMMAND(setPosition, PNode, setAbsCoor);
[4320]40
[7457]41#include "render_2d.h"
42  SHELL_COMMAND(toggleNodeVisibility, Render2D, toggleNodesVisibility);
[1853]43
[7457]44
[7428]45#include "material.h"
46  SHELL_COMMAND(setDiffuseTexture, Material, setDiffuseMap)
47      ->defaultValues(MT_NULL, (int)GL_TEXTURE_2D)
48      ->completionPlugin(0, CompletorFileSystem());
[1853]49
Note: See TracBrowser for help on using the repository browser.