769 Commits

Autor SHA1 Nachricht Datum
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
c6913206e5 loconet: added support for sending OPC_IMM_PACKET from script 2023-06-05 00:31:21 +02:00
Reinder Feenstra
176db3c764 lua: refactor object wrapper
now seperate object wrappers are per class
2023-06-05 00:26:45 +02:00
Reinder Feenstra
ecc7b009f6 fix: world list wasn't updated on save
thanks @memen45 for reporting
2023-06-02 22:28:37 +02:00
Reinder Feenstra
ea3f935675 loconet: added listen only option (experimental) 2023-06-02 20:29:18 +02:00
Reinder Feenstra
26f3755965 train: added mode property
for now three modes, time will tell if more are needed
2023-05-30 23:10:03 +02:00
Reinder Feenstra
21ef4382c3 change language file format to binary
for multiline string support
and better integration with poeditor.com
2023-05-29 10:51:37 +02:00
Reinder Feenstra
43a8713047 bugfix: updateRegion call missed bounds checking 2023-05-27 23:20:06 +02:00
Reinder Feenstra
80d60abb12 fix: missing include for Release build 2023-05-26 07:28:58 +02:00
Reinder Feenstra
ec5f4bdd4f fix: unused-lambda-capture 2023-05-26 00:11:35 +02:00
Reinder Feenstra
58433074e2 block: added flip train option, to correct train orientation 2023-05-25 23:50:14 +02:00
Reinder Feenstra
b2d1e27914 added TrainBlockStatus, an object to store information about a train in a block 2023-05-25 23:49:01 +02:00
Reinder Feenstra
dfec2a5f23 added StateObject base class
Base class for objects that only store state data
2023-05-25 23:15:19 +02:00
Reinder Feenstra
22881d1643 world: added log message on load and close 2023-05-25 23:05:14 +02:00
Reinder Feenstra
dbb70c2a5d serialport: added support for custom baudrate on Linux (experimental) 2023-05-24 23:26:21 +02:00
Reinder Feenstra
9fcded9cc9 fix: use static storage 2023-05-15 20:52:33 +02:00
Reinder Feenstra
7770fe967c wlanmaus: fix: signals were not disconnected when stopping kernel
see #47
see #58
2023-05-13 23:42:18 +02:00
Reinder Feenstra
c1129a26b7 outputmap: fix: signals were disconnected on object destroy
see #47
see #58
2023-05-13 23:41:27 +02:00
Reinder Feenstra
a980e9e7db wlanmaus: fix: signal was not disconnected when going offline
see #47
see #58
2023-05-13 16:55:45 +02:00
Reinder Feenstra
bfd7dc102b blockinputmapitem: fix: signals were not disconnected on object destroy
see #47
see #58
2023-05-13 16:33:10 +02:00
Reinder Feenstra
b014ed6054 sensorrail: fix: signals were not disconnected on object destroy
see #47
see #58
2023-05-13 13:20:06 +02:00
Reinder Feenstra
95169b4d8f session: fix: signals were not disconnected on object release
see #47
see #58
2023-05-13 09:25:59 +02:00
Reinder Feenstra
d4d71f135e block: on destroy, the block must be removed from the block trains 2023-05-12 00:09:22 +02:00
Reinder Feenstra
519fe44adb
corrected: unsigned int -> uint32_t 2023-05-10 23:24:58 +02:00
Reinder Feenstra
08639fb371 xpressnet: added error handling to iohandlers
on error the interface is now put in error state
2023-05-07 23:08:11 +02:00
Reinder Feenstra
b3dc358e24 fix: typo in filename 2023-05-07 22:51:43 +02:00
Reinder Feenstra
8636b23b04 loconet: added error handling to iohandlers
on error the interface is now put in error state
2023-05-07 22:03:05 +02:00
Reinder Feenstra
735eadcc29 train: added blocks property 2023-05-06 17:21:43 +02:00
Reinder Feenstra
1c0066ab6f objectvectorproperty: moved methods to tpp, to make forward declaration possible 2023-05-06 17:21:43 +02:00