summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2007-02-02 02:56:29 +0000
committerpeter1138 <peter1138@openttd.org>2007-02-02 02:56:29 +0000
commit2e2e19b3d150a4aafb4d69c5917c85ff981d9cf6 (patch)
tree1a113010c4ce348aa3971361794b2524fbbe93a2 /src
parent59f4f056df58de1bd38282363e33bbc0e202835b (diff)
downloadopenttd-2e2e19b3d150a4aafb4d69c5917c85ff981d9cf6.tar.xz
(svn r8526) -Codechange: add stubs for unsupported newgrf station properties
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index e253cda38..53e1df998 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1044,6 +1044,21 @@ static bool StationChangeInfo(uint stid, int numinfo, int prop, byte **bufp, int
FOR_EACH_OBJECT statspec[i]->blocked = grf_load_byte(&buf);
break;
+ case 0x16: /* TODO Animation info */
+ FOR_EACH_OBJECT grf_load_word(&buf);
+ ret = true;
+ break;
+
+ case 0x17: /* TODO Animation speed */
+ FOR_EACH_OBJECT grf_load_byte(&buf);
+ ret = true;
+ break;
+
+ case 0x18: /* TODO Animation triggers */
+ FOR_EACH_OBJECT grf_load_word(&buf);
+ ret = true;
+ break;
+
default:
ret = true;
break;