View Single Post
  #16  
Old 04-11-2008, 11:20 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
All NW files have "GLEVNW01" as a header.

Stefan can just make a new format with "GLEVNW02" that would indicate that the level file is in the newer format.

That way none of the old levels would be broken.

Of course then Stefan has to be willing to update the level editor and all that other good stuff to support the new format if he chooses to add it.

GLEVNW02
BOARD 0 0 10 0 "1,45,235,5325,533,2,42,4,25,535,324"
BOARD 0 1 10 0 "1,45,44,234,124,2345,2314,123,123,412"
BOARD 0 2 10 0 "34,4223,200,200,200,200,200,200,200,45"
BOARD 0 3 10 0 "34,4223,200:7,45"

Example of new board format (not to full size obviously) where an array of tile numbers are used. In the last line one of the entries is 200:7 meaning that 200 appears 7 times, making it identical to the line above it. A simple compression technique.
__________________

Last edited by Inverness; 04-11-2008 at 11:32 PM..
Reply With Quote