Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.