shadowm

Untitled

Feb 21st, 2012
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. # notice __FILE__ is always the same for 1.10 and 1.11/1.12
  2.  
  3. #ifver WESNOTH_VERSION >= 1.11.0
  4. #define MAP __FILE__
  5. [map]
  6. data="{~add-ons/Terrible_Campaign/maps/{__FILE__}}"
  7. [/map]
  8. #enddef
  9. #else
  10. #define MAP __FILE__
  11. map_data="{~add-ons/Terrible_Campaign/maps/{__FILE__}}"
  12. #enddef
  13. #endif
  14.  
  15. # ...
  16.  
  17. [scenario]
  18. id=01_Epic_Fail
  19. {MAP 01_Epic_Fail.map}
  20. # ...
  21. [/scenario]
Advertisement
Add Comment
Please, Sign In to add comment