updateMouseBorderControl
This commit is contained in:
@@ -97,4 +97,5 @@
|
||||
->{FlxG.keys.pressed.LEFT}
|
||||
->{FlxG.keys.pressed.RIGHT}
|
||||
->{FlxG.keys.pressed.UP}
|
||||
->{FlxG.keys.pressed.DOWN}))
|
||||
->{FlxG.keys.pressed.DOWN})
|
||||
(worldCamera.updateMouseBorderControl elapsed CAMERA_SPEED 0.15))
|
@@ -159,6 +159,7 @@ class Scenario {
|
||||
stream.tracePosition();
|
||||
|
||||
var townIdx = 0;
|
||||
// TODO find an end condition for this loop
|
||||
while (true) {
|
||||
var name = stream.readCString();
|
||||
|
||||
@@ -170,7 +171,10 @@ class Scenario {
|
||||
|
||||
|
||||
|
||||
towns[townIdx++] = map;
|
||||
scen.towns[townIdx++] = map;
|
||||
|
||||
// TODO don't
|
||||
break;
|
||||
}
|
||||
|
||||
// 1E274: Fort Talrus (name of town 0)
|
||||
|
@@ -29,7 +29,7 @@ class TileMap {
|
||||
|
||||
public function wallSheet(num:Int) {
|
||||
return switch (type) {
|
||||
case Town(det):
|
||||
case Town(underground, det):
|
||||
if (num == 1)
|
||||
det.wallSheet1;
|
||||
else
|
||||
|
Reference in New Issue
Block a user