| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
| |
setfenv every function in F.
|
|
|
|
| |
Known to cause a segfault in engine sometimes.
|
|
|
|
| |
The timer was loaded, but not saved, leading to it being counted from 0 upwards every restart, which of course broke interrupts.
|
|
|
|
|
|
|
| |
- add translations of all index values to invert_train
- fix on_leave_node callbacks not being called when train reverses
- fix callbacks on train creation and destruction
- Fix warning when saving ATC rail info
|
|
|
|
|
|
|
|
| |
- Add some more stuff to API for LuaATC rails
- Warn on strange events even if debug info is disabled
- save atlatc on shutdown too
- fix detector rails in unloaded chunks
- do not fail silently in simple ATC rails
|
|
|
|
|
|
|
|
| |
coordinates
The precision of integers was not sufficient for saving pos node hashes in most cases, leading to strange bugs.
This fixes broken ATC rails, broken LuaAutomation stuff and trackdb on Windows.
Probably also fixes trains randomly stopping.
|
| |
|
| |
|
|
|
|
| |
code handling and env management
|
|
Implements the base code for LuaAutomation, an ATC rail and a punch-operated 'operation panel' as well as interface for passive components.
Changes in advtrains code where neccessary.
Supported passive components are light signals, switches and mesecon switches
|