Removed hardcoded image sizes for menu corners,
Small GUI fixes:
- Correctly check for Enter key in game over menu
- Properly set focus in event menu
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@721 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
- Use different coloring in HUD in event mode to indicate how well the player does
- Added missing std:: prefixes for min() and max() functions
Define NOMINMAX in VS solution to get rid of the WinAPI definition of min() and max() as macros.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@601 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Brought back support for them on non-Windows systems
- Fixed crashs on 32-bit windows by accidentially casting away calling convention of wglGetProcAddress
Updated prepare_build_installer.bat to remove recently added xx_XX.lst
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@567 0420edf4-82e4-42fc-9478-35b55e6d67a3
- NEWS now contains release notes
- Added description of the VS solution
- Enforce standard compliant type conversion rules and disable RTTI (we do not use it and disabling reduces binary size) in VS solution
- Fixed some bugs in the wixproj
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@546 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
- Fixed crash in sf::SoundBuffer destructor on startup caused by copying of TSound instances in std::vector<TSound> - replaced it with std::vector<TSound*>
- Improved GUI performance of TTextField and TIconButton by pre-creating SFML objects
- Translate word "author"
- Improved handling of KeyRepeat
- Added Icon to Installer
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@512 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Fixed signed/unsigned warnings appearing when compiling for x86
- Use v110_xp toolset when compiling for x86 to make ETR running on Windows XP
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@336 0420edf4-82e4-42fc-9478-35b55e6d67a3