I recently made a new patch, which allows to build bridges with steep slopes on both sides (like the one in the image). That can be done easily, but one new problem is arising: You can't delete these bridges, cause you can delete bridges only on their first tile (slope), but this "new" bridges doesn't have such a tile and thus they can't be deleted. (Now I've spotted: They can be deleted with the way deletion tool).
You can easy change some other code and then, whenever applying the remove tool to a bridge ground (which is empty) the whole bridge is deleted. But maybe then you delete some bridges accidentially?
Any ideas?
But if I want to make an elevated bridge instead of a flat, how does the code recognize this?
If you hold down ctrl, simutrans tries to create a flat bridge, otherwise it uses the old code.
So this would enable more compact railway crossings?
This was my first idea for TTDpatch years ago (never coded). It brings back memories...
Perhaps the same key used for going up/down one level in underground mode could be used to elevate the cursor one tile up/down when editing...
I think the most consistent way to delete such a bridge, is by the way-remover tool. Deleting a bridge if one clicks accidentally with the remover-tool on some tile (not a ramp) would be very irritating.
Ok, this is already possible.