Reinder Feenstra
|
224922587b
|
lua: added log messages for script start/stop
|
2022-03-26 00:33:29 +01:00 |
|
Reinder Feenstra
|
bd22141c85
|
lua: method: implmented parameter support (except object)
|
2022-03-23 00:21:12 +01:00 |
|
Reinder Feenstra
|
94699b8a50
|
lua: set: added generic check/test function using typename
|
2022-03-23 00:15:51 +01:00 |
|
Reinder Feenstra
|
66fcce2fe0
|
lua: enum: added generic check/test function using typename
storage type is now always lua_Integer instead of the enum's size
|
2022-03-23 00:08:35 +01:00 |
|
Reinder Feenstra
|
46ff721e18
|
lua: added error logging for error during event handler execution
|
2022-03-23 00:06:12 +01:00 |
|
Reinder Feenstra
|
f159668406
|
Added new typeinfo for method and event
|
2022-03-22 23:39:59 +01:00 |
|
Reinder Feenstra
|
6bb930b2f2
|
lua: added DirectionControlState enum
|
2022-03-22 23:28:22 +01:00 |
|
Reinder Feenstra
|
6104827890
|
fix: lua script wasn't started when state was running on wolrd load
|
2022-03-22 23:26:00 +01:00 |
|
Reinder Feenstra
|
c097b579f5
|
moved decoder list files to list subdir
|
2022-03-05 23:49:34 +01:00 |
|
Reinder Feenstra
|
5ca6c73892
|
replaced world weak_ptr by reference
a world must always outlive its objects
|
2022-01-17 23:31:04 +01:00 |
|
Reinder Feenstra
|
ab5e6baf93
|
changed interface item name from std::string to std::string_view
|
2022-01-15 23:50:42 +01:00 |
|
Reinder Feenstra
|
c600a34489
|
lua: main reason is object dead, so report that
|
2022-01-09 10:05:33 +01:00 |
|
Reinder Feenstra
|
9fe67a6c37
|
lua: added pairs() support to readonly table
|
2022-01-09 00:07:49 +01:00 |
|
Reinder Feenstra
|
d9c63fd3fa
|
fixed diagnostic/readabilty issues reported by clang-tidy #WIP
|
2022-01-04 23:32:36 +01:00 |
|
Reinder Feenstra
|
34ccc228e3
|
fixed many diagnostic/readabilty issues reported by clang-tidy #WIP
|
2022-01-04 00:09:38 +01:00 |
|
Reinder Feenstra
|
11d4ebcd85
|
Merge branch 'master' into interface-controller
|
2022-01-03 00:59:50 +01:00 |
|
Reinder Feenstra
|
d62146bf4a
|
Merge branch 'master' of github.com:traintastic/traintastic
|
2021-11-27 11:47:27 +01:00 |
|
Reinder Feenstra
|
546c87e94d
|
lua: added support for object lists
|
2021-11-27 11:05:04 +01:00 |
|
Reinder Feenstra
|
393e6585d9
|
fix: added missing include
|
2021-11-24 09:51:04 +01:00 |
|
Reinder Feenstra
|
63eec6d461
|
lua: added event support
|
2021-11-24 00:07:36 +01:00 |
|
Reinder Feenstra
|
a072bdef76
|
test: lua is_instance -> get_class, fixed implementation issues
|
2021-11-23 23:50:54 +01:00 |
|
Reinder Feenstra
|
f1c2b5fa55
|
lua: added property script writable check
|
2021-11-20 00:28:11 +01:00 |
|
Reinder Feenstra
|
f7f289e1d6
|
lua: added extended type() function and replaced in_instance() by get_class()
|
2021-11-20 00:27:00 +01:00 |
|
Reinder Feenstra
|
f64ec12961
|
lua: added math, string and table library to sandbox
except string.dump()
|
2021-11-14 01:12:39 +01:00 |
|
Reinder Feenstra
|
906ff82cd8
|
lua: made built-in globals read only
|
2021-11-13 00:39:45 +01:00 |
|
Reinder Feenstra
|
b6ec6cc8bd
|
lua: added LUA_VERSION global
|
2021-11-13 00:35:56 +01:00 |
|
Reinder Feenstra
|
947e9bb1aa
|
lua: fixed VERSION constants
|
2021-11-10 23:48:30 +01:00 |
|
Reinder Feenstra
|
803ca40ec6
|
added method flags to control method access within the Lua scripting engine
|
2021-11-10 23:19:49 +01:00 |
|
Reinder Feenstra
|
274537038a
|
lua: added support for reading set properties
changed lua set storage from T to lua_Integer
|
2021-11-10 22:42:18 +01:00 |
|
Reinder Feenstra
|
f0eac15247
|
added property flags to control property access within the Lua scripting engine
|
2021-11-10 22:03:03 +01:00 |
|
Reinder Feenstra
|
0546ef1c30
|
lua: added WorldScale enum to sandbox
|
2021-11-10 21:58:09 +01:00 |
|
Reinder Feenstra
|
2dc42015dc
|
lua: added support for reading enum properties
|
2021-11-10 21:55:26 +01:00 |
|
Reinder Feenstra
|
956c8ad168
|
Replaced command station and controller by interface with supporting controllers
|
2021-10-17 16:10:56 +02:00 |
|
Reinder Feenstra
|
b15cc45286
|
lua: added support for testing object type
|
2021-09-21 23:49:03 +02:00 |
|
Reinder Feenstra
|
8dfd87a738
|
scriptlist: added remove method
|
2021-09-16 23:23:00 +02:00 |
|
Reinder Feenstra
|
636d73dc03
|
fix: script was added twice to the list
|
2021-09-15 00:09:56 +02:00 |
|
Reinder Feenstra
|
b30db09116
|
server: fixed many warnings
|
2021-09-11 23:49:38 +02:00 |
|
Reinder Feenstra
|
6420805888
|
Many translation improvments and cleanup
Added option to log missing strings to client
|
2021-09-10 23:53:59 +02:00 |
|
Reinder Feenstra
|
931389564d
|
removed InterfaceItem::setAttributeEnabled()
|
2021-09-05 01:25:54 +02:00 |
|
Reinder Feenstra
|
5278edb482
|
lua: improved Lua::push and added test
|
2021-08-23 00:04:46 +02:00 |
|
Reinder Feenstra
|
b18c2269a6
|
added new log system:
- added message codes
- added support for translation
- added support for file logging
|
2021-08-03 23:56:36 +02:00 |
|
Reinder Feenstra
|
add6de1794
|
Use DisplayName namespace for table column name
|
2021-06-29 22:11:55 +02:00 |
|
Reinder Feenstra
|
5694305ab8
|
use DisplayName namespace everywhere for setting displayname attribute
|
2021-06-29 21:04:52 +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
|
b39b6ad162
|
Lua script code now save to seperate file
|
2021-05-14 11:07:34 +02:00 |
|
Reinder Feenstra
|
b6db974745
|
lua: added set support to check<> and to<>
|
2021-04-23 21:03:22 +02:00 |
|
Reinder Feenstra
|
d9b121948f
|
Lua: fix: ReadOnlyTable, existing keys could be written
|
2021-04-22 23:28:41 +02:00 |
|
Reinder Feenstra
|
56926a375a
|
Lua::ReadOnlyTable added assert to check if type is registered
|
2021-04-20 23:07:51 +02:00 |
|
Reinder Feenstra
|
ef6d5ff9fd
|
Lua: moved all error's to error.hpp
for easy reuse and maintenance
|
2021-04-20 22:59:51 +02:00 |
|
Reinder Feenstra
|
5b4ab8f30d
|
Added test and support for Lua::check<> enum's
|
2021-04-20 22:24:26 +02:00 |
|