Free and open source motorsport sim - Engine source code
https://www.speed-dreams.net/
Xavier Del Campo Romero
a7bad18d40
Even if shadow was defined with OOP in mind, for some unknown reason Driver::Drive relied on a statically allocated array with an arbitrary size of MAX_MOD_ITF elements (20). Because now the game supports a virtually unlimited number of drivers (aka interfaces), it was possible to read past the last_srslip array and cause undefined behaviour. As hinted above, this array did not make any sense since last_srslip should be part of each Driver object, and not a statically allocated array. Former-commit-id: e365060392b1d08c40a1e3d27f0e113d5a31594d Former-commit-id: d8954641d78f83d198493e7cb36ffe3db9ef0a55 |
||
---|---|---|
cmake | ||
doc | ||
packaging | ||
src | ||
CHANGES.txt | ||
CMakeLists.txt | ||
COPYING.txt | ||
INSTALL.txt | ||
README.txt | ||
TODO.txt | ||
unix64.cppcheck | ||
win64.cppcheck |
Introduction ------------ This is an all in one package of Speed Dreams. Be aware that some included artwork has non free (in the GPL sense) licenses, you will find a "readme.txt" in those directories. The rest is either licensed under the GPL V2 (see COPYING.txt) or the Free Art License. Non-Free content (in GPL sense) ------------------------------- Here the list with the directories containing non free content, look at the readme.txt for details: - <empty list> Changes since last release -------------------------- See CHANGES.txt Things that are still to be done, ideas to be ... ------------------------------------------------- See TODO.txt Installation instructions ------------------------- See INSTALL.txt Testing ------- If you find problems which should be already fixed or new ones please report them to the speed-dreams-users mailing list. Getting Help ------------ During the game press F1 (do it as well during the ride to learn about the options). For more in depth information visit https://sourceforge.net/projects/speed-dreams/, you'll hopefully find there some information (documentation, HOWTO, FAQ ... work-in-progress). If you are stuck please report problems through speed-dreams-users mailing list or our Tracker (visit https://sourceforge.net/p/speed-dreams/tickets/ and login to SF.net for that). Car Setups ---------- You can have you own version on the car setups for the human driver - Linux : ~/.speed-dreams-2/drivers/human/... - Windows : <My documents>\speed-dreams-2.settings\human\... depending on the car used. You can change them with a text editor, for more information look into the robot tutorial chapter 5 (http://www.berniw.org/tutorials/robot/). Creating Tracks --------------- There is a track editor in development, have a look at https://sourceforge.net/p/speed-dreams/discussion/ Robot programming ----------------- You find a robot programming tutorial on www.berniw.org in the TORCS section. Robot racing ------------ Visit www.berniw.org/trb for more information.