Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2009, 10:00:15 AM (15 years ago)
Author:
rgrieder
Message:

Replaced <OgrePrerequisites.h> with "util/OgreForwardRefs.h": I haven't yet realised that OgrePrerequisites.h includes about every single std header by including the OgreMemoryManager.h file.
And while at it, I took care of some type conversions (partially revealed by the missing OgrePrerequisites.h that disabled warnings)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/core/input/KeyBinder.cc

    r3148 r3192  
    317317                    {
    318318                        mouseAxes_[2*i + 0].absVal_
    319                             = -mouseRelative_[i] / deriveTime_ * 0.0005 * mouseSensitivityDerived_;
     319                            = -mouseRelative_[i] / deriveTime_ * 0.0005f * mouseSensitivityDerived_;
    320320                        mouseAxes_[2*i + 1].absVal_ = 0.0f;
    321321                    }
     
    324324                        mouseAxes_[2*i + 0].absVal_ = 0.0f;
    325325                        mouseAxes_[2*i + 1].absVal_
    326                             =  mouseRelative_[i] / deriveTime_ * 0.0005 * mouseSensitivityDerived_;
     326                            =  mouseRelative_[i] / deriveTime_ * 0.0005f * mouseSensitivityDerived_;
    327327                    }
    328328                    else
Note: See TracChangeset for help on using the changeset viewer.