Changes to string handling - UTF-8
So after some time here are some minor updates on project.
As first, std::wstring was replaced by std::string (as UTF-8 as default) as it somehow wrong approach to use std::wstring anywhere. For more details see [1], [2], [3]. All std::string now by default hold UTF-8 valid string. As next I will change all projects to use unicode by default and use wide WinApi functions (with help of core::ConvertClass).
As second some changes were made in whole game state/screen/handling management. There was added some new classes for init screen handling and so. As usual you could see changes in google code project site.
For the near future I'm planning to implement MouseRegion class and the go to GameManager::run().
And happy new year :)
[1] - boost.devel thread about strings, UTF-8, ...
[2] - boost.devel tread about strings and future
[3] - stackoverflow question about UTF-16
As first, std::wstring was replaced by std::string (as UTF-8 as default) as it somehow wrong approach to use std::wstring anywhere. For more details see [1], [2], [3]. All std::string now by default hold UTF-8 valid string. As next I will change all projects to use unicode by default and use wide WinApi functions (with help of core::ConvertClass).
As second some changes were made in whole game state/screen/handling management. There was added some new classes for init screen handling and so. As usual you could see changes in google code project site.
For the near future I'm planning to implement MouseRegion class and the go to GameManager::run().
And happy new year :)
[1] - boost.devel thread about strings, UTF-8, ...
[2] - boost.devel tread about strings and future
[3] - stackoverflow question about UTF-16
Comments