Commit graph

3064 commits

Author SHA1 Message Date
beaglejoe
67190f58b9 Updated SDL2 to 2.0.5
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6483 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eacf9afaf840ff60cb38e424dffe8101990429be
Former-commit-id: cf8ef4c141bb9f805563d0dc2cb3104e6f17c927
2016-10-20 13:37:50 +00:00
beaglejoe
b27af65fce switch to client server networking
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6482 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2c1357905c8fc9cf9384f5ce05c10791d0968b5e
Former-commit-id: a669ed1c8170ea6adea38b16d47c025039c18ea1
2016-10-11 23:04:31 +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
beaglejoe
0a66c25821 Duplicated networking files for client server networking
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6480 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9feab6e58aa836c1d61ae962a4cbd258b2de3247
Former-commit-id: 2ecfbdac8d6de91b25c6f48a197e4f8785f4bfb5
2016-10-11 17:37:06 +00:00
beaglejoe
d57ad3f513 Add CMake OPTION_CLIENT_SERVER
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6479 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 01a4963a459455fb4a681f3cff3bf66c6aad0e52
Former-commit-id: 37c722b1bf1e3d99befee945be85fdbbb483be8a
2016-10-11 17:35:17 +00:00
beaglejoe
3a2801963f New Freetype requires CMake 2.8.12
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6474 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f18c74d893ecd8dc87556650a612661a85c791f1
Former-commit-id: 2813403793ae9cb9e615fdeddd22fed05bd009c2
2016-08-15 21:39:04 +00:00
beaglejoe
872a4922cb Fix for Expat Debug build
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6473 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 72163a0277e99c6666d15dfab989cb9a4d7a8dbf
Former-commit-id: 6073f5f82e119cafd8624d8082dbeae89737cf35
2016-08-15 15:12:22 +00:00
beaglejoe
e0f8b401d6 Updated freetype to 2.6.5
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6472 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1074951f42e172811bd2a5b56b6f68515d79de45
Former-commit-id: f5088569c89368fbb9f4b86f819d27a63ee40255
2016-08-15 13:59:18 +00:00
beaglejoe
6aae2f6a39 Updated curl to 7.50.1
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6471 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5a238d2912648a6c2a18f8a2d9579ff0340dfa1a
Former-commit-id: 2ae7ea6a85fe16eaf2cfe9ab10eaf4797f912d3d
2016-08-15 08:14:21 +00:00
beaglejoe
4e873c666a Updated Expat to 2.2.0
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6470 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ec91290b4962e41002a7243d3cad4528fc1cea21
Former-commit-id: 70c0a113012b35a248b5d5321cb4a438c6df4f76
2016-08-15 06:13:57 +00:00
beaglejoe
bd13abc274 Updated SDL2 to 2.0.4 with patch for FF
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6469 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d8c2e7e99b34aff043e90feb75acdbba1632745b
Former-commit-id: 84fd8362c060411af6d36a6a54949c29df0a4187
2016-08-15 05:43:59 +00:00
beaglejoe
54a2e0e4d6 Updated libpng to 1.6.24
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6468 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 92e176aff5ff1859454b4a23ae3611a0de8aa2e6
Former-commit-id: c0451127ef239250d31d30eddf48ecc2180b4086
2016-08-15 03:05:13 +00:00
beaglejoe
6f8aed832c Updated jpeg to version 9b; changed some urls to use https
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6467 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 21fe3e0f2f51950dec9abaeb0fa83d6abf4d1a63
Former-commit-id: 4a60b5051afa0e0c4aea7f047b166e60038e4ec6
2016-08-15 00:46:47 +00:00
beaglejoe
c64248cc2d Updated OpenAL to 1.17.2
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6466 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 774dabc1809776d5bc4fac5bc999384507fff258
Former-commit-id: 1a004314920cbe6304c283af75a45f35484621c0
2016-08-14 17:45:45 +00:00
beaglejoe
c2311c04a8 Bumped version to 2.3
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6465 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fbd7d300ad14731cfa7af9f435fde38f8fada1df
Former-commit-id: a5215d6e5f0cf3014f883e3b70904b5ab2cae19f
2016-08-14 14:37:39 +00:00
kakukri
ad9c8b9d3e Clean up aligning torque calculation and introduce a new parameter for it
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6464 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 15106441ae5bff4949682a733f2f4658d56f7ebf
Former-commit-id: 68a2000120b70a409aea818c23b742dc626fb7f4
2016-08-07 22:34:53 +00:00
kakukri
001f3dca10 3 new alternative parameters for cars rotational inertia
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6463 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f252a7d567b6788330fdb94b32ce6253d3a44b5b
Former-commit-id: 731fee6be6b7d9bafc9c9ec0d4c77f1023925979
2016-08-07 22:13:24 +00:00
kakukri
605ef12725 Use a combination of front and rear right-left weight repartitions as a single right-left weight repartition
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6462 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d0f60ebdf65e711185316e3164445f2b11395c40
Former-commit-id: 83ffcfee0f9cf33a54c452441ad064a749aaded4
2016-08-06 23:39:15 +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
c22d277782 Force Feedback: reorganize forcefeedback config menu:
* added configurations for engineRevvingEffect
* added Enable/Disable checkboxes for each effect
* fix bug about ForceFeedbackManager being reinstantiated each time you eneter the cofig menu that prevented changes in configuration to take immediate effect on force feedback.

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

Former-commit-id: 876e9ab1b39ed3be27f4497e15ccc3a3ac781f78
Former-commit-id: a595eadab355e14f396d04277ee7cbc5c37e2905
2016-07-11 18:49:51 +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
beaglejoe
551ecef731 Fixed a trace message
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6447 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2bd5c7577954e828003dc444fad5368828ef6ab0
Former-commit-id: 37795850f7c1dce22cf13a884be754ac23b3aaa8
2016-07-09 01:55:47 +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
kakukri
8038ccb05b Another method to calculate aligning torque for force feedback.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6444 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c93ffee8203c874185641672ccdd1b9cca441a97
Former-commit-id: bfc6d67d41ffada01d066b643c21ecbc51711c23
2016-07-06 22:55:14 +00:00
beaglejoe
6c95fd2bc7 Simon S's fix for track barriers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6442 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d3373e0139fa5d678483d58b9b95c5bbb39bdfef
Former-commit-id: 252bee981ed3855f891142f0829683e5f6408c84
2016-07-02 14:38:44 +00:00
beaglejoe
a09339e2ab Apply r6382 to the left side
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6441 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4c57451a084d8eb7a3e8cc1c0aac32ad636808fa
Former-commit-id: 8ab37bd054957d4410a7220fedf26088fd206936
2016-06-28 21:38:24 +00:00
beaglejoe
a5783dd396 Fix for #964 from DAP
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6440 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 92616d0eab9a05dec38e2978f7eb70fb2551199b
Former-commit-id: a7003f74d1617ef5670bea5dc8225cbe25c3ee63
2016-06-28 20:02:29 +00:00
mungewell
da8b516847 Bug #866 - Add 'urbanski' MP10 robot and example liveries.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6439 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 694ac36a4121d3370bdac1df9c6923c73b0ebd90
Former-commit-id: 73795f7935a9c065168397b6d3eb68a5b390a4a9
2016-06-28 06:18:02 +00:00
mungewell
1b5e2782e9 Bug #866 - Add revised USR_MP10 robot and liveries.
Please tune the XMLs and improve the liveries. ;-)

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

Former-commit-id: 28cab94c39ea405b68f5db17253efef3702a4cc6
Former-commit-id: 1729a812d7ddd9ab80b50e38b82cb13c25dc95b0
2016-06-28 06:15:33 +00:00
kakukri
b4f640a593 Textbook method to calculate aligning torque for force feedback
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6437 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0857ae0de71bba28b55d470111c900a3c80921cd
Former-commit-id: 910ba092245231af59074de45a9f882d028ac3f3
2016-06-06 00:03:58 +00:00
beaglejoe
0b7d03c0a2 Fix for #164 Remember mode when switching views
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6436 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 68b7af86f7b59eded87a51b49f951fdf18820268
Former-commit-id: ea73ed5e3e3b3f5054f95e8f28852877aa0b3c76
2016-06-04 22:42:23 +00:00
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