updating some stuff
This commit is contained in:
parent
9ff4790ef1
commit
d8407ece03
14 changed files with 26620 additions and 0 deletions
12
include/enginend/resmgr.h
Normal file
12
include/enginend/resmgr.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
#include <string>
|
||||
#include "engine.h"
|
||||
inline const char *AT(std::string path) {
|
||||
if (platform==LINUX || platform==WINDOWS || platform==MACOS) {
|
||||
return path.c_str();
|
||||
}else {
|
||||
if (platform==ANDROID) {
|
||||
return ("/data/data/"+androidpackage+"/files/"+path).c_str();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue