973 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
cf91e27820 z21: limit decoder address range, DCC long only >= 128
see #72
2023-07-01 00:10:31 +02:00
Reinder Feenstra
7ff632f18b loconet: limit decoder address range, long only >= 128
see #72
2023-06-30 20:32:01 +02:00
Reinder Feenstra
9e984e3544 loconet: only allow 14, 28, 128 DCC speedsteps
see #72
2023-06-30 20:25:11 +02:00
Reinder Feenstra
44055aae64 fix: iterator can not be used as pointer 2023-06-30 20:10:59 +02:00
Reinder Feenstra
d96cb9277b fixes for clang-tidy reported issues 2023-06-30 08:54:54 +02:00
Reinder Feenstra
0883254190 xpressnet: implemented decoder address range
short: 0-99
long: 100-9999
see #72
2023-06-29 23:53:09 +02:00
Reinder Feenstra
3366e3e369 xpressnet: only send SpeedAndDirectionInstruction for known speedsteps
see #72
2023-06-29 23:22:56 +02:00
Reinder Feenstra
80aa475c46 dcc++: only allow 28/128 speedsteps as set in interface
see #72
2023-06-29 23:18:43 +02:00
Reinder Feenstra
adb8eb21e6 ecos: only allow 14, 28, 128 DCC speedsteps
see #72
2023-06-27 23:27:27 +02:00
Reinder Feenstra
1c04c79f5a Limit decoder speed steps by selected protocol
see #72
2023-06-27 23:18:53 +02:00
Reinder Feenstra
11d1481fd5 DCC++: limit decoder address range, long only >= 128
see #72
2023-06-27 00:41:41 +02:00
Reinder Feenstra
52bf436769 Limit decoder address range by selected protocol
see #72
2023-06-27 00:39:04 +02:00
Reinder Feenstra
27246b8f0b fix: unused param 2023-06-26 00:16:46 +02:00
Reinder Feenstra
c71d72442c DecoderProtocol: split DCC in DCCShort and DCCLong, to get rid of longAddress property
see #72
2023-06-25 23:35:07 +02:00
Reinder Feenstra
e28a9a5d96 DecoderProtocol: removed Auto/Custom, added None
see #72
2023-06-24 23:41:58 +02:00
Reinder Feenstra
02c674e061 property: enum type now checks if value is in values attribute 2023-06-23 23:12:30 +02:00
Reinder Feenstra
ab81ad73b3 #72 Decoder.protocol is now limited by DecoderController 2023-06-23 00:19:35 +02:00
Reinder Feenstra
5d01de9b32 Replace ArrayAttribute by more versatile SpanAttribute 2023-06-21 20:07:15 +02:00
Reinder Feenstra
2e37cf2632 z21: set default hostname to empty string 2023-06-21 00:06:15 +02:00
Reinder Feenstra
0031f19c3d loconet: set default hostname to empty string 2023-06-21 00:05:44 +02:00
Reinder Feenstra
4878765aa7 xpressnet: set default hostname to empty string 2023-06-21 00:04:31 +02:00
Reinder Feenstra
623e47ad7e loconet: added asserts to check for invalid use 2023-06-18 23:04:43 +02:00
Filippo Gentile
c9eb6f9788 server: add method.tpp include to trayicon.cpp 2023-06-18 13:23:36 +02:00
Filippo Gentile
0c111c6763 server: further fix compilation after method.hpp split
Co-authored-by: Reinder Feenstra <reinderfeenstra@gmail.com>
2023-06-18 13:23:35 +02:00
Filippo Gentile
65aa0f9f30 test: fix server tests
Compilation was broken by method.hpp split
2023-06-18 13:23:34 +02:00
Filippo Gentile
7b411163f7 method.tpp fix copyright 2023-06-18 13:23:34 +02:00
Filippo Gentile
7a8be05710 server: forward declare OutputController and OutputKeyboard 2023-06-18 13:23:32 +02:00
Filippo Gentile
5756598181 server: forward declare InputMonitor and InputController
- Moved SimulateInputAction to new file
  simulateinputaction.hpp
- Use CREATE_DEF for Input class
2023-06-18 13:23:32 +02:00
Filippo Gentile
4c58c9d829 server: split method.hpp implementation
- Added method.tpp file
- Include it where needed
- Use CREATE_DEF when needed
2023-06-18 13:23:31 +02:00
Filippo Gentile
1f58e8685d server: LinkRailTileList unused method.hpp include 2023-06-18 13:23:31 +02:00
Filippo Gentile
81efbefd06 server: reorganize World includes
- Remove unused includes
- Forward declare ControllerList and include it where needed
2023-06-18 13:23:30 +02:00
Filippo Gentile
6ee4c67e02 server: forward declare Board 2023-06-18 13:23:29 +02:00
Filippo Gentile
03293e414e server: fix string_view not included in ECoS 2023-06-18 13:23:29 +02:00
Filippo Gentile
436e9dbd93 server: forward declare Interface Kernel and Setting
Some functions had to be moved to .cpp files but they hardly would be
inlined because they are virtual.
2023-06-18 13:23:28 +02:00
Filippo Gentile
1c911efcad server: forward declade Decoder class inside RailVehicle 2023-06-18 13:23:28 +02:00
Filippo Gentile
86f888d5d0 server: forward declare TrainBlockStatus
- Fix unneded include added on commit b2d1e27914
2023-06-18 13:23:27 +02:00
Filippo Gentile
f6b071ff1a server: forward TrainVehicleList class 2023-06-18 13:23:26 +02:00
Filippo Gentile
2d536ee85d server: forward declare Train class 2023-06-18 13:23:26 +02:00
Filippo Gentile
e17332a201 decoderchangeflags.hpp: add <type_traits> include 2023-06-18 13:23:25 +02:00
Filippo Gentile
781f5b20e3 ObjectVectorProperty: add reverseInternal()
New function which reverses the items order
2023-06-18 13:23:25 +02:00
Filippo Gentile
9945f23155 ObjectList: use static_assert 2023-06-18 13:23:24 +02:00
Reinder Feenstra
c0ec3c7731 loconet: added support for sending messages from script 2023-06-14 21:31:42 +02:00
memen45
61d2fc7491
fix magicData for LNCVWrite command (was PROG END 0x40, should be 0x00) 2023-06-13 09:54:48 +02:00
Reinder Feenstra
64272c8b06 lua status: fix: running count was not correct after load 2023-06-10 00:29:41 +02:00
Reinder Feenstra
b609d84815 lua: added object argument support to methods 2023-06-10 00:29:41 +02:00
Reinder Feenstra
2571542067 lua: added vector property support 2023-06-10 00:29:40 +02:00
Reinder Feenstra
a032935294 toolbar: added Lua status widget
only visible if scriptlist isn't empty
2023-06-08 00:23:43 +02:00
Reinder Feenstra
0d01d04112 lua: interface name, online, status available (readonly) 2023-06-06 00:00:37 +02:00
Reinder Feenstra
7b7e27df66 loconet simulation: added LongAck for ImmPacket 2023-06-05 19:28:20 +02:00
Reinder Feenstra
90f9fb9946 missing in c6913206e5926f3ccd9222347ce551a9c8fbd2d3 2023-06-05 08:16:40 +02:00