Ignore:
Timestamp:
09/17/06 23:48:45 (18 years ago)
Author:
giegl
Message:

GTPD - Jungle Rumble - fixed all warnings (except performance)

Location:
GTP/trunk/App/Games/Jungle_Rumble
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Games/Jungle_Rumble/src/GameScene.cpp

    r1382 r1401  
    621621                                secondNode = t->getSecondNode().get();  //Bullet 
    622622                                tempPlayer = ((Bullet*)secondNode)->myPlayer;   //Player of bullet 
    623                                 if(tempPlayer == this->player && this->playerList.size()-1 < this->maxEnemyCount) { 
     623                                //if(tempPlayer == this->player && this->playerList.size()-1 < this->maxEnemyCount) { 
     624                                if(tempPlayer == this->player && int(this->playerList.size())-1 < this->maxEnemyCount) { 
    624625                                        pos = node->getAbsolutePosition(); 
    625626                                        pos.y++; 
     
    905906                NxU32 mask = 0; 
    906907                /*mask |= UserContactReport::COLGROUP_NOCOL; 
    907                 mask != mask; 
    908908                mask |= UserContactReport::COLGROUP_TERRAIN;*/ 
    909909                mask = 0xFFFFFFFF; 
  • GTP/trunk/App/Games/Jungle_Rumble/src/MenueScene.cpp

    r1398 r1401  
    213213                }  
    214214        #elif(1) // MG 
    215                 int fontsize = 20.0 * (manager->screenWidth / 1024.0); 
     215                int fontsize = int( 20.0 * (manager->screenWidth / 1024.0) ); 
    216216        #endif 
    217217         
  • GTP/trunk/App/Games/Jungle_Rumble/src/Player.cpp

    r1378 r1401  
    10801080        mask |= UserContactReport::COLGROUP_PLAYER; 
    10811081        mask |= UserContactReport::COLGROUP_NOCOL; 
    1082         mask != mask; 
    10831082        NxReal maxDist = (!flying) ? NX_MAX_F32 : 1.0f; 
    10841083        NxShape* closestShape = this->myScene->pScene->raycastClosestShape(ray, NX_ALL_SHAPES, hit, mask, maxDist);//0xffffff); 
Note: See TracChangeset for help on using the changeset viewer.