Author Topic: Resource map -> SCI Version detection  (Read 2551 times)

0 Members and 1 Guest are viewing this topic.

Offline Johannes

Resource map -> SCI Version detection
« on: January 06, 2003, 08:06:52 AM »
Good day
\=-\=\=-\
I dont know if the is the correct forum to ask but here goes. I want to know what the criteria is for validating that a resource.map file is in the SCI0 version of the SCI file format. As I have looked at the SCI Studio code and it confuses me in LoadResourceMap procedure on Line : 1428 in the rexplorer.cpp file. Where the if statement that looks as follows :
//====== START SNIP ========/
    if(ResourceMapData[0]&0x80&&ResourceMapData[3]&0x80&&ResourceMapData[6]&0x80
       &&ResourceMapData[9]&0x80&&ResourceMapData[12]&0x80&&ResourceMapData[16]&0x80
       &&ResourceMapData[20]) {
//====== END SNIP ========/

Occording to this the default resource.map file must not be a valid file as the 0 and 3 entry of the file is 0, thus resulting in a FALSE.  Can somebody please give me some clarity on this please.

Thanks in Advance

Johannes Pretorius



Wish I was smart.


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.054 seconds with 20 queries.