Commit graph

3979 commits

Author SHA1 Message Date
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
947c92fa0e Change long path error to warning for Windows 10 and up
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7823 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b5eff03f1badf75b3cc353bc0d84e165869f0924
Former-commit-id: 56ffdab1aa6d17ba2337b855bf2cd1f157b52129
2021-12-14 14:46:29 +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
beaglejoe
9910405692 Update freetype to 2.11.1
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7806 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 16d0db176b396bbdbdb64bad6869090a912a65da
Former-commit-id: bf996b380eb8471ec3740f242a6931ff34ec4e00
2021-12-03 03:50:21 +00:00
beaglejoe
c691f03d88 Update SDL2 to 2.0.18
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7805 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f817dec45dbaeb213e28a856cce1598598590ade
Former-commit-id: 56df09f473700e890bd9577e682a71dbedbbb8e9
2021-12-03 00:39:41 +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
beaglejoe
17feaf26bb Update curl to 7.80.0
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7776 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a10e3d726b8db2f8f578f0a818a426ef368d65d7
Former-commit-id: 2d1c1f6c3025bb128d94621c4429f62868a66d38
2021-11-14 14:27:29 +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
iobyte
1b8ea16a92 accc: use std::vector for strips
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7766 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d8f94d476a6c61126deab94763ac1f2f7b87e07c
Former-commit-id: 4741fa57a628b4e8e2bd8da13b378820cdc488ce
2021-11-04 20:40:02 +00:00
iobyte
fe1ad58acb accc: remove unused object member variable
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7765 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 429bf2ff4bbb2bbb8ce430a79d5323421b247f74
Former-commit-id: 82fbefb33f0b9c662bb500c2a449d96cfc5f1726
2021-11-04 20:11:14 +00:00