Commit Graph

12 Commits (master)

Author SHA1 Message Date
pkeus 7420115fbe Fixed 128 type conversion warnings from VS.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@600 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-19 13:07:10 +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 e2b58a7b9b Updated settings:
- Removed obsolete sound settings
- Adapted types and limits of settings to actual needs of ETR
- Changed default BPP mode to 0 (choose system's mode. Now implemented) instead of 1 (16-bit)

Bugfixes:
- Fixed track marks being broken since sf::Color introduction
- Fixed splash screen logo position

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@486 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-30 09:17:19 +00:00
pkeus 12cb17cc1b Code and data cleanup:
- Cleaned up textures: Keept only those in /data/textures that are currently needed by the game. Resized several textures to remove empty space
- Refactored HUD, fixed bug in wind display when racing upwards the hill
- Removed apparently unnecessary environment box rendering in quadtree code, improving framerate during race

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@481 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-27 19:20:04 +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 a222d7e917 Improved GUI: Implemented TLabel and TFramedText, improving performance and reducing code duplication and reaction on mouse focus
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@477 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-23 18:15:19 +00:00
pkeus 5f39d2424f Fixed several bugs found by cppcheck, removed no longer supported and required mipmap functions
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@476 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-22 19:51: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
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