19 lines
452 B
C
19 lines
452 B
C
|
//---
|
||
|
// level: Static level model
|
||
|
//
|
||
|
// This module provides representations for read-only data structures
|
||
|
// describing levels, from which dynamic maps can be built. The only role of
|
||
|
// models is that we can import them into the game and then load them into
|
||
|
// maps. This is a convenience to abstract away the storage format of levels.
|
||
|
//---
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
/* TODO: DEMO */
|
||
|
struct level {
|
||
|
int zero;
|
||
|
uint16_t colors[];
|
||
|
};
|