um, previous wasn't complete?
[an0rqz.git] / inventory / backend_setup.c
blob1a1f4758398a15d0600e55e275516e5473dda465
2 void bah(hab) {
3 hab.init(hab);
4 for (int i=0;i<hab.len;i++) {
5 bah(*hab.data[i]);
9 void world_init(hab) {
10 // set up world metadata
11 // allocate data space
12 // run sequence of generative algorithms on data space {
13 // create templated instances of entity types and make data space
14 // elements pointers to them }
17 void <entity>_init(hab) {
18 // allocate data space
19 // populate data space