- 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
- Moved description ouf courses to .dim files (where the translated descriptions are already)
- Removed course "course" which was unused and is so short that it does not make sense to use it (seems to be an old proof-of-concept)
- Removed obsolete .tcl file
- Fixed crash when loading the highscore from a non-existent course
- Fixed crash when trying to save highscore of non-default courses
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@544 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
- Better choice for default focus in some menus
- Properly hide UI elements when loosing a cup
- Refactorized Credits menu to use forward_list instead of list; Fixed out-of-bounds access.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@540 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
- Prepare drawing of snow or particles only if there are such
- Call "Env.SetupLight();" instead of declaring "void SetupLight();" in racing.cpp
- Show correct avatar in registration menu
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@537 0420edf4-82e4-42fc-9478-35b55e6d67a3
- Break dangerous inheriting of TVector4 from TVector3 from TVector2: Silent casts between them could cause bugs if function is not implemented for the actual type
- Implemented unary minus operator for TVector* types; Implemented DotProduct for TVector4
- Fixed some cppcheck messages
- Some stylistic fixes
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@533 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
Several small improvements:
- Translate word "author"
- Improved handling of KeyRepeat
- Added Icon to Installer
........
Fixed a few bugs caused by recent merges
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@519 0420edf4-82e4-42fc-9478-35b55e6d67a3
Reimplemented CSPList on top of std::list<string>
Fixed a few cppcheck findings
........
Merged revision(s) 505 from branches/SFML2:
Refactorizations:
- 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/trunk@517 0420edf4-82e4-42fc-9478-35b55e6d67a3
Uniformized paranthese padding with AStyle, use AStyle 2.04
........
Merged revision(s) 489 from branches/SFML2:
Removed all empty translations to avoid confusion
Save language as string to avoid problems when languages.lst changes
........
Merged revision(s) 488 from branches/SFML2:
New features:
- Translatability of statistics at end of race
- Adapt GUI particle count to screen size
Fixes:
- Remember selected race in GUI
- Fixed crash in Debug mode when loading course without any trees
- Simplified collision detection
........
Merged revision(s) 487 from branches/SFML2:
Refactorizations:
- 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/trunk@516 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
- 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
- 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
- Store time as float, resolving several compilation issues with clang
- Added missing virtual destructor in GUI
- Fixed typo in OS_WIN32_MINGW (bh.h)
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@503 0420edf4-82e4-42fc-9478-35b55e6d67a3
Include <sys/stat.h> for mkdir() declaration.
........
Include <string.h> for memcpy() declaration.
........
Fixed compile errors caused by mismatched ints and doubles.
........
Include <string.h> for memset() declaration.
........
Made templates standard compliant. Unqualified name lookup does not look
into dependent base classes.
........
Added new matrices.[cpp|h] and vectors.[cpp|h] sourcefiles to build.
........
Avoid shadowing of the template parameters with local variables.
........
Updated lists of resource files to install.
........
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@502 0420edf4-82e4-42fc-9478-35b55e6d67a3