slipher

Results 703 comments of slipher

- `fix implicit cast warnings in a header` LGTM - `improve SendMsg performances by avoiding malloc calls` I don't believe it. I added a log showing when InternalSendMsg is called...

There are no actual optimizations here. The good commits are cleanups. Others just change stuff that is only called a couple of times per game, and so can't possibly have...

Added another commit to fix the case of a log message messed up by the commit fixing building on Mac from #1642.

> Sometime with less common compilers I get an error about `getrandom` syscall failures Why would it change depending on the compiler?

I can reproduce the Habitat one. It works correctly with 0.55.2 gamelogic.

I think this is probably caused by https://github.com/DaemonEngine/Daemon/pull/1532. I will try rewriting it without QuatFromMatrix as described in https://github.com/DaemonEngine/Daemon/pull/1532#issuecomment-2620050318.

Yep, doing it like this fixes it. ``` matrix_t rotmat; MatrixFromAngles(rotmat, bmc->modelRotation[ PITCH ], bmc->modelRotation[ YAW ], bmc->modelRotation[ ROLL ] ); MatrixFromVectorsFLU( axisMat, ent.axis[ 0 ], ent.axis[ 1 ], ent.axis[...

One of the turrets on Habitat is also affected. It appears to point in the opposite direction of the one it's really shooting in.