diff options
Diffstat (limited to 'demos/checkerboard/checkerboard.c')
-rw-r--r-- | demos/checkerboard/checkerboard.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/checkerboard/checkerboard.c b/demos/checkerboard/checkerboard.c index 0c8ff37..7ca31e1 100644 --- a/demos/checkerboard/checkerboard.c +++ b/demos/checkerboard/checkerboard.c | |||
@@ -81,12 +81,12 @@ static bool init(GfxApp* app, GfxAppState* state, int argc, const char** argv) { | |||
81 | } | 81 | } |
82 | IsoGfx* iso = state->iso; | 82 | IsoGfx* iso = state->iso; |
83 | 83 | ||
84 | isogfx_make_world( | 84 | isogfx_make_map( |
85 | iso, &(WorldDesc){.tile_width = TILE_WIDTH, | 85 | iso, &(MapDesc){.tile_width = TILE_WIDTH, |
86 | .tile_height = TILE_HEIGHT, | 86 | .tile_height = TILE_HEIGHT, |
87 | .world_width = WORLD_WIDTH, | 87 | .world_width = WORLD_WIDTH, |
88 | .world_height = WORLD_HEIGHT, | 88 | .world_height = WORLD_HEIGHT, |
89 | .num_tiles = NUM_TILES}); | 89 | .num_tiles = NUM_TILES}); |
90 | 90 | ||
91 | const Tile black = isogfx_make_tile(iso, &tile_set[Black]); | 91 | const Tile black = isogfx_make_tile(iso, &tile_set[Black]); |
92 | const Tile white = isogfx_make_tile(iso, &tile_set[White]); | 92 | const Tile white = isogfx_make_tile(iso, &tile_set[White]); |