61
General / Best Way to Handle Instances
« on: November 17, 2008, 09:46:07 pm »
I've never heard of a "boost pool allocator". I'll be sure to check it out.
I need help with one more thing. I would like to create functions that manage specific things pertaining to a certain aspect of the game, which would be stored in seperate header files. I also haven't really used header files, but know what they are and also how to prevent multiple inclusions.
I would like to do something like so:
I need help with one more thing. I would like to create functions that manage specific things pertaining to a certain aspect of the game, which would be stored in seperate header files. I also haven't really used header files, but know what they are and also how to prevent multiple inclusions.
I would like to do something like so:
Code: [Select]
//Includes all the other headers
#include "Includes.h"
int main()
{
GetInput();
Events();
ProcessObjects();
Draw();
return EXIT_SUCESS;
}