Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/proxy/src/lib/shell/some_shell_commands.cc @ 9624

Last change on this file since 9624 was 8623, checked in by bensch, 18 years ago

orxonox/trunk: merged the network branche back here
merged with command:
svn merge -r8230:HEAD https://svn.orxonox.net/orxonox/branches/network .
conflicts resolved in favour of the network branche (conflicts were in network)

File size: 1.6 KB
Line 
1/*
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.
10
11   ### File Specific:
12   main-programmer: Benjamin Grauer
13   co-programmer: ...
14*/
15
16/*!
17 * @file some_shell_commands.cc
18 * @brief All the ShellCommands, that should not pollute the SourceCode.
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
23 */
24
25//#define DEBUG_SPECIAL_MODULE DEBUG_MODULE_
26
27#include "shell/shell_command.h"
28using namespace OrxShell;
29
30#include "network_game_rules.h"
31  SHELL_COMMAND(say, NetworkGameRules, shellSay)->setAlias("say");
32
33#include "player_stats.h"
34  SHELL_COMMAND(nick, PlayerStats, shellNick)->setAlias("nick");
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);
40
41#include "p_node.h"
42  SHELL_COMMAND(debugNode, PNode, debugNode);
43  SHELL_COMMAND(setPosition, PNode, setAbsCoor);
44
45#include "render_2d.h"
46  SHELL_COMMAND(toggleNodeVisibility, Render2D, toggleNodesVisibility);
47
48
49#include "material.h"
50  SHELL_COMMAND(setDiffuseTexture, Material, setDiffuseMap)
51      ->defaultValues(MT_NULL, (int)GL_TEXTURE_2D)
52      ->completionPlugin(0, CompletorFileSystem());
53
Note: See TracBrowser for help on using the repository browser.