9 Dec
2006
9 Dec
'06
5:50 p.m.
In article <457AF916.29242.17B57F0@twegner.swbell.net>, "Tim Wegner" <twegner@swbell.net> writes:
I'm sure you are right. There's an array somewhere that maps the new to old indices, or some other way to correct the index that's saved.
Ah, yes. I found in loadfile.c an array that maps the old types to the new types during load; there is another similar array that is used when parsing the command-line IIRC. I found the reverse array in encoder.c that saves the correct type number from teh new index. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/>