diff options
| author | David Leal <halfpacho@gmail.com> | 2023-09-11 12:49:22 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-11 20:49:22 +0200 |
| commit | e870b8d1d6963c762e980a3cccfd5effdec61df9 (patch) | |
| tree | ac8e347bed74af2625c3054cdf5becb26a54e8dd | |
| parent | c850d11a3ccaf21183a137c0ecaf0ebaee58f514 (diff) | |
Add a license file (#27)
| -rw-r--r-- | LICENSE | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -0,0 +1,24 @@ +BSD 2-Clause License + +Copyright (c) 2014-2023, Diego MartÃnez + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided w-- passive.lua
-- API to passive components, as described in passive_api.txt of advtrains_luaautomation
-- This has been moved to the advtrains core in turn with the interlocking system,
-- to prevent a dependency on luaautomation.
local deprecation_warned = {}
function advtrains.getstate(parpos, pnode)
local pos
if atlatc then
pos = atlatc.pcnaming.resolve_pos(parpos)
else
pos = advtrains.round_vector_floor_y(parpos)
end
if type |
