- Use final specifier
- Use STL reserve() function more often
- Replace forward_list by vector for storing credits entries
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@731 0420edf4-82e4-42fc-9478-35b55e6d67a3
Fixed lighting of trees (thanks to Reinhard Niehoff)
Updated Visual Studio solution to VS 2019
Small optimizations:
- Try to make use of reserve() functions of STL containers
- Use MakePathStr to create paths
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@714 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Removed TColor3, use sf::Color instead
- Introduced more C++11 features: Use constexpr and defaulted/deleted functions
- Made several member functions static or const
- Removed dead code
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@631 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Fixed line ending of groups.lst
- Fixed GUI behaviour in race_select.cpp
- Removed redundant small menu title, use large one instead
- Code cleanups
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@550 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Fixed warnings about type conversions
- Switch back to deprecated sf::Text::setColor(), as sf::Text::setFillColor() is not available in SFML 2.3.2
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@541 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Removed ambiguous shortcut from TIconButton control
- Fixed rendering of track marks at environments that are not "sunny"
Refactorizations:
- Removed unused code
- Simplified code in track_marks.cpp
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@539 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Reduced time spend in set_material(), reduced calls in track_marks.cpp
- Uniformized some more double/float usage
- Prefer copy_n over memcpy, fill_n over memset
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@515 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Make use of C++11 feature emplae_back() to avoid object copying
- Rewritten frame copying
- Avoid converting sf::String to std::string
- Provide rvalue reference overload for CSPList::Add()
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@505 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Check for gl_error automatically (in states)
- Cleaned up some unnecessary includes
- Removed some index maps that offer no performance gain
- Load credit text on demand and unload it when leaving credits menu
- Replaced loadIdentity+multMatrix by loadMatrix
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@487 0420edf4-82e4-42fc-9478-35b55e6d67a3
Use sf::String instead of std::string, where Unicode support is required
Problems: Credits have no transparency anymore. Small UI glitch between loading and intro.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@469 0420edf4-82e4-42fc-9478-35b55e6d67a3