updated Xcode project (see ya in hell, plib\!) + fixed a couple warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
9b38b69057
commit
f16339fc9f
@ -241,4 +241,4 @@ void render(float elapsed_time)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -2324,6 +2324,7 @@
|
||||
INFOPLIST_FILE = "SuperTuxKart-Info.plist";
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||
OTHER_LDFLAGS = "-lirrlicht";
|
||||
PREBINDING = NO;
|
||||
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
||||
PRODUCT_NAME = SuperTuxKart;
|
||||
@ -2353,6 +2354,7 @@
|
||||
INFOPLIST_FILE = "SuperTuxKart-Info.plist";
|
||||
INSTALL_PATH = "$(HOME)/Applications";
|
||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||
OTHER_LDFLAGS = "-lirrlicht";
|
||||
PREBINDING = NO;
|
||||
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
||||
PRODUCT_NAME = SuperTuxKart;
|
||||
|
@ -85,7 +85,7 @@ DefaultRobot::DefaultRobot(const std::string& kart_name,
|
||||
}
|
||||
};
|
||||
|
||||
const int look_ahead=10;
|
||||
const unsigned int look_ahead=10;
|
||||
// Now compute for each node in the graph the list of the next 'look_ahead'
|
||||
// graph nodes. This is the list of node that is tested in checkCrashes.
|
||||
// If the look_ahead is too big, the AI can skip loops (see
|
||||
|
@ -350,7 +350,7 @@ int QuadGraph::findOutOfRoadSector(const Vec3& xyz,
|
||||
if(all_sectors)
|
||||
next_sector = (*all_sectors)[j];
|
||||
else
|
||||
next_sector = current_sector+1 == getNumNodes() ? 0 : current_sector+1;
|
||||
next_sector = current_sector+1 == (int)getNumNodes() ? 0 : current_sector+1;
|
||||
|
||||
float dist_2 = xyz.distance2(getQuad(next_sector).getCenter()-xyz);
|
||||
if(dist_2<min_dist_2)
|
||||
|
Loading…
Reference in New Issue
Block a user