- Always activate joysicks, removed mechanism to deactivate joysticks by a macro (broken since switch to SFML).
- Fixed data range for axis movements (-100 to +100)
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@645 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
- Support arbitrary formats (though still hardcoded)
- Use PNG as default
- Fixed crash: resize texture before filling it
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@566 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Visual Studio: Increased warning level to W4 (minus C4100 and C4512), enabled /Zc:inline
- Replaced NULL by nullptr
- Replaced 3 dynamically allocated arrays by a single std::vector CCourse::Fields
- Fixed a few MSVC W4 warnings
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@521 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
- 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
- Removed several unused variables
- Use int instead of float instead of double where appropriate
- Fixed keymapping in credits screen (u disables UI snow, not Tab)
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@455 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Cleaned up includes: Moved as much system-independant includes out of bh.h
- Removed second implementation of TGA writing - they are doing the same
- Removed some redundant defines in bh.h
- Updated copyright date in main.cpp output
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@440 0420edf4-82e4-42fc-9478-35b55e6d67a3