Advertisement
Guest User

Untitled

a guest
Jun 19th, 2011
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. spriteset groundsprite {}
  2. spriteset spr_coal { /* 2 real sprites here*/ }
  3. spriteset spr_lumber {}
  4. spriteset spr_pass {}
  5. ...
  6. spriteset spr_mail {}
  7.  
  8. spritelayout station_layout {
  9. ground { sprite: 0; }
  10. building { sprite: 0; }
  11. building { sprite: 1; }
  12. }
  13.  
  14. switch(FEAT_STATIONS, chose_building_sprites, cargo_type){
  15. COAL: spr_coal;
  16. WOOD: spr_lumber;
  17. PASS: spr_pass;
  18. MAIL: spr_mail;
  19. spr_coal;
  20. }
  21.  
  22. switch(FEAT_STATIONS, station_chose_graphics, extra_callback_info1){
  23. 0: groundsprite;
  24. chose_building_sprites;
  25. }
  26. switch(FEAT_STATIONS, station_cb_switch, current_callback){
  27. 0x14: return 0;
  28. station_chose_graphics;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement