We can already create some windows and show...
If you are following the previous days, check how simple is the code:
#include "PStructs.h"#include "PDevice.h"int main(){ PDevice* MainApplication= new PDevice(vdOpenGL); MainApplication->CreateNewWindow("MyWindow", new SRect(0, 100, 500, 500)); MainApplication->Show("MyWindow"); while (MainApplication->Running()) { MainApplication->Refresh(); } delete(MainApplication); return 0;}
When we create a PDevice instance, we pass by parameter, the type of API we want to use. In this case, is OpenGL..
Well...tomorrow I'll show the first "visual" version of our engine, with what we have until now..
See ya..
Also, are you planning to go open-source with this? Or release the engine? :)