Closed uberlinuxguy closed 2 years ago
Confirmed crashes here: memcpy( clp_vtxlist, vtxlist, clipobj->NumVerts * sizeof( Vertex3 ) );
Easily reproduce-able
That crashes because of this:
VtxAnimMakeCurrent (gobj=0x5555563535c0, animid=0) at ../../../../src/parsec/e_vtxani.cpp:73
Look at the baseinfo
array.... and weep. They are loading the whole GenObject into an array of dword
sized elements. Nope. Won't work in a 64bit env.... That's going to need fixing. It only crashes on one ship because it's the only ship with an animation moving around it.
There may be other things that crash the game because of this.
@tribad You may be interested in this assessment if you get to look at it.
I don't have cycles to fix and test this tonight, it's already getting late.
TLDR: Animations are broken. The code contains dword size assumptions for pointers.
basically, that file: src/parsec/e_vtxani.cpp needs pointers/dword reference fixed. This will also probably relate to VtxAnimState in src/libparsec/includes/od_struct.h and ANYTHING that calls it.
If no one gets to it, I'll grab this ticket and take a whack at it in the next day or so.
I will check that in my fork. Ok. Looks like the whole animation stuff needs a rework. Starting!
Done it!
Fixed via #73
Scrolling through the ships in the 64 bit release via the menu option crashes