Mechanisms placeable on halfslabs

Don't merge this yet. I don't know if this is okay.
yes because if I use the IsAnySlabType method, gcc compilation fails because of a forward declaration of cplayer and also an incomplete type of the same. The solution is a normal include.