Commit Graph

39 Commits (master)

Author SHA1 Message Date
cazfi 9db40defd1 Bumped version number to start 0.9 development
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@727 0420edf4-82e4-42fc-9478-35b55e6d67a3
2020-03-05 15:54:10 +00:00
pkeus 8534ab350b Windows: Added manifest file
Removed hardcoded image sizes for menu corners, 
Small GUI fixes:
- Correctly check for Enter key in game over menu
- Properly set focus in event menu

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@721 0420edf4-82e4-42fc-9478-35b55e6d67a3
2020-02-27 20:16:34 +00: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 4f1f702b7d Updated to Visual Studio 2017
Reserve memory for some std::vectors to optimize their allocation behaviour

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@698 0420edf4-82e4-42fc-9478-35b55e6d67a3
2017-08-27 14:37:42 +00:00
pkeus 3436509c11 Removed unused fonts, improved prepare_build_installer.bat, ran AStyle
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@644 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-02-29 10:03:40 +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 ee35f1a467 Applied patch by Mattias Ugelvik:
- Use different coloring in HUD in event mode to indicate how well the player does
- Added missing std:: prefixes for min() and max() functions

Define NOMINMAX in VS solution to get rid of the WinAPI definition of min() and max() as macros.

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@601 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-19 13:27:21 +00:00
cazfi f537d61e75 Added prepare_build_installer.bat to distribution.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@593 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-16 19:02:18 +00:00
cazfi 13a776a6f9 Prepared trunk for 0.8 development by bumping version numbers.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@577 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-15 19:53:02 +00:00
pkeus 668fe95547 Use SFML to get OpenGL extension functions:
- Brought back support for them on non-Windows systems
- Fixed crashs on 32-bit windows by accidentially casting away calling convention of wglGetProcAddress

Updated prepare_build_installer.bat to remove recently added xx_XX.lst

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@567 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-15 15:35:14 +00:00
cazfi b99e42c971 Bumped version strings to 0.7-alpha, numbers to 0.6.99.1.
This is to test most of the release and build flow already before
the beta.


git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@563 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-15 08:54:12 +00:00
cazfi 719489b757 Corrected name of the Readme.txt in Makefile.am
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@562 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-15 08:37:53 +00:00
cazfi daa0439aed Added extra courses to installation
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@549 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-14 22:00:04 +00:00
pkeus 1fd21eec7f Updated documentation and Windows build tools:
- 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
2016-01-14 10:53:47 +00:00
pkeus 4068ade101 Updated to Visual Studio 2015
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@535 0420edf4-82e4-42fc-9478-35b55e6d67a3
2016-01-07 12:24:14 +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 97d109235f Several small improvements:
- 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
2014-07-09 09:47:56 +00:00
pkeus a9ace1a9c1 Get rid of console window in release builds, added back support for command line parameters.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@471 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-11-02 10:02:19 +00:00
pkeus 840028f698 Updated installer to SFML
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@470 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-07 14:55:50 +00:00
pkeus d6687c3162 Ported Text rendering to SFML. Removed FTFont library.
Enabled smooth textures

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/branches/SFML2@468 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-06 10:59:03 +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 5f56174c44 Configured bh.h as precompiled header (built into main.obj): Speeds up compilation by 300%.
Upgraded solution to VS2013

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@464 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-04 11:09:43 +00:00
pkeus df18d00a07 Added object-oriented template TMatrix, replacing dangerous double[4][4] typedef
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@461 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-03 19:00:52 +00:00
pkeus 9620453033 Added release-helper script that removes all makefiles before building installer.
Various refactorizations.

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@459 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-10-02 19:37:38 +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
cazfi bbadb5adb2 Set version numbers for 0.7 development version.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@436 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-08-31 23:54:54 +00:00
pkeus 4a3077bf3e Updated Visual Studio Solution after source moved to /src
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@424 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-08-30 07:45:46 +00:00
cazfi 1b47bb16b7 Fixed adding of Windows build files to tarball.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@402 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-08-15 09:02:27 +00:00
pkeus 90db70f3e1 Increased version to 0.6 Beta 2 in WiX files and version.h
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@400 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-08-15 07:06:38 +00:00
pkeus 710808bbdb Set product version to "0.6 Beta 1" (String) or "0.5.99.1" (Number)
Fixed problem in installer causing config files not being written when program is executed with limited privileges

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@380 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-06-25 21:46:30 +00:00
cazfi dfeb68e969 Added VisualStudio build files to distribution.
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@377 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-06-23 23:39:12 +00:00
pkeus 95582fd0a7 Disallow installing same version twice
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@364 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-06-20 11:15:23 +00:00
pkeus 4849b65af9 Added program menu entry feature to installer
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@363 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-06-20 10:52:08 +00:00
pkeus 6f10196682 Added WiX-Installer for Windows, supporting both x64 and x86 builds
Readded Icon, used as resource for exe file
Created banner for installer from icon (like in old 0.4 installer)

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@352 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-06-10 19:18:38 +00:00
pkeus 84ff1e6ee9 Several VS related fixes:
- Fixed signed/unsigned warnings appearing when compiling for x86
- Use v110_xp toolset when compiling for x86 to make ETR running on Windows XP

git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@336 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-05-16 14:25:45 +00:00
pkeus 2183970c6e Added .rc file to set meta information on windows
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@335 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-05-16 13:54:16 +00:00
pkeus 97b4f79c8e Added solution for Visual Studio
git-svn-id: https://svn.code.sf.net/p/extremetuxracer/code/trunk@334 0420edf4-82e4-42fc-9478-35b55e6d67a3
2013-05-16 13:10:23 +00:00