summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game.cpp3
-rw-r--r--src/game/worldgen.cpp4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/game/game.cpp b/src/game/game.cpp
index 986b5d2..a19eecc 100644
--- a/src/game/game.cpp
+++ b/src/game/game.cpp
@@ -84,7 +84,8 @@ void state_t::start(void)
world.generator_data = (void*)this;
repl = new unit_repl_t(this);
- repl->place(&world, v2f_t(1.3, -0.6));
+ repl->place(&world, v2f_t(5.3, 4.2));
+ select_unit(repl, SELECT_NEW);
resume();
}
diff --git a/src/game/worldgen.cpp b/src/game/worldgen.cpp
index 7af6315..de47988 100644
--- a/src/game/worldgen.cpp
+++ b/src/game/worldgen.cpp
@@ -149,9 +149,9 @@ void worldgen(world_t *world, sector_index_t index, sector_t *sector,
if (biome < 0.0f) {
if (height < waterlevel)
tile->type = TILE_WATER;
- else if (height < waterlevel + 0.1)
+ else if (height < waterlevel + 0.12)
tile->type = TILE_DIRT;
- else if (world->perlin.get(x, 3.0f) > 0.0f)
+ else if (world->perlin.get(x, 4.0f) > 0.0f)
tile->type = TILE_STONE;
else
tile->type = TILE_DIRT;