Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2011, 3:49:59 PM (13 years ago)
Author:
ssgier
Message:

finished code for shrinking and growing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup/src/modules/pickup/items/ShrinkPickup.h

    r8433 r8489  
     1/*
     2 *   ORXONOX - the hottest 3D action shooter ever to exist
     3 *                    > www.orxonox.net <
     4 *
     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 *      Damian 'Mozork' Frick
     24 *   Co-authors:
     25 *      ...
     26 *
     27 */
     28
     29/**
     30    @file ShrinkPickup.h
     31    @brief Declaration of the ShrinkPickup class.
     32    @ingroup PickupItems
     33*/
     34
     35
    136#ifndef _ShrinkPickup_H__
    237#define _ShrinkPickup_H__
     
    3267                        float duration_;                        //!< determines how long the pickup will be active
    3368                float shrinkFactor_;            //shrink factor of the space ship
    34                         float shrinkDelay_;             //how long it takes to shrink to the final size
     69                        float shrinkSpeed_;
    3570                        bool isActive_;
    3671                        bool isTerminating_;
    3772                        int size_;
    38                         std::vector<float> defaultScales_;
    39                         std::vector<float> smallScales_;
    40                         std::vector<float> actualScales_;
    41                         std::vector<Vector3> defaultPositions_;
    42                         std::vector<Vector3> smallPositions_;
    43                         std::vector<Vector3> actualPositions_;
     73                        std::list<SmartPtr<CameraPosition> > cameraPositions_;
     74                        float defaultCameraPos_;
     75                        Ogre::Vector3 defaultScale_;
     76                        Ogre::Vector3 actualScale_;
     77                        Ogre::Vector3 smallScale_;
     78                        float defaultMass_;
     79                        float actualMass_;
     80                        float smallMass_;                       
    4481                        Pawn* carrierToPawnHelper(void);
    4582                        Pawn* pawn;
Note: See TracChangeset for help on using the changeset viewer.