| 1 | #pragma once |
| 2 | |
| 3 | #include <stdbool.h> |
| 4 | |
| 5 | #include "common.h" |
| 6 | |
| 7 | // Load the noah3d.pak/language.enu file to char buffer, containing briefs and |
| 8 | // quizzes |
| 9 | char *CWN3DLoadLanguageEnu(const char *path); |
| 10 | |
| 11 | char *CWLevelN3DLoadDescription(const char *buf, const int level); |
| 12 | |
| 13 | // Load a quiz question (quiz starts from #1) |
| 14 | char *CWLevelN3DLoadQuizQuestion(const char *buf, const int quiz); |
| 15 | // Load a quiz answer (quiz starts from #1, answer starts from 'A') |
| 16 | char *CWLevelN3DLoadQuizAnswer( |
| 17 | const char *buf, const int quiz, const char answer, bool *correct); |
| 18 | |
| 19 | void CWN3DQuizFree(CWN3DQuiz *quiz); |