aboutsummaryrefslogtreecommitdiff
path: root/advtrains/debugitems.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-11-20 12:11:40 +0100
committerorwell96 <orwell@bleipb.de>2018-11-20 12:12:28 +0100
commit4eb7531cc52b083b68673d4a8f9a8d271e60d37c (patch)
treeb8026f3464844898161332d06dae0097936608f1 /advtrains/debugitems.lua
parentf90a7a77ef9e76216fe4156e04223e032a91ec2c (diff)
downloadadvtrains-4eb7531cc52b083b68673d4a8f9a8d271e60d37c.tar.gz
advtrains-4eb7531cc52b083b68673d4a8f9a8d271e60d37c.tar.bz2
advtrains-4eb7531cc52b083b68673d4a8f9a8d271e60d37c.zip
Add set_aspect function
This allows incorporating signals implementing the signal API in LuaAutomation projects Note that it circumvents TCB assignments (a signal assigned to a TCB can be set to green even if no route is set
Diffstat (limited to 'advtrains/debugitems.lua')
0 files changed, 0 insertions, 0 deletions
l opt">("MaxFar"), m_color_map_sampler_setting("ColorMapSampler") {} void OnSetMaterial(const video::SMaterial &material) override {} void OnSetConstants(video::IMaterialRendererServices *services, s32 userData) override; f32 MaxFar{2048.0f}, MapRes{1024.0f}; private: CachedVertexShaderSetting<f32, 16> m_light_mvp_setting; CachedVertexShaderSetting<f32> m_map_resolution_setting; CachedVertexShaderSetting<f32> m_max_far_setting; CachedPixelShaderSetting<s32> m_color_map_sampler_setting; };