Hi all!
Writing program uses map data.
I need a custom data types that consist of just my type. See the code.
Once I start to enter into these types of program - AppGameKit ceases normal and stable work.
Nested types are not possible?
type t_Location // Geodezic coordinates
fLatitude as float
fLongtitude as float
endtype
Type t_Point // Full coordinates
X as integer
Y as integer
Location as t_Location
EndType
Type t_Tile // Tile Data
iZ as integer // Scale factor
CenterPoint as t_Point // Mercatore and Geodezic
sFileName as string // Tile name on disk
iImage as integer // Tile Image ID
iSprite as integer // Tile sprite ID
EndType
I will explain - when you try to return the data of type t_Tile of the function and use them, for example to create a sprite, the program terminates abnormally
AGK 2 !