omf2097 / openomf

One Must Fall 2097 Remake
http://www.openomf.org
MIT License
372 stars 40 forks source link

Sound translation table #248

Closed katajakasa closed 10 years ago

katajakasa commented 10 years ago

We are currently carrying the sound translation table as a reference to objects and pretty much everywhere. However, it seems that we might as well make the tables global. Also, it seems that the original game just loads the BK soundtable, then overwrites it with any non-null entries from AF files, and uses that. We could do the same.

Vagabond commented 10 years ago

Presumably there's some mapping so that sounds from HAR1 don't overlap sounds from HAR2?

katajakasa commented 10 years ago

Yes, but that's unknown for now. I guess we could just use three separate global tables; doesn't really matter imo.

katajakasa commented 10 years ago

I took a look at this, and in the end, I don't think there is any value to this. Moving the STL's to global variables would just introduce complexities in another way. Let's stick to what we've got.