| 1838 | } |
| 1839 | |
| 1840 | static void LoadLevelScreen_LoadEntries(struct ListScreen* s) { |
| 1841 | static const cc_string path = String_FromConst("maps"); |
| 1842 | Directory_Enum(&path, &s->entries, LoadLevelScreen_FilterFiles); |
| 1843 | StringsBuffer_Sort(&s->entries); |
| 1844 | } |
| 1845 | |
| 1846 | static void LoadLevelScreen_UploadCallback(const cc_string* path) { Map_LoadFrom(path); } |
| 1847 | static void LoadLevelScreen_ActionFunc(void* s, void* w) { |
nothing calls this directly
no test coverage detected