Commit graph

1027 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
madbad
3cf3af95bc WebServer: disable webserver if user and password are not set or if login fails
nb.: this required a minor change on the webserver side too.

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

Former-commit-id: 191533fad626987f9fbdb39b258868545e82f517
Former-commit-id: 06ffa7118be925fbefabe4c4ca472a8414ae6f36
2021-10-31 21:55:06 +00:00
iobyte
42658c2b6e accc: replace obCreate/obFree with new/delete
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7742 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3c0a55422cca8ffdac63b19deb28d42298904d0d
Former-commit-id: 51addf04a9e91126186cf4c9eedc6c799ff18b71
2021-10-31 18:29:59 +00:00
iobyte
8dc02b3a54 fix cppcheck warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7739 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5e49f55d01893c44459fb85f64561f3fb786521c
Former-commit-id: 714c75530450a3e0637362a9c493f07b43130e77
2021-10-29 20:54:33 +00:00
iobyte
69598bee16 accc: fix some visual studio warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7716 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c5d98b4073908ec0d675c710c23b1c2c0c62b467
Former-commit-id: b9cba888c8f25c8f997f93805f4ca3548c7c43cc
2021-10-05 17:20:22 +00:00
beaglejoe
9ddc9b78d0 Fixes segfault at exit on Haiku
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7679 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5d9ff40158d28cea1510c0b283fcd9d492062326
Former-commit-id: 079bc9c9cf8895ae9785c3392b640d627501558e
2021-09-22 14:32:29 +00:00
iobyte
59f51dae6d fix uninitialized variable
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7677 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 49ff96f0bad222f4d7eeb23e02f29863e036413d
Former-commit-id: f79bc1713043968e77504aabe07fb8b73e7a438b
2021-09-19 15:52:50 +00:00
iobyte
cadde727e7 use GfParmReadFileLocal in more places
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7673 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 97655edbd56a27b36c9ed026e03b398771e59c3c
Former-commit-id: b2e0d1379197740609a3315b852248f909f47825
2021-09-18 22:02:43 +00:00
iobyte
136683ee12 fix makeRunTimeDirPath to handle longer paths
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7671 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7e1bd79025e662a3e6b97ffd91793b37c7be8085
Former-commit-id: cf44f7880a24e39748c6d75c7750d8df599d2a7d
2021-09-18 18:14:41 +00:00
iobyte
792e379e86 remove file name length restriction from GfParmWriteFileLocal
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7670 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 04a1466a2f8285df72e2f3b3be81464ed5c8371b
Former-commit-id: 42c1838c6b1e4c62f0657104785009afa457c505
2021-09-18 16:34:30 +00:00
beaglejoe
19eddfc407 Removed #if 1 blocks. Fixed unreachable code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7667 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 04ce8a6b8a9197dcea1468e66a8c43e10306cc74
Former-commit-id: 753dbefe8b1a10df447ef8fa01d87ab22a0ca560
2021-09-18 14:20:59 +00:00
iobyte
0b401cc560 use GfParmReadFileLocal to simplify code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7666 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6bdc077371b4d43b5c105e66ee0304fbac181c93
Former-commit-id: f0e2ca6ce64cfea8154ab22aff78d03759f33cda
2021-09-18 03:49:20 +00:00
iobyte
d30b623775 remove file name length restrictions from GfParmReadFileLocal and clean up users of it
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7665 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 19aeb748dfe4c5544b727279942bb7e5725a73d2
Former-commit-id: c39f6e053e34188d9a0455881559a3abd3bf8258
2021-09-18 02:26:35 +00:00
beaglejoe
595b32628b Remove SDL1 code (WIP) part 2
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7664 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8358f36af5e80fbbf18f9988436ead20e53f60ac
Former-commit-id: 244544eced7c077ad0fe3dc5890177fdc6100f49
2021-09-18 01:06:32 +00:00
beaglejoe
9586a48241 Remove SDL1 code (WIP)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7663 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e599695a71079773a26ecfd96912b52928158286
Former-commit-id: 6d5a966f5998dc037a8d31fe154438732cf7d503
2021-09-17 22:32:16 +00:00
beaglejoe
9325947c57 Make SD_snprintf() behave the same as snprintf()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7662 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e3d2c2a38f79b3301badc620eb1a97a78da38bfa
Former-commit-id: c399e5995194b188b7c172e2f2733fba7ea2d4da
2021-09-17 13:56:10 +00:00
iobyte
7435c13391 Microsoft fixed snprintf in VS 2015
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7661 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3bc9a18554681f5850d5305ffaa1b7cbfb81a4a0
Former-commit-id: ce7cbb51387749dc8291d5192d31408ae66091e1
2021-09-17 03:32:58 +00:00
iobyte
7bbdab5e42 fix 64 bit windows crash
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7659 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 94b64acfaf9fb0f129e561a1731078c5fe54aeec
Former-commit-id: 0bd24a3b5a3c0fe5c5250c2cdd85ebc827f8d311
2021-09-16 21:31:53 +00:00
beaglejoe
cacb89eae2 Remove CMake SDL1 code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7657 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 858db72cefd554825934c81a8d252255cae56b96
Former-commit-id: 17ade6a6b90ab1541bcfad65879926fef79e3518
2021-09-16 21:03:12 +00:00
beaglejoe
67744b9640 Fix build for older Visual Studios
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7651 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 098f0698577ffafa5dce5d16dc9f91f8d2e70ab0
Former-commit-id: 61841a76ecef37c3c8eb2a14b2f93b824042ffbd
2021-09-09 01:58:50 +00:00
iobyte
23e16bec05 fix gcc warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7650 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e39b0b086de114536024d694b8b9aaf8f47f8112
Former-commit-id: 8aefd417019fcac9090b1598420009e46de34e24
2021-09-09 00:18:20 +00:00
iobyte
f11942e3f5 use snprintf and 1024 for file name and path length
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7647 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ec4d8e56b70ad83c95eaffb8c2a5934def82ce41
Former-commit-id: cdc42effaeefd06b954a1e2aedf11708f082d48b
2021-09-08 20:06:25 +00:00
iobyte
c37306fbc2 fix shadowed variable name and screenshot file name length
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7646 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a2893abff960f9f46a55b126a949b29b215843d8
Former-commit-id: 118af33ecb4b390f136dd47fb0f635b5fb10a61e
2021-09-08 19:34:42 +00:00
iobyte
354a13dd43 fix shadow variable names warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7645 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0af1802e5fdafa8544fb97bff1dc682cc7c6ad31
Former-commit-id: a39b4b030b18817d95b50393f23f0fb3312fa8f5
2021-09-08 18:50:55 +00:00
torcs-ng
7b12ddf5cf - fix warning with sdl2musicplayer initialisation
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7640 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8257bd66b9ccbfd95f5aa2814aadd167c048fa00
Former-commit-id: 546fd733bced24f1ee41eaf2af12243b7b745413
2021-09-01 19:34:00 +00:00
beaglejoe
719b1b0417 Redo musicplayer to use sdl2_mixer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7639 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4f23943768a24920be0e82a7624de520e84f19d0
Former-commit-id: d2374905a4fe1ea01ff40062817184283e1da811
2021-08-31 15:49:49 +00:00
torcs-ng
0595c6aea5 - fix bug with build ephemeris
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7570 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 31e50e0597c6172c3aa3549f70f3a09d3b9b4825
Former-commit-id: 03847ece7b43cf19860315ef9d93a4ce19513344
2021-06-13 14:58:55 +00:00
torcs-ng
c4a41c9997 - fix internaldeps for ephemeris build
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7567 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ffaf5f867eb3e1021104ce8b237924c25a215eec
Former-commit-id: 34c0b01b10a3e45e657d6cc8ae6f7c07a98fbb01
2021-06-13 12:16:25 +00:00
beaglejoe
b6692918ee Changes for Haiku
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7451 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 91d0b4a32e8149a7ac8a858b90953c6cab822100
Former-commit-id: 9ea870c64a74fd84ef139b3a5585ac1b85b103b3
2021-04-26 19:40:21 +00:00
beaglejoe
f68207d462 Fix build on Haiku (form devs at haikuports)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7260 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fb417feda79f45554a55c089486f632dba16f099
Former-commit-id: f74070b2d0765327825afeda3057fc39bf7c63ce
2021-01-19 17:38:21 +00:00
beaglejoe
4650337c55 Fix for building with SDL 1
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7259 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f9ce574dea11e30b0215a28489cc44ef27224ab6
Former-commit-id: 36289cc6380140fccd455f9de2f67669f932cdd8
2021-01-17 14:44:23 +00:00
iobyte
f0ed8833b1 initialize member variables in default constructor
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7189 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 94bc3e0af799bf58056847c62e3931e34e3b718d
Former-commit-id: f0d79a1be29c625be0b7f06b603dfe252d63431d
2020-11-11 22:07:41 +00:00
iobyte
97f2a9e659 initialize joystick callbacks
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7188 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4d159a51a177f528239ca428e67eac6f772d0b25
Former-commit-id: 141bf864801190b4edd1ffc2001fe33a0bd5848b
2020-11-11 20:56:19 +00:00
iobyte
6282705114 fix format string warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7162 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f27de7f880a9d26ed339466737e08eaba21e7b25
Former-commit-id: 98cfbb5946190c4e6c07771acfdbd02c246f4c7c
2020-07-31 20:50:12 +00:00
beaglejoe
07deb0e985 fix build on VS2012
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7157 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 059ff6f2a454eb7b247e4d87f63fbc77a4c04641
Former-commit-id: cfaeba41154306f501210cbd8826664315349826
2020-07-14 04:51:47 +00:00
torcs-ng
e5b78c8e9c - update guiscreen ( for opengl core)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7143 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 86a21e0871e75fc69ea282a0c396b45524bd99d3
Former-commit-id: ab17f6710f1790a4d97ba6adacdedc94b4e7b17d
2020-06-21 19:25:06 +00:00
torcs-ng
2b87c6b689 - fix bug with Intel I9 and Linux
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7125 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 08d9da7d96ca52b06edb7dd47f4eb13bb8dc868e
Former-commit-id: 4e4211b7c46423acf5de6d11a3b82ee0a69d3f28
2020-06-03 18:35:41 +00:00
iobyte
06eb064ec9 fix linux crash at program exit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7124 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a6d306decd74a60d0bafd6823cf8869ab83f3023
Former-commit-id: 2fee85968ef68bce704ebc82db437e78a5aacd25
2020-06-02 23:36:56 +00:00
iobyte
25315d2e21 disable GfParmReleaseHandle until classes are destroyed in the correct order
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7123 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e07999f168af73b3c791ec22ec91982e1f55b5ba
Former-commit-id: fadcc7bf26a5d6e384d799b23ad11814b0c3eb35
2020-06-02 23:30:54 +00:00
iobyte
e13d596f0c make a noisy WebServer Info message Debug
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7122 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f32abbef8dfd85bae2c1b136d29efc7fd1381ac0
Former-commit-id: 61ff131e8d42d6a8ea9e23e0bcf6bd91082cf0b9
2020-06-01 21:30:54 +00:00
iobyte
d47aa1608e fix last commit
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7117 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 974df6a336a73ae667338a82bab59703135bcc3b
Former-commit-id: d5f48d9fdd846087427ac9ac9bc3c8ff7e4aae9d
2020-05-30 23:50:22 +00:00
iobyte
a383da4bf9 show leaked parameter handles and fix a major leaker
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7116 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3a8f7b7456da9e97bc3bd0d8acc50dcddf67f2c9
Former-commit-id: a7cb509fb31193a7602733e8cd1bfdf182d695fd
2020-05-30 20:29:04 +00:00
iobyte
5428d1d8f8 fix uninitialized variable found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7114 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1d138cad0b0d303b7607638d696a3cb22a4fb653
Former-commit-id: 35cc9c408471182b6b506dfe61f43fa323a6cce8
2020-05-30 14:46:05 +00:00
iobyte
9d4c2d9d87 fix function names in error messages
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7105 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 23ade1f790bd8537116122fb05e0716a30cccca9
Former-commit-id: 4857cc241b29c6c9b3f3ad77b995ed173750a400
2020-05-25 13:34:59 +00:00
iobyte
f5aa4d4db7 fix hud pit fuel value (get fuel tank capacity from car if not specified from driver/track)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7040 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6d94e5f2bc463112699b4253574dd947ced50af3
Former-commit-id: ac679d3774ecc3e0ed8e9596603410043c612ac0
2020-05-12 23:38:06 +00:00
iobyte
55ba28ea3d fix function argument name order difference found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7029 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5665bd7877e23b8c0625e6649efa343d19012e6
Former-commit-id: 71defb387c1d3ce90d3fdb3df9a98fb088b87404
2020-05-08 18:09:14 +00:00
iobyte
9728e6a84d fix for #1056 (crash from buffer overrun with more than 10 shadow drivers)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7025 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 81b0767d3a20b6764ae2f190b481c02f39c2504b
Former-commit-id: 5260fbe1edbdf7dd9485bf8ebbb78a27afcda424
2020-05-06 13:05:00 +00:00
iobyte
1ca45ff9c2 fix an uninitialized variable found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7016 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 9a2608976c4d6d160b7388e5e87206a798d4c091
Former-commit-id: d96be8435e2f48976de194e95d28ef9b45808d4e
2020-05-01 17:22:39 +00:00
iobyte
86d6606dad stop force feedback manager from logging debug information as info
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7015 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7c683fcb9171b307ab16428ab20a7a7fc417ae1c
Former-commit-id: 5a3eef3cc40ad231190de354a1267e9bd6202132
2020-05-01 14:45:54 +00:00
iobyte
a0860ad1f9 pre increment iterators is faster than post increment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7011 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 02773e1e53c82ec013e141e757d1a14262923d61
Former-commit-id: 68096d2f1cee0d43d5cfa722b1a253dca14154be
2020-04-30 15:23:52 +00:00
iobyte
1b2cc640b6 fix 'register' storage class specifier is deprecated and incompatible with C++17
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7008 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a4117309c3aff3aab63c169f7acc247daa0371e9
Former-commit-id: 31343fa1b0b243adedbd1efe1ddfdae236da4989
2020-04-30 04:00:54 +00:00
iobyte
3429fd5e64 pass strings around by reference where possible to avoid unnecessary copies
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7003 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dbeddb3cfe567940eeb2b514456de541d86c4709
Former-commit-id: 521d21b589ca77e587ba3b192a206e41b42ba68f
2020-04-30 03:34:34 +00:00