summaryrefslogtreecommitdiff
path: root/world.h
blob: 274088776a88147f210399120fccdf3a7959beee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <raylib.h>
#include "assets.h"
#include <stddef.h>

#ifndef WORLD_H
#define WORLD_H

struct World {
  Image map;
  Texture map_texture;
  Color *map_data;
  size_t size;
  Model floor;
  Model wall;
  struct Decoration {} decoration[256];
};

void gen_terrain(struct World *world);
void draw_world(struct World *world);
#endif