• Advertisement

Archived

This topic is now archived and is closed to further replies.

editor design troubles

This topic is 5145 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m having huge troubles designing the code structure for my world editor (using C++ and DirectX). What makes it hard is that input has to come from the windows procedure and somehow end up modifying vertex buffers, meanwhile going through state lookups to see what texture is selected and so on. My classes aren''t really classes at all. My private variables are pointless, there are accessor functions for about half of them. I need some basic design help here .

Share this post


Link to post
Share on other sites
Advertisement
You''ll have to be more specific;

How is your app set up?

How are you declaring your classes?

How is your app accessing your classes?

Is your editor part of your game or standalone?

Share this post


Link to post
Share on other sites
Sometimes it better to take a deep breath, and start over than try to continue with a cobbled together project. This time tho, write out what you want the editor to do, and a realistic way of doing it. Go read some info on design documenting. Most importantly...

-- do not start coding until your design document is finished! --
that is very important.

Its ok to change a few things that didn''t work out the way you wanted tho.

Share this post


Link to post
Share on other sites

  • Advertisement