I have this struct
and I want to have a max size if 256*256, but if I do thisCode:struct X_Tile { bool Walkable; char symbol; bool Trigger; long TriggerNum; bool RunScript; char scriptfile[32]; };
I get a message that says the program have encountered a problem. I need to have every tile have independent variables though, because of the way I wrote my script engine, and other parts of the program.Code:X_Tile tile[256][256];
I hope that someone can assist me. My only guess was that the memory usage, but then again a little struct like that isnt really that big. 200-300 bytes is my estimate.