Commit Graph

15 Commits (master)

Author SHA1 Message Date
pkeus 85a6b4d9f9 Removed "using namespace std;"
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@598 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-18 16:55:59 +00:00
pkeus dc7119a404 Bugfix: Reset key states in racing.cpp when entering the state.
Simplified some code.

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@542 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-08 20:29:39 +00:00
pkeus ee1be7908c Bugfixes:
- Improved handling of missing data/configuration files: Print error message instead of crashing
- Fixed "auto" resolution: Use desktop mode for fullscreen
- Fixed GUI scaling in higher resolutions than 800*600
- Fixed Credits GUI broken in r492
- Updated some copyright dates to 2014

Refactorizations:
- Fixed some warnings
- Avoid copying TScore objects
- Small simplifications

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@518 0420edf4-82e4-42fc-9478-35b55e6d67a3
2014-07-12 19:00:57 +00:00
pkeus 1a058f4f00 Refactorization: Removed useless parameter 'unsigned int mod' and 'bool special'
Bugfix: Fixed key events are counted twice in main menu

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@504 0420edf4-82e4-42fc-9478-35b55e6d67a3
2014-04-05 16:35:47 +00:00
pkeus a6f5aecdb1 Refactorizations:
- 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
2014-02-17 18:51:23 +00:00
pkeus ee38139d2a Uniformized paranthese padding with AStyle, use AStyle 2.04
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@491 0420edf4-82e4-42fc-9478-35b55e6d67a3
2014-01-18 09:55:13 +00:00
pkeus d351e0124c GUI changes:
- Changed key shortcuts in GUI to provide more consistent behaviour
 - Clicking on a control locks focus to it
 - Fixed focussing in event menu
 - Fixed broken TTextField

Other changes:
 - Fixed german translation
 - Small refactorizations

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@490 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-12-04 21:27:34 +00:00
pkeus ff90183305 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/branches/SFML2@487 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-30 18:02:01 +00:00
pkeus df0203e807 Use pointers instead of indices in several places
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@480 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-27 17:11:54 +00:00
pkeus 03d1004215 Rewritten large parts of GUI: Don't use direct OpenGL anymore. Speedup by up to 1000%.
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
2013-10-07 10:48:48 +00:00
pkeus 3a0be9d384 Ported Windowing, Input and Texturing systems from SDL to SFML2
Remaining problem: SFML loads textures vertically flipped. Thus, HUD speed display isn't correct yet.

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@467 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-06 10:17:19 +00:00
pkeus c904a766f7 Rewritten Audio Module on top of SFML2
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@466 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-05 17:21:21 +00:00
pkeus 7afb08f242 Moved Vector* types out of etr_types.h; Implemented as object-oriented templates; Replaced several function by overloaded operators
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@457 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-09-30 18:17:59 +00:00
pkeus 1ec2d11761 Implemented adjustable framerate control
Simplified calls to Message() SPStrN() and adding empty lines to CSPList

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@447 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-09-12 17:39:10 +00:00
cazfi 83abd1b455 Moved sources to their own subdirectory src
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@417 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-08-26 21:02:38 +00:00