Petari/source/Game/Demo/DemoFunction.cpp

13 lines
343 B
C++

#include "Game/Demo/DemoFunction.h"
#include <cstdio>
#include <cstring>
void* DemoFunction::loadDemoArchive() {
char buf[0x100];
snprintf(buf, 0x100, "DemoSheet.arc");
return MR::createAndAddResourceHolder(buf);
}
bool DemoFunction::isDemoPartTalk(const char *pDemoName) {
return MR::isEqualSubString(pDemoName, "会話");
}