Merge branch 'master' of https://github.com/supertuxkart/stk-code
This commit is contained in:
commit
31875565bb
13
CHANGELOG.md
13
CHANGELOG.md
@ -1,3 +1,16 @@
|
||||
## SupertTuxKart 0.9.1
|
||||
* Many bug fixes
|
||||
* Started to use scripting in tracks
|
||||
* Significant audio performance improvements
|
||||
* Smaller tweaks and improvements to several tracks including
|
||||
** Math class
|
||||
** XR591
|
||||
** Fort Magma
|
||||
** Gran Paradiso
|
||||
** Subsea
|
||||
* Tweak to challenges
|
||||
* Better support for driving tracks in reverse
|
||||
|
||||
## SupertTuxKart 0.9 (April 2015)
|
||||
* Fully shader-based rendering engine
|
||||
* New tracks Cocoa Temple and Gran Paradiso
|
||||
|
BIN
data/CREDITS
Normal file → Executable file
BIN
data/CREDITS
Normal file → Executable file
Binary file not shown.
@ -1778,6 +1778,8 @@ void Kart::crashed(AbstractKart *k, bool update_attachments)
|
||||
// -----------------------------------------------------------------------------
|
||||
/** Kart hits the track with a given material.
|
||||
* \param m Material hit, can be NULL if no specific material exists.
|
||||
* \param normal The normal of the hit (used to push a kart back, which avoids
|
||||
* that karts sometimes can get stuck).
|
||||
*/
|
||||
void Kart::crashed(const Material *m, const Vec3 &normal)
|
||||
{
|
||||
|
@ -594,10 +594,21 @@ btScalar Physics::solveGroup(btCollisionObject** bodies, int numBodies,
|
||||
upA, contact_manifold->getContactPoint(0).m_localPointA,
|
||||
upB, contact_manifold->getContactPoint(0).m_localPointB);
|
||||
else if(upB->is(UserPointer::UP_PHYSICAL_OBJECT))
|
||||
{
|
||||
// 2.3 kart hits physical object
|
||||
m_all_collisions.push_back(
|
||||
upB, contact_manifold->getContactPoint(0).m_localPointB,
|
||||
upA, contact_manifold->getContactPoint(0).m_localPointA);
|
||||
// If the object is a statical object (e.g. a door in
|
||||
// overworld) add a push back to avoid that karts get stuck
|
||||
if (objB->isStaticObject())
|
||||
{
|
||||
AbstractKart *kart = upA->getPointerKart();
|
||||
const btVector3 &normal = contact_manifold->getContactPoint(0)
|
||||
.m_normalWorldOnB;
|
||||
kart->crashed((Material*)NULL, normal);
|
||||
} // isStatiObject
|
||||
}
|
||||
else if(upB->is(UserPointer::UP_ANIMATION))
|
||||
m_all_collisions.push_back(
|
||||
upB, contact_manifold->getContactPoint(0).m_localPointB,
|
||||
|
@ -143,7 +143,7 @@ void CreditsScreen::loadedFromFile()
|
||||
|
||||
std::string creditsfile = file_manager->getAsset("CREDITS");
|
||||
|
||||
std::ifstream file( creditsfile.c_str() ) ;
|
||||
std::ifstream file( creditsfile.c_str(), std::ios::binary ) ;
|
||||
|
||||
if (file.fail() || !file.is_open() || file.eof())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user