Commit graph

3659 commits

Author SHA1 Message Date
beaglejoe
a643e5f4e3 Fix for Apple (errno undefined)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8157 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ba589cc314a8e7808b07eebda41a2bad0cebb760
Former-commit-id: f5102b2f26263c180727dea8b2b961f30e370479
2022-05-13 16:31:30 +00:00
beaglejoe
31fed88354 Add eol native svn property
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8156 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ab9cf7b301ea6e0333c230e274b94a9a996c67e
Former-commit-id: e061e36466710050164c99691a109a345df582fb
2022-05-13 14:21:59 +00:00
torcs-ng
aeb4723a13 - removed const char* (not used)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8154 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d4d8365bbfc844f30e2fe7bc26c5dea517973e80
Former-commit-id: 9347e1660f29a63f60d03b56489802c7aeaf57c1
2022-05-11 13:13:30 +00:00
torcs-ng
3bf2161f3c - added some values for simuV4 (TCL & ABS)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8153 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dafd8c060ef5d30e6c916ad3aa6d4db5f4b8576d
Former-commit-id: f424da8395fc97bcc5b46b47a4baf856ad93c72f
2022-05-11 13:13:05 +00:00
torcs-ng
795b28cb0f - prepare work for better quality option for TCL & ABS in simu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8152 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3669d136ede4aabd8ad95a69a48c92f8c37791e7
Former-commit-id: c46e8e0c80cb6e1fb99bc7ec2f19da84324ea1ea
2022-05-11 12:58:57 +00:00
iobyte
6fc5cfc4e7 fix pit buildings end when different from pit end for track type 4
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8151 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3b0e7c1073e1f867943fb59f5d827c9d181b0e31
Former-commit-id: e9ec34ce9a370f963fbf671360c122604c8526a7
2022-05-11 00:24:54 +00:00
iobyte
82049a54e2 trackgen: fix some cppcheck warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8149 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4000fd88f8ce71fe543d4905efca6e89e23de839
Former-commit-id: 386a7d1396281f07773db8ddde980af1a9801c92
2022-05-06 23:33:59 +00:00
beaglejoe
d6a3042401 Fix for #1183
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8147 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9aa7b2fed7b92824a0ff63955d8fbf82430e7887
Former-commit-id: 27164d7642fe61722c3492a97d843ef7bb56345a
2022-05-06 19:13:44 +00:00
iobyte
0d374074a9 accc: add support for raceline texture without shadowmap texture
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8146 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2cd872f53fc37a350bcd9bc2b5b2252bc54c74ed
Former-commit-id: f68fe1d34e943eb168743e82e5505c84df171559
2022-05-05 13:40:48 +00:00
iobyte
8db3b4e694 use clear to make string empty
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8145 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d14599765ab113356da8d33f5b43f50e90b24078
Former-commit-id: dfcf7ccdc5eeafa0fe9ada5921f1216a6d31b52a
2022-05-02 20:50:54 +00:00
iobyte
0f0de470ea fix indentation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8144 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f9888d6bfe23b9bb09982d3fce3c6d373dceee9f
Former-commit-id: af977b1bab6500aaa1391b1407fb0637c4d2254a
2022-05-02 20:15:34 +00:00
iobyte
ded2472a9b use string functions to clear and check if empty
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8143 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 98ed072e69fc7f92af5fcfe6e3e169754b7c2150
Former-commit-id: 8aac7891213e47820f3454f06b0156ce673dda5d
2022-05-02 19:53:22 +00:00
iobyte
00b628dc4e use bool for boolean variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8142 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4414305500a1a242428da55d5d98b8b8b7192bc5
Former-commit-id: 757f346e2d6828feb426b31aff6ed39175b2e5f6
2022-05-02 17:46:58 +00:00
iobyte
de724a15e5 fix some clang-tidy warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8141 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 704286ceabe811f57f325540bd6481f1e64da9d8
Former-commit-id: a73e72ff8be409437d88de36237df0c7bf1db64b
2022-05-02 17:39:56 +00:00
torcs-ng
643b27babc - update dandroid's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8138 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 80651c85db00400815243cbf446ae34a36ed498f
Former-commit-id: 7a4679dc8c71990193151cc449bf23365463d2f6
2022-05-01 17:55:32 +00:00
iobyte
04fd119757 add default raceline texture
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8137 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ef56fa3ff1b900b514adea85f35b10f9ce2c4b7d
Former-commit-id: e6158faa0a63a983cdb99ccff1d452491e79e2e5
2022-05-01 16:45:57 +00:00
torcs-ng
129af0a0d4 - update dandroid's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8135 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4d43ede696819e497f9544d5341823800905159f
Former-commit-id: ca1811d7e92032c8d153251755f2c3bec2a7f68d
2022-05-01 16:18:40 +00:00
torcs-ng
059b6b277e - update shadow's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8133 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6e240698dd72907304ada4c2a5af3f8befe5fcbe
Former-commit-id: f9c8b748b9e8ab8295a373a5aeb792ff0f6b14be
2022-05-01 12:39:31 +00:00
iobyte
41a8ebbee7 don't crash on bad pit config
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8132 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a0fac3bfd9fdff9280717ca334c562776958ea34
Former-commit-id: 04b9503248a122e4d2d39025054e57dfc3df0364
2022-04-29 01:01:39 +00:00
iobyte
a57f7bba6c refactor generate function to return exit status and fix some handle leaks
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8131 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 383d62e8dda167dd32d8ca25ed8a0fb4ef7a9eef
Former-commit-id: aa2a37ec65c89886bdb5394cdcf380d53e115e6d
2022-04-28 15:00:38 +00:00
beaglejoe
d3c725c5d2 Fix some spelling and English usage
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8130 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 31a673a7ab3d2383c88e81a8b91a3d7b7aca620b
Former-commit-id: 9016de178ea078a878ffb883d2a5131485403b5a
2022-04-28 04:00:49 +00:00
iobyte
3b4a5cf68b remove duplicate classes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8128 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6fca8e8c85c1762bc020f6efbc39200bf740c615
Former-commit-id: 4d460059af9ec7b28cf587934eced7d677e0f4a8
2022-04-27 22:43:55 +00:00
beaglejoe
71eb0cb878 Fix webserver 'Test login' button
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8127 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d14f2cd4eee73201481babfea93fed5a875430c8
Former-commit-id: 9b5ff6d11c9c332acc0519f1fda0d309a8395688
2022-04-26 18:53:25 +00:00
beaglejoe
7309853b9b Separate the real weather from OPTION_WEBSERVER. Real weather is now always available
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8126 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 452790a2a0cb9d22be53af0e4545118e00ae66e1
Former-commit-id: 46bd061d6d49cc22646abe0e8d238accc659bfca
2022-04-26 02:55:50 +00:00
iobyte
3ff3bb888c use bool for boolean variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8125 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4ed14338679246911850d5ab058ac85dbe9f8841
Former-commit-id: 7678ccd89dd67095801d02ac7fa7d8dbbf4dc24e
2022-04-25 20:58:34 +00:00
iobyte
20c0e61031 fix gcc warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8124 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c8e858c6fd6fa7124609d03140156551096fb5de
Former-commit-id: f026d6ded824b1448f6f6d8c14cdabc0121f2cf5
2022-04-25 18:44:19 +00:00
iobyte
97a368aeae add comment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8123 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f9c26d0a987fcd31c126ca3a8a006c25076a12da
Former-commit-id: 85255aef482fc1e6ef8eb4d51210cff919ef69b8
2022-04-25 17:52:38 +00:00
iobyte
533e854963 move class handle variables into function
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8122 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eb32a421ff9b679625c7a7a1cdc9ee013058c23f
Former-commit-id: 62a70b9544aed9a58e26af20279cc53aab1815e1
2022-04-25 17:39:03 +00:00
beaglejoe
25ab3fa7fe Fix build with OPTION_WEBSERVER=False
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8121 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 15eeb1091e710d9eb7749aa0315a257598c210bc
Former-commit-id: 2490163b7161d606223bdd21d61447144e58c9b0
2022-04-25 17:07:18 +00:00
beaglejoe
9807f23ae1 Fix webserver so the game can close correctly
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8120 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7d61f249cb0919736ddf294a6eb6c0c260f1d287
Former-commit-id: a5bc9b4d3d82248bae7804b2d0b8aa7650f62dc6
2022-04-25 04:57:05 +00:00
beaglejoe
06d2e6d0d5 Make notifications a member of WebServer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8119 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b236cd97d7595f36cf3348d63d3ffa36883cae89
Former-commit-id: d9eb6e67e566be94ea7feb1fa686c741023f3d97
2022-04-25 02:36:29 +00:00
beaglejoe
a74d4c63aa Remove unused function and restrict access to members
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8118 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5fa0c1b3a0c31f3ce1effc1914153590eeaf5be6
Former-commit-id: 5275ca45a35ae5f6a36cb5bfb64a58564d4f7d22
2022-04-25 02:25:39 +00:00
beaglejoe
6e93a2deeb Fix include guard name. Move declaration of webServer to webserver.h (WIP for #1179)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8117 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 67fade8142fea57a0c8eef9931a9c13dfa4fc64d
Former-commit-id: ab42ffede7fe81f255a7abfefdce31d5ae48e62c
2022-04-25 01:41:10 +00:00
iobyte
3fc71a2745 use const char * for file name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8116 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dcba42b2a53b690fc75525389c2abbd6e1900c43
Former-commit-id: 125cce3c1edd1df5dd3d06707eee74355e9ec76d
2022-04-24 22:48:43 +00:00
iobyte
a91ab2e1df move remaining global variables into application class
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8114 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 43b51350926e3fff1764429d8cdf0cb2756b1c6a
Former-commit-id: e28d1e225ce3e8b3b8dc3ac4c3de9a252fb66941
2022-04-24 17:26:06 +00:00
iobyte
e5e5fb4d3a move some global variables into Application::generate function
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8113 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e700d76441f7744a8000eee8e8aa0a24e218d5b5
Former-commit-id: 539a263a9443799c4b84d6e3fefa90cec63789b2
2022-04-24 16:56:27 +00:00
iobyte
73fea8b353 remove unused global variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8112 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3be1a9eab4f815137ab1f48206b1f90bf0b14810
Former-commit-id: 235f5a298783e4b85314fe9a72c914573bc0e5c1
2022-04-24 15:28:50 +00:00
iobyte
147a3d60d5 don't access array at index -1 (OFF)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8111 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 24967fcfbfe69a46b8fb1a7e1ea133a34bce567f
Former-commit-id: e92d4e2d39089d78567fbe55ed3113723d654b23
2022-04-22 23:05:31 +00:00
torcs-ng
e465455b23 - update Dandroid's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8110 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5428da8130871c1aa1a911ba1413081943e00209
Former-commit-id: 888773c8ddac8f05234f185cecaad87258cc870d
2022-04-22 08:06:00 +00:00
iobyte
ac5b74ea41 improve some error messages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8109 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d36dda05e50d5c783a9d9974f409a0c2e9d36e99
Former-commit-id: 2dd288307fdc02cf3a1660490a5ac04a127d73ea
2022-04-22 03:20:07 +00:00
beaglejoe
ab8f88cc95 Fix for #1160 Anti-aliasing
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8099 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d56b77a512b45c8c2d74f52af4d6d8c8f795afbc
Former-commit-id: b65c2d8882f3e2bb7b35bdc70691f04ed8a94d61
2022-03-31 15:43:03 +00:00
beaglejoe
fe6de8c6e3 Fix menu Click SFX playing on mouse up and down
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8096 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fe81700c1f66166cc100cb95e69d69469e273589
Former-commit-id: d6292400ba72f1520262c30f537f11fef3e01324
2022-03-30 20:07:04 +00:00
beaglejoe
95a76ae8ae Implement code for Menu sound effects #1174
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8093 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 48a50e0508539841e3b786213f18b89148391041
Former-commit-id: eda017f6448b841eec67ff0292d4bed635f44e29
2022-03-30 01:40:28 +00:00
beaglejoe
f467b9175c Add missing sound.h (for IDEs)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8092 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c23e0b9dd52ea9f4247edc74ce0ff6b33f7df97f
Former-commit-id: 40e25ee55867c0e14e0935290df5ed23315d2315
2022-03-29 02:02:38 +00:00
iobyte
2782a6b165 fix comment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8086 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8f17716e00383f1b2741c19b39e1b965dc779b30
Former-commit-id: 91ecdb68057da2a1e4592e6aaabdd53f2d64e2e5
2022-03-23 15:02:16 +00:00
iobyte
cddbf321c5 add missing change to previous commit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8085 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c3db927f247499ce44df7b1c00f09cc03aca7831
Former-commit-id: 7d18ecfbd5a9e4389571ae8d9e6a4448d6b8d293
2022-03-23 14:54:39 +00:00
iobyte
9801262f23 use enum for skill level
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8084 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bd773fd49f6925375006ab52fef5dce8b01cdb87
Former-commit-id: b82a133f92c21a6aca36c354ab8491fdf3cea1c2
2022-03-22 23:18:49 +00:00
iobyte
b7be21b210 move skill level array initialization into define
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8083 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6ed8c92f8cfe7e2b2567d409ee142c011a30afab
Former-commit-id: a4a747f52ab26829de9e5a54de70571a0958289f
2022-03-22 20:26:22 +00:00
beaglejoe
fd232f83a5 Added handler for future resize events
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8081 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ae12b234821a6dea2fcaa79c382e39371944dd54
Former-commit-id: 0495874bb685e53559163c2bc19abaf9eaa49ce2
2022-03-14 16:47:00 +00:00
iobyte
e336298dec use default precision for cc
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8072 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c5bd19709f5d20033f96e1cf0ca8e7ca737b3e55
Former-commit-id: e78f601be9963cbb1a1032fb7f1cdbcb8938d1f5
2022-03-06 03:21:21 +00:00
iobyte
229eaa6f24 add engine information for karts
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8071 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a2a0d88a7e52f0a1cd6dd67dff88eabb6e1e25f1
Former-commit-id: a632948d2cfd6d9fedb5e89888540e07463afcce
2022-03-06 03:11:16 +00:00
iobyte
bee791d006 use enums for engine shape and position
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8070 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7627cd03fbfc9f0d0818526e0120ccdbe618c501
Former-commit-id: 4f23083af06600ad72bc185ffda697a7f38d4bb6
2022-03-06 02:07:45 +00:00
iobyte
3b54533ef2 use car tDriveType in tgfdata/cars
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8069 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6c6deb7346b625a45d287c51e259c93e440d9a71
Former-commit-id: 1d2cffb3f1529d7bbe9a7f908213d88352201959
2022-03-05 23:46:14 +00:00
iobyte
fa899d2111 move gear change mode definitions to playerpref.h
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8068 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0581d1ef3d7eaeca59950eb237744e2e45c70dc0
Former-commit-id: 56c0977e728dcc5b2218b9ed64b6e9e33b99ea71
2022-03-05 21:03:42 +00:00
iobyte
71cd48dc98 move drive train type definitions to car.h
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8067 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 86f00d59e32a0bcd169264458366a0b8889599c8
Former-commit-id: f953619b9edc43ce169897322f972623d492ca76
2022-03-05 20:58:11 +00:00
iobyte
f15ef41b9a remove unnecessary level of indirection
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8064 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e0f2c45a0c918ad816c4f76e545ae4f5bf311b5
Former-commit-id: d01e732d4a59f5a4d9438d6acf42ebdd2a9d842e
2022-03-04 22:20:42 +00:00
iobyte
f855317f8f use defines for max mouse buttons and axes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8062 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b73794bd1bff106a2b8477b14783b93f9e4f1b7a
Former-commit-id: 8352fe7906675cf68932c10a205f29124269b028
2022-03-04 06:10:11 +00:00
iobyte
0f19f3bb45 get number and names of joysticks
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8059 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c7b9954b2e481d5909904c976e01c9329a7601c0
Former-commit-id: 6d70b3b332f9433ea0273533d00e05d0edfff1cb
2022-02-28 18:02:46 +00:00
beaglejoe
ebc7d74568 Fix for #1173 -m option not working
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8058 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 190ac0fd00614e0e3aa505a1f62b4e843ef19030
Former-commit-id: 8e2233e982733db8a0934228c7e3424c2c1379d5
2022-02-28 04:15:39 +00:00
iobyte
21cb7e3b07 fix indentation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8057 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2259687cb4aabea2e6f19a8bd04fa1128bcf006a
Former-commit-id: 3274d71b24427bf04bd77a9b73ea4cff965e87e6
2022-02-27 18:06:11 +00:00
iobyte
6c1cd03012 fix indentation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8056 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 51b72aec6757c58211c9b08643cc0d44d4d83dab
Former-commit-id: 6419b4c90a678ea23821b6fcd7d456371c1a131b
2022-02-27 17:16:18 +00:00
iobyte
a6903bafd7 trackgen: add error messages and fix leaks
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8054 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 315b6a6a594045ac3f974265b0abc49150d2bd4c
Former-commit-id: 52b286b3926d56caeb7393fb78a799fca989231b
2022-02-27 00:50:35 +00:00
iobyte
e9899756e2 don't check for joystick buttons that don't exist
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8053 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9f026d2ec48b1907de4966350a1aa9157f9ee27b
Former-commit-id: f316898d854aa04f45a95086d84dd0b1ccf15e8e
2022-02-26 21:19:53 +00:00
iobyte
89fb1aa330 replace stringstream with string
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8052 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 790c4588d28b4efab93d135a93136b23855673d0
Former-commit-id: 2038258e01f001792efe83ab603363fd28ce44bc
2022-02-26 18:53:48 +00:00
iobyte
7cbc8fadaf simplify some strlen and strncmp usage
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8051 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a831fc21fde203dea27d140eae7d83b8d3825680
Former-commit-id: c5875f37189d1c96b330a4900823fd0128dd3bd1
2022-02-26 17:12:14 +00:00
iobyte
ec2a02ae29 only use TORCS campatibility functions in robots
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8050 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: efe85a6c95c32b3738356012ee2d852bcf843acf
Former-commit-id: dc88145c33e58e8a58667ea592b8a648ced74789
2022-02-26 00:26:42 +00:00
iobyte
f87ef400b2 use std::string for user defined directory paths
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8049 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eac8d8c5af4ca406a2a31991ea84832573026409
Former-commit-id: b3697b623ac3d0dfdf16d75105a89af432e6f63c
2022-02-25 23:43:47 +00:00
iobyte
0421cca89a remove unused define
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8048 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4999515e38971ccf2a99f8deec79eeefe4aca237
Former-commit-id: 6177cbdaa0fef3d7a26a7534847fdf5b6ee222a4
2022-02-24 05:29:42 +00:00
iobyte
dbc23756f1 move steering wheel rotation param from a graphic param to a steer setup param
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8047 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b00133801706ed5a77f3288243d0029d69c70b9b
Former-commit-id: 921e8cc45cae7835e1154375155832a04f4e8c21
2022-02-23 16:28:25 +00:00
torcs-ng
f3bf897685 - add fog start and fog end for better
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8046 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7d2a5fb53568c1e824bc4f30010f5506677a639d
Former-commit-id: 1d275814061aa082262b7d6fed0fa61b6c04b394
2022-02-23 14:10:53 +00:00
iobyte
a33aced8da fix buffer underrun
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8043 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: da0331c7b96b397e034f114b829741d08c3408a2
Former-commit-id: ce5fa23dd2d294dae2aee7e858762c858c9b7f2a
2022-02-18 01:27:47 +00:00
iobyte
d13e1ea52a OSGHUD: add more players to board
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8042 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 210489006a5d94649ef02261063aa644ef23059f
Former-commit-id: 1c6015db132053474b4a4e2453d2e2548f0e992f
2022-02-17 17:26:19 +00:00
torcs-ng
f11013b208 -fix bug #1171
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8041 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2315a486eb1fef3f78fc45e8b70fecf393551af3
Former-commit-id: a3640fd9cf17bf7f9c8cbb76f92166d95736e9c7
2022-02-16 22:20:29 +00:00
iobyte
bd39f746d1 change log message from info to debug
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8040 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3c9462722bdc62081b4d22c9d686ce08e394cf21
Former-commit-id: 03bfee14f10f737b68da00848ae9b8dd5c91c2b3
2022-02-16 20:33:10 +00:00
iobyte
54608932ad fix a buffer overflow
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8039 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5e5d8eb8fb7b879be0d94b75c46d2d37b059f2b
Former-commit-id: 2571d6a3a99ce989bc16e588921e007e11c4984f
2022-02-16 20:28:29 +00:00
iobyte
f60c9183dc OSGHUD: add deltaWidget toggle key
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8038 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a54ace3519ae4936a3d65c8ab0c87d19f19d1d4e
Former-commit-id: 0d0ca41f94291efccb5ba5ad9d4cf4fe0383d19f
2022-02-16 16:51:36 +00:00
iobyte
591e6cb885 fix crash after first lap of practice
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8035 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 758cf2935b0e5a670e3c7613f0297ce864126088
Former-commit-id: e4dc67f51c588708bef8901608ab200e944f9421
2022-02-16 14:16:12 +00:00
madbad
7f352df8b7 OSGHUD: implement deltabest widget
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8033 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dca2da85a72c8dbc8ebf7157131d186e6005bfcb
Former-commit-id: 0324ed3ddedbdb4b2bbc73ab8b74d553edcee711
2022-02-15 16:49:38 +00:00
beaglejoe
83965ce74c Fix for Ticket #1121 from Stefan
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8032 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6bbdbfddf826417af51b4a8930243ef151741cd5
Former-commit-id: 95088482ca0ad03760b778c625dc16c97276dd3e
2022-02-15 16:40:50 +00:00
beaglejoe
942b42a930 Fix build on Apple
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8031 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a10c7df23d131a9b3612f2e66212a15a736f6913
Former-commit-id: dcccf439542a1de3f1a5d586be005cfb07c4c18b
2022-02-15 16:36:14 +00:00
iobyte
e46aea08dc move global functions into class
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8029 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 35a509756e91c4ad668a99c02bff17d348a305ac
Former-commit-id: b557de9c41be1adf3bf5e6b7ff1b29d20a4241c0
2022-02-13 16:31:38 +00:00
iobyte
6223f6fc45 move global variables into class and fix memory leak
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8028 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4af9d249622e50ec9c580c19eef4b3f8579e9597
Former-commit-id: bbae6018e86463d40b03fe7f4a62c92d31100100
2022-02-13 16:11:49 +00:00
iobyte
3689380ea9 use macros for member variable access
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8027 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b78af64ef18bb6d1fae52e8720e40cbeb262faa6
Former-commit-id: e2e975c477454264f665599b2b103186cc643780
2022-02-13 15:51:20 +00:00
beaglejoe
ff073df7b5 git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8025 30fe4595-0a0c-4342-8851-515496e4dcbd
Former-commit-id: 8ed077565522a59a2101a9ab86204c8c681a3bee
Former-commit-id: c9aeac8d9f1e529ff728fffe0d6b907423cbe61a
2022-02-12 17:11:11 +00:00
iobyte
61dd0ed443 fix more clang warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8020 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6d6e1229a80136387a23448f660f81e8fb22f452
Former-commit-id: e60592061873a55ac5cca28877661efab704fd03
2022-02-10 14:58:44 +00:00
iobyte
f5666bb03a fix clang warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8019 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 738ce2e3cd762a73501c956bbf61f9b9c2885e2e
Former-commit-id: 9f263d3e916607bc70be25db89a25d188f8f6ad4
2022-02-10 14:29:56 +00:00
iobyte
11ec8a9b6d OSGHUD: use Ctrl + [1-7] keys for debug widgets
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8018 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d8a6ee4c70468d6afa6a6d20f94e8cf43bb6743d
Former-commit-id: c7a20c2da3c3fb49354a23efb8ebcd10bfed59d9
2022-02-10 00:47:06 +00:00
iobyte
36af54601b use GfParmReadFileLocal
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8017 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4bb00ae744c02b63d61e423c563b03adcc47a6d6
Former-commit-id: 2ddb2d97463f9d137b8d5b84959bddd232b2d9d2
2022-02-09 18:22:53 +00:00
madbad
e3f17eb886 OSGHUD: change gforces scale in the gforcewidget to better fit forces produced by MP1 cars
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8016 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9db36fe306701c1c185999452082f888b3d4bedf
Former-commit-id: 1158ecbf1c4de346649ec9f970f9e3e335ed9fb3
2022-02-09 15:05:36 +00:00
iobyte
5b7efece5e use define driver preference
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8015 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 235e94cdb996bffb63c51d672b0a2d539abc7df1
Former-commit-id: 1cf08198c3a8fa74b80146ac23bc51dffa69e5cf
2022-02-08 02:21:49 +00:00
iobyte
27391eb1ba use define for human file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8014 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 66ddae1563a0ad01a23d8d38fbbab4452544b716
Former-commit-id: 303eacbff57ad5ed71c82a56ccd2efd3ef25665e
2022-02-07 23:33:16 +00:00
iobyte
9fc52abc07 use define for preference file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8013 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 472be05fada984efe025fcaf068ae9cb52cc8b5e
Former-commit-id: 1e6091431d3d1e6c46ee02c553ceeebecbd208f4
2022-02-07 23:09:54 +00:00
iobyte
bb1211a1c7 overload some GfParm functions to take std::string & for file name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8012 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5d976593ff5820dcf86345463e8ace5a61125977
Former-commit-id: f29c339034c73d7224312b3c3e2bbced4eaa7d82
2022-02-07 22:51:01 +00:00
madbad
040563cfd9 WebServer: fix webserver still sending login information despite being disabled
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8011 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5248cacb3e21d94bcc56d8b9137cdc6556b1b33b
Former-commit-id: bad82c884011f8d85dc990cb0d254488977503c1
2022-02-07 15:21:13 +00:00
iobyte
304320ceb5 OSG: warn about missing car files
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8010 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4b872af423bfcfc3fc56ad4b53620e99cd65d723
Former-commit-id: 9ffbd2027db11dd56747284d9965284e9021f279
2022-02-07 02:07:36 +00:00
iobyte
90634f216e fix build on linux
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8009 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 80005037513aa7c85d660cc659552e24b96b9a39
Former-commit-id: 4beed9523525b006a9cd1ece96503c14fcbcc4be
2022-02-06 23:36:22 +00:00
iobyte
798dc25c4e OSG: don't crash when car steering wheel can't be loaded
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8007 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 49a8f79c5ac54b1188a71b5aa95ce5e4122af792
Former-commit-id: dc6ed9b980007fb1050f2f4c1a2be064d4985943
2022-02-06 01:35:15 +00:00
iobyte
20dde07518 fix some signed/unsigned mismatch warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8006 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 38dfa3a310e97ab3eca88efd1f1d368a99420b4c
Former-commit-id: 07ecebfbd24ec82cc5ba9d759520210eb75ff1e0
2022-02-05 20:00:18 +00:00
iobyte
1afb55583d add hack to fix visual studio 10 build
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8005 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bb9706c6a6f5875c1a999f0127fc90967ac07fa6
Former-commit-id: 71d07525ed45e03d6238bf4344cd531cd406b227
2022-02-05 17:41:34 +00:00
iobyte
bfd22dfe44 use new function to toggle widget
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8004 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8db3362e79795065531751ed8be831e90955b25f
Former-commit-id: dd0466d2fd0d64569347bad1de1544e8467defc2
2022-02-05 17:02:17 +00:00
iobyte
ea95288055 refactor OSG HUD
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8003 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0a68765e18c5411535d599ab8b7b2498f3086089
Former-commit-id: 2e511a0c13577444abe68a10cb4bb0613c8702de
2022-02-05 16:47:33 +00:00
madbad
4cfd08d6b8 dont copy webserver preferencies while copying player profile but use default values instead
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8002 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 63fb1d63278ce46e5c830bd3c083b2dd7a8d6e45
Former-commit-id: dea63adfb16ee0f5e37890e3dd6023548f48d2c7
2022-02-05 15:58:50 +00:00
madbad
f615bc0169 WebServer: implement checkbox to enable or disable the webserver features for each player profile
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8001 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6d4feb297cb31f13924a62c59dcf2dff48621e43
Former-commit-id: 9f4d80da32d25a12297bd77d195ad33257a6ff63
2022-02-05 14:24:41 +00:00
iobyte
d56611cc75 fix OSG HUD graphs
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8000 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5c962d9a2a390197e09e69b1dfd8129636389669
Former-commit-id: 9b314e555bcf4238f98e09236ff93c3b05d0cbee
2022-02-05 03:57:44 +00:00
iobyte
3067aaf113 split OSG debug HUD widget into 3 widgets
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7998 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ceeb4c3a15e84733459314581077e4bd48b2ab78
Former-commit-id: e846db5e4d5d4a49b365e6de38bcfb911066dd94
2022-02-05 01:28:29 +00:00
beaglejoe
921cd00442 Fix for older Visual Studio
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7997 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1be8b6cfe182b220e1a467144a61b866f91a46ea
Former-commit-id: 6a7a892517a5e576ae2fe90dc5556e0fdd9377dd
2022-02-05 00:31:31 +00:00
iobyte
2ca56eaa88 remove cmake OPTIONS_HUDDEBUG and always build OSG debug HUD
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7996 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e9f9b85d6a514be9a5d79841c106a7d4aa66bc69
Former-commit-id: 4d7cb473c9da9c809185a2077fe92ecf5d9f59fe
2022-02-04 22:13:02 +00:00
iobyte
fa9b4b6f49 make each OSG debug HUD graph item a seperate widget
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7995 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 015f7daad15c6c0908e111ccdba411ce8d8196d3
Former-commit-id: 999588eaecc67902f402a16526082633b787d3b2
2022-02-04 21:41:27 +00:00
beaglejoe
7bdb8c59f7 Fix for tgfclient link error
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7994 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 40601a109cd8ff252d34afe9b5c90f51d50a52f7
Former-commit-id: bd349ceb958cbfbd5731bcb24ec623e5af295050
2022-02-04 18:16:32 +00:00
beaglejoe
af26174f33 Removed unused PLIB libs
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7993 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 08a7c7ef62283bcd0f8255684e826f2fcd1bee31
Former-commit-id: e506bf6b771fd5a4f5dcbe79c771dd06ab1b58a7
2022-02-04 16:53:50 +00:00
iobyte
e5b0553169 add FPS and speed to OSG debug HUD
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7991 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c46a7065bb0de61e90e1e5bd5638dc9151948751
Former-commit-id: 6744e1045bf3aace97f733506f6e8169332d540f
2022-02-04 16:14:45 +00:00
torcs-ng
a9433de762 - fix last commit with errors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7990 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cf119d843cc16289f8e48dad9c132cb0bb53d592
Former-commit-id: 0e0281632cd8a64dda084034102ac0ec753a39e9
2022-02-04 15:01:38 +00:00
torcs-ng
0466f0766c - update for just curcar shader mapping in medium and all cars for high or ultra
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7989 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5d2603ccb9071a0942a5968146061a37e25bac0a
Former-commit-id: afc474413fdc881e2693b2cf141786211852ec2e
2022-02-04 14:38:59 +00:00
iobyte
07f5322e96 fix buffer overrun
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7988 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 26b293074f6fbbddf4e19fc47c6d94c838c65dde
Former-commit-id: dc6c4a89cb28324113e7ccbefdc3c01cdd103a6f
2022-02-04 01:06:11 +00:00
iobyte
f81ff897ac remove unused variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7986 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 89302232cdea75fb8669a5ebe7bbbcd30f297af3
Former-commit-id: 91450d45aa2ddafa48cf6ab045dd4518c90b2485
2022-02-04 00:31:10 +00:00
iobyte
4c11a1c6ae clear graphs when changing cars in OSG debug HUD
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7983 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 56934e0e959f769c4e59d1b197e67a444e46846b
Former-commit-id: f7764e9b8eb51a61166280b17386183079684fb6
2022-02-03 22:02:06 +00:00
torcs-ng
cce558ab2d - fix better pitting with USR TYC
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7981 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e413c70b95b05858b5a263bffe567e12587ad556
Former-commit-id: b4095622f2782a4a3cdc393a046e71fc0fa00aeb
2022-02-03 21:26:14 +00:00
iobyte
240e9907eb use hudScale for OSD Debug HUD graph size
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7980 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c3d201fb5ddb0db69451bb449bb456399afa5853
Former-commit-id: 04e1ba3154a13b6a88d2992e72eb89f57f5dac6d
2022-02-03 19:12:05 +00:00
iobyte
1b71894c9c add inputs to OSG debug HUD
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7979 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6358d572631c2bfdf652629ef103376e9e1b14bd
Former-commit-id: 588a998bb0108dc8d87b416c0406b7ce58a8f0e7
2022-02-03 18:04:27 +00:00
iobyte
a36589baee move OSG HUD graph title over graph to make it easier to read
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7976 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e6224b9d3e7c755c10a9128fe1cc042c803b9985
Former-commit-id: 533e11d00a92645f4e0a06179ba259b51c45fd9c
2022-02-02 03:53:47 +00:00
beaglejoe
5df66dc23d Fix incorrect trace message
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7975 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 420455a2a00e34b99c59d80863a4a162a279a52c
Former-commit-id: d84f5e67cfafcd9724162e8edbb75662354ddece
2022-02-01 22:31:21 +00:00
iobyte
0afaf5071a fix invalid accesses when there are 0 engine data points
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7974 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cb518fa4ad43be88899de4e8f4e3100b31a223ce
Former-commit-id: 9b81ee456128017369c8e2fa2ec1c7d35724c201
2022-01-31 18:05:02 +00:00
beaglejoe
48ba87a280 Temporary fix for #1160
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7973 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fffac703f5fde61d9c818bcf50bdbef1552ad652
Former-commit-id: 83c05295358befb14b6cac564f1c8873f96f97d6
2022-01-31 01:43:05 +00:00
iobyte
bda7946fdc add missing end of line
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7966 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 461b1b8af5984c5d777246cf77e55b60af91f7f3
Former-commit-id: f0c542ff8977f6b91bb48006923d89fa58aa6847
2022-01-28 17:54:30 +00:00
iobyte
c01d185199 don't add invalid car lights
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7965 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ac7b16f75cc383d2ec519b8144cfd2c30b53cbce
Former-commit-id: 2bad54c811821565e454405b156eae462030e17e
2022-01-28 17:52:56 +00:00
iobyte
5ff253f3cf fix #1158 Shaders and lights on OsgGraph
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7964 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ac713111bb3e47e86c52a34842b25c3e7f47975a
Former-commit-id: 0b20274ebef6e67db5056e1054bf022b05f99340
2022-01-28 00:55:17 +00:00
torcs-ng
378c4cc249 - update simuv4/aero for real air density from track (in real weather)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7958 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 744b710197cf7cd8749b7d32e5e1a79c02fd470a
Former-commit-id: b3a5dcaeb772bb09077942484cd945d8815389d8
2022-01-26 23:08:52 +00:00
iobyte
7515611c84 remove unused global variable
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7955 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8b5e1e2a2a7a9fdceb40b9f0a1bc7703872375de
Former-commit-id: f1d4ebe0509148fc7de2e991df9aa686c1798b62
2022-01-26 18:38:07 +00:00
iobyte
6dfe02444e fix warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7954 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b811fda8f76ac96bd1d129a381fa5ffca42c449e
Former-commit-id: 96309ee8c3d64bb761d405d965a0ac6927bc982b
2022-01-26 18:14:58 +00:00
iobyte
9162110579 shader type is an int
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7953 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6636125572a44e0a10cee4fb98799f485ec782c7
Former-commit-id: bb4ac37936d09f0c727f9401b2ea4384a94b63f8
2022-01-26 18:04:09 +00:00
iobyte
e3ff6b3f79 remove unnecessary function parameter
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7952 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 834f8aab613ed604bde10f3faeae9662041183d7
Former-commit-id: f7b194ca0f359b66d218fecc358064653951345a
2022-01-26 17:00:54 +00:00
beaglejoe
f6c791011f #1157 changing sound options does not need to relaunch SD
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7950 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5087af94199ac201396b9a9e59e237a2703db625
Former-commit-id: 71b1a78f70ca97f241994619fee68a5822cd86a8
2022-01-26 16:28:58 +00:00
iobyte
ffdc13799e fix some cppcheck warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7945 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9df8f4ba42386c3137349ca580e4f99d7f59e1fb
Former-commit-id: a0e2d041a1ef12d35e7335a35027e2063389bfe2
2022-01-26 01:02:33 +00:00
iobyte
23c1e38f76 use std::vector for array
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7944 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 80c50917890c8396d0508008a9cdc25788c8cc5d
Former-commit-id: eead71d548486558c39b86a4275ba9f5f17ade66
2022-01-26 00:34:25 +00:00
iobyte
d22814ba93 don't use void pointers and casts for known types
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7943 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 35f00e32181b0a1641df2047177602f92dab8c2f
Former-commit-id: 95a81259238b151234b61c0687a4f0e38c51b89a
2022-01-26 00:10:18 +00:00
iobyte
664f67deac fix linux warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7942 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 15cfed2bfcb44f2a8f1da955b1403262daadbcf0
Former-commit-id: 0894b4137e312df52836aa7961e472c9b8b511fd
2022-01-24 21:21:00 +00:00
iobyte
5dc0a02b94 set OSG force feedback graph visibility based on config file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7941 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2b035f5f56f3de4194db6be3679d31150c7ced0d
Former-commit-id: 610106d0e60296b4e1fcb1000c53defe220fa5b6
2022-01-24 19:40:33 +00:00
iobyte
1f1018df18 add key to show/hide OSG force feedback graph
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7940 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a62ba439b0f2e4729c93949a6c28c878b38f3c68
Former-commit-id: 309e7c69a5516e90b5e39e716dd3cc63e4dbf584
2022-01-24 17:24:04 +00:00
iobyte
f59c6286b3 fix #963 Checkbox tips only get displayed if checkbox is checked
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7934 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dddb068ad8f83448b1983bd20137a89a554eb063
Former-commit-id: 0ab15458145df594da95f6db3b13cecbce8a674e
2022-01-23 02:28:39 +00:00
beaglejoe
16bba4f7a8 Allow for custom window sizes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7933 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 117fb148bf3798fa2c21f0ad6e57fc26ed11d109
Former-commit-id: f3b3e9a03a91200f746f38247134915f42f8ddda
2022-01-22 23:55:18 +00:00
beaglejoe
3d8d793a99 Fix for older MSVC versions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7932 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e500b1ff5ee49380653f6824be95b18ce1dc2c8a
Former-commit-id: 9c91e695b209b84d11add1a435b307cdc2d44937
2022-01-22 23:29:10 +00:00
beaglejoe
5655254086 Remove unneeded function call
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7931 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ec843c51e1e4e003dcc06144289a465f1469838c
Former-commit-id: 305dd16bd4ed819ef030e7b1b9b85fc3176ba348
2022-01-22 14:32:38 +00:00
beaglejoe
de7eb5d8e8 WIP for #1136 - Allow Full-screen modes larger than current mode (if supported)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7930 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: df8243c5f30a0d02fd0d197d6f9d20c0d06ceb56
Former-commit-id: f2d76452fd1f03930cb3553833df27527cf58797
2022-01-22 02:01:41 +00:00
torcs-ng
251d0b14cf - fix menu for network/csnetwork
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7929 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ac8e8b79c7e2bcc2cac8d17ceacf1a18158a5135
Former-commit-id: 2bc1593466a065f1b0a02dcd307d5f59eeff3bbe
2022-01-22 01:22:21 +00:00
iobyte
f1e6d2f077 SDL2 replaced SDL_BUTTON_WHEELUP and SDL_BUTTON_WHEELDOWN with a different event
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7924 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b79a77ef6c0e4f608b82f0f818461e63ddc01e87
Former-commit-id: 367ed4798e462303d77b7e00d3a17f1e6b7eb426
2022-01-19 06:14:03 +00:00
torcs-ng
0f501d0af5 - update dandroid's driver code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7918 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7465ac408602700a38d6460cde7e0b5da8dce523
Former-commit-id: 46365c5ee3693c8481e0831c0fdc97d0a4116413
2022-01-17 22:19:39 +00:00
iobyte
a5a63059ac show when force feedback config edit boxes are generated
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7917 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 55829f2fb2e4ac746ab4e367267a6b8bf2f2ad22
Former-commit-id: 3ac5a045ea800ad7a6cd5ac1ccf8f87f59fbac08
2022-01-17 21:07:04 +00:00
iobyte
ca2d2fcf15 add a minimum force feedback level so small forces can be felt on weak steering wheels
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7913 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6071f84ff294163c52cd3f2f5534fe0971339949
Former-commit-id: 0821ead755bee76b508cc423881f0ebedcf8b11c
2022-01-17 16:56:18 +00:00
iobyte
ccf6a3580b graph OSG HUD force feedback absolute value because we are only interested in clipping
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7912 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8ee547f84ea5edc6e8d767725376245414e71295
Former-commit-id: d52972e49a6600b2f8a7f78a05b2e586f27cee0b
2022-01-17 16:50:12 +00:00
iobyte
d9ae788ec0 fix OSG HUD force feedback graph
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7911 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2ccbf84da7df2b6acb79cd54a44d473d9e9adc09
Former-commit-id: 7aa4d0424584ff361601b82b925ec1fcb564c735
2022-01-17 16:29:48 +00:00
torcs-ng
584465efb1 - update dandroid's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7910 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0340c96b4494585445bed89f9fe17c5ed3f1993b
Former-commit-id: 443581c19b51df4db4a678ae1f3ad117f2d97104
2022-01-16 18:37:25 +00:00
torcs-ng
cede1b72d1 - update dandroid's code for tyre & degradation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7909 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a7b6495217bb28a52878287dff844c381a7e139c
Former-commit-id: a9e40d0e9519ee4a207efe33e3cb27a4f09aee32
2022-01-16 15:16:20 +00:00
torcs-ng
74c03f974b - fix warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7903 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 820f8ecf29b7b727f84cf71a5e6801bd501d50d1
Former-commit-id: d8e31dd8d4886400065d2fc9b99f72722ed74fa1
2022-01-14 22:45:55 +00:00
torcs-ng
41e6019486 - fix tire temperature after pit stop for car with these feature and not
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7902 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 79f4663cd9598fc6a62346d253eb150fec8af074
Former-commit-id: ad39fae674e4981b50186b787bb9ece201db94d1
2022-01-14 21:21:24 +00:00
torcs-ng
d32ac8cc1e - add air_temp in caElt for simu update pit stop
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7901 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 958c8ec402fc73b7712a9f302a945c824809a516
Former-commit-id: 311183d3970c0c09e956bbd32b17d9e632c631b4
2022-01-13 18:22:59 +00:00
torcs-ng
7658fb0269 - fix wheel temp after pit stop
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7900 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 94c286516c4d3f8b43d6e3c8cecabd4a1996e5f8
Former-commit-id: 876404b430fb6dfbb02ffffd32a9dc4c1d17fb03
2022-01-13 18:21:44 +00:00
beaglejoe
dc3374f40a Temporary fix for Display Menu Full-screen size
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7898 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d3ac7e13571acb3d8e3722a4a79c3c64b0f52b23
Former-commit-id: 27d2c43f99ebf936043c4cd1099141901fbcfc84
2022-01-12 15:48:58 +00:00
beaglejoe
6e4000429b Remove unused variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7893 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1a8e79eb936fe825409ff0bfb2285d8332ffcb5c
Former-commit-id: d486868efb3035b0d41281b11c8c393e3dca2d6d
2022-01-09 22:51:47 +00:00
torcs-ng
c265348cf8 - ix warning on control.cpp
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7892 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d20ee3e0c39ea8604a49d1446b22e6f14647fc04
Former-commit-id: 7d8b0a42471761114dceb06d45f3f1243ce6cedb
2022-01-09 16:58:03 +00:00
beaglejoe
79a66e06fd Added #define SD_FALLTHROUGH to portability.h to handle [[fallthrough]]
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7891 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1a6de7b73e404f5fd8a49ee321980dc4ebc9d0c0
Former-commit-id: 5426be1934d98051ff988bfa9333537a8f3482ee
2022-01-09 16:29:56 +00:00
torcs-ng
34cc952cd9 - fix build on visual
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7890 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 17793e2a22689f16145d85d636600a3aa58813e4
Former-commit-id: 1fb4e82e825887050b411598b704aa31e4e0bd6d
2022-01-09 02:08:41 +00:00
torcs-ng
d4c5b0b914 - added nationality's driver in result qualification and result race
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7889 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bec3b398d9c67252cfadfa2cfc16ab1f93b48f14
Former-commit-id: 27875692a9bc1e5a19549ca4b3f2d628ec66c983
2022-01-09 01:58:57 +00:00
beaglejoe
3952aeae7b WIP for Ticket #1136 Fix an issue when starting up in windowed mode
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7887 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f22ecdae546b1b8b93b006771628740b407f72fc
Former-commit-id: eeb9a4add5c8d895ab1fa9befa8c108d90984111
2022-01-08 18:42:57 +00:00
beaglejoe
025ad25063 Fixed untrue error message
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7886 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: eec5e9d891665451c0de6e4d564b3fa0f04244d0
Former-commit-id: 6913e7a7663a0154d729a91fcd08b7fc58b031af
2022-01-08 13:19:02 +00:00
torcs-ng
c24d9d34ab - activate/desactivate tire temperature info on ssggraph
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7885 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 76468b8562048488d905e6e038400ce4d0b8f1b0
Former-commit-id: f756a04fc38a2583b4d38224acbf569f5dee0fe5
2022-01-08 00:44:46 +00:00
iobyte
eaee5ebf78 add missing _findclose
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7884 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 514add2e07826b1b78d3a1ec2cfdf8e33dfb58c9
Former-commit-id: 5b6a445bb37fa23ebe0ecb2b386716f69729cb74
2022-01-08 00:07:54 +00:00
torcs-ng
134ef75073 - add tire temperature info in ssggraph
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7883 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ba9731c5f4439e3b8203dc1cdf6640a45c88ad74
Former-commit-id: 697952ea5fcf86ea39232078d50f988822c50c27
2022-01-08 00:01:10 +00:00
beaglejoe
aa61bf84b7 WIP for Ticket #1136 cleans up some logic for displaying screen sizes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7882 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: adeb832d3ff94cdecc71c9c53371771a4f80e57a
Former-commit-id: 536fe99260a7035ed4f4456df4128e6de5b54db1
2022-01-07 16:11:39 +00:00
iobyte
209f39800a fix some uninitialized member variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7881 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f0832067f11e29ee50b0a45fc66f42536a739685
Former-commit-id: f0eaf74a842f7ad5ba0ad3c69c8dfae4963da2fe
2022-01-07 15:50:52 +00:00
iobyte
aeb06fae57 fix linux robot loading
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7880 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 507e75ec4c89d879329385085588ec6ddb8b6c0e
Former-commit-id: 43c7cf0ccda3ebe074e28a1ff471d04d292bea6e
2022-01-07 15:05:44 +00:00
iobyte
b44dd1d9e1 fix windows address sanitizer crash
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7878 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f1cea6c89f1214269ba4ef57f4fcf6a4501287a2
Former-commit-id: ed57c92423aaf451f45703faae787ec4c3da612b
2022-01-07 05:33:55 +00:00
iobyte
be98c506d0 fix remaining declaration of 'x' hides previous local declaration
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7877 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2af1db87a6ca12db495b8e8e86e8c5ec97a168f2
Former-commit-id: 7974bea4459f2fc7ac69a8c9c5e6e86cf7ec1d6a
2022-01-07 00:56:07 +00:00
torcs-ng
6f2acb2de5 - add nation info in interface car
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7876 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d9ef54bc19f6b0f8804ef02e0274a524e539bab5
Former-commit-id: 791c2907a1464e387ba04f6c917bf793e97b0636
2022-01-07 00:45:33 +00:00
iobyte
6c219e50f5 fix declaration of 'j' hides previous local declaration
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7875 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: de4ecd222c8e3ea1e3e10008a4178d4bff3091f7
Former-commit-id: de6e9ed683b7cbdff3057ab5bf034f4e6ffa6271
2022-01-06 22:45:51 +00:00
iobyte
bc62ef56e3 fix declaration of 'i' hides previous local declaration
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7874 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5c30af5e9399a7ac5f7d5d8d8ece9d4372687e2e
Former-commit-id: d1a7a37fea51e276e92fd7f0e8d5676f350d6a15
2022-01-06 22:43:53 +00:00
torcs-ng
f746f2f12f - fix conditional build lost
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7872 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d8388ad20701606765f5705ff1a343c2dfc35e11
Former-commit-id: 4b3cd9478329bd734954a0c3a49f4cf7c2d2905d
2022-01-05 17:03:54 +00:00
torcs-ng
9d76275de9 - fix warning (fall through)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7871 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3e31cc826e5db4ab3f2b50b35e2ebace141da792
Former-commit-id: 0bc4abe3559c6520f417a9eeb021561b32fec28e
2022-01-05 16:32:51 +00:00
beaglejoe
18880c3e26 Revert 7868
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7869 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ebe28e2225c3142cf334a25817a3eaf24fe93a2f
Former-commit-id: cf29c585edefd994f38475ee0ed61764fa293756
2022-01-03 16:35:33 +00:00
beaglejoe
a8711df56b changed SDL_WINDOW_FULLSCREEN to SDL_WINDOW_FULLSCREEN_DESKTOP to avoid unneeded video mode switch
removed some now unneeded workarounds

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

Former-commit-id: 14597f0421ebe10d785c44e977fa57323bb04837
Former-commit-id: cd55feea7867d9e7a1361446a09baaf3ac0619ce
2022-01-03 01:31:48 +00:00
iobyte
9111c72a6f return bool for GfParmExistsSection and GfParmExistsParam
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7867 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5fd0ff35b8feadab2f1cec62fe19c9998c0ed501
Former-commit-id: 2ebb861be4223daee34434745d8a91e57c55f66b
2022-01-02 22:02:13 +00:00
iobyte
48605e270b fix cmake SDL_FORCEFEEDBACK option removal
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7866 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 829b639d9023de6bd2151c26f8b928150b8fb474
Former-commit-id: 345a07a10d61d30274ab244cd16d84bfdbbd206b
2022-01-02 20:01:07 +00:00
iobyte
6bb2c355ff fix pre C++ 11 windows build
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7865 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 30a73c44d013e1b943ba092eeb932f3857c2c547
Former-commit-id: 92ba17fa312c2cebb56777c7fd712316c5e8f1f9
2022-01-02 19:48:18 +00:00
iobyte
898d2e9af1 remove cmake SDL_JOYSTICK and SDL_FORCEFEEDBACK options
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7864 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 37cfd2e624e8e34a4d665f12d3ae378d749986ea
Former-commit-id: 944f9dd83f6befa3ce4afa278c4fc4fd9ed749b1
2022-01-02 19:19:48 +00:00
beaglejoe
fcf8295e00 Fix warnings unused variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7863 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0d178baf6b32dcf5c135f2536c4be68eeb713093
Former-commit-id: f15fb447c0e302fe8a2d94852b6f9e214e5239a9
2022-01-02 18:55:12 +00:00
torcs-ng
ad0b5feb1b - update simplix's driver code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7862 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ab665b29f0c05ab8b074d5844e6e37a24a2e92ca
Former-commit-id: 4a1874c65bda9c174e19d6ccfd0d4c7c5096e0e8
2022-01-02 18:25:49 +00:00
iobyte
621c952854 use true/false with bool
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7861 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 623646fb5ae2d5426bbe9c0bb3f842a409a7e478
Former-commit-id: 68b1ddb8effd0226a8cb04298506b9f9efd1ba9a
2022-01-02 17:43:19 +00:00
torcs-ng
5fd67d0223 - fix warning on simplix driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7858 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5dc1102afa80d73aaafd82f08ada18eeaec1dd2a
Former-commit-id: 41bd15462488dc2373ba84ba034170e032ff18a4
2022-01-02 01:25:10 +00:00
madbad
b2cfa313b5 OSG: add ability to move the driver position
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7857 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5beb0a4bdd131ecddf907eabaf3a0d23d2d1e66f
Former-commit-id: 0c30f26694dc027aac5f51d58ed7f501299eec44
2022-01-01 14:22:09 +00:00
beaglejoe
c8e57a0981 Fix for full-screen mode always using Main Display
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7854 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6f6c90ac598945f019025173b98aaa1631b8569d
Former-commit-id: 25937d22ebeee06ba00be08904d7bff4bcf82c26
2022-01-01 05:03:49 +00:00
beaglejoe
d45c6bb46e Allow choice of starup display for multi-display systems
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7853 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 307b7f2c679694d69400174cbb2105fa592779fa
Former-commit-id: 4497f2dd372a03a819420bd159f1e5e8db466b97
2022-01-01 01:38:19 +00:00
torcs-ng
0ab1f66ac4 - cleaning shadow's driver code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7850 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 863301ff5e40c929a00a2c373b904b3cfdbf4f2b
Former-commit-id: 1983780e2d4c448af47b7b148e81ce64695aa419
2021-12-29 11:35:21 +00:00
torcs-ng
2590cad83c - update code for tire & temperature
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7847 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d2a831e8c7f3aeb7189aced0b8552d1fedb49bfd
Former-commit-id: 1cf7d46f5bd97fd3cd37aaac7441b4edd18a6301
2021-12-28 20:38:50 +00:00
torcs-ng
ea41d371c2 - shadow's driver cleaning code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7842 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 83ffdd62a23b5bc00ade73de247920a637290b93
Former-commit-id: 0e741d6d0f5e177cb582e06dc6d6d224ccb33ef2
2021-12-27 13:25:02 +00:00
torcs-ng
424b7b2fbc - fix to 2 seconds splash screen (for test)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7841 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f1aeb50a249b7b1d1fa54458012d004649b06469
Former-commit-id: d7d46b489066ab8c2cce596c1b1e9f31cf6e4492
2021-12-27 13:23:39 +00:00
torcs-ng
c0b67ae436 - remove functions BetterSteering and YawControl in simplix not used (by Matthew)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7840 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4d41e6daea113755a89811df66808a141d05c864
Former-commit-id: 4270b0a5439e0a792f1cfdada580b67fe4f5e0fd
2021-12-27 13:12:58 +00:00
torcs-ng
e3d04f2d9c - fix sd2-trackgen raceline
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7839 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dd359d6965f4d0a4a537dd6369a755f060e92ea2
Former-commit-id: 8d2ce421e948c2e8f2f3c574472ec164530ad463
2021-12-22 23:20:30 +00:00
iobyte
0a1266e415 use mouse wheel to scroll through scroll list
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7838 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4892590c361ed8f40d9b2f925f1d68a50ec4afc1
Former-commit-id: c723ee506124056a6a4b1ea34b22db37b2c35526
2021-12-22 18:44:05 +00:00
beaglejoe
6ea9cf4c33 Most of the code cleaup patch from Matthew (unused variables)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7837 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f757f8b26d0b71349dce25f54281d7707a263894
Former-commit-id: 2df226aa4b0bae15f2d1f4b5028aef0cee8d0c1d
2021-12-22 16:32:30 +00:00
beaglejoe
6f6707b252 commited Matthew's patch for Ticket 1139
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7836 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c1dd1c7c9f9ff4f5e90b3f1ebcccfd9397c16825
Former-commit-id: adeea54c1a6cb6f0ccd331352a71afb2fb4636ae
2021-12-22 15:59:27 +00:00
torcs-ng
82eeacd47f - revert last commit does for Leillo
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7835 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9e6f2d983dfd4a400d62b0085693d94be08b5b9f
Former-commit-id: 0c0c95e8fa3955ae2431f5bf43049d9cd8ea9941
2021-12-22 11:39:56 +00:00
torcs-ng
48afc3b311 - fix low wheel temperature to 30.0° (for Leillo's video) was be removed after
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7834 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3356abe1ffae46aca1d416a62e552b8b470400f9
Former-commit-id: 885d09fbbebf6194c7433599303caaf01b4fdaa3
2021-12-21 09:48:40 +00:00
torcs-ng
933c5d9a0e - fix bug #1137 by fennell, Thank's
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7832 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4ca156542b04f22c94e73a9a2b3d053d4a4f2e40
Former-commit-id: bb73324ae57ff0f25211376887dcd29445f37ffc
2021-12-20 20:55:51 +00:00
beaglejoe
b9e93a8490 Fix build on FreeBSD from Didier
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7830 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5a8214f2cd17005daed09d04df4ce9389c55a0e0
Former-commit-id: d7f112961f1134f4082b97e5e0abf48c237b9354
2021-12-20 05:39:16 +00:00
iobyte
ecd92834fc fix clang-tidy-bugprone-string-constructor warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7829 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 42896007522ff0420c739938106d7cbaa2eba77d
Former-commit-id: 03634acca83ab628fcfa90d3aeb6927db25a1761
2021-12-17 01:06:07 +00:00
iobyte
1b8fe61ed5 fix clang-tidy-readability-string-compare warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7828 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 77d58728f5cc4c89c7d31f7552b564a30263f70d
Former-commit-id: db634b09e7c52e447d51769d3efe7dacd88e03fb
2021-12-17 01:04:15 +00:00
iobyte
91f3bd7c99 fix clang-tidy-readability-redundant-string-cstr warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7827 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e7da933d302802d790363514354537e97b40def
Former-commit-id: c4ae36169dad660cdba256c68ea3cce0afc4614c
2021-12-17 00:57:48 +00:00
iobyte
acc0f48500 fix clang-tidy-readability-redundant-string-init warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7826 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7bfca030c5a2bb9d2906c5e08f867b5b1867239c
Former-commit-id: 287ec5f01cf846145c56d81ca42473fc5c2a78b0
2021-12-17 00:42:04 +00:00
madbad
2d7776d13f OSGHUD: fix compilation with HUDDEBUG off
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7825 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 72406a32c70e54acd91b39e21a0688c866b6be32
Former-commit-id: beaf594182b33590e196e467d31951172eb79018
2021-12-16 20:37:24 +00:00
madbad
b2ba27407a OSGHUD: fix graph widget, make it show current forcefeedback force
must be build with "HUDDEBUG" on
[fixme]for some reason the graph only works in practice mode, not in race

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

Former-commit-id: e15091e99510b3904b3be3c345588821720f7628
Former-commit-id: e907f4ad0ba7008df37344c17ddbc812303117aa
2021-12-16 20:37:16 +00:00
beaglejoe
af43367789 Only restart game on Display changes that require it
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7822 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 763db90c0f42b24de8ae13d70c43de975e37699f
Former-commit-id: 36da23a4517bcddf48edb01a257c34ed375d26d4
2021-12-14 04:02:33 +00:00
beaglejoe
1d565368aa Removed items that were moved to DisplayMenu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7821 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 99d4f744596411add013f277d99b02f12d32099c
Former-commit-id: d36ea2213fc3bc6f4a1fb53920e539827a07f5f7
2021-12-14 02:49:27 +00:00
beaglejoe
7b37673511 Hooked up changes in DisplayMenu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7820 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cbd9fdf41f10326eaae1ec0acf8015d1ec5922e1
Former-commit-id: 339baa896c5692b86d2cc65e0b9c4d29b2684979
2021-12-14 02:39:16 +00:00
madbad
2110c76afc OSGHUD: gforces widget first implementation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7819 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 302ebbe8cb588bab79e2d812b62eda2c8bfbec66
Former-commit-id: c79f1b4f0eb657b512fcfe2386b39aad65bf9c7f
2021-12-13 19:54:35 +00:00
madbad
fc5b17fc9f OSG: add tires slip indicators
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7818 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b09bfa5600d4e7e9f8ac164210e24e45cceb3cab
Former-commit-id: 092b808bbd183621a3a9befaadda6b6c0be0d570
2021-12-13 16:23:36 +00:00
beaglejoe
1eeabd3da6 Partial implemntattion fo new Display Menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7816 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 92bdda5565a283524d032d8b28f6cef44596ff76
Former-commit-id: cdb38d0af753f37e6e395344b1d1f1f3b82a1b95
2021-12-13 15:35:59 +00:00
madbad
111721b6a1 OSGHUD: update tires widget with temperatures converted from KELVIN to CELSIUS
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7815 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3fd08e54ed0b6ffea9a59920fc504cfacd7a02bb
Former-commit-id: a885c9fb652da7dc650344c2b3695d84587079a6
2021-12-13 15:34:54 +00:00
iobyte
51fa75318c stop steering wheel from moving when steering with mouse
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7814 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c0e44d064efb1adb8edc7313f33eef0c3e2036a3
Former-commit-id: 03b960771459ecdcead9e9be0fe7d7dc1c6e7636
2021-12-12 21:51:54 +00:00
madbad
543df0330d OSGHUD: add tire degradation indicators
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7813 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 54ca9eeafe520ae0fa1a85b6937a1a7acb898898
Former-commit-id: f25ec2dc5ffa8578ee28dcc7bf9da6aa5c00288c
2021-12-12 20:46:24 +00:00
madbad
cd67b9d0d6 OSGHUD: first implementation of tires temps widget
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7812 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 82c6bd8480021356ef978ade45e9a94424e2c9e9
Former-commit-id: 20000a55cd0ccf5e87538d0fcbb3e1298bbc7b0c
2021-12-12 17:51:29 +00:00
iobyte
a150de0cdd refactor ForceFeedbackManager::autocenterEffect
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7811 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1641301b1be3b9378211cd32917451bc42d7a54b
Former-commit-id: 93cd773299ff395588e608dfb6b31f8e5b3b9ac4
2021-12-05 18:25:57 +00:00
torcs-ng
d4750e181c - update simplix driver (moved to UTF8 encoding & replace space by TAB)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7810 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2362c3e1ac4795cd40625377d9a1bd0f810139ec
Former-commit-id: ace62d0618bc28fa24638d24c719862e59978cce
2021-12-05 18:03:59 +00:00
iobyte
c0bdbeee12 format code for ForceFeedbackManager::lowSpeedConstantForceEffect
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7809 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1ab8c7367b2c2cb50e4dde53784b3d765e2c870d
Former-commit-id: 78b3eb29823238fc70422916ff2327830a64c16e
2021-12-05 17:32:26 +00:00
iobyte
ff468c66b6 accc: remove unused function prototype
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7808 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7789e50d8b12d97af9fb7c1947db22c9052093fe
Former-commit-id: 982c9e46f398b655e5d2c4468919386a9c38da56
2021-12-04 22:18:25 +00:00
iobyte
a79a93edde fix force feedback low speed constant force config menu
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7807 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d14f9ba91cefda64e0a74b39a5063f4732610a6d
Former-commit-id: bfed64ac41160e020a801adf1c0dd0db2ace2a9e
2021-12-04 06:17:53 +00:00
iobyte
8f060cbbc5 accc: fix SURF output format string
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7804 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5bc1804c2a47d368dbda1b9851da88c47bc0196a
Former-commit-id: 017d1ed711ab9cf8dc64a6a6d57f4e4a37b8deab
2021-11-24 06:18:35 +00:00
iobyte
d267f54bbf accc: don't compare bool with int
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7803 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d712130d2dc00e6e3078ae53a9ce4a209bdf582a
Former-commit-id: 673ae000005f50d0ae1e2a83b572095a62f6940f
2021-11-24 01:21:51 +00:00
iobyte
d1e0cb6e98 accc: remove unused variable
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7802 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7ce96102f53da86fed1e77e4bd2b860b06cb15fe
Former-commit-id: 2c3cfdf5e29c380469798a884e6ad7d8cae06e5c
2021-11-24 01:15:55 +00:00
madbad
24c75cd444 OSGHUD: Fix for toggling the visibility status of all widgets at once:
- only previously visible widgets will be restored
- the all hidden status is NOT saved to disk

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

Former-commit-id: 7d890e27b2e557c09ee20370999187f21cde8311
Former-commit-id: f505f70968aebb6105de845eb672fd02d93af489
2021-11-22 17:28:16 +00:00
madbad
b0602c747c OSGHUD: another fix the the wheel toggle of the driverinputWidget
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7799 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 924b152b160cf419fc2bfe3ada47c112966f262a
Former-commit-id: 5e4cde81bed4248027c850766f5484dae37d3840
2021-11-22 16:37:17 +00:00
madbad
3fcb72d7c8 OSGHUD: fix wheel image not being hidden on driverinputWidget toggler
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7797 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ceee367514c8f87fae99e042577b7cef7f0ac190
Former-commit-id: 961a7b24838c1ea9b80e19374d3f2ca56912575d
2021-11-22 16:20:25 +00:00
madbad
1601a7ae77 OSGHUD: add toggling on/off for the dashitemsWidget too
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7795 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cd7ca251e1cfd1b21522429566661855bb96df63
Former-commit-id: 3b0e185625cbc759dde3fbe5991480a1f88f8c56
2021-11-22 15:36:59 +00:00
iobyte
2f038f0047 accc: replace more pointers with references
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7794 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c9aab6c8bd648c8ca73550a0f52f8ecd43b713b5
Former-commit-id: 4ed9e1aba565dfb88df7f75557167edc1ffdb7ad
2021-11-22 04:41:26 +00:00
iobyte
0e9b034910 accc: number of refs per surface must be 3 so don't need to save the count
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7793 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0fdee30e8c5c361fadfcae9b7613f3efff728ea8
Former-commit-id: 1aefd851ed466221bc5bd25f29847f0ab01ce3c8
2021-11-22 01:49:27 +00:00
madbad
20fa44bbed OSGHUD: change key assignements for hud toggle
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7791 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 32b0cb0a5211ba63640b9ad71c7b9adc2ca9ed26
Former-commit-id: 32530104a48c2eff8c6af6d5485a40093a13b7b4
2021-11-21 22:15:59 +00:00
madbad
df396233f9 OSGHUD: save widget status (enabled/disabled) in config file and persistent across sessions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7790 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 94d437c4e6c5c7008e6ec1f4c1305ac0417b155a
Former-commit-id: 7da3d4140971fa441d52d7de26b4b928dd57e10e
2021-11-21 21:09:07 +00:00
madbad
a8176988dc OSGHUD: widgets toggle
- move widgets into their own/separate osgGroup so that we can enable or disalbe them one by one
- add parameter for that in the osghudconfig file
- add keybindings for toggling in realtime

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

Former-commit-id: 2dccde526af0d2ef55c9b6bbccdda8aa1093744b
Former-commit-id: 491759023519490f16de6693c6c3966b0666ec67
2021-11-21 17:58:38 +00:00
torcs-ng
cc472d4db1 - move print fps console in GfLogDebug
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7788 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5fa0ec11a63a37537f7656788e948dfa12f29cf1
Former-commit-id: b4c599e5949a735e1d5f4db56fca12f13cc05fd8
2021-11-21 11:43:55 +00:00
madbad
56699cdb94 OSGHUD: add simple FPS counter widget
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7787 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c7f503f02e8482057dc094a33f9605e76dfd7c4c
Former-commit-id: e0834a0cc5350d77e9349f1c3415e513f65efeba
2021-11-20 22:30:39 +00:00
torcs-ng
db06919a7f - removed option background type in Advanced graphic config
- removed unused code (older loader land background) in ssggraph & OsgGraph

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

Former-commit-id: 93e7e21bb9e427da856cd0cc7e75625dc1a042df
Former-commit-id: 919add46c599a2aed143dab20564e1c7ffc9df8f
2021-11-20 22:23:59 +00:00
madbad
aa226b45d7 OSGHUD: add driver input widget
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7783 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c96abafc55c6dcce1285b754767987aa8e1ff827
Former-commit-id: cb38975f65535a636a52e11d4703dc718ee77147
2021-11-20 16:26:59 +00:00
iobyte
d644493698 accc: use std::list for objects and use references rather than pointers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7777 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 07f9cbed9d9a8a58fabce74901caeada0293dcdd
Former-commit-id: 3ce4d8c71e0dca6d3e0ec635af24ed130380ad0c
2021-11-18 19:53:35 +00:00
iobyte
e9ef23c126 aCCC: fix crash when processing cars
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7775 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 99de3ba259584579c6a2570c5dd8f59d41c2a155
Former-commit-id: 471fad9608a7e9e47a93eab1e48a9a18ca0d3124
2021-11-07 01:00:17 +00:00
iobyte
5ce142cf9c accc: really fix mergeSplitted
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7774 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 46209fba72f7aa07aca806e12616a363f9e6921b
Former-commit-id: 32b376eaa17f1cc957055333a75e6d909bd914b5
2021-11-05 16:59:01 +00:00
iobyte
163607fc70 accc: fix mergeSplitted
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7773 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c6633b292ca742f591449300d264128b357c61ca
Former-commit-id: aab1c578f1960d724fb8a3c910014598c488ff64
2021-11-05 16:11:25 +00:00
iobyte
cc395e7279 accc: remove more dead code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7772 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9d0e14de842811a6e3b0bb0ce8ffb80bbd994551
Former-commit-id: 79bcacf2b31fc02a4755cadc140927123f0af4b4
2021-11-05 15:34:52 +00:00
iobyte
fbb4c511d4 accc: remove dead code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7771 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 61209bf598779a3673bd5f204f78fc5d7f580b7c
Former-commit-id: de21d1d590768c8ac8a8db7eacbefc8feef979c1
2021-11-05 15:33:58 +00:00
beaglejoe
fdf38230f0 Cleanup openGL context after use
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7770 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 998b71e639b43840c2d8d67a18f6881c04663b1b
Former-commit-id: 3b21f14ed7f23e1835d797a1be3d0f96cecc46d6
2021-11-05 14:30:17 +00:00
beaglejoe
72cc7f61a0 Remove use of SDL_Renderer
Not recommended to mix with openGL in SDL2

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

Former-commit-id: 085fd27d9ca66b52c42d29c09976fe0da397830d
Former-commit-id: b3c9855bad179fa191190224fccf9d1b173f54dc
2021-11-05 14:20:10 +00:00
iobyte
bcb962da85 accc: add missing fclose
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7768 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 857dd3973d0108468b784f9aa8b1d903f18992c6
Former-commit-id: 1c50e57bb079ec83126d9eda9cf83f984238db97
2021-11-04 22:23:13 +00:00
iobyte
6b644b03fe accc: fix linux build
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7767 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2092fd7441a3dd536155cacd9ce6dea91ef2b5c8
Former-commit-id: 5dc14d91999adc85d3c392d3ee497296e080331e
2021-11-04 21:56:06 +00:00