Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 30, 2008, 4:25:16 PM (16 years ago)
Author:
rgrieder
Message:

Disabled all spaceship effects per default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/orxonox_tutorial/src/orxonox/objects/TutorialShip.cc

    r1857 r1859  
    33 *                    > www.orxonox.net <
    44 *
    5  *
    6  *   License notice:
    7  *
    8  *   This program is free software; you can redistribute it and/or
    9  *   modify it under the terms of the GNU General Public License
    10  *   as published by the Free Software Foundation; either version 2
    11  *   of the License, or (at your option) any later version.
    12  *
    13  *   This program is distributed in the hope that it will be useful,
    14  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
    15  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16  *   GNU General Public License for more details.
    17  *
    18  *   You should have received a copy of the GNU General Public License
    19  *   along with this program; if not, write to the Free Software
    20  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    21  *
    22  *   Author:
    23  *      Oliver 'greenman' Scheuss, Reto '1337' Grieder
    24  *   Co-authors:
    25  *      ...
    26  *
     5 *                         TUTORIAL
    276 */
    287
     
    3615#include "util/Convert.h"
    3716#include "util/Debug.h"
    38 #include "util/Math.h"
    3917#include "core/ConfigValueIncludes.h"
    4018#include "core/ConsoleCommand.h"
     
    9068        // are loaded too.
    9169        SUPER(TutorialShip, XMLPort, xmlelement, mode);
     70
     71        // Display a message in shell/logfile/console
     72        COUT(3) << "TutorialShip was loaded." << std::endl;
    9273    }
    9374
     
    10586    }
    10687
    107     // virtual function used by back end class SpaceShip.
    108     float TutorialShip::getReloadTime()
    109     {
    110         return this->reloadTime_;
    111     }
     88    /*** NOT SO IMPORTATANT... ***/
    11289
    11390    // run time update method. Gets called every frame with the delta time that
     
    11996    }
    12097
     98    // virtual function used by back end class SpaceShip.
     99    float TutorialShip::getReloadTime()
     100    {
     101        return this->reloadTime_;
     102    }
     103
    121104    // Fire a projectile. Delegated to the back end class SpaceShip.
    122105    // Function content is insignificant for the tutorial.
Note: See TracChangeset for help on using the changeset viewer.