Commit graph

4568 commits

Author SHA1 Message Date
iobyte
3d39a3fa1a trackeditor: check pits
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8576 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bb999d35bfd8771d687641696b9e72e8eb6e945d
Former-commit-id: 5605cc79559f32204993eabbc057e7038fd373fd
2022-10-11 13:12:44 +00:00
iobyte
34ee60da6d trackeditor: fix generate pits
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8575 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: bd9d263eaebae22ab5ca547bf794dda5e4e9b06a
Former-commit-id: 5bd41d156ccbc34a93dec092b855b40e37766fc3
2022-10-10 20:10:18 +00:00
beaglejoe
6187546ca3 Update version
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8574 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 8a7d7eaff802c4849f23c099930b9e0790c4bd24
Former-commit-id: b90fbfc47b6d9db7e3a27b107ccb87a7b9d6b7fe
2022-10-09 20:14:26 +00:00
beaglejoe
04a8548fdb Update SDL2 to 2.24.1
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8573 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 058b5b656649ed4ee4997fdb63a0fcaac0644ca1
Former-commit-id: 4c1ead729c7570c48073ccbffa5544f80f17b4ab
2022-10-09 00:19:51 +00:00
beaglejoe
a86f6b106e Fix ADD_OPENAL_LIBRARY()
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8572 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f57dd4205a8e8fe6c5b99115784e5df85ef5327b
Former-commit-id: f499e9f4c4a5f4b2a795a57a1827df8546632bbc
2022-10-01 22:39:51 +00:00
iobyte
7de86bed47 trackeditor: show actual border for track
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8571 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: ddd26032439bff60545f6a48ce73b1eb3ade6688
Former-commit-id: a7a2843d4b12a09f3f89e6556e5ff8e6d8852e15
2022-09-30 17:38:29 +00:00
iobyte
d42d243533 trackeditor: update surface dump function
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8570 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 0399680c39641a8415e8eb8321532ff94b0fd2ec
Former-commit-id: 2065ba330ada5e6b463b30f6267d198245805108
2022-09-29 22:41:54 +00:00
iobyte
2e9079490b trackeditor: add surface texture randomness
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8569 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 97b7d7b15020405d89739cd02cd91ce512e0d517
Former-commit-id: 4a87ca5fc4f1c0ea39cced0e0c4f0fbef8bbe69b
2022-09-29 21:33:13 +00:00
iobyte
81469f4a80 trackeditor: fix some warnings
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8568 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 411934c61d5c7d811d9c8e8537627447779da0e4
Former-commit-id: 35123599fa5ca9da4b3380b3c15de6a682c8bf55
2022-09-29 13:44:31 +00:00
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