I have a load of data that points to various information about where to get information for each level in a game e.g.
data bob_address,lines_address,init_level_address etc
plus a load of other stuff about that level. I want to be able to read that data into a TYPE, and then use the values to be able to use those pointers within my program. So, lets say my TYPE was:
TYPE Level
Field bobs
Field lines
field init_level etc
I want later in the program to say something like
MyPointer.Level = New Level
read all the data in, and then use
Restore MyPointer.Level\bobs
to point to the data for the bobs on that level. This is indirect addressing, but I am unsure of what datatypes to use (having trouble using strings). Any ideas? I am using BlitzPlus, btw.
Thanks.
data bob_address,lines_address,init_level_address etc
plus a load of other stuff about that level. I want to be able to read that data into a TYPE, and then use the values to be able to use those pointers within my program. So, lets say my TYPE was:
TYPE Level
Field bobs
Field lines
field init_level etc
I want later in the program to say something like
MyPointer.Level = New Level
read all the data in, and then use
Restore MyPointer.Level\bobs
to point to the data for the bobs on that level. This is indirect addressing, but I am unsure of what datatypes to use (having trouble using strings). Any ideas? I am using BlitzPlus, btw.
Thanks.