Very cool Antony, I checked the dependencies DEVCPP is not necessary :)
That Engine Type looks similar to mine except I encapsulated the Irrlicht Device in a member type.
Suggestions:
1) Use Assert to validate existings of the ming global. That way the if tests are only compiled in DEBUG mode
2) Use a Create Function on the Engine object and assign Ming there so you can implment a singleton pattern. So no matter how many times you create an Engine Type they will all use the same instance. Irrlicht devices need to be properly manganged so that you only have one otherwise you will have more windows popping up all over the place.
Doug Stastny
That Engine Type looks similar to mine except I encapsulated the Irrlicht Device in a member type.
Suggestions:
1) Use Assert to validate existings of the ming global. That way the if tests are only compiled in DEBUG mode
2) Use a Create Function on the Engine object and assign Ming there so you can implment a singleton pattern. So no matter how many times you create an Engine Type they will all use the same instance. Irrlicht devices need to be properly manganged so that you only have one otherwise you will have more windows popping up all over the place.
Doug Stastny