Original Post
Hiya
Man, I pressed one wrong key and my post was gone! (ERRRR)
so this is the second try
Ok, well, a few quick questions.
1) Instead of adding vars for physics to each derived class
of the entity class, would it be better to add all vars to the entity class and then only use the variables you need in each derived class? (*I want to use lua for level loading and for ai scripting, so I think it would be easier to have the same list of properties for all objects).
2) With physics and rendering alike...
In the derived class functions (draw and update)...
you could just simply do like so...
vehicle::Draw()
{
RenderEngine render;
Render.SetDispProps(blendstyle, uselighting, etc)
// where as blend style and use lighting etc are
// member of the CEntity class which are derived for
// the rendering class.
}
Ok, well gotta go.
Thanks a lot for any feedback.