-
Notifications
You must be signed in to change notification settings - Fork 4
File: generic.js
##What does it do?
This file acts as a fallback decoder.js
file. It should work with every DCC decoder that has ever existed. Literally every single one.
How does it do this? It's very simple: this file is mostly "dummy functions."
The only things that actually do something in this file are the things that every DCC decoder has: speed, direction, and F0 for lights. All the rest of the functions are dummy functions, meaning that they behave correctly for the rest of the program, but do nothing with respect to your locomotive model. This doesn't change any part of how the UI works, it just means that decoder-specific functions (sounds, usually) will not work with this.
There are 2 key uses for this script:
- Unsupported decoders
- Fallback for when users don't specify a
decoder.js
script.
####Acknowledgements:
- ZephyrCab's UI would not be possible without MaterializeCSS
-
Physics Engine
- Mr. Bruce Kingsley of BruceKModelTrains.com was unbelievably helpful with the physics engine. Without him it would not have been possible (at least not for MANY more years).
- Mr. Chris Jakeman of the Open Rails Dev Team was also very helpful with the physics engine.
###Support the project: "Support the project", says the wiki page. Those words are somewhat misleading. God has blessed me with resources and time to work on this project, so I have decided I do not need donations for myself. It would be amazing if you would donate to Blood:Water Mission instead though! They help give clean water to people in third-world countries. Trust me, these folks need the money more than I do!