Replaced tabs with spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
c5b8732087
commit
8247f73604
@ -1,4 +1,4 @@
|
||||
// SuperTuxKart - a fun racing game with go-kart
|
||||
// Supertuxkart - a fun racing game with go-kart
|
||||
// Copyright (C) 2009-2013 Marianne Gagnon
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or
|
||||
|
@ -878,7 +878,6 @@ void KartModel::attachHat(){
|
||||
bone = m_animated_node->getJointNode("head");
|
||||
if(bone)
|
||||
{
|
||||
|
||||
// Till we have all models fixed, accept Head and head as bone naartme
|
||||
scene::IMesh *hat_mesh =
|
||||
irr_driver->getAnimatedMesh(
|
||||
@ -888,7 +887,6 @@ void KartModel::attachHat(){
|
||||
m_animated_node->setCurrentFrame((float)m_animation_frame[AF_STRAIGHT]);
|
||||
m_animated_node->OnAnimate(0);
|
||||
bone->updateAbsolutePosition();
|
||||
|
||||
// With the hat node attached to the head bone, we have to
|
||||
// reverse the transformation of the bone, so that the hat
|
||||
// is still properly placed. Esp. the hat offset needs
|
||||
|
@ -265,10 +265,6 @@ void World::reset()
|
||||
|
||||
void World::createRaceGUI()
|
||||
{
|
||||
//if(UserConfigParams::m_minimal_race_gui &&
|
||||
// race_manager->getTrackName() != "tutorial")
|
||||
// m_race_gui = new MinimalRaceGUI();
|
||||
//else
|
||||
m_race_gui = new RaceGUI();
|
||||
}
|
||||
|
||||
|
@ -678,7 +678,8 @@ void RaceGUIBase::drawGlobalMusicDescription()
|
||||
} // drawGlobalMusicDescription
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
void RaceGUIBase::drawGlobalGoal(){
|
||||
void RaceGUIBase::drawGlobalGoal()
|
||||
{
|
||||
static video::SColor color = video::SColor(255, 255, 255, 255);
|
||||
core::rect<s32> pos(UserConfigParams::m_width>>1,
|
||||
UserConfigParams::m_height>>1,
|
||||
|
@ -651,12 +651,14 @@ namespace StringUtils
|
||||
{
|
||||
// Special case: SVN
|
||||
if(version_string=="SVN" || version_string=="svn")
|
||||
{
|
||||
// SVN version will be version 99.99.99i-rcJ
|
||||
return 1000000*99
|
||||
+ 10000*99
|
||||
+ 100*99
|
||||
+ 10* 9
|
||||
+ 9;
|
||||
}
|
||||
|
||||
std::string s=version_string;
|
||||
// To guarantee that a release gets a higher version number than
|
||||
|
Loading…
Reference in New Issue
Block a user