Ybalrid / Annwvyn

Annwvyn C++ Open Source designed-for-VR game engine and application developement framework
MIT License
41 stars 7 forks source link

Use RAII for resource management #46

Closed Ybalrid closed 8 years ago

Ybalrid commented 8 years ago

This commit brings the changes made on the "raii_convert" branch. This is the effort of transitioning the coding style used in the project to a more modern C++ approch.

Most of the code necessited minor changes, and there's still some stuff I'm not 100% happy about, (the way levels are created by the used with std::make_shared<>. I have to fix that. Problem is that you're intended to subclass AnnLevel. The engine itself provide two custom level classes with the Xml loader and the Slplash screen.)