Map file formats and linked lists
Hi, I'm currently working on a 2d rpg-ish type game (might be implementing stats/etc. later on) and I've been thinking about how I'm going to go about storing my maps.
Obviously I've been searching around and I found a few really great tutorials outlining the basics of a good map file format.
The only problem is that I've already decided to use an array of linked lists, this is so I can do things like stack 10 or so layers on one map element with only 2 or 3 on the tile next to it.
I'm not too familiar with linked lists and so I'm having trouble figuring out how I can store all this information.
Maybe I should just drop the whole linked lists idea and go with simple arrays?
If anybody could give me a bit of advice on coming up with a good map format using either that whole linked list idea or just plain old arrays that would be great! Thanks in advance!!
(I'd post what code I have so far but it's pretty pathetic, I'm still pretty much figuring out how it's all going to work)
edit: Sorry, I meant to say an array of linked lists, not just a linked list :P