Wave incrementing
This commit is contained in:
@@ -268,6 +268,9 @@ void loadMap(Game *game, const char *path) {
|
||||
game->camera.rotation = 0.0f;
|
||||
game->camera.zoom = 3.0f;
|
||||
|
||||
bzMemSet(game->playerResources, 0, sizeof(*game->playerResources));
|
||||
game->waveInfo = getWaveInfo(0);
|
||||
|
||||
bzTileMapAddLayerCollisions(&game->map, LAYER_TERRAIN, COLL_LAYER_TERRAIN);
|
||||
|
||||
bzTileMapOverrideLayer(&game->map, LAYER_TREES, initTreesLayer);
|
||||
|
||||
Reference in New Issue
Block a user