Commit graph

4034 commits

Author SHA1 Message Date
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
20e9763b3a Fix for https on Windows
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8107 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d6df11dfa0a14719906253d9db72ea33409c21b2
Former-commit-id: 2a22e7b6a35b71b943f68cf438ac4db77c2c7410
2022-04-20 14:10:06 +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
beaglejoe
860f3da9ec Fix OPTION_UNLOAD_SSGGRAPH to work on non-unix platforms
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8087 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 13dfa2824394f4bf8be52f7588290340083e5e73
Former-commit-id: 4aee80883fd949d2649e9c47d06adc32515d4f57
2022-03-23 15:41:03 +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
beaglejoe
ddfb0638b5 Fix OSX base package name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8080 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8b11beb95cebd4b2ba2fe220949f5d44fc6e0d97
Former-commit-id: 09afb5e4c4edcfdf493f0d80633937f4abfc69e5
2022-03-07 20:59:37 +00:00
beaglejoe
5d26f3feb3 Add 67gp-mango-ms7 to source tar and Windows installer
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8079 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f953c2981064754010ba0bd736b31f845143ec0a
Former-commit-id: e06e3531ddb538b9adccd30718203280d53b34a7
2022-03-07 16:41:49 +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
beaglejoe
b1a9663e7b Update curl to 7.82.0
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8066 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7019f97bb912c9feb2dd26c59c21e79aebc0df5b
Former-commit-id: 408958b4df468e53761fbf020621ffd66ce8a065
2022-03-05 15:50:33 +00:00
beaglejoe
04806fa637 Update expat to 2.4.7
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8065 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6017bd01ada98cb561dc3767784bbae8c0ae704c
Former-commit-id: a609ebc3f46dfe49e10a70894d19933bbb5f68d7
2022-03-05 05:26:03 +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