(svn r610) -newgrf: Support for some basic deterministical spritegroups regarding stations. Waypoints look changes based on year now :^) (pasky).

This commit is contained in:
darkvater
2004-11-14 20:50:38 +00:00
parent c2193ce1a8
commit ec434b208e
8 changed files with 166 additions and 13 deletions

View File

@@ -1112,8 +1112,8 @@ static void NewSpriteGroup(byte *buf, int len)
/* XXX: If multiple surreal sets attach a surreal
* set this way, we are in trouble. */
dg->ranges[i].group = _cur_grffile->spritegroups[setid];
dg->ranges[i].range_low = grf_load_byte(&buf);
dg->ranges[i].range_high = grf_load_byte(&buf);
dg->ranges[i].low = grf_load_byte(&buf);
dg->ranges[i].high = grf_load_byte(&buf);
}
dg->default_group = malloc(sizeof(*dg->default_group));