1233 Commits

Autor SHA1 Nachricht Datum
Reinder Feenstra
823442dcd7 statusbar: added interface status icons 2023-04-18 23:28:49 +02:00
Reinder Feenstra
4b26080bc9 theme: made getIconFile public so SVG's can be used directly 2023-04-18 23:24:23 +02:00
Reinder Feenstra
07e71677ca interface: added status object (for display in client status bar) 2023-04-18 23:23:32 +02:00
Reinder Feenstra
62c5388812 network: added ObjectGetObjectVectorPropertyObject command 2023-04-18 23:15:33 +02:00
Reinder Feenstra
288c9c32aa loconet: interface now goes offline and in error state on communication error 2023-04-16 00:29:05 +02:00
Reinder Feenstra
206f8a8288 interface: make sure interface is offline before destroying it
see #52
2023-04-13 23:37:20 +02:00
Reinder Feenstra
9301461ec2 CMake: Added compiler flags for development
- Enable ASAN and UBSAN
- Use LLVM ld (faster than standard linker)
Uncoment them to enable
2023-04-13 00:12:30 +02:00
Reinder Feenstra
a744c560b4 block: added train assigned/remove events 2023-04-11 22:28:36 +02:00
Reinder Feenstra
ac4dcedfce block: assign/remove train now simulates block occupy 2023-04-10 23:23:45 +02:00
Reinder Feenstra
49be24ab9f Input: added simulate action
added SetFalse, SetTrue, Toggle action
simulation will require these actions
2023-04-10 23:23:45 +02:00
Reinder Feenstra
4c111f85cd
Merge pull request #49 from gfgit/work/add_z21_types
Add more Z21 types
2023-04-10 16:17:20 +02:00
Filippo Gentile
116231e453 server: Z21 map short circuit to power off
- Add support for LAN_X_BC_TRACK_SHORT_CIRCUIT message
2023-04-10 10:30:25 +02:00
Filippo Gentile
05da1cf2fc server: recognize more Z21 types
Taken from Z21 LAN Protocol Specification 1.12 en
2023-04-10 00:26:05 +02:00
Reinder Feenstra
dae4eea927 corrected method names: add->create, remove->delete
see 63a5b8c
2023-04-08 09:42:14 +02:00
Reinder Feenstra
eb6aefab09 traintastic diy: added throttle subscribe support 2023-04-02 22:52:48 +02:00
Reinder Feenstra
d8d7ce95c1 manual: fix: removed invalid token in throttle set speed message 2023-04-02 00:14:51 +02:00
Reinder Feenstra
64736b3d4c fix: combobox could send change event twice causing the value to be zero 2023-04-01 10:12:49 +02:00
Reinder Feenstra
78dd66b096 train: fix: isStopped wasn't alway true when stopped 2023-03-30 23:36:20 +02:00
Reinder Feenstra
904c3f9891 train: fix: added missing registration of isStopped 2023-03-30 23:35:20 +02:00
Reinder Feenstra
94d21f607b fix: more missing includes 2023-03-30 19:35:11 +02:00
Reinder Feenstra
f554a2c9d1 fix: added missing include 2023-03-30 18:59:41 +02:00
Reinder Feenstra
f61e2c397e fixed compilation of tests 2023-03-30 15:42:39 +02:00
Reinder Feenstra
246b27c434 moved ObjectProperty<> implementation to seperate file
world.hpp now uses forward decl. for many classes, this reduces built time!
see #43
2023-03-30 15:09:11 +02:00
Reinder Feenstra
a52104f627 board: added block popupmenu with train actions 2023-03-30 00:10:49 +02:00
Reinder Feenstra
811c416ddc methodaction: added constructor overload 2023-03-30 00:10:39 +02:00
Reinder Feenstra
13fa109c17 block: added trains property and assign/remove train method 2023-03-30 00:10:26 +02:00
Reinder Feenstra
ffcc9bd877 add support for StoreState save/load object vector properties 2023-03-29 23:49:54 +02:00
Reinder Feenstra
f3d7bee1ef objectvectorproperty: added clearInternal() 2023-03-28 23:15:30 +02:00
Reinder Feenstra
43a423e972 added Reserved to BlockState enum 2023-03-27 22:43:59 +02:00
Reinder Feenstra
cf27823cc9 objectproperty: added setValueInternal(std::nullptr_t) overload
saves constructing an empty std::shared_ptr
2023-03-27 22:39:10 +02:00
Reinder Feenstra
d4e99e0d51 missing in d53a454ef70ab7c89cc06a1361e93e541e9f86fb 2023-03-26 09:33:12 +02:00
Reinder Feenstra
d53a454ef7 train: added stop and emergency stop 2023-03-26 00:31:38 +01:00
Reinder Feenstra
6c67be1764 train: added isStopped property 2023-03-25 23:46:00 +01:00
Reinder Feenstra
15a5286ca2
Merge pull request #41 from gfgit/work/fix_train_vehicle_list
Fix train vehicle list
2023-03-25 17:52:43 +01:00
Filippo Gentile
89b37d88c8 Train: correctly disable Name property when moving 2023-03-25 13:49:02 +01:00
Filippo Gentile
0b70278904 ObjectListWidget: override default move action names 2023-03-25 13:13:57 +01:00
Filippo Gentile
fa48b06871 ObjectListWidget: pass context object to connect lambda 2023-03-25 13:10:07 +01:00
Filippo Gentile
e304e2162f ObjectListWidget: convert move Up/Down to MethodAction 2023-03-25 13:09:54 +01:00
Reinder Feenstra
edd4cdad26 trayicon: added Advanced submenu with Open data directory option 2023-03-22 23:31:06 +01:00
Reinder Feenstra
f694566f57 trayicon: moved settings to submenu 2023-03-22 23:30:14 +01:00
Reinder Feenstra
ae7508f611
mingw: fix for missing _wdupenv_s 2023-03-22 11:23:57 +01:00
Reinder Feenstra
e42e27ba73 windows: fixed may be unsafe warning for getenv() 2023-03-21 23:35:32 +01:00
Reinder Feenstra
1a04b28971 rail vehicle: removed train property
todo: add a train list, a rail vehicle may be in more than one train
2023-03-21 23:06:24 +01:00
Reinder Feenstra
5c8a969a6b train: added smooth acceleration/braking 2023-03-20 23:08:21 +01:00
Reinder Feenstra
77851bbbc3 rail vehicle: added power property
for future physics simulation
2023-03-20 23:01:59 +01:00
Reinder Feenstra
2c39a304f3 speedometer: added target speed indicator 2023-03-20 22:57:35 +01:00
Reinder Feenstra
c39b5ad74b loconet: only send speed if changed (to reduce traffic) 2023-03-20 21:36:23 +01:00
Reinder Feenstra
e172dcd5dd throttle: added support for train speed/direction control 2023-03-19 10:07:29 +01:00
Reinder Feenstra
0f99f69646 added throttle action to train list 2023-03-19 10:03:54 +01:00
Reinder Feenstra
411997a706 fix: objectlist move method enabled wasn't monitored 2023-03-19 10:03:05 +01:00