Commit graph

3029 commits

Author SHA1 Message Date
beaglejoe
aac3c4846c Added CMake Option 'OPTION_SDL_FORCEFEEDBACK'
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6435 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0e4c391ca07424ab96172a9d0105b2e5e2d83d22
Former-commit-id: fa3a5013fa52c4d0e92ccfd204de591a991c2fe2
2016-06-04 18:36:13 +00:00
beaglejoe
065f5108b3 Fixed build if SDL_joystick is OFF or SDL1
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6434 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c75a9871bcada7b0e0a20eeaa3a71dee61c66fb6
Former-commit-id: 5c9d46fa43d2af69e0d59b12196d8500df037e71
2016-06-02 22:51:09 +00:00
beaglejoe
1cfd2fe6b1 fix for Windows build
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6433 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3178183230bdfd578a9b0bd308e633da167c48e3
Former-commit-id: d5d250626f9b064932296dda4f9339a75d906f91
2016-06-02 19:29:31 +00:00
madbad
d6c18aac3b Force Feedback: properly clear the std:map "effectsConfig" on class destruction
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6431 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 21440adf7358e7bd4d77275a7e10d12200d4cc5a
Former-commit-id: 164d921eca40f8613013d3955527101aba06f554
2016-06-02 15:09:51 +00:00
madbad
c20d60e08d Force Feedback: code cleanup
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6430 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1ab6e934b4def0ddba6b420e1fc13c7fae34dd7f
Former-commit-id: c572d28871aa05624370eaf3b0b8d4225c97ba6f
2016-06-02 15:09:45 +00:00
madbad
3729cf5598 Force Feedback: more code cleanup
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6429 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5f183cbaa004767cb9e044030355f5a8e9bb0831
Former-commit-id: 9dcec07c8942080c40d0b1ffe30f8e50120a079a
2016-06-02 15:09:40 +00:00
madbad
234dc2bb5f Force Feedback: Code cleanup, release unused Handle's
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6428 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 52caa8342890ee4726d719377fa276bd58d49381
Former-commit-id: 6624cc329a15382c4f5190ee802ee39bb7d6e2aa
2016-06-02 15:09:34 +00:00
madbad
b79864e599 Force Feedback: code cleanup
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6427 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1a15de8c151dc13e48ebe79b196ccbf04b3d3ec6
Former-commit-id: b0fd43d4ad9d439d608a82b6052ec4eb02cac142
2016-06-02 15:09:24 +00:00
madbad
07f6833add Force Feedback: Switch to SDL_HAPTIC_CARTESIAN instead of SDL_HAPTIC_POLAR
for force feedback effects

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

Former-commit-id: 471b2949f757c0da856485f44703a737fe7b5dc3
Former-commit-id: cf6419e1b870fd3687ad91c3f7de0326cf17e0f3
2016-06-02 15:09:18 +00:00
madbad
80e56de5ab sync with master
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6425 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 636eb5a2c2d040d0161156b86296cc86bb537018
Former-commit-id: 0ec4d496a46eaed21b47645969c248b83a443fd5
2016-06-02 15:09:12 +00:00
madbad
89acccc8b5 merge
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6424 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1b46925ec256419fae0cc01ca26f7f7832d9c317
Former-commit-id: 4347caabeb067a10745a8adff10a1710ea91e0ec
2016-06-02 15:09:02 +00:00
madbad
88da81d3a3 Force Feedback: adjust autocenter force calculation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6423 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 24bee40ae8a16cacb8c2bb51dfb8f973c7c268f4
Former-commit-id: fff94e4459e07d7a894735958fbcc50ca483f1fc
2016-06-02 15:08:56 +00:00
madbad
1a8897cbbc ForceFeedback: add saveConfiguration method to ForceFeedback manager and update readConfiguration
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6422 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f32172f1794775b89b8ca5c277dc6c3044bc7db8
Former-commit-id: 529de546a9d8855ec2e2a3426ee548a197d9893d
2016-06-02 15:08:50 +00:00
madbad
6c7c291047 ForceFeedback: add configuration screen and relative data (image/cml file)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6421 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c6b7749fcf59bb6cca2afd0235e5406199c53f51
Former-commit-id: c330d99c385e484cebee9637635976bf689c75d3
2016-06-02 15:08:43 +00:00
madbad
c264bd7c17 ForceFeedback: ad configuration option in race stop menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6420 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f71933a6c75f4146d9a2a6da9a29e02290ec24b1
Former-commit-id: 27557ba01cb320c24cede16a795fd330dfd9b31d
2016-06-02 15:08:31 +00:00
madbad
7a20a3d310 update force feedback
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6419 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e339b23bbfa239858808671cf910ebabe9c9afc8
Former-commit-id: 8b56cb1726ef24c3f9b6aecf3478b951d18d9d44
2016-06-02 15:08:24 +00:00
madbad
9530b20507 remove old and unrelated code relative to this specific branch
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6418 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1f08d4b4bd04fd0ffc645a4b70c50d6dbc294dce
Former-commit-id: 8a9577bf6cfcb5dc66ac4a747026ef9158238b8c
2016-06-02 15:08:16 +00:00
madbad
3e4ad96540 update
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6417 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1266b66a80b5e34feee7b12cbe11ca933d75451c
Former-commit-id: 1c0601f113fdfa05791a30674d7bc658a874233c
2016-06-02 15:08:10 +00:00
madbad
6c456468d9 update FF torque calculation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6416 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2e4cae3379effdeb7bd8a93313f990048ecd6b11
Former-commit-id: 0ccbff3d66cfc5c8320b759714e064e0c11a9dcd
2016-06-02 15:08:04 +00:00
madbad
65f9417516 test ff
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6415 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 99d4638e2f901da00071e83a973794033109eeb2
Former-commit-id: df10a9e6469f253ffaaa90e2f23e588a13114749
2016-06-02 15:07:57 +00:00
madbad
30c49f4930 initial test for force feedback
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6414 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c2ad2299510b438e7ee56d06bd6bf87785118e3d
Former-commit-id: 62758dfa9402e2efb271f4aff5a8580f6c9b5cf4
2016-06-02 15:07:49 +00:00
madbad
3cfa514afe enable basic force feedback
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6413 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5b935ffaf3eb9747f2dbe78ebf5188340cd377de
Former-commit-id: 8a2666bfe54ad87b143764fd92715f11eb15bcfa
2016-06-02 15:07:43 +00:00
schellhammer
d42ae28f77 DanDroid pitstop collision avoidance
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6412 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 89edb87bea5399ff26e5cc1e2e07c20b9f64d251
Former-commit-id: bd9cd1ec72e129d194b8e6465e1e56a9adf183a8
2016-05-31 09:00:08 +00:00
schellhammer
53294d018f DanDroid catch negative _distFromStartLine
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6411 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: af834be66b6b1f95b5273fe1cb97ea78b9c3d8f3
Former-commit-id: e2ed63b7907075a35b6da82aaddcec81624e67db
2016-05-29 09:33:16 +00:00
schellhammer
27b8ad05f9 DanDroid danpath cleanup
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6410 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eaa2751095a82622d668649122cf544f8624ca15
Former-commit-id: f7b0a8aadf2f19a621ef3766bab9943da79139e2
2016-05-29 02:28:11 +00:00
kakukri
c5c5db1ff7 Remove debugging printfs from r6408
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6409 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c6f62a88597253d01541fe8a5950078892cde6c2
Former-commit-id: cf6dbff09e1a71410f3edd5c7e45940366c48c03
2016-05-22 18:14:11 +00:00
kakukri
edd58d709b Re #172: calculate torque for force feedback in simuv4
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6408 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 21396fe2876b12b315df7d62e0c0ddd08918047d
Former-commit-id: 38da0a36af94f235b9e62bafb40fc6dabbb74818
2016-05-22 17:59:18 +00:00
beaglejoe
29564c2b19 Allow uppercase characters to be used in Control Configuration : Ticket 955
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6407 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 76d8a07200386b5dba20b361a01eace415e2383a
Former-commit-id: 60512ee67f9042fe95f560ceb917390f1ab6b637
2016-05-16 14:24:35 +00:00
beaglejoe
b39119dffc fix for crash: Ticket 954
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6406 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 366b9a596782bed07f336f6aa9dbd2049b9676a4
Former-commit-id: d47fc9936158cbdb7fa94a025f352dda15eae2f3
2016-05-10 18:03:39 +00:00
kakukri
5c64ce2e8a Fixes #952: remove isnan/isinf checks for car->ctrl->gear
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6405 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 444c4ecb4f78c31cf0749721ee8ec7092668bee6
Former-commit-id: c9d486b70bcfe595cf3b3b1526bc88af4a3e6119
2016-05-08 23:28:48 +00:00
beaglejoe
1ec00621b2 Change version to 2.2.1
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6402 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3a4d705d4b3f05357fcd7e3ceed6919832ab1f99
Former-commit-id: 4a3968d327e9fea20d87ce49e51104ea35e1f8ee
2016-04-18 15:39:55 +00:00
torcs-ng
496b42259c - Update OsgGraph (prepare working on skins cars capabality)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6396 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c5626fe8de0d1de0d10af9a51e547363a83f3727
Former-commit-id: 7efe06963c606cb61501b30a267a079cce314c03
2016-04-10 01:26:33 +00:00
beaglejoe
46b1b818cc Fix for [#950]
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6395 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a78c3403d861fb0be0fb4d80bd46be335334ed75
Former-commit-id: 6a977646425d8b62dcfa53b2ff7430b3cb36c1a3
2016-04-04 03:40:56 +00:00
wdbee
92f3c5a1d4 Fixed broken definition of pit speed limit depending on pit side
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6394 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: abd0cf2623482df758d167e44aac75b35b1f59c1
Former-commit-id: 80e38e719b276b6c75b2152f165c2b10493a6363
2016-03-29 18:27:45 +00:00
beaglejoe
a7d9d41c55 Fix for Ticket 304
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6393 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 654ea6eac47adefab43f16a4c40e9dfbf83bd896
Former-commit-id: f9134ab42e6025002f57cf0ad231d5bcff121183
2016-03-27 16:23:23 +00:00
beaglejoe
af077b781d trackgen now uses MaxPits in pit building calculations
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6392 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cfaa141ca82134cd7a7d579bbcc4716976902908
Former-commit-id: 6da80af63a86583b2fcd245776f9afe17aefb0f1
2016-03-27 07:09:12 +00:00
beaglejoe
3743d2ab8e Fixed typos
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6391 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f3be73602ff9ddd00bed0dc5fd11f49b9a8f691c
Former-commit-id: 4c293156f8c865a51d8db0f50e5a72364e9277ba
2016-03-27 05:29:32 +00:00
beaglejoe
ced2a837a0 Fix for Ticket 951. Loops off by one.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6390 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dbd15d3da2fcffe95d99a3ccbce19b118365fdd2
Former-commit-id: 845e1e091ecfb8c5279db2dd93a08f13936070fc
2016-03-27 05:12:39 +00:00
wdbee
9e1ea78f8b Eliminated warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6389 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 294c32f8cc0da6cbfba32ee0d4e4fecb4dfe582f
Former-commit-id: 850a73d2d7a16dd35e9faf61b371be8c84da0380
2016-03-21 19:18:31 +00:00
wdbee
ce2144267f Added fix for old bugs in track3
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6388 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5d4005b3b1ed07aa685cc9235f6c4d6f15bf2056
Former-commit-id: da83c37ad984dc6878c5e60ce6a9f5a877a0eb26
2016-03-21 18:14:30 +00:00
wdbee
1ccf364c6f Completed check of pointers to be valid.
If a parameter (start pitbuildings, stop pitbuildings) is not defined, use pitStart or pitEnd as default replacement.
Do not use undefined pointers for GfOut statements

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

Former-commit-id: 624bba9d585bbb87101ae7694ab7f4b5c313b4cf
Former-commit-id: d48aac1b56e0360ed9dcef54773298bfdeda4582
2016-03-21 17:43:39 +00:00
wdbee
c9e7bb4fd0 Bugfix: If no parameter stop building is defined, use pit end as default.
Work in progress!
Other parameter have to be checked as well!

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

Former-commit-id: 3b0410327597869e84675b66d54427f03074de86
Former-commit-id: 18427ac7e3f9fb8b3cb99c1df07710b43b4a6776
2016-03-21 17:28:38 +00:00
wdbee
aa5730e559 Fix pit building issues with SD pit parameters
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6382 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4cb9d7ae3b4fa7f910a99a78a1ecef3fccd82fc8
Former-commit-id: e14670571685cf85e9c006c835ec58171ae05a79
2016-03-21 15:25:45 +00:00
torcs-ng
38ee0fce04 - update Shadow's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6379 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1bb9e0cb93cba4bf28a470295e32d4793415c57b
Former-commit-id: ce7b16e6db0e2a98cb96572ece0c3a5786dab132
2016-03-06 01:04:59 +00:00
beaglejoe
389b4bd43d libpng 1.6.19 source code has moved
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6378 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bf63d9f221155e54078539c52b0b68796c178d18
Former-commit-id: 4ecd93568fb77a4e61d3847beafddd97f07a3418
2016-03-01 23:02:32 +00:00
beaglejoe
8536aaf34d Update Display options section
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6377 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3b41bcdb6e49494ed55acdeb15d2d3cd1acc8b83
Former-commit-id: d428eb563f7d12fd4f3b259f19549fa173d5ea22
2016-02-29 16:23:05 +00:00
beaglejoe
cd2f43b916 Updated links to SF as trac is no more
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6376 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2ba04b1177aa1cec551f6b663415bfadf012ec5c
Former-commit-id: 80b487184dd37558790f698a3cf7beba0ef6c186
2016-02-29 15:44:52 +00:00
kakukri
c7e3af67ea Re #947: update text to describe new in 2.2.0 menu items
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6375 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 77b6c6e108fbd96648f75d730bafd456ba63085b
Former-commit-id: 2d0edf2dd5356f657a645f2f102462d3e6685e28
2016-02-28 22:43:38 +00:00
kakukri
b098479b14 Re #947: actually show the grid control configuration screen where the text says so
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6374 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 03e4acf66a5104b0bcbec50a6c6bda982868c32b
Former-commit-id: 1f68c627292e0145a63c87ca9b3609cd20cf4d8b
2016-02-28 22:42:48 +00:00
beaglejoe
f2afedcc4b Updated test for Chapter 1-3
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6373 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 445f9ef6e5b97450aa1c693a210a2de3c49c2a46
Former-commit-id: 59fa3c4407c14dc39599a51de90a6c13dd26dc5b
2016-02-28 02:07:58 +00:00