fix: android builds unable to load anything due to #498
fix: simd sse4.2 is now required for _mm_dp_ps, due to strange behavior on some cpus (ref #506) refactor: cosmetic changes all over the code linkage: do not flush linkent export table on changelevel manager: do not allow to create bots while analyzing map conifg: notify user about probably outdated configs, not just error in config file
This commit is contained in:
parent
bcb5b954cb
commit
d234a3f156
15 changed files with 91 additions and 55 deletions
|
|
@ -393,11 +393,19 @@ void BotStorage::unlinkFromDisk () {
|
|||
graph.reset (); // re-initialize points
|
||||
}
|
||||
|
||||
String BotStorage::getRunningPath () {
|
||||
StringRef BotStorage::getRunningPath () {
|
||||
// this function get's relative path against bot library (bot library should reside in bin dir)
|
||||
|
||||
static String path;
|
||||
|
||||
// we're do not do relative (against bot's library) paths on android
|
||||
if (plat.android) {
|
||||
if (path.empty ()) {
|
||||
path = strings.joinPath (game.getRunningModName (), folders.addons, folders.bot);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
// compute the full path to the our folder
|
||||
if (path.empty ()) {
|
||||
path = SharedLibrary::path (&bstor);
|
||||
|
|
@ -415,9 +423,17 @@ String BotStorage::getRunningPath () {
|
|||
return path;
|
||||
}
|
||||
|
||||
String BotStorage::getRunningPathVFS () {
|
||||
StringRef BotStorage::getRunningPathVFS () {
|
||||
static String path;
|
||||
|
||||
// we're do not do relative (against bot's library) paths on android
|
||||
if (plat.android) {
|
||||
if (path.empty ()) {
|
||||
path = strings.joinPath (folders.addons, folders.bot);
|
||||
}
|
||||
return path;
|
||||
}
|
||||
|
||||
if (path.empty ()) {
|
||||
path = getRunningPath ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue