haekb / nolf2-modernizer

NOLF 2 Modernizer aims to unlock resolution support, restore multi-player support, and fix a few bugs here and there.
https://haekb.itch.io/nolf2-modernizer
31 stars 4 forks source link

STLPort woes #1

Closed haekb closed 5 years ago

haekb commented 5 years ago

So initially I just wrote it off, and use the visual studio std lib. But it looks like we'll need the stlport's vector class for communicating with the engine.

An example is GetParticleBlockersInAABB.

It throws an empty vector at the engine, and requests that it be filled. Obviously since VS' std library is different from STLPort's library (which the engine was compiled with) we're getting some odd and crashy results.

I've started extracting STLPort's vector class out, but since it's also very old C++ it'll need some work.

haekb commented 5 years ago

I got STLPort's vector class working well enough to get the correct information back. So we good!