> Suggest making:
>
> #define RAD_TO_BRAD (float)(128f/M_PI)

I would define a macro if this value were to appear elsewhere.

> As author of to_dir, naming loss is felt, apparently some attachment still

RIP to_dir().  He served long and well!

>  ... and the constant 40.743665f is a bit opaque.

I shone a little light.  :-)

https://github.com/mrbax/netrek-server/commit/e875bce13e5c7054b26723c5e6880d4a64f8dec9

Cheers
Michael