Original Post
I''m working on arranging my Tile Engine into nice neat separate files when I ran into this problem:
I have a "Globals.hpp/cpp" where I keep all my global stuff (go figure) but I also have some structs defined in the globals.hpp as well this is were the problem is:
struct TILE_INFO {
//a bunch of stuff goes here
} TILE, *TILEPTR;
struct WORLD_INFO {
//stuff goes here
TILE tileList;
} WORLD, *WORLDPTR;
the error is that the WORLD_INFO struct doesn''t see the TILE_STRUCT. how do I fix this??