That code I mentioned is to add tool in the special tools menu, that let's you rotate buildings (not the whole map). It cannot fix the stations.
The stations have only 2 rotations N-S and E-W. They have no way to show the platform on the other side, the graphics is simply not there.
To make the stations rotate properly, you have to modify the dat file, change dims to 1,1,16 and provide images for the missing rotations.
You can do it by merging dat files for station North/East with station South/West, and producing a station that has all four rotations.
And moreover those three lines are not supposed to be together - look for similar lines and put them there. Also the numbers may have to be changed - read the comments in menuconf.tab for explanations. The only number that is fixed is 40 - that is the number of the tool. The others are indexes within the toolbars or indexes for button and cursor images and for sound (i think). @ is keybord shortcut.