1130 Commits

Autor SHA1 Nachricht Datum
Filippo Gentile
b8a653e7af server: OutputMapItem support parsing current output state
Parse current output state as received from command station
and use it to match an output action
2024-06-05 22:39:48 +02:00
Reinder Feenstra
2634056baf
fix: added missing include (for Release builds) 2024-06-04 06:42:06 +02:00
Reinder Feenstra
c18dcb570e fix: block wasn't released if the train left the block before entering the next block 2024-06-03 23:12:01 +02:00
Reinder Feenstra
11303d2f88 moved block+train entered/left handing to seperate class 2024-06-03 23:03:42 +02:00
Reinder Feenstra
7963b0bf4f board: added on hover tooltip for tiles 2024-06-02 23:47:06 +02:00
Reinder Feenstra
1296484ab2 train: added on_block_entered and on_block_left events. 2024-06-02 16:13:25 +02:00
Reinder Feenstra
07f449f024 lua: made block name readable 2024-06-02 12:23:15 +02:00
Reinder Feenstra
801ff9f540 removed duplicate include 2024-06-01 23:22:33 +02:00
Reinder Feenstra
65807f3ee7 fix: exception could be thrown in serial iohandlers 2024-06-01 23:21:43 +02:00
Reinder Feenstra
ff7e2971fc board: rail sensor can now be triggered by clicking (in simulation mode) 2024-06-01 00:45:25 +02:00
Reinder Feenstra
90b8e8fc9a Merge remote-tracking branch 'origin/master' into 120-add-dcc-ex-over-tcp-support 2024-05-27 22:49:22 +02:00
Reinder Feenstra
0d409dfa23 fix: output map addesses min/max wasn't set on interface assignment
Caused address to become one due to Qt's spinbox, see #112
2024-05-22 20:28:10 +02:00
Reinder Feenstra
f1287a679b output keyboard: re-implemented output used indication
Closes #130
Got lost in #95
2024-05-22 00:01:45 +02:00
Filippo Gentile
62a66db1c1 server: Z21 LAN_X_EXT_ACCESSORY_INFO use db2 for logging
Same as already in use in other message
2024-05-20 17:04:45 +02:00
Filippo Gentile
d11c40a30f server: Z21 add LanXExtAccessoryInfo message
- Support querying and obtaining DCCExt accessory status
2024-05-20 14:48:42 +02:00
Reinder Feenstra
09c86cb1cc
Merge pull request #126 from gfgit/fix_z21_turnout_info
server: Z21 fix LanXTurnoutInfo member order
2024-05-20 08:35:13 +02:00
Filippo Gentile
8c5b82db83 server: Z21 fix LanXTurnoutInfo member order
Most significant address byte is first (DB0)
2024-05-20 01:29:45 +02:00
Reinder Feenstra
445120fcbf
Merge pull request #122 from gfgit/work/gfgit/more_span_usage
More tcb::span usage for Attributes::addValues()
2024-05-10 19:16:26 +02:00
Filippo Gentile
67d388fb4f More tcb::span usage for Attributes::addValues()
- More could be done for OutputMap
2024-05-10 12:20:29 +02:00
Reinder Feenstra
af3b491c32 switch output map now lists off/on instead of false/true 2024-05-09 23:33:41 +02:00
Reinder Feenstra
cdbd8a637c OutputMapBase: removed unused m_keys 2024-05-09 16:16:31 +02:00
Filippo Gentile
ee823a4227 server: Z21 Messages add missing ATTRIBUTE_PACKED 2024-05-07 17:19:00 +02:00
Reinder Feenstra
49ff1cb553 board: added switch tile 2024-05-05 18:28:43 +02:00
Reinder Feenstra
d1d425da88 dccex: fix: missing updateVisible(), got lost in the merge
see #120
2024-04-30 22:58:13 +02:00
Reinder Feenstra
1b1f663756 dccex: hostname default value is now empty
see #120
2024-04-29 23:35:19 +02:00
Reinder Feenstra
acfc28bc89 dccex: fix: crash caused by failing tcp connect
caused by unhandled exception
see #120
2024-04-29 23:34:25 +02:00
Reinder Feenstra
576cdc376f Integrated DCC-EX over TCP support received from @cyrilpawelko
Some changes where required mainly due to DCCPlusPlus -> DCCEX rename.
see #120
2024-04-29 23:17:56 +02:00
Reinder Feenstra
bb2655708a fix: nx button didn't find block if there were bridge(s) in between
see #115
2024-04-27 00:29:40 +02:00
Reinder Feenstra
9560f6519e lua: added label tile support 2024-04-25 23:34:42 +02:00
Reinder Feenstra
efa38db3f7 board: added self to onPressed event 2024-04-25 23:26:08 +02:00
Reinder Feenstra
25c1f8ee0e Lua: added Color and TextAlign enums 2024-04-25 23:24:13 +02:00
Reinder Feenstra
f8c4b8549d lua: added support for setting enum properties 2024-04-25 23:23:29 +02:00
Reinder Feenstra
c18a64fd6f fix: invalid stack index in Object newindex metamethod 2024-04-25 23:23:18 +02:00
Reinder Feenstra
08f9a40039 board: added label tile 2024-04-25 00:14:31 +02:00
Reinder Feenstra
7b61840a35 fix: missing includes for Release build 2024-04-22 00:19:24 +02:00
Reinder Feenstra
af41429e6f test: added test for testing bridge path reservation 2024-04-21 23:28:50 +02:00
Reinder Feenstra
5fbea7514e block: added method to set block state free if state is unknown 2024-04-21 23:27:15 +02:00
Reinder Feenstra
869dbfeb66 fix: TrainBlockStatus weren't poperly freeed 2024-04-21 23:26:05 +02:00
Reinder Feenstra
81ef653acd output map: added some default mappings for turnout/signals
see #95 and #112
2024-04-18 22:45:16 +02:00
Filippo Gentile
0e74ae39fb server: Z21 SimulationIOHandler add basic turnout simulation 2024-04-16 16:51:27 +02:00
Filippo Gentile
6b7566dae2 server: Z21 ClientKernel handle LanXTurnoutInfo 2024-04-16 16:33:21 +02:00
Filippo Gentile
aff850f049 server: Z21 added LanXTurnoutInfo and fixes
- Fix Z21 turnout address starting from zero
- Uniform address variable names for turnout messages
- Make more functions inline
2024-04-16 16:30:34 +02:00
Reinder Feenstra
1269724eb5 test: added delete inactive train 2024-04-14 10:42:38 +02:00
Reinder Feenstra
a076765243 fix: rail vehicle delete didn't remove it from train 2024-04-14 00:09:29 +02:00
Reinder Feenstra
6c07c6700b test: added delete rail vehicle in inactive train 2024-04-13 23:14:01 +02:00
Reinder Feenstra
0838aab817 added preset stuff for Uhlenbroch Intellibox II 2024-04-13 08:49:41 +02:00
Reinder Feenstra
558dd7e445 loconet: added Uhlenbrock Intellibox IR and Basic 2024-04-12 23:42:10 +02:00
Reinder Feenstra
fcccab334f Renamed DCC++ to DCC-EX, as only DCC-EX is and will be supported. 2024-04-09 00:26:04 +02:00
Reinder Feenstra
48446e0e07 fix: conversion from json to enum was broken
saved by the tests :)
2024-04-08 00:02:05 +02:00
Reinder Feenstra
5b537a86a5 added support for setting enum properties by string 2024-04-07 22:22:35 +02:00