Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 9, 2009, 3:18:11 AM (15 years ago)
Author:
landauf
Message:

Several small adjustments in the weaponsystem (like additional const keyword, includes moved from .h to .cc where possible, …)

Firemode is now an unsigned int instead of an Enum. Instead of "fire" and "altFire" use "fire 0" and "fire 1"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/weapons/src/orxonox/objects/weaponSystem/Munition.cc

    r2893 r2912  
    2828
    2929#include "OrxonoxStableHeaders.h"
     30#include "Munition.h"
    3031
    3132#include "core/CoreIncludes.h"
    32 #include "core/XMLPort.h"
    33 #include "util/Debug.h"
    34 
    35 #include "Munition.h"
    3633
    3734namespace orxonox
     
    4239    {
    4340        RegisterObject(Munition);
     41
     42COUT(0) << "+Munition" << std::endl;
    4443    }
    4544
    4645    Munition::~Munition()
    4746    {
     47COUT(0) << "~Munition" << std::endl;
    4848    }
    4949
     
    112112        this->magazines_ = this->maxMagazines_;
    113113    }
    114 
    115     void Munition::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    116     {
    117         SUPER(Munition, XMLPort, xmlelement, mode);
    118     }
    119 
    120114}
Note: See TracChangeset for help on using the changeset viewer.