Change of Plans! Again?
- Pablo Narvaja

- Feb 15, 2020
- 2 min read
That's right I've change the plan once again. The whole engine architecture was going messy and even though I designed a lot by myself the base was designed by The Cherno for his game engine tutorials.
I wanted to do it all by my self taking inspiration from another projects only when I am stuck.
Principal Changes
CMake
To start the cherno used premake and I wan to go with the industry standard CMake. So I took a time to learn the basics to create my solution.
Engine Class
Then I remembered phrase of a book "An engine should have a start and a shutdown. A good example of this architecture is Ogre" I didnt look at the Ogre3D source but I did look at the doom3 source and they have it so my engine static class have the next functions:
Init
Run
Shutdown
Platform Code
The next change is to implement all win32 by myself so in the platform folder there is win32 code now. Although this time there are very rare bugs (heap corruption) that I don't know how to replicate (usually after a few restart of the engine they are gone).
As part of platform code is the gaphics API dependent code too, so far is only opengl and the abstraction is done by the Video Driver class.
File System!
This version also has a virtual file system and is planed to have a single file virtual file system option too!
Input
Keyboard input support is finished (not polished) events support is not in the horizon for now. Gamepad support should be working but isn't tested.
That is all for this version. You can see the public code here.
Right now I am developing the rendering system the most complex part of the project! This will be splited in parts and I am having doubts about how to design it. Research all the way!
That's all for today, folks. Bye!

Comments