summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-02-28Only get on by walking in when there's a platform, improve get off handlingorwell96
2017-02-28Add passive component namingorwell96
2017-02-28Add ceiling-mounted signalorwell96
This is the wall signal as ceiling variant. Because the trackdb can only save 4 rotation values, we need a ceiling version of this.
2017-02-21Fix collision issuesorwell96
2017-02-21Also check positions on high platforms at entering doorsorwell96
2017-02-21Only place rails on solid nodesorwell96
2017-02-20Fix manual operation of mesecon switchesorwell96
2017-02-20Fix crash when ATC rail exists but no command is saved.orwell96
Crash was caused by a concatenation for a debug message. atprint can handle nil if passed as separate parameter Setting the train's atc command to nil just means that there is no command.
2017-02-17don't pass unexistant variable to train_step_b (fixes #46)orwell96
2017-02-15use mesecons_switch as correct dependency for luaautomationorwell96
2017-02-15fix crash on seatpc nilorwell96
2017-02-15fix #34 - end_index not set when step_a returned in phase 2orwell96
2017-02-09Proper implementation for getting on by walking into train, rework damage ↵orwell96
and player controls in train, fix death and join bugs, do not spawn bones on death
2017-02-07Merge PR from gpcf (Get on by walking in)orwell96
2017-02-07Use identical proxy environment with swapped metatable to not having to ↵orwell96
setfenv every function in F.
2017-02-05Check if node is actually loaded before querying get_meta()orwell96
Known to cause a segfault in engine sometimes.
2017-02-05Do not invalidate paths unnecessarilyorwell96
Recomputing paths needs time and computing power, so do this only when really necessary
2017-02-05Fix "lock couples" checkbox on wagon properties formorwell96
2017-02-05Fix ATC components being randomly ignored by trains.orwell96
Also add warnings to off_track stuff Also pack for release
2017-02-05Merge branch 'master' of https://github.com/orwell96/advtrainsGabriel Pérez-Cerezo
2017-02-05Fix itrainmaporwell96
2017-02-05Fix LuaAtc Interrupt savingorwell96
The timer was loaded, but not saved, leading to it being counted from 0 upwards every restart, which of course broke interrupts.
2017-02-04Even more bugfixesorwell96
- 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
2017-02-04Commit 1.6.2orwell96
- 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
2017-02-03pack for releaseorwell96
2017-02-03fix up stuff in itrainmaporwell96
2017-02-03Revert change to node pos hashes, and rewrite trackdb to use individual ↵orwell96
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.
2017-02-03Add quick position lookup by punching nodesorwell96
2017-02-03add wallmounted light signalorwell96
2017-02-03Fix itrainmap not workingorwell96
2017-02-02Merge PR from mbb: add better textures and craftsorwell96
2017-02-02add better textures and craftsmbblp
2017-02-02Add documentation and pack for releaseorwell96
2017-02-02LuaAutomation: Add interrupt to the ingame API and implement initialization ↵orwell96
code handling and env management
2017-02-02LuaAutomation - Basic component implementationorwell96
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
2017-02-02Fix collision to work with pos node hashesorwell96
2017-02-02Lua automation - initial incomplete codingorwell96
2017-01-31Replace all table indices that were pos_to_string strings with node hashes.orwell96
Lua table string lookup consumes about 10 times more time than numeric indices
2017-01-31Join itrainmap mod into the modpackorwell96
2017-01-31Remove lua_atc from advtrains main mod.orwell96
2017-01-29Limit dtime to prevent trains moving too far in a single steporwell96
and update zip
2017-01-29Add getter calls for raw nodedborwell96
(required for itrainmap mod)
2017-01-29Fix wagon properties not saved on button clickorwell96
2017-01-29Found out why collision box does not fit trainGabriel Pérez-Cerezo
2017-01-29Added getting on and off by walking in and out. Default seat on subway is ↵Gabriel Pérez-Cerezo
now passenger seat.
2017-01-28Fix a crash, update translations and zip fileorwell96
2017-01-28Multiple major changes:orwell96
- implement wagon properties and seat group access check - fix a server warning about unassigned variable - refill advtrains.detector.on_node every step - reorder train step function(s): - fixed bug that some atc rails were not recognized - saving some extra calculations - integrate path prediction directly to step functions and separate it (also see comment directly above train_step_a()) - add couple lock feature (can't couple or discouple from wagon with locked couples) - ...
2017-01-25remove tunnelborerorwell96
better now than too late. use 'digtron' for more realistic functionality.
2017-01-25Document door animation parametersorwell96
2017-01-25Add forced get-on/off to prevent trains being unusable due to closed doors.orwell96
else you would be able to lock yourself out of trains or lock players in trains with no escape.