Jump to content
  • Advertisement


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

problem with global header

This topic is 5546 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!