Commit graph

869 commits

Author SHA1 Message Date
scttgs0
564bc36686 Suppress Compiler Warnings - Compare of mixed signedness
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6957 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: def9a411943451e5b2f6555e8779eb88327ae870
Former-commit-id: 4909b6226d2f95aba29ed8d4ed783020034daa68
2020-04-25 01:46:29 +00:00
scttgs0
77e65974d5 Suppress Compiler Warnings - String Buffer Overflow
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6951 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d18c1fa2e2336ac67bd8d9482ae90104c4bdf439
Former-commit-id: e255316f069685069f6084eebd3a1c2aaba272b3
2020-04-25 01:13:43 +00:00
iobyte
308a7d21ce add logger format string checking and fix problems found by it
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6944 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 92835381133a8d421f66f791a63b5001740a22d9
Former-commit-id: 34327f7a3872a9dde296a4812e7512313e6f68cb
2020-04-24 17:59:22 +00:00
scttgs0
6549f75037 Suppress Compile Warnings - Unguarded IF, Misleading Indent
A mix of tabs and space indententation is misleading.
Some statements visually align with IF statements, but are outside the IF body.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6941 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a87be2c44a3049e0b14013a4e8e2acff16c1e08b
Former-commit-id: 5847eb1e3946a4ff783eca84d2e52f2ebff836de
2020-04-24 02:38:55 +00:00
scttgs0
65b223029b Suppress Compiler Warning - Buffer Copy
Safely copy into string buffers to prevent overruns.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6939 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 88b5d00d2287555769fc4fd7553164370d0c757b
Former-commit-id: 65bf73bfdafd38097fa3b1c7a934effdd82bee24
2020-04-24 01:46:12 +00:00
torcs-ng
7ae1fa574e patch for catch (by Scott)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6926 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b5c1d77b003ea626ebbaa73eb21d29bde5004cee
Former-commit-id: a31f1f43364b08de9638477112da11319adca7ea
2020-04-19 23:22:42 +00:00
iobyte
0f2149bba5 add rear differential type to setup menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6921 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 527781de325a34857da5fcb6f4924594fbd2999a
Former-commit-id: 0932acbc768c704f974519dc9e5019bf89fdcaee
2020-04-15 00:56:03 +00:00
madbad
c5ba9a0182 Revert "ff pausing test"
This reverts commit 0ac616d96dc542ff2a3be457526c4ddbc403ab14.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6914 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6463ae72ab6a06ff7738e850970efb0279c1fb89
Former-commit-id: a96f5b9b82b588b223c5707cca90b725b42b6b91
2020-04-12 15:09:41 +00:00
madbad
effdee5716 webserver: fix/workaround for ticket 1048.
* enable the actual reading of the webserver config file previously hardoced
* update the config file with an actual usable url
* change the place where we do the reading of the config file

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6913 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 30dbb76b794899c5af9cdb9c40bdbd72b785ca6e
Former-commit-id: 3c7563159a05a4f503de38ff70ec7e490d0ea2d6
2020-04-12 15:09:35 +00:00
madbad
fa08657881 ff pausing test
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6912 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 42592448d4c91ff775e5be536830c443c6213c10
Former-commit-id: 18bd0478c38374c0356db29494e7433820cb2e66
2020-04-12 15:09:29 +00:00
madbad
462afd4138 solved merge conflicts
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6909 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 71baa05dec652f8aa9c39e866a37a1c54799269b
Former-commit-id: 4cb5397a5c118fddc0310f989b60cd5b9857c03a
2020-04-12 08:29:50 +00:00
iobyte
9f997d2ac7 add multiple setup page support and moved item configuration to xml file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6897 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f8bf263c254cd44c11e23f1f270ddc8a7ba785a9
Former-commit-id: 067ca520523b190a6d7cc9212acd0e68edabb7f3
2020-04-09 22:37:34 +00:00
iobyte
a4595eb42e add setup menu to garage menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6891 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 12bcc25061be101b4a90dce2631925b04849f4bb
Former-commit-id: a23e31183b2fdddcc3c9d62eaca0f020e00f7c22
2020-04-06 21:41:04 +00:00
icystar
e6c0970f7d additional fix for scrolllist
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6890 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6cfdb3087025bcc40fc3ae3c428f021b7981a445
Former-commit-id: e2a95d747f4f7687f1f20529f8735d13c87e9454
2020-04-05 13:07:55 +00:00
iobyte
65d5de8f3d fix leaks in error paths found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6880 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dd97d334f3161c0fc05a3d2b15fa02a3e2ecad06
Former-commit-id: 92dd196f404dd0108b18165fddbaf5ba3a51730a
2020-04-01 13:22:34 +00:00
torcs-ng
2b705431d4 - fix bug on OSG with trackLights (by IcyStar)
- fix bug on scrolllist (by IcyStar)

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6873 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d4e4e09f3d09b1754f257ab2ec527f753df28c09
Former-commit-id: 6be51bad80ce3894f03b857da3c03832c327db3f
2020-03-29 14:10:55 +00:00
torcs-ng
a2b7e34cc3 - patch to ticket 472
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6869 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 04a28a03b9f8d23fb0acdf8894a02c25339c7dcc
Former-commit-id: 1315920c6fdf0ff6e2b492007f4c456096814ec2
2020-03-28 19:00:07 +00:00
torcs-ng
cb5528af33 - Update shadow's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6839 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0adb0924eef49a0c0f1e50c6b7860b6842f06753
Former-commit-id: 2600fcbefeb92b00b9b311d8815a72309bb3b054
2020-02-19 22:05:37 +00:00
torcs-ng
3df9c6a585 - update shadow's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6819 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7242b6a160d2f53da59e8c515df29eb6984b865e
Former-commit-id: 5c20df788c417ad506d4afaa19a8e23389b50f93
2020-02-04 00:11:45 +00:00
torcs-ng
e5f9ae1d9f - wide Robert's patch
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6793 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bd26402026d3399608d25a9c30345ca7a112aecd
Former-commit-id: aa82c598411865fe4f3e55d69e5c60a41ba1a0a4
2019-12-10 10:44:35 +00:00
torcs-ng
0fe87f869c - Ivan's patch for forcefeedback
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6769 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ed91a21a9ca857bebbcdbaeefb405ff704b1753
Former-commit-id: 90cfa1664c52e41c03eb1356713c64b37b842701
2019-11-16 22:43:45 +00:00
torcs-ng
e66e3cd6f7 - Update better implementation for option webserver in metar
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6759 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 673cacd19d054c91494e1a12a84f980ae6fb3ad8
Former-commit-id: 477a068ae3f7b40dffc02de38fed0b7c8a0cd19f
2019-11-09 12:08:50 +00:00
torcs-ng
5371a7ebe8 - move webmetar in raceengine
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6660 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 411c9c8f7af9d90cd01cafd7bb4b11294fb02d89
Former-commit-id: f21c83e6223071f3322d7f705134ada1e2ecc616
2019-05-25 17:43:14 +00:00
torcs-ng
9273fbd05d - update simuv4 (for weather)
- update weather's code
- new USR's code 2019 (by Andrew)
- remove all older setup for USR

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6643 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 525da4ca5590add4ae9c3808f3383e8af6a501db
Former-commit-id: 3b4005053672923ae96cf9ddb98e9948864f7ecd
2019-05-11 13:11:13 +00:00
beaglejoe
142117e07e fixed building with older Visual Studios
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6630 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6476afa67a60d74cf66c05a2082b73a55682e3a3
Former-commit-id: ac539129ea27ecca58630f5945f782fb25a5e4a4
2019-04-27 18:45:54 +00:00
beaglejoe
74d3dfd5f9 visual studio 2013 and older need portability.h for snprintf
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6618 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6685b62869c273a1c3b1c52934597a1a0e9ca15d
Former-commit-id: 42c6c81fa503ebca665ed00d024b34d5848a0b81
2019-04-08 19:36:55 +00:00
torcs-ng
24c85c4df6 - update weather data
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6617 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 126fd6af9d47d0953e3f3675780d15fa4712aac5
Former-commit-id: a3244a8fd54d706a1fcfeed236d1cea545dd1c66
2019-04-07 15:50:42 +00:00
torcs-ng
7968191f31 - Real Weather (first work)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6614 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7ce667ebf7eb5b7fb7c95e4c42f06371884ff057
Former-commit-id: 76714dc56b33e2a4bed416b6ac79121fb606690f
2019-04-05 19:07:58 +00:00
beaglejoe
577c40eee3 Fix for [#976]. Suppress mapping of keyboard keys for inactive transmission types.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6580 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0584d79411d2b0fd92c051bc4deb5f2496edc935
Former-commit-id: b239872fd7c477fd451676e22e91e909d32c2a55
2019-01-02 05:34:01 +00:00
torcs-ng
b369b0a2bf - mask text web password edit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6575 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7edbdeb0f8f4027be14eb01e2d049141337f34dc
Former-commit-id: 05d6982953c8f0e01d169d0c9de0e77185f36054
2018-12-16 20:04:39 +00:00
beaglejoe
8fac5eb4eb Fixed errors with new clang compiler from XCode 10
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6573 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 194acf67f078273b4fa79418cf04e4508ea94ced
Former-commit-id: d5e6ff33b43be6e933212d8a555f795a4dbe9c03
2018-12-09 05:23:45 +00:00
beaglejoe
57aa605120 Fix errors for VS2015
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6561 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d3d5c950eb7a152eb41e645d620b808c82de9720
Former-commit-id: 9f3a801b871bf20110bc2c3ddd8e769c2297a5eb
2018-11-09 15:44:59 +00:00
beaglejoe
12e6aef9f6 Fix includes to work with newer Curl
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6557 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 210999c7f9579487ffd09f19a7b48202679ceea5
Former-commit-id: eecc8835dad177320983058f13f0ab53358ca9fe
2018-11-08 22:25:20 +00:00
beaglejoe
c9a3226f71 Added empty webserver.xml
Fixes for OSX
Added files to the installers


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6528 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f3671e760780c30f302b3342ecd47b81bcda2b47
Former-commit-id: 65abc6e9a5b18e1ccf305a903a67aef71d67a9f8
2018-03-09 02:31:03 +00:00
madbad
1f2e3e3261 ForceFeedback: workaround for crash on keyboard configurations
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6521 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1f1e3f261e4ed9d1f5cb55ff295651ef626250ce
Former-commit-id: 5aea7e4cb2004d476300cfdd573b42cd9bd1e7b6
2018-02-06 21:28:17 +00:00
torcs-ng
d16d4eaf76 - Update webserver
- cmake option webserver true

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6517 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7fe702744737106027a8148bc380af46fe9d9044
Former-commit-id: b494d10e1ed3e6f7d54b4fcd67bcda68627500ed
2017-11-12 00:30:20 +00:00
torcs-ng
2a0a1f3dc5 - Update raceengine
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6516 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ba162509eb2adacd3fa0a2061491e0f2a479d53
Former-commit-id: 03929cf3f95b514a9777327beedf359ff38b664e
2017-11-11 21:48:03 +00:00
madbad
114a3d77c3 Fix for compilation issues on Fedora 26
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6514 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 03cbf8f1f0e0f98b1352ac737d680b07cbcf379e
Former-commit-id: 1116cee87b7d70d2539714823152bc34a1885652
2017-07-29 13:15:06 +00:00
beaglejoe
2d62190146 reverted accidental commit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6488 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bb437853807b0828cd9a783c635e5e7607f078ad
Former-commit-id: bad51409ee407b81223693dadda97d4e0453087d
2017-01-06 16:22:46 +00:00
beaglejoe
dfb241a1fd WIP for networking
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6487 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0eb4905a6b7b25e93135b1777c84d464e93b7293
Former-commit-id: 54e273e91362dd2827cb22e716d84935f515ee18
2017-01-06 16:00:13 +00:00
beaglejoe
55e5d40e2f Fix for #967 allow multiple controllers for SDL2
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6485 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f575dc13554f177b1bae51c601b230c4337e1dfb
Former-commit-id: bc610d8e19f258a0ce05b6050135f8952637b032
2016-12-10 05:11:13 +00:00
beaglejoe
aa9a815e39 Added hint for SDL 2.0.5
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6484 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4582cfb0b87e09b01bbb572959cf7b03c99474dd
Former-commit-id: 7925d4a0a023c66ffc24800b0c269c14317dcc89
2016-10-21 03:02:30 +00:00
beaglejoe
f18f6220ba Modified files to conditionally use client server networking
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6481 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bde4ca53ce19a8fbd781a351b346e09ba59051d7
Former-commit-id: 791fae3d502e61e481079ed39e7dcfb96a68e87b
2016-10-11 17:38:00 +00:00
madbad
e8f04f0d90 Force Feedback: move check for in range force value inside force feedback manager (thanks Joe)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6457 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8cba52135ff6852016484cb98ae8582696f6cf29
Former-commit-id: cdfb9e2f2581fafde22724a92986b4c481c731ac
2016-07-11 19:46:24 +00:00
madbad
e3c4847218 Force Feedback: fix merge conflict
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6455 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5a4516a7b6a3c96b19b3071c3a69ea53ff4f6cfe
Former-commit-id: e6b4f6bf6ef16c1576b7d2aca13dab3623817f4f
2016-07-11 18:51:28 +00:00
madbad
4c3a4a1843 Force Feeback:
- fix, don't save global effects settings in car specific settings section
- actually use engineRevving force multiplier

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6453 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: da41e83f1d5177e2bc02ae2c455de537f9094b89
Former-commit-id: 3454334bd2de854546fbc0994ef8bddb9a455d0a
2016-07-11 18:50:54 +00:00
madbad
3ef5dd8328 Force Feedback:
* return zero force for autocenterEffect if speed is really low to prevent wheel going crazy while standing still due big forces returned by the physic engine
* implement basic engineRevvingEffect
* implement basic lowSpeedCostantForceEffect
* update config menu

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6452 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2ae4a743476b3dfaceb342aad8c2332d016e62fb
Former-commit-id: 4df3cbd7a9c118fab9367bbb2cc8c65bea7a1d7e
2016-07-11 18:50:39 +00:00
madbad
f4c4fc6bf5 Force Feedback: add initial implementation of engineRevvingEffect.
also only play effects if enabled in configuration.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6451 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 11ce0b30c415667dc0bdeab1ffbdd9a8fcbe117c
Former-commit-id: 358f47662782b446c962b42193e28d9bea77d9a6
2016-07-11 18:50:12 +00:00
madbad
0b3330fe7d Implement "GfuiCheckboxIsChecked"
that return the current checked/unchecked status of a gui checkbox

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6449 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ff67282de8d2d4fea1613498f012c7ca156ac9f9
Former-commit-id: 48ed2a9e7eaee851ca3276daef65da2e1df59681
2016-07-11 18:49:21 +00:00
kakukri
58106555e8 New function for "power steering"
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6445 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a8be7be20051f0d38dc768d6ac504d0f71b2dadc
Former-commit-id: 1a8cffb621925fe9c5597c1114060aaac9ea609c
2016-07-06 22:56:13 +00:00