aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rooms/00-00-001
-rw-r--r--data/rooms/00-02-042
-rw-r--r--src/game.c6
3 files changed, 5 insertions, 4 deletions
diff --git a/data/rooms/00-00-00 b/data/rooms/00-00-00
index ea315fe..5f7d74c 100644
--- a/data/rooms/00-00-00
+++ b/data/rooms/00-00-00
@@ -7,7 +7,6 @@ connected 00 00 04
light 5.0 0.0 0.0
-platform 0.0 0.0 -5.0
tiledfloor 0.0 0.0 -5.0
wallw -5.0 0.0 0.0
walle 5.0 0.0 0.0
diff --git a/data/rooms/00-02-04 b/data/rooms/00-02-04
index 2c49d32..aacd447 100644
--- a/data/rooms/00-02-04
+++ b/data/rooms/00-02-04
@@ -4,6 +4,8 @@ connected 00 00 03
connected 00 00 04
connected 00 01 04
+platform 0.0 0.0 -5.0
+
walln 0.0 5.0 0.0
wallw -5.0 0.0 0.0
walle 5.0 0.0 0.0
diff --git a/src/game.c b/src/game.c
index ff757f4..16dcfd4 100644
--- a/src/game.c
+++ b/src/game.c
@@ -238,8 +238,8 @@ Game *game_new(int width, int height, GameOptions gameopts) {
g->reverse = 0;
g->tlast = 0;
g->cur_room_x = 0;
- g->cur_room_y = 0;
- g->cur_room_z = 0;
+ g->cur_room_y = 2;
+ g->cur_room_z = 4;
g->num_rooms = 0;
g->view_angle = deg2rad(+20.0);
g->view_dist = 5.0;
@@ -283,7 +283,7 @@ Game *game_new(int width, int height, GameOptions gameopts) {
g->lander->y = 0.0;
g->lander->z = -4.93;
g->lander->landed = 1;
- g->lander->yaw = deg2rad(30.0);
+ g->lander->yaw = deg2rad(210.0);
g->lander->attribs = OBJ_GRAVITY;
return g;