I'm writing an engine, and have looked at other engines to get an idea how to do it.
Often I see functions like:
Engine::Init {
// Code goes here
}
and
Engine::Kill {
// Code goes here
}
What's the difference between doing this or just making the functions:
EngineInit {
// Code goes here
}
and
EngineKill {
// Code goes here
}
So, what's the difference and which one is "better"? What pros/cons do they both have?
Thanx in advance for answering.
P.S.: I was not sure where to post this message, so please don't flame me if you think it's not in the right forum...
Edited by - Subotron on January 31, 2002 9:58:12 AM
Edited by - Subotron on January 31, 2002 9:59:40 AM