Player animations now load dynamically from configuration files.
This commit is contained in:
+7
-1
@@ -1173,7 +1173,6 @@ datafiledoubledata Crawler::GetDoubleList(std::string key){
|
||||
return {DATA,key};
|
||||
}
|
||||
|
||||
|
||||
int main()
|
||||
{
|
||||
char*testArr = new char[5000];
|
||||
@@ -1253,4 +1252,11 @@ double operator ""_D(const char*key,std::size_t len){
|
||||
std::cout<<std::string(key,len)<<std::endl;
|
||||
}
|
||||
return DATA.GetProperty(std::string(key,len)).GetReal();
|
||||
}
|
||||
|
||||
datafile operator ""_A(const char*key,std::size_t len){
|
||||
if(utils::datafile::DEBUG_ACCESS_OPTIONS){
|
||||
std::cout<<std::string(key,len)<<std::endl;
|
||||
}
|
||||
return DATA.GetProperty(std::string(key,len));
|
||||
}
|
||||
Reference in New Issue
Block a user