Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6277 for code


Ignore:
Timestamp:
Dec 9, 2009, 9:23:28 AM (15 years ago)
Author:
rgrieder
Message:

Small changes, optimisations and typos.

Location:
code/branches/presentation2/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/Game.cc

    r6214 r6277  
    178178            this->updateGameStateStack();
    179179
    180             // Core preUpdate (doesn't throw)
     180            // Core preUpdate
    181181            try
    182182                { this->core_->preUpdate(*this->gameClock_); }
     
    192192            this->updateGameStates();
    193193
    194             // Core postUpdate (doesn't throw)
     194            // Core postUpdate
    195195            try
    196196                { this->core_->postUpdate(*this->gameClock_); }
     
    206206            this->updateStatistics();
    207207
    208             // Limit framerate
     208            // Limit frame rate
    209209            this->updateFPSLimiter();
    210210        }
  • code/branches/presentation2/src/libraries/core/OrxonoxClass.cc

    r6121 r6277  
    4949        this->referenceCount_ = 0;
    5050        this->requestedDestruction_ = false;
     51        // Optimisation
     52        this->objectPointers_.reserve(6);
    5153    }
    5254
  • code/branches/presentation2/src/libraries/util/OutputHandler.cc

    r6250 r6277  
    3939#include <cstdlib>
    4040#include <fstream>
     41#include <iostream>
    4142#include <sstream>
    4243
  • code/branches/presentation2/src/modules/weapons/projectiles/Projectile.cc

    r5929 r6277  
    5353        if (GameMode::isMaster())
    5454        {
     55            this->setMass(1.0);
    5556            this->enableCollisionCallback();
    5657            this->setCollisionResponse(false);
Note: See TracChangeset for help on using the changeset viewer.