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
@ -2324,6 +2324,7 @@
|
|||||||
INFOPLIST_FILE = "SuperTuxKart-Info.plist";
|
INFOPLIST_FILE = "SuperTuxKart-Info.plist";
|
||||||
INSTALL_PATH = "$(HOME)/Applications";
|
INSTALL_PATH = "$(HOME)/Applications";
|
||||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||||
|
OTHER_LDFLAGS = "-lirrlicht";
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
||||||
PRODUCT_NAME = SuperTuxKart;
|
PRODUCT_NAME = SuperTuxKart;
|
||||||
@ -2353,6 +2354,7 @@
|
|||||||
INFOPLIST_FILE = "SuperTuxKart-Info.plist";
|
INFOPLIST_FILE = "SuperTuxKart-Info.plist";
|
||||||
INSTALL_PATH = "$(HOME)/Applications";
|
INSTALL_PATH = "$(HOME)/Applications";
|
||||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
||||||
|
OTHER_LDFLAGS = "-lirrlicht";
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = NO;
|
||||||
PRODUCT_NAME = SuperTuxKart;
|
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'
|
// 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.
|
// 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
|
// 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)
|
if(all_sectors)
|
||||||
next_sector = (*all_sectors)[j];
|
next_sector = (*all_sectors)[j];
|
||||||
else
|
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);
|
float dist_2 = xyz.distance2(getQuad(next_sector).getCenter()-xyz);
|
||||||
if(dist_2<min_dist_2)
|
if(dist_2<min_dist_2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user