I need a way to go...
Hy everybody...
I''m programming a DirectX library that will have things to simplify DirectDraw, DS, DI, etc... and Some engines like tile, 3d, etc...
I''m just starting it and need to decide:
I will create an object called TBuffer and will have DD Surface, Clipper, Palette, etc, but I''m having problems to put the drawing functions together, so I was thinking to put them in functions, separated from the class. I''d like to get some instructions about it and if it makes diference on the speed...
Thanx a lot.
Nepheus
"Eu sou, na verdade, a sombra do que quero ser" - Nepheus
Where you put your functions, in my opinion, is simply a matter of flavour. However, I would recommend looking at the CDX project and the Clanlib project (both API wrappers) to see how they do it. It might be more insightful to see actual code.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement