q3k
7680c942a5
src/depot: add, move file loads to depot resolution
2021-04-28 20:18:44 +02:00
pkeus
e79a1f28b3
Fixed webpage URL in credits
...
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
2019-11-04 09:09:53 +00:00
pkeus
5abb921456
Refactorizations:
...
- Prefer std::unordered_map over std::map
- Sort CollArr by treetypes to avoid frequent texture rebinding
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@703 0420edf4-82e4-42fc-9478-35b55e6d67a3
2018-03-22 16:17:58 +00:00
pkeus
817281efc3
Refactorizations:
...
- Use initializer lists (C++11)
- Fixed several cppcheck messages, mostly about uninitialized variables in constructors
- particles.cpp: Improved parameter values and simplified code
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@635 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-29 09:05:00 +00:00
pkeus
0a80bb84aa
Refactorizations:
...
- 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
2016-01-28 10:41:09 +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
5b57a1380b
Removed line number limitation "feature" from CSPList and hence the limitations on the size of several data structures while loading them. The limits are arbitrary and are technically not necessary.
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@597 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-18 16:10:27 +00:00
pkeus
5660f808a6
Optimization: Reduced amount of padding bytes in data structures
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@543 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-09 11:04:11 +00:00
pkeus
bcca5243bc
Fixed broken reset code. It relied on the uninitialized variable TObjectType::num_items before.
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@538 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-07 15:42:54 +00:00
pkeus
62634d1b4d
Fixed CppCheck and VS Code Analysis messages, replaced usage of deprecated sf::Text::setColor()
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@536 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-07 13:00:59 +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
7aeae80081
New Features:
...
- Translatable course names and descriptions
- Selection of race group in "practice" menu
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@514 0420edf4-82e4-42fc-9478-35b55e6d67a3
2014-07-10 11:43:36 +00:00
pkeus
896890e042
Added support for course groups. Only use group "default"
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@513 0420edf4-82e4-42fc-9478-35b55e6d67a3
2014-07-09 13:26: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
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
6b1a458065
Moved several types out of etr_types.h, removed mathlib from standard includes
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@463 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-04 10:35:22 +00:00
pkeus
07bd482769
Replaced TIndex* types by TVector*i
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@462 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-04 10:21:09 +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
e9e8417d51
Refactorizations:
...
- Changed CCourse::LoadObjectMap to CCourse::LoadAndConvertObjectMap
- Replaced some strings by integers
- Removed unused variable loopdelay
- Removed unnecessary TVector3 constructor calls
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@451 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-09-29 16:42:23 +00:00
pkeus
2745a24f10
Removed several unnecessary stuff, removed code duplication in audio code, made some single-statment-functions inline in classes
...
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@446 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-09-11 18:28:39 +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