Reinder Feenstra
80027e689f
luadoc: added persistent variable documentation
2024-10-13 11:36:21 +02:00
Reinder Feenstra
a720b794bc
train: blocks now script readable
2024-10-12 10:52:20 +02:00
Reinder Feenstra
515c96ddd2
lua: added persistent variable (pv) support
...
this enables saving state between script start/stop and world save/load
2024-10-06 23:08:14 +02:00
Reinder Feenstra
6aeeeafca4
luadoc: removed debug print()
2024-09-24 22:11:51 +02:00
Reinder Feenstra
0ebc1e7090
luadoc: fix property/method regex, didn't work for initializers used in (Object)VectorProperty constructors.
2024-09-24 22:11:42 +02:00
Reinder Feenstra
e6da53c55e
manual: added start server/client instructions for Linux, see #158
2024-08-06 09:28:57 +02:00
Reinder Feenstra
0376ca986f
luadoc: improved turnout tile documentation
2024-07-06 09:27:23 +02:00
Reinder Feenstra
c3b4fb49a6
luadoc: added support for markdown links
2024-07-06 09:26:46 +02:00
Reinder Feenstra
8456e49021
luadoc: improved documentation
2024-06-30 00:27:51 +02:00
Reinder Feenstra
eb23de2a3d
luadoc: improved documentation
2024-06-28 23:29:02 +02:00
Reinder Feenstra
7f7ea39105
train: added on_block_assigned and on_block_removed events.
2024-06-07 22:39:25 +02:00
Reinder Feenstra
854613405a
fix: added missing luadoc
2024-06-07 22:14:28 +02:00
Reinder Feenstra
73151f8082
train: added on_block_reserved event.
2024-06-07 18:21:08 +02:00
Reinder Feenstra
6448ce1251
luadoc: added see also section to enum/set with links where they are used
2024-06-04 23:34:07 +02:00
Reinder Feenstra
f97b0f70e7
luadoc: added documention for train on block entered/left events
2024-06-04 23:34: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
2e5784412e
luadoc: added menu to left sidebar
2024-06-02 12:22:11 +02:00
Reinder Feenstra
49ff1cb553
board: added switch tile
2024-05-05 18:28:43 +02:00
Reinder Feenstra
f321f46088
luadoc: fix: filter out enum key without lua_name
2024-04-25 23:35:03 +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
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
4da086446d
updated lua example for output refactor, see #95
2024-03-14 23:27:48 +01:00
Reinder Feenstra
5f0d78ae14
OutputController: Added support for ECoS object, see #95
2024-03-13 23:45:23 +01:00
Reinder Feenstra
a3a3e702e1
lua: added interface.output_channels
2024-02-26 00:24:30 +01:00
Reinder Feenstra
55db4eb7bd
Merge remote-tracking branch 'origin/master' into 95-refactor-outputcontroller-output
2024-02-19 15:58:03 +01:00
Reinder Feenstra
f828066cf2
WIP output system refactor (very big commit...), see #95 and #21
...
Summary of the changes:
- Output channel is now an enum
- Support for different output types: single/pair/aspect
- Outputs are no longer created on the interface and then assigned to a turnout/signal, instead a interface+channel+address is selected for a turnout/signal. Up to eight address can be used.
- Removed some network commands, can now be handled using the generic property/method system.
- Added support for DCCext (RCN-213) for LocoNet, DCC-EX and Z21.
TODO:
- Test/fix MarklinCAN/ECoS.
- Test/fix load old world files.
2024-02-12 23:34:16 +01:00
Reinder Feenstra
05d44568d7
luadoc: added interface category to object page
2024-01-19 23:14:15 +01:00
Reinder Feenstra
f26513ca55
luadoc: added DCCext signal example
2024-01-04 00:36:51 +01:00
Reinder Feenstra
298e320233
luadoc: improved lua code highlight
2024-01-04 00:36:19 +01:00
Reinder Feenstra
9594ad16f4
lua: made loconet imm_packet repeat optional
2024-01-04 00:35:16 +01:00
Reinder Feenstra
f383ed1a5d
manual/luadoc: added dark theme support
...
using media query: prefers-color-scheme = dark
2024-01-01 23:51:51 +01:00
Reinder Feenstra
61c65f3a48
signal: added onAspectChanged event
2023-12-29 22:39:42 +01:00
Reinder Feenstra
e36e1cb81c
luadoc: fix: class constants with a number weren't detected
2023-12-29 22:35:16 +01:00
Reinder Feenstra
74deba6712
lua: added nx and push button classes
2023-12-29 22:23:07 +01:00
Reinder Feenstra
54da7e022e
luadoc: index-az: gray out letters without items
2023-12-29 22:18:49 +01:00
Reinder Feenstra
baa3e3a88a
luadoc: index-az: ignore missing terms
2023-12-29 22:14:30 +01:00
Reinder Feenstra
e5093e9931
luadoc: fix: support Event<>
2023-12-29 22:12:31 +01:00
Reinder Feenstra
efc89052a5
luadoc: added version/lua badges
2023-12-29 10:24:00 +01:00
Reinder Feenstra
81c7cde7dd
block: added on_train_entered and on_train_left events
2023-12-28 23:23:07 +01:00
Reinder Feenstra
8ec71e496d
adding path reservation #WIP
...
see #14
2023-11-01 22:19:04 +01:00
Reinder Feenstra
30f2d458e5
lua doc: try fix for CI/CD
2023-10-02 23:52:12 +02:00
Reinder Feenstra
68aa489fa3
lua doc: try fix for CI/CD
2023-10-02 23:49:04 +02:00
Reinder Feenstra
189c7b9d60
lua doc: try fix for CI/CD
2023-10-02 23:28:24 +02:00
Reinder Feenstra
5eaa45b3e0
lua: class: added INTERFACE for consistency
2023-09-25 22:52:40 +02:00
Reinder Feenstra
324435ed49
lua: added missing class id's for identification (list)
2023-09-25 22:48:45 +02:00
Reinder Feenstra
38b76e93c8
lua manual: enabled keyword highlight for object examples
2023-09-24 20:19:58 +02:00
Reinder Feenstra
ce7d6af72b
manual lua: added missing property
2023-09-24 18:36:29 +02:00
Reinder Feenstra
eb63012511
Object events more consistent now
...
Last param is now always the object emitting the event (except for singleton's like World and Clock)
Lua handler no longer adds the emitting object param (is in the event now)
2023-09-24 11:05:35 +02:00