Commit Graph

17 Commits (master)

Author SHA1 Message Date
pkeus bb23733009 Windows: Set window icon
Ran AStyle, removed an unused variable

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@692 0420edf4-82e4-42fc-9478-35b55e6d67a3
2017-01-19 13:25:12 +00:00
cazfi da8a8a0a03 Fixed narrowing errors from clang compilation.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@651 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-04-11 16:19:37 +00:00
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 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 1da426d3fe Bugfixes:
- Fixed track marks when limit (10000) is reached
- Remember selected course group in race selection menu

Some small refactorizations

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@547 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-14 16:13:07 +00:00
pkeus 15085ce2d6 Refactorizations:
- 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
2014-07-13 19:05:24 +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 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 34b0e51efa New features:
- Support resolution and fullscreen changing without restart in both Windows and Linux
- 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



git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@488 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-12-03 21:08:46 +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 0484183cbe Refactorizations:
- Avoid duplicating object properties
- Avoid adding literals - apparently this is not optimized by some compilers
- Use STL containern to store vertices in TPolygon
- Formatted with AStyle 2.04

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@478 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-26 15:46:54 +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 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 7895b95675 Refactorizations:
- 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
2013-09-30 15:26:28 +00:00
pkeus 265d258f4e Added more gl*() simplification functions for ETR types
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@454 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-09-30 10:39:30 +00:00
pkeus 1d5c6ffa8f Converted more code to using glVertexPointer instead of glVertex2f
Introduced method to call glColor with a TColor
Use Integer instead Float instead of Double where appropriate

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@453 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-09-30 10:16:40 +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