Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5555 in orxonox.OLD for trunk


Ignore:
Timestamp:
Nov 13, 2005, 11:46:49 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: error fixed in the default value of ShellCommand LoadModel

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_command.cc

    r5552 r5555  
    276276 * @param className the name of the class to apply this command to
    277277 * @param paramCount the count of parameters this command takes
    278  * @return self
    279278 */
    280279ShellCommandBase::ShellCommandBase(const char* commandName, const char* className, unsigned int paramCount, ...)
     
    306305/**
    307306 * deconstructs a ShellCommand
    308  * @return
    309307 */
    310308ShellCommandBase::~ShellCommandBase()
     
    402400 * @return true on success, false otherwise.
    403401 */
    404 #include  "stdlibincl.h"
    405402bool ShellCommandBase::execute(const char* executionString)
    406403{
  • trunk/src/world_entities/world_entity.cc

    r5511 r5555  
    3131SHELL_COMMAND(model, WorldEntity, loadModel)
    3232    ->describe("sets the Model of the WorldEntity")
    33     ->defaultValues(1, "models/ships/reaplow.obj");
     33    ->defaultValues(2, "models/ships/fighter.obj", 1.0);
    3434
    3535
Note: See TracChangeset for help on using the changeset viewer.