blob: 0831c0859bbc5c1c8236871520626a04eb050481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#include "level-init.hpp"
#include "pke-at-setlist-types.hpp"
#include "pke-at-settings.hpp"
#include "pke-at-storage-sql.hpp"
#include "pke-at.hpp"
#include <pke/pke.hpp>
struct pke_at_master {
struct pke_at_master_states {
} states;
} mstr;
void pke_at_tick(double delta) {
(void)delta;
}
void pke_at_init() {
uint64_t i;
pkeSettings.rt.nextLevel = pke_at_level_init_create();
for (i = 0; i < PKE_AT_SECTION_TYPE_INDEX_COUNT; ++i) {
if (g_section_types[i].title_key[0] == '\0') continue;
g_section_types[i].title_handle = AM_GetHandle(g_section_types[i].title_key);
}
g_at.storage = pk_new<pke_at_storage_sql>();
g_at.storage->init();
}
void pke_at_teardown() {
}
|