Commit graph

4409 commits

Author SHA1 Message Date
iobyte
734e006119 trackeditor: add friction rain and rolling resistance rain
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8567 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7bf3efe234cad3cd5880bce0ce92e01386442102
Former-commit-id: b961eca8561cb76f2948f18f31b2494e7dd5601e
2022-09-29 01:37:55 +00:00
iobyte
7cc97ef27a trackeditor: only raceline file exported
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8566 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0e37bcd72276f81a5f8f89db307cc26212f8e05a
Former-commit-id: a7c23fff1ec3e495c9fe2eb0c49103c29aa682a9
2022-09-29 00:09:44 +00:00
iobyte
e327f8fcb5 trackeditor: export track with raceline
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8565 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cf571d1d570e9385824c6d00d7af81be6ee193f1
Former-commit-id: 681efd8f3c6be2f39bea84d18de4fbdc2be9c605
2022-09-28 23:57:07 +00:00
iobyte
9cc6e3ddac trackeditor: show error when reading xml file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8564 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2397069274e608563a93adcf5469412fb322f444
Former-commit-id: da64581b0dabde9c7a5b3a6c3eb726cab0286701
2022-09-28 23:27:04 +00:00
iobyte
50be557219 fix multiple joystick support
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8562 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e6a7280db67c36b7dab68a7d400823a41a6f5063
Former-commit-id: e8ffb0f2fb62be88626681023792a66bfc751a49
2022-09-28 15:41:33 +00:00
iobyte
6f910ed7eb trackeditor: check if end and start heights match
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8561 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: cf8c7ca3059a74514e31b0b15af929e831cb7bb0
Former-commit-id: 83e5c756ed2ced24ab476566085464c956a215e0
2022-09-28 01:17:39 +00:00
iobyte
717d271672 trackeditor: check if adjacent segment heights match
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8560 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6696c7ccbfec8ed71d83661e8c5c2f2795d632f7
Former-commit-id: ac9c890f2c48bfbf0207742f2c8d08532730ff53
2022-09-28 01:02:09 +00:00
iobyte
e1f4d9159e trackeditor: start checking grade
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8559 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6dcbb66ff75f41824e11baf04cb803a0187363f9
Former-commit-id: 679c45cec989ceb7398f9a26bb03800e7b16a546
2022-09-27 02:21:06 +00:00
iobyte
49eb9e6d5e trackeditor: don't try to read from missing file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8558 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ebfef3711ef289b326320b7ef721ef96233c3cfe
Former-commit-id: b91d2f04872ba5cfe441cb5019e4a31797544e9c
2022-09-27 00:32:19 +00:00
iobyte
19fd05b825 trackeditor: start adding elevation and banking checking
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8557 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6d7f013303375c057afa6e10746f47e212ec8b53
Former-commit-id: d4e5e4e4886d5a8bccd83ca1394fb2ccd6d12f0f
2022-09-26 21:12:46 +00:00
iobyte
fd4ecb40f7 trackeditor: add segment link validation to UndoSegmentChange
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8556 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e66e1c327e76995d7a8ebd006ed37ae7644c4bfa
Former-commit-id: fdfc7f5cd2f5d9a319c59bb435a68f4842433194
2022-09-26 18:39:45 +00:00
iobyte
92b2da6fd6 trackeditor: add function to unoptimize a segment (WIP)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8555 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d22517d8ede9d62f3fdb3a54f17457b29f1383aa
Former-commit-id: 92c6a6d6d5b5781b29479127c12b00031ad3014b
2022-09-26 00:06:04 +00:00
iobyte
c768145ae4 trackeditor: added wrong file
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8554 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6efe0724bcddb2fb36b9d19393ab82e902a472bc
Former-commit-id: 3f1fcab80fbf4d1c14c4dee0fa992e5dbc4d7606
2022-09-25 23:11:57 +00:00
iobyte
339fbb9c57 trackeditor: add undo to split segments (WIP)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8553 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 281dd95722ab53b337742fc86c043a58855555c8
Former-commit-id: 1557de579e531d53d3dced747735f4b4dadf9410
2022-09-25 23:10:02 +00:00
beaglejoe
172d7a0331 Fix debug build of newer expat
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8552 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c0e4b5d57485f8183a84b6c93083cfbda7ccd938
Former-commit-id: dc0f956e0cf7c9c191582d3cc24f24aab266319f
2022-09-25 22:33:27 +00:00
beaglejoe
cb255b97e5 Add option for glm math lib (default OFF)
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8551 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: dba042ee377d40e392259c35f73a6ad592e24096
Former-commit-id: bac2b8554d2ebe563baa9a7fa9f1cbbe03f0eb44
2022-09-25 19:02:31 +00:00
iobyte
ca209725be trackeditor: add debug validateLinks
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8550 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 3b76c09a0138c7432b42fe3df877068e9f0bf702
Former-commit-id: 9962b28293f786d7e6bb7b4f5c982b84746eab44
2022-09-25 18:56:58 +00:00
iobyte
7bb14eb878 trackeditor: add debug function for showing segment links
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8549 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8e649e57993ac0552ddef96bed77c2fedbb1d2bd
Former-commit-id: 1bedba44f004930629fe312ad34531e06347176b
2022-09-25 18:10:57 +00:00
iobyte
622bad896d trackeditor: add moving finish line gui
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8548 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 144978013ef3004ebd123ed9c4401c6c98f6b4ed
Former-commit-id: 03bc9944574d5bd81ed1f79217b71f72af8d4efa
2022-09-25 18:05:24 +00:00
beaglejoe
f5153bab39 Add macros for vulkan, opencl and glm
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8547 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 501781556aab06065620f43f6e7769631b6d6d1f
Former-commit-id: ef597eff033246b5e9efd9f6afe1bfcf1a433df0
2022-09-25 14:16:46 +00:00
beaglejoe
d7b00adb77 Add FindGLM.cmake
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8546 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 2766a52c29d66a713400502dd97cdba16fcdc3fc
Former-commit-id: f91aa66c7702a55bd3d9e40795efe22358c29f04
2022-09-25 14:05:12 +00:00
iobyte
b11ff7858a trackeditor: fix split segment
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8545 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6deb956f0e8ed7052daee0a7475a2dfa36f69e3e
Former-commit-id: 83bfdbd640d4eb4926d8130977f86e7053115695
2022-09-25 01:31:35 +00:00
iobyte
c0ab4c5c87 trackeditor: add segment subdivide by Simon Wood
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8544 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c5334a7082ce605df1463e2b478b840b98c083e9
Former-commit-id: 0be2e5e8f4bbec9903cb66338b0bd9a7ad249afb
2022-09-24 22:27:57 +00:00
iobyte
9784035da9 trackeditor: set maximum height to 200
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8543 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c98df3437b5e9a1c2ebc0a40f85e3cc69c2c9e63
Former-commit-id: d30fdcf6a72be18d5570a72f338219c21c497f8e
2022-09-24 21:49:20 +00:00
iobyte
09d832760b trackeditor: change segment selection mode based on create or delete state
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8542 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ed9de695a7cbcf8bab105126fb1fb385de30a7ab
Former-commit-id: beafaa0b6076020d9dda57df031b8dbbaf88e590
2022-09-24 21:10:34 +00:00
iobyte
ff2d6f8bd7 trackeditor: fix cmake
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8541 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 01c84463bd20501e413792e47b2e64207de3bd8d
Former-commit-id: cd059b3ac57e98c2754885618da1711a5c219375
2022-09-24 19:36:56 +00:00
iobyte
314bbb8e7a trackeditor: move doubly linked list updating into SegmentVector class
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8540 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b6338efa3c712299f8725ec29d356b3171de8142
Former-commit-id: c49b7ab83b7302e74e52f53f631fa03bbdec1864
2022-09-24 19:31:38 +00:00
iobyte
efc29ba2f6 fix trackgen e-track-4 regression test
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8539 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 12708bd3de27b5c72483cf486c6e64ceb267588d
Former-commit-id: 0feee458f3e8e8d7a90460cb186a412df2273dc0
2022-09-22 18:14:12 +00:00
iobyte
9ca708b806 convert dirt/mixed-2 to version 4
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8538 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d9fd45a8a4d7f9de945b94b6282371feaa049605
Former-commit-id: c0b00cef05bfb49efca2d978b67eb1a1b1de42d4
2022-09-22 17:58:01 +00:00
iobyte
6dc12a8857 trackeditor: add object border distance
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8537 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 07b7e80ddd2231a62685913e298fdbaff46a8116
Former-commit-id: ad86ef179e275307e4a798dcff1cf85f5496faa8
2022-09-22 12:34:19 +00:00
iobyte
78930dadd1 trackgen: replace calloced array with std::vector
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8536 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e7fc8da6f0e6ea9f779b35d416d4a9da9cba9371
Former-commit-id: cfa8c14bd0ca71286a8f7ee3547cfa329a3dbbaa
2022-09-21 03:43:39 +00:00
beaglejoe
2d61b4e0ce Update FindPLIB.cmake
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8535 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d3e3f1d7d44a1bc54756cd7975068a6adea7489f
Former-commit-id: c87d5ed814d0d403113181e6df1ed1f98b53fb5b
2022-09-20 21:50:49 +00:00
beaglejoe
0a3c79e88b Update expat to 2.4.9
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8534 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0c49c80d7f6333f52323e33cccb424f035497235
Former-commit-id: 1c6a9f84fbf36432dc536adb100f25c8b322fcb5
2022-09-20 21:37:07 +00:00
iobyte
8e04221ad8 trackeditor: replace java 11 isBlank() with trim().isEmpty()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8533 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 1bb69079e0eb6874c17e2fc14a23ad6dde5416d1
Former-commit-id: 450dd6fd8a690b47e92cb3cb5948d33bce9cf0b8
2022-09-20 21:14:59 +00:00
iobyte
f04b8f4ead trackgen: use vector for lines and string for file name
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8532 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0cb3992155f2905ca5d50b33c95a5d92cd136965
Former-commit-id: b6338c1b4dce25801d1c09bbf4ab5ee936a3bd27
2022-09-20 02:45:58 +00:00
beaglejoe
196125cc3f Update libpng to 1.6.38
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8531 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ca21a5829092f7ca256c6b70970e12485677326c
Former-commit-id: 4764df0b816358ae1878eb6e3cec5df95a95e039
2022-09-20 00:16:23 +00:00
iobyte
d75b6f38b5 trackgen: change include order
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8530 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7055eb950c2ced6394cff560bfff5e2f655f203e
Former-commit-id: 7c48facb0a7edaee3c07da9b64af8e1300f563b1
2022-09-19 22:18:53 +00:00
iobyte
87d6bb13c5 trackgen: reformat relief.cpp with clang-format --style=Microsoft
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8529 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: b9c8c009c1ea95e6f294866722ad09de9933bf40
Former-commit-id: cd4ea15dd770d20cc0bd83362ab551c439807739
2022-09-19 20:31:05 +00:00
iobyte
1c4520692d trackeditor: add support for terrain generation random seed
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8528 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5ac74dba671cb5dca3c8289dd5c274345a68be36
Former-commit-id: b6caf6a885e4f99e97e8bc3896937b3043483f3e
2022-09-19 20:20:25 +00:00
iobyte
8005d11b1d trackeditor: fix relief file check
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8527 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8fd3f52a8a0893c91c33209bf86fc851bcb38965
Former-commit-id: fe78c953afa3ad49e2d15fb3235c06a8ae86e576
2022-09-19 18:56:13 +00:00
iobyte
d4ebfaf6c5 trackgen: don't access node[-1]
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8526 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: edd61ec73a24c495db4121459cc1d8edc3385745
Former-commit-id: cf7bbb6eb10dbafd05d9571220622176543abe5b
2022-09-19 17:56:43 +00:00
iobyte
e8d7725eb5 trackgen: use C++ style casts
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8525 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 223cafca121c8f55cb5f2f30823c617ee4483d0c
Former-commit-id: da5d5f98002fd6218f0b1cd4adaa5989c5fd3f15
2022-09-19 17:46:57 +00:00
iobyte
4c86572ed1 trackgen: refactor easymesh to hide internals
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8524 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 4224cd597c8e708b344e394f378be2407f4cbed6
Former-commit-id: c9a0508d4e0862ed87f2487fe7a304d5b2acdf76
2022-09-19 17:20:34 +00:00
iobyte
87b309f310 trackgen: fix some address sanitizer errors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8523 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: baa5f7fa068eb43f8e38b66ff4b814d26a299e55
Former-commit-id: 8e0b34edf40fbe572c3dde68990f684d5cde6acf
2022-09-19 14:45:19 +00:00
iobyte
d13563e61b trackeditor: allow quotes in comments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8522 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 27fb65a0843d8e728a9c2418c2663b3afdf659c0
Former-commit-id: 3680f713a8ff1502fdbe1453f10d8d15d4765c27
2022-09-18 20:23:40 +00:00
iobyte
64b752487e trackeditor: add comment to segments
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8521 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5d84d2cb9cbadeed42e873828521c0abc0933103
Former-commit-id: 5366cb23eaf566eeea87af6d3e3f474ea3851612
2022-09-18 16:30:48 +00:00
iobyte
1d8d7b125a trackeditor: fix camera comment label
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8520 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 738c6ac05aa8d1ea89ae7e39a45c641fa1d198b5
Former-commit-id: d6e560d2bb349001a01b7b44f882d74ca20ee491
2022-09-18 01:18:00 +00:00
iobyte
63cb6d935f trackeditor: add comment to camera
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8519 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e7e0ce4b88668804ce961a575c941e7519cbc766
Former-commit-id: e785c34f04a05ca2c15bbacc1d1e4c3810f6cf6f
2022-09-18 00:37:51 +00:00
iobyte
8a1ab64213 trackeditor: add comment to sector
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8518 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: d0af3314c51c1e0ded6256b52ac3688b57772be0
Former-commit-id: b820e7a0cb669ac738f45458d003a44c6c403562
2022-09-18 00:13:10 +00:00
iobyte
ca13517377 trackeditor: add support for sectors
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8517 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5ee1b81a1249e9a13cbdce63bd344fb4a85f2652
Former-commit-id: 4057e23d82a26bfd3f0c6cb0fd4fb95bf269b9f4
2022-09-17 22:47:45 +00:00