Commit graph

3433 commits

Author SHA1 Message Date
beaglejoe
1a289b974c Update enet to 1.3.15
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7020 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0602774124a4247fa247494988d132e37c1cdd6f
Former-commit-id: dedf1878e7f3903a66ca2ac7acb71d0de78e6b77
2020-05-02 23:01:16 +00:00
iobyte
ee06cd718c fix a buffer overflow found by address sanitizer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7019 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 015b59294dc0ee701653b45d75f412cf096d2974
Former-commit-id: 6c4011f01433a5866122be5e3398d939e4e78b30
2020-05-02 19:11:11 +00:00
iobyte
9ef82ef64b fix a memory leak found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7018 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 040ed4e5f69513d5f761a7f8acc570e32b6e859b
Former-commit-id: f4c427d238d1676fb16831d7e9953e569842dcf5
2020-05-01 19:51:56 +00:00
iobyte
8805b3a4d6 fix some more uninitialized variables found by valgrind
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7017 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f316145cbc81c0638ec82ddd1f0f48da2dd952ce
Former-commit-id: 674dd97cbad5f42db621bea319f172d5b30e673b
2020-05-01 18:03:18 +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
torcs-ng
03d135df14 - fix max opponent in USR
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7014 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b33297b2063d71cf5fb41a1ce5be7de9454d8ab3
Former-commit-id: cc978f441a1e8ab9e7b508a075915a445bfca197
2020-04-30 17:49:55 +00:00
iobyte
b6b3db4d76 pass strings by reference where possible to avoid unnecessary copys
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7013 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2a89b2f00d2a491fa719d977ba8447af8a03a9f4
Former-commit-id: ee41673431e054c2e4fb9326c166e2553b1c0285
2020-04-30 17:44:18 +00:00
beaglejoe
91dcad857f Fix build for older compilers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7012 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 787d6ed3832819b54c3069239898e21a659f8236
Former-commit-id: b2729258f1d2ff83d44bef569423cfd3bda4e3fb
2020-04-30 15:34:35 +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
514a0ede2a add dummy assignment operator workaround for Visual Studio 2010 bug
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7010 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 70d991f2959282352543ffc2c2c254fdd387542b
Former-commit-id: bed65188f560791f61d7a1ad77823c9edda6edb3
2020-04-30 04:27:48 +00:00
iobyte
1e6e2b2837 fix force feedback menu extern function prototype
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7009 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 85809432a2ff2dd7d9dcb2954559ecf61fe655cc
Former-commit-id: 6c02e1c6cf605963538e4300aadc5ab755ddd403
2020-04-30 04:19:03 +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
49bde44ef8 fix another anonymous struct
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7005 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: adffa6f991527655d9afac583164e542260f07cc
Former-commit-id: 3750820368d36c6814670c4e06d1fd96d291b2d8
2020-04-30 03:55:29 +00:00
iobyte
ce7889f245 give anonymous struct a name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7004 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cc003254eeeddc2e692139c0526e8ed115f0fb42
Former-commit-id: c92fca76bd52117ab4a3fdc30413cf4b69f52578
2020-04-30 03:53:31 +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
iobyte
679b4112d1 fix some more cppcheck warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7002 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a9b8c377d62c99b0f5cecc2d0f774d22a0a18144
Former-commit-id: b2bcd17a893fecf884bf2bda1ed417a3c68d5253
2020-04-29 22:19:56 +00:00
iobyte
e5e26bf990 fix warnings about using memset on classes
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7001 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cea160c72184b8fc4554d9480b58a5208947edd6
Former-commit-id: 597908fcbba7d3f44a616c09114bfdf85a2fcb16
2020-04-29 20:48:10 +00:00
iobyte
f95290172d fix format string warning
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7000 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 619d3117daff921fce323e581039980a73e98187
Former-commit-id: 1501fae2da0fe6ee0c78043816c95e8851f83001
2020-04-29 20:21:18 +00:00
iobyte
9e69dd3cbc fix some issues found by cppcheck in src/modules/sound/snddefault
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6998 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c5ac8504c3aeb5a8e70a736b2e2b58b4477d1736
Former-commit-id: a34c4a38dc61121c2ba0870a3186812a4230dcd8
2020-04-29 15:19:02 +00:00
torcs-ng
c3d6739318 - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6993 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 288862ea9cd5d918f909ba96cc9099210727a94a
Former-commit-id: 95c7c44be9d7db27201ac84f2d2b54750627ae2c
2020-04-28 22:56:59 +00:00
torcs-ng
96d2cb9afc - Update graphic modules
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6992 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 95dbbbf00724ff67e7f448e22e89a504b4c6c829
Former-commit-id: a9b4ef41208c6ce3bf16599ebd6b0d1a9f4321a6
2020-04-28 22:56:14 +00:00
torcs-ng
fd59efe64d - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6991 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d9cd928b0e6855d4b783e6eec9d97aa77b61b74d
Former-commit-id: c65f1fc8e25e7e7ed9336b61bf6350cee7a7d1ce
2020-04-28 18:37:02 +00:00
scttgs0
e863a4e3db revert r6988
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6990 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b18cd92bf280b9795fdf63f87ae645c15cf130d1
Former-commit-id: 8e8f57e77f78bb496435f17037e682f99f391495
2020-04-28 15:53:48 +00:00
beaglejoe
53ab428af0 Add portability.h for copysign
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6989 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 766d84a133e31c38f0658dfba66d1306b81e8522
Former-commit-id: a255adaf021701214191fa4e35b1b15105fb8653
2020-04-28 05:42:42 +00:00
scttgs0
8f68346562 Refactor to align with C++03 - Not tested.
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6988 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 93479a588585099a81b490038b14787cc6032847
Former-commit-id: 8b848d56127e94bd4ad23336f59999f65af2f141
2020-04-28 05:15:22 +00:00
beaglejoe
c3cb2aa2af Add copysign for older msvc compilers
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6987 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e5b99ddb8ede95df54a7d72b4bdb8cb8507edf04
Former-commit-id: 30e7b6aadaa5c14380ad1ebd264f5fdd5f95adcf
2020-04-28 05:00:56 +00:00
iobyte
8e97bd322e fix GfPathNormalizeFile to return original file name when realpath fails
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6986 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1e58baa14cdd5462d008145d1f91354ae22841e5
Former-commit-id: 3190d0029cc8145bd05a61d47d037b2fb8441ddb
2020-04-28 04:18:36 +00:00
scttgs0
66a0e86140 Fix: Free Resources
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6985 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 55d80a0a5dcc4ef926f4cbfa7b4db50db43b732b
Former-commit-id: ca08dbc189bcfda496d1bfc2880c1776ec0845c4
2020-04-28 02:32:17 +00:00
scttgs0
147cefdb61 Fix: Broken AST
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6984 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: acc5372b0c2a87f4796efa15a669655238aba8b6
Former-commit-id: 90467fdc0fb45810e7c9c672a38bb7e4afb4de21
2020-04-28 02:31:41 +00:00
iobyte
327f374813 fix ticket #996 (crash on linux when started with relative path and sound or display changed)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6983 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 001585158b611804405638f6d8e08ef1b27c7720
Former-commit-id: 364799da545d596ef1de1536e3ac6e7420d93c04
2020-04-28 02:22:50 +00:00
iobyte
62839a7227 seperate trace shutdown from app shutdown because logging is used after app shutdown
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6982 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5f00847649dc44b1118b55c8a18b80432541453d
Former-commit-id: bbc7bb8990130b426ca199500e60edee85b0a39d
2020-04-27 23:49:56 +00:00
torcs-ng
1f81b59f18 - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6981 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e6ca16e2228214e3f57442b13e44fd98ebe4c5d5
Former-commit-id: ad2275cabfe223921a85b31281097b2345a99f68
2020-04-27 17:58:10 +00:00
iobyte
d52a9683b7 fix AddressSanitizer: heap-use-after-free error
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6980 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 34c5dae132d963580284a8a801ad37c2481f6606
Former-commit-id: 2fd5cbb18194f4e44b53288f45af10e0783f4b40
2020-04-26 21:19:07 +00:00
torcs-ng
17715018f0 - Update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6979 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: a076dbd9f1b73b038922635ddefbf1f246178474
Former-commit-id: 5420ca38d596dc13f2df59e10c919328eaec62ab
2020-04-26 19:10:04 +00:00
torcs-ng
963e229e02 - update USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6977 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4f485ce1d8d47edd56d62f204611842b9c4ffebc
Former-commit-id: b4e5c9ca2f85e0d8464d2834f1f421cb8a7b2ad8
2020-04-26 16:38:41 +00:00
torcs-ng
b4b730fa16 - add new USR's code (original code by Andrew Sumner for AXIOM)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6974 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d2995b18c4680eb91c13611e88f2b0820e33d19f
Former-commit-id: 11e2d7951b55a4aa74c67e80da786a4f5e69f853
2020-04-25 21:41:30 +00:00
beaglejoe
66f989c9b7 Temporarily disable building of usr
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6973 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7683cc34c670fe8a643cc83c9e18dadc55f5b815
Former-commit-id: 22bff8e2dcca0e2654f50be75de2335f45ecabdb
2020-04-25 21:33:14 +00:00
torcs-ng
b2ec4394b2 - remove all USR's code
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6971 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: de92a34125ed509b99ae560a273f8abf5828241b
Former-commit-id: 9b5fccabaf79e2cb454c0833a5bada99fa834538
2020-04-25 20:57:16 +00:00
beaglejoe
ffc26e81c6 Fix build for VS2010 - warning is harmless
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6969 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0a6797feac9fed55734fb1b8a6b7e757f34441f8
Former-commit-id: 5a37cae07cf86c38e8ddc27cf5add6aba6651079
2020-04-25 20:35:32 +00:00
scttgs0
bd932def93 Suppress Compiler Warnings - Unused Functions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6968 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: fa767ee22038d3f70f717252423c21777a76a4a4
Former-commit-id: 8996e629d91dbca3aa3469cdf194b9070243ff62
2020-04-25 18:28:42 +00:00
scttgs0
86a0d5a815 File encoding fix - convert to UTF-8
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6967 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1cd7deae71c377728f04aac19a3808d55d5be071
Former-commit-id: ea0a1c2988da68356a3da01127b2d37568ccfcf5
2020-04-25 17:39:35 +00:00
scttgs0
2b580b3b28 Suppress Compiler Warnings - Unused Variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6966 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4be27fa424a877547cd485c64e30aea70a995e26
Former-commit-id: 15ad0b2db6f544ffd14242cf9b5cd006ed513ccb
2020-04-25 17:33:03 +00:00
scttgs0
a345afc70e Suppress Compiler Warnings - Deprecated implicit copy ctor
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6965 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0a461ec2e72c9c8a0f6c83b3fafbfa194731f7ad
Former-commit-id: 655f2489360aae4b3fa2274ea807c84d043dcfb5
2020-04-25 16:59:23 +00:00
scttgs0
14c2f95e82 Suppress Compiler Warnings - Set but unused variables
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6964 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 83e5d0e89e8dc1ad8927ebf4f3bcaaa6cfcf2de2
Former-commit-id: ca8f137781016039a6b1896df2fa3a438fb94c21
2020-04-25 16:45:52 +00:00
iobyte
947a75dd1a fix some more format strings found by cppcheck
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6963 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: acf234125fea58d152d0bdb21e38ebabf40d5d67
Former-commit-id: 2359e63389bcccd3ded696c9544f0e1b41fb59ea
2020-04-25 16:13:59 +00:00
iobyte
e97f8a9483 fixed a few format string warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6962 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f95e0736be2e96c51a690a36ad8567a429cce6c4
Former-commit-id: 90ea97dfdb67f5bbcaa3d37ba77b755cf6c4bad1
2020-04-25 15:28:56 +00:00
scttgs0
5aea699ed4 Suppress Compiler Warnings - Unused Functions
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6961 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ee11e6aab7c181080979ee2554c6b971c7cbb976
Former-commit-id: 6c40f0e2dc53436992dac48a870cf5bf03c8a276
2020-04-25 15:27:19 +00:00
iobyte
b616ef8c14 moved static car menu pointer variable into garage menu class
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6960 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 91887c5284033f831d234a608c99990e3312d405
Former-commit-id: c435103cff51d6a126238c248041a8a835f04970
2020-04-25 15:04:53 +00:00
scttgs0
aa3f5dd68c Suppress Compiler Warnings - ISO forbidden conversion (rollback)
Not null checking, so prefer Bob's fix.

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

Former-commit-id: 6f2f5937be40edd7ef78431f38c55cef65bf8f21
Former-commit-id: 95473c2a1fb4e90d7a54ed48317cf9d05dad31fc
2020-04-25 14:58:38 +00:00