a2x / cs2-dumper

Counter-Strike: 2 Offset Dumper
MIT License
838 stars 97 forks source link

Add signature for ViewAngle/Position from engine2.dll: `dwEngineViewData` #142

Closed cycript closed 4 months ago

cycript commented 4 months ago

Camera Position and Angles (not ClientViewAngles) are contiguous. (Vec3,Vec3) Struct that I use:

typedef struct EngineCamera
{
    Vector3 Position;
    Vector3 Rotation;
};

I have been using this for a while now, the signature seems stable. Sorry for the bad formatting within the signature string.

cycript commented 4 months ago

Looks good to me, I wasn't aware that it was under CSoundService.

a2x commented 4 months ago

Would you be able to make that change and fix the conflicts so that I can merge this?

cycript commented 4 months ago

I am closing this PR and will just make a new one because its more convenient than solving the conflicts