Max. cargo count waiting on a station is limited by 0xFFF that means 4095. For any large station that transfers a large amount of cargo, this limitation is very annoying.
But as I see, there are 3 more free bits: only the last one is occupied by the acceptance flag. After changing all needed masks, I recently tested this possibility. With a new game this works fine, new limit is 32767 and is not so low. But the old savegame crushes after applying this change. Crush appears when i click on a station.
Why the game crushes? Are there any related variables, flags and so on? Or this is my own bug? But corrected version is stable after a new game was started, even when I have more than 4096 units of cargo on a station.
Also i just made the new ttdpatch-like trains loading/unloading patch that may be enabled from "configure patches" window. Is it possible to insert this one into the "official" sourcecode?
P.S. Sorry for my not-so-good english.
Post the diff file here, I'm interested in that features.