From 752b3f0dd614217d68f361e2d0b2cc599a37c860 Mon Sep 17 00:00:00 2001 From: celestar Date: Sat, 29 Jan 2005 19:41:44 +0000 Subject: (svn r1721) -Feature: It is now possible to build multiple road stations (up to 8) on a single station. Thanks to: Truelight for the saveload code, Darkvater and Hackykid for network testing and Tron for proof-reading 1500 lines of diff. --- saveload.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'saveload.h') diff --git a/saveload.h b/saveload.h index edbbdc549..ebe3ecc25 100644 --- a/saveload.h +++ b/saveload.h @@ -74,7 +74,8 @@ enum { REF_VEHICLE = 1, REF_STATION = 2, REF_TOWN = 3, - REF_VEHICLE_OLD = 4 + REF_VEHICLE_OLD = 4, + REF_ROADSTOPS = 5 }; @@ -151,7 +152,7 @@ enum { #define SLE_VARX(t,c) 0x00 | ((t) & 0xF), (t) >> 4, c #define SLE_REFX(t,c) 0x10 | ((t) & 0xF), (t) >> 4, c #define SLE_CONDVARX(t,c,from,to) 0x40 | ((t) & 0xF), (t) >> 4, c, from, to -#define SLE_CONDREFX(t,c,co) 0x50 | ((t) & 0xF), (t) >> 4, c, co +#define SLE_CONDREFX(t,c,from,to) 0x50 | ((t) & 0xF), (t) >> 4, c, from, to #define SLE_WRITEBYTEX(t,b) 0x80 | ((t) & 0xF), (t) >> 4, b #define SLE_INCLUDEX(t,c) 0x90 | ((t) & 0xF), (t) >> 4, c -- cgit v1.2.3-54-g00ecf