270 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
d5c281bf58 fix: don't update decoder function value if value is forced by mute/no smoke 2021-06-25 00:35:59 +02:00
Reinder Feenstra
4d2ffc2c0d Added basic block sensor support 2021-06-25 00:32:38 +02:00
Reinder Feenstra
03e8636912 Added DisplayName namespace for display name constants 2021-06-25 00:25:26 +02:00
Reinder Feenstra
152d963158 Added reference overload of getWorld() 2021-06-25 00:24:51 +02:00
Reinder Feenstra
33001d64fe Added support for object vector properties (prepaired for other types) 2021-06-25 00:23:29 +02:00
Reinder Feenstra
2b583411ff added block state property and enum 2021-06-25 00:06:31 +02:00
Reinder Feenstra
2dcd4cfa30 loconet: logged some traffic of LNCV programming 2021-06-19 23:34:08 +02:00
Reinder Feenstra
ff0fdb233e command station: restore speed after power on or run event 2021-06-17 23:41:39 +02:00
Reinder Feenstra
a8381fa06d corrected typo 2021-06-17 23:30:14 +02:00
Reinder Feenstra
fc433273ea sensorrailtile: added name, invert and state property 2021-06-10 00:05:00 +02:00
Reinder Feenstra
f13ffdf54b Added support for response to set property command
Improves handling of text property edits
Moved property related network commands from Connection to Property implementation
2021-06-09 22:40:36 +02:00
Reinder Feenstra
6066b5516d board: tile add/delete only allowed when not running 2021-06-06 23:52:38 +02:00
Reinder Feenstra
aeb1754619 board name now equal to id when created 2021-06-06 23:20:32 +02:00
Reinder Feenstra
8c962ad3ab board: added name proerty to block 2021-06-06 23:19:34 +02:00
Reinder Feenstra
5be8c2717a board: implemented board (re)size 2021-06-05 22:56:58 +02:00
Reinder Feenstra
48882fcf73 fix: loaded() event wasn't send to SubObject's 2021-06-04 00:32:24 +02:00
Reinder Feenstra
b7aa9fdabf fix: don't link with libstdc++fs on macOS 2021-05-29 22:05:28 +02:00
Reinder Feenstra
12f55cc344 fix for macOS 2021-05-29 21:49:05 +02:00
Reinder Feenstra
b39213f2b8 added support for macOS to endian.hpp 2021-05-29 21:43:22 +02:00
Reinder Feenstra
3e76285c4a Added quick implementation of LocoNet TCP binary for DR5000
Basicly a copy of LocoNetSerial with serial port replaced by a socket.
2021-05-28 22:42:37 +02:00
Reinder Feenstra
0e1cbf1dfc Fixed network protocol bug
The client could release an object handle while at the same the
handle was on the wire from the server to the client.
The client then expected a serialized object which the server didn't
send because the handle not yet release by the client at the time it
was sent.
Solution:
The client and server both count how many times an handle is send from
the server to  the client. The client object release only succeeds if the
counters match, to be sure no handles are "on the wire".
2021-05-26 23:02:05 +02:00
Reinder Feenstra
7044f4d00b first added decoder function type is now Light others are On/Off 2021-05-26 21:07:51 +02:00
Reinder Feenstra
1711108ee0 Added decoder function types: AlwaysOff, AlwaysOn 2021-05-26 21:05:26 +02:00
Reinder Feenstra
72514bf554 implemented mute/no smoke support in decoder 2021-05-25 23:58:24 +02:00
Reinder Feenstra
3225e7c6da added type property to decoder function 2021-05-25 23:56:26 +02:00
Reinder Feenstra
f7b087a562 xpressnet inputs are now automatically assigned to the first unused address if there is only one xpressnet bus 2021-05-24 00:44:55 +02:00
Reinder Feenstra
02a58d0f7d loconet inputs are now automatically assigned to the first unused address if there is only one loconet bus 2021-05-24 00:44:06 +02:00
Reinder Feenstra
025153156c input: don't show value property in edit dialog 2021-05-24 00:30:23 +02:00
Reinder Feenstra
aaf8831bcd input: set name to id when created 2021-05-24 00:26:20 +02:00
Reinder Feenstra
29f03eb46e moved some files related to input/output 2021-05-23 23:24:58 +02:00
Reinder Feenstra
2f1ec0ab16 loconet outputs are now automatically assigned to the first unused address if there is only one loconet bus 2021-05-23 11:16:44 +02:00
Reinder Feenstra
0797828064 output: don't show value property in edit dialog 2021-05-23 10:49:23 +02:00
Reinder Feenstra
0d6aec544d Output: set name to id when created 2021-05-23 10:47:10 +02:00
Reinder Feenstra
cfed6ed9f1 bugfix: Client::connectionLost/connectionError must be called in eventloop 2021-05-23 01:58:46 +02:00
Reinder Feenstra
ccaebb6190 fix: implemented Traintastic::clientGone() 2021-05-23 01:58:46 +02:00
Reinder Feenstra
6a525eb94b world: added scaleRatio property 2021-05-22 00:10:12 +02:00
Reinder Feenstra
fb1eed69f6 Added world properties menu item/dialog 2021-05-21 23:11:26 +02:00
Reinder Feenstra
8bac326a2e sorted WorldScaleValues big to small 2021-05-21 23:09:22 +02:00
Reinder Feenstra
55dfc63bac removed no longer used enum TraintasticMode 2021-05-21 08:03:55 +02:00
Reinder Feenstra
8b961ac706 fixed server version log message 2021-05-21 00:27:40 +02:00
Reinder Feenstra
06342baaa0 Added *no smoke* option to world.
(will force disable all smoke generation in future)
2021-05-21 00:20:54 +02:00
Reinder Feenstra
b39b6ad162 Lua script code now save to seperate file 2021-05-14 11:07:34 +02:00
Reinder Feenstra
754acd528a loader/saver: added support for load/save additional files 2021-05-14 11:03:40 +02:00
Reinder Feenstra
1e69644dba Added support for sha1 digest calculation of strings and files 2021-05-14 10:56:44 +02:00
Reinder Feenstra
a218a2b3e4 World object now loaded/saved using generic object load/save 2021-05-13 23:47:58 +02:00
Reinder Feenstra
dd738257b3 Added store attributes to world properties 2021-05-13 23:40:28 +02:00
Reinder Feenstra
eef3fc41e0 Added display name attributes for id/name/notes properties 2021-05-13 22:18:00 +02:00
Reinder Feenstra
23d00df4f1 Added DisplayName attribute, to override the default class_id:property_name 2021-05-13 21:31:14 +02:00
Reinder Feenstra
7e6fe45af9 server now displays a message when running in windows system tray 2021-05-12 21:39:59 +02:00
Reinder Feenstra
5bf2875b6c Added --tray option to run server in windows system tray
The https://github.com/zserge/tray code was very helpful for getting it done.
2021-05-11 23:23:05 +02:00