Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Move passive API to the advtrains core | orwell96 | 2018-08-16 |
| | | | | to remove dependency of interlocking on luaautomation | ||
* | Fix various bugs found while testing | orwell96 | 2018-08-13 |
| | |||
* | Teleport player to their train every 2 seconds instead of just on_joinplayer | orwell96 | 2018-08-12 |
| | | | | Solves problem of wagon being unloaded while player sitting inside it because of network lag | ||
* | Fix some incompatibility crash for old worlds | orwell96 | 2018-08-12 |
| | |||
* | onboard computer fix | h-v-smacker | 2018-08-12 |
| | |||
* | Remove redundant digtron.lua file | Gabriel Pérez-Cerezo | 2018-08-12 |
| | |||
* | Make digtron able to build tracks. | Gabriel Pérez-Cerezo | 2018-08-12 |
| | |||
* | Fix ATC rail reversing | orwell96 | 2018-08-12 |
| | |||
* | Signal aspect handling, make default signals compatible, fix signal digging | orwell96 | 2018-08-12 |
| | |||
* | Add routesetting callbacks. | orwell96 | 2018-08-12 |
| | | | | Now, only the signal aspect setting is still missing | ||
* | Implement routesetting | orwell96 | 2018-07-21 |
| | | | | Missing things: signal aspect updating, waiting routes handling, management /info tool | ||
* | Signal assignment and route programming procedure | orwell96 | 2018-07-04 |
| | |||
* | Add off-track train flag, fixes wagon object property reset on reversing | orwell96 | 2018-07-04 |
| | |||
* | Implement trains blocking sections | orwell96 | 2018-06-29 |
| | |||
* | Complete Track Section handling, incl. removing tcb's and marker entities | orwell96 | 2018-06-26 |
| | |||
* | Add track section concept and rework TCB design, implement new linking behavior | orwell96 | 2018-06-21 |
| | |||
* | Add Track Circuit Breaks (TCBs), Database and Track Circuit Setup | orwell96 | 2018-06-20 |
| | | | | Does not get saved yet. | ||
* | Check for inventory existence before serializing, and do not create it again ↵ | orwell96 | 2018-06-19 |
| | | | | if it already exists. | ||
* | Fix Boardcom and Wagon properties not being shown | orwell96 | 2018-06-18 |
| | |||
* | Fix box wagon inventory serialization and make box wagons protected. | orwell96 | 2018-06-14 |
| | |||
* | Correct some documentation | orwell96 | 2018-06-14 |
| | |||
* | Update nodedb.lua | imcasper | 2018-06-14 |
| | | | correct read/write file binary data | ||
* | Fix bugs found while testing | orwell96 | 2018-06-14 |
| | |||
* | add option to show train and wagon id | orwell96 | 2018-06-14 |
| | |||
* | Fix final bugs and to-do's (u.a.save/load system) | orwell96 | 2018-06-14 |
| | |||
* | Fix yaw calculations, track placement orientation and speed up direction ↵ | orwell96 | 2018-06-14 |
| | | | | lookup functions | ||
* | Mainly make collisions and coupling work | orwell96 | 2018-06-14 |
| | | | | Missing: ATC stuff, yaw problems | ||
* | Implement collisions. (does not work yet, still code errors) | orwell96 | 2018-06-14 |
end return {x=coord.x+x, y=coord.y, z=coord.z+z} end function advtrains.dirToCoord(dir) return advtrains.dirCoordSet({x=0, y=0, z=0}, dir) end function advtrains.maxN(list, expectstart) local n=expectstart or 0 while list[n] do n=n+1 end return n-1 end function advtrains.minN(list, expectstart) local n=expectstart or 0 while list[n] do n=n-1 end return n+1 end --vertical_transmit: --[[ rely1, rely2 tell to which height the connections are pointed to. 1 means it will go up the next node ]] function advtrains.conway(midreal, prev, traintype)--in order prev,mid,return local mid=advtrains.round_vector_floor_y(midreal) local drives_on=advtrains.all_traintypes[traintype].drives_on if not advtrains.get_rail_info_at(advtrains.round_vector_floor_y(prev), traintype) then return nil end local midnode_ok, middir1, middir2, midrely1, midrely2=advtrains.get_rail_info_at(advtrains.round_vector_floor_y(mid), traintype) if not midnode_ok then return nil end local next, chkdir, chkrely, y_offset y_offset=0 --print("[advtrains] in order mid1,mid2",middir1,middir2) --try if it is dir1 local cor1=advtrains.dirCoordSet(mid, middir2)--<<<< if math.floor(cor1.x+0.5)==math.floor(prev.x+0.5) and math.floor(cor1.z+0.5)==math.floor(prev.z+0.5) then--this was previous next=advtrains.dirCoordSet(mid, middir1 | orwell96 | 2018-01-15 | |
| | | | | Fixes seat access properties not being saved Reported by Och_Noe in Linuxworks Server |