Player animations now load dynamically from configuration files.

This commit is contained in:
2023-08-19 11:57:02 -05:00
parent 023c6f9005
commit cbfcb2793f
6 changed files with 35 additions and 52 deletions
+7 -1
View File
@@ -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));
}