The length of the tracks and the number of the tracks is only sort-of hardcoded. You can alter the number of tracks but the ingame menu shows only the version selected with the two controls for the length and the number of tracks - these controls are hardcoded. I hope the developers are considering adding more control options later.
Urban Games:
===========
What you quoted seems to be correct. The GUI controls are hardcoded, but
not the names of the station types. The GUI simply selects the first
(alphabetically) station type that has matching cargo flag, year range
and platform length (i.e. number of parts). Number of tracks
(min/maxPlatforms) is currently ignored. The actual railroad tracks are
built in the code; they are not part of the station type/model.
For the future, we've been thinking of merging the small/medium/large
config files into a single file, so for the current situation four types
would be sufficient (old, new, cargo_old, cargo_new). Then we could add
a type selector (if more than one is active) to the GUI and populate the
other controls according to the selected type.
If you have totally different suggestions, just let us know
=======
Feel free to post your suggestions, Urban Games is watching 