Jump to content

View more

Image of the Day

Inventory ! Va falloir trouver une autre couleur pour le cadre D: #AzTroScreenshot #screenshotsaturday https://t.co/PvxhGL7cOH
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Header Organization Advice please ?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 mrhodes   Members   

380
Like
0Likes
Like

Posted 13 December 2012 - 11:38 AM

I am in the beginning stages of making a game, and I am wondering if it is best to have 1 main header that includes all my other headers, or should I only include headers needed for each module I am working on?

I am asking this because I am now noticing that as my project grows any change to my 1 main header causes everything to recompile...

So, any thoughts about this topic that can help ?
I am thinking I should probably just include the headers needed for each class instead of including everything in each class.

Please share any thoughts please...

Michael
Michael RhodesTiger Studios Web Designhttp://tigerstudios.net

#2 fastcall22   Moderators   

10681
Like
0Likes
Like

Posted 13 December 2012 - 11:44 AM

It's dangerous to go alone.
Take this!
zlib: eJzVVLsSAiEQ6/1qCwoK i7PxA/2S2zMOZljYB1TO ZG7OhUtiduH9egZQCJH9 KcJyo4Wq9t0/RXkKmjx+ cgU4FIMWHhKCU+o/Nx2R LEPgQWLtnfcErbiEl0u4 0UrMghhZewgYcptoEF42 YMj+Z1kg+bVvqxhyo17h nUf+h4b2W4bR4XO01TJ7 qFNzA7jjbxyL71Avh6Tv odnFk4hnxxAf4w6496Kd OgH7/RxC

#3 SiCrane   Moderators   

11763
Like
1Likes
Like

Posted 13 December 2012 - 11:47 AM

You might want to look at this way back machine article that jpetrie wrote about master headers.

#4 mrhodes   Members   

380
Like
0Likes
Like

Posted 13 December 2012 - 12:11 PM

Thank you very much SiCrane... I read that and it helps a lot.
I have had to reorder headers at times to make things work, and now I understand why :)


Michael
Michael RhodesTiger Studios Web Designhttp://tigerstudios.net




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.