Game Scene post updated with C++11/14.
In order to compare with the previous version of the program, the update is done in a manner that preserves the original algorithm and data structure. Updates that result in major changes in algorithm or data structure are not performed.
Since the Game Scene is not designed with C++11/14 features in the first place, after the scene is updated, performance only improves slightly.
However, the scene and program’s code still benefit from the new C++ features.
For example, the code structures in various parts of the project are cleaner.
Load time is reduced and data are handled in more efficient ways with the use of move and rvalue reference.
Function overhead is also reduced due to the use of lambda.
This experiment shows that the C++11/14 standard offers useful and powerful features for Game development and programming in general.
Features utilized: auto, decltype, uniform initialization and initializer list, new style function declaration, delete keyword, override identifier, nullptr, range-based for loop, right angle bracelet, strong typed enum, smart pointer, move and rvalue reference, lambda, and digit separator.