2340 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
31ef2b206c [train] converted hasThrottle and throttleName to properties 2025-07-01 22:30:16 +02:00
Reinder Feenstra
181d6ca4bc [throttle] added onAcquire and onRelease events 2025-07-01 22:28:31 +02:00
Reinder Feenstra
857ad303de [test] added missing copyright block 2025-07-01 21:15:44 +02:00
Reinder Feenstra
91541599e4 [train] fix: added missing length property to TrainVehicleList 2025-07-01 21:04:19 +02:00
Reinder Feenstra
77ea234200 [decoder] set speed to zero on Estop 2025-07-01 21:03:33 +02:00
Reinder Feenstra
13dfe7ef03 [decoder] fix: type mismatch 2025-07-01 21:03:06 +02:00
Reinder Feenstra
9eacc9a4d7 [network] implemented CreateObject command for client 2025-07-01 21:02:03 +02:00
Reinder Feenstra
37f7d084a5 [network] added unitChanged signal to UnitProperty 2025-07-01 20:59:52 +02:00
Reinder Feenstra
6788fa10e8 [network] added ObjectListGetObjects command 2025-07-01 20:26:30 +02:00
Reinder Feenstra
cd75b51559 [network] added string_view read support 2025-07-01 20:25:06 +02:00
Reinder Feenstra
037fab2486 [network] added methods for easier creating of response messages 2025-07-01 20:24:18 +02:00
Reinder Feenstra
cbbe0fd482 [throttle] Added slider for speed control 2025-06-09 08:22:43 +02:00
Reinder Feenstra
95b063cb4b [lua] fix: missing include 2025-06-08 10:43:58 +02:00
Reinder Feenstra
41fc910ca2 fix: missing include 2025-06-05 23:16:46 +02:00
Reinder Feenstra
583ea3044f [lua] Added Script throttle, enabling train control from Lua! 2025-06-04 23:05:51 +02:00
Reinder Feenstra
10ebc099e5 [throttle,withrottle] WiThrottle now attaches to a Train instead of a Decoder. Refactored throttle class for more future throttle types. 2025-06-04 18:48:25 +02:00
Reinder Feenstra
bdeda12e23 [core] renamed TrainError to ErrorCode, a single type for all traintastic error code 2025-06-03 23:51:43 +02:00
Reinder Feenstra
4ffd7ed865 [test] added train save/load test 2025-06-03 23:43:56 +02:00
Reinder Feenstra
6cc18c1b63 [decoder] added vehicle property, a decoder can now only be linked to one vehicle 2025-06-03 23:42:25 +02:00
Reinder Feenstra
b81eafdc67 [railvehicle] fix: trains was not restored after load 2025-06-03 23:40:22 +02:00
Reinder Feenstra
cf0cb7224a [enum] added operator~ to invert Direction
(cherry picked from commit ed0f9f3533a51a763c6c3759bdbe79b69662bae1)
2025-05-31 01:01:21 +02:00
Reinder Feenstra
0f9a6c12df [luadoc] fix: added missing file for new class 2025-05-30 09:02:54 +02:00
Reinder Feenstra
8d3c537195 [throttle] Throttle now base of NonPersistentObject, no need for storing them. 2025-05-29 23:13:19 +02:00
Reinder Feenstra
6bed168e8e [core] Added new base class NonPersistentObject for non storable obects 2025-05-29 22:21:13 +02:00
Reinder Feenstra
5c57b37ab3 [throttle] moved throttle sources out of hardware, there will be more non hardware throttle types be added 2025-05-28 23:39:05 +02:00
Reinder Feenstra
504876da43 Merge remote-tracking branch 'origin/master' into 144-add-zone-support 2025-05-17 21:51:36 +02:00
Reinder Feenstra
1c3d48b48a
Merge pull request #193 from traintastic/ci-ubuntu-24.04-arm64
[ci] added Ubuntu 24.04 arm64 builds
2025-04-25 14:11:58 +02:00
Reinder Feenstra
e2fcc50fe7
[ci] set Qt version, now defaults to 6.8 2025-04-25 13:22:51 +02:00
Reinder Feenstra
a6822b8c0a [ci] added Ubuntu 24.04 arm64 builds 2025-04-25 13:02:56 +02:00
Reinder Feenstra
5c97f9eeb6 [test] enabled all tests for arm64 2025-04-25 12:44:36 +02:00
Reinder Feenstra
2586e5a6a5 [test] fix: re-added deleted test, corrected test names 2025-04-13 23:29:42 +02:00
Reinder Feenstra
3e80ec734d [test] added zone/block/broad delete tests, see #144. 2025-04-13 23:09:57 +02:00
Reinder Feenstra
2b57d3fec7 [objectlist] added back() method 2025-04-13 23:08:14 +02:00
Reinder Feenstra
09450099f6 [zone] fix: use while loop, blocks/zones is modified during the loop, see #144 2025-04-13 23:07:13 +02:00
Reinder Feenstra
210d52e3d1 [test] Added zone block list table model test, see #144 2025-04-13 20:35:09 +02:00
Reinder Feenstra
710473caf4 [test] fix: added classID check in zone list table model test, see #144 2025-04-13 20:34:35 +02:00
Reinder Feenstra
63ed47cd85 [test] Added testing zone list table model, see #144 2025-04-13 17:09:59 +02:00
Reinder Feenstra
98fb8b38e1 [test] Added testing zone speed limit property, see #144 2025-04-11 23:06:19 +02:00
Reinder Feenstra
c163e22883 [test] Added test to check zone enabled attributes, see #144 2025-04-09 23:44:34 +02:00
Reinder Feenstra
7514c06649 [test] Added test to check zone related class id's, see #144 2025-04-09 23:20:30 +02:00
Reinder Feenstra
5af2cb2a15 [zone] fix: duplicate class id, see #144 2025-04-09 23:19:18 +02:00
Reinder Feenstra
78a76902d0 [test] Toggle mute/noSmoke with train in zone test, see #144 2025-04-09 22:48:05 +02:00
Reinder Feenstra
e4f75b08e7 [test] Added assign/remove zone event test, see #144 2025-04-09 18:36:00 +02:00
Reinder Feenstra
6c7e505f17 fix: missing include for Release build 2025-04-09 00:04:48 +02:00
Reinder Feenstra
92a4c9b853 [traintracking] fix: zone limits wern't updated if train was assigned/removed from a zone block. 2025-04-08 23:46:49 +02:00
Reinder Feenstra
3123e926e2 [railvehicle] fix: mute/noSmoke wasn't updated if active train changed 2025-04-08 23:44:57 +02:00
Reinder Feenstra
3382f6a076 [test] Added assign/remove train to/from muted and no smoke zone test 2025-04-08 23:43:24 +02:00
Reinder Feenstra
c1f2690c2c [luadoc] added missing railvehicle properties 2025-04-07 23:11:19 +02:00
Reinder Feenstra
06996642dd [railvehicle] added mute/noSmoke properties 2025-04-07 23:07:04 +02:00
Reinder Feenstra
b44ee29b0e [train] eval mute/noSmoke on world events 2025-04-07 23:05:39 +02:00