This topic is now archived and is closed to further replies.


problem with global header

Recommended Posts

Nullio    122
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

struct WORLD_INFO {
         //stuff goes here
         TILE tileList;
the error is that the WORLD_INFO struct doesn''t see the TILE_STRUCT. how do I fix this??

Share this post

Link to post
Share on other sites