| 83 | }; |
| 84 | |
| 85 | cResource_PC_CD::cResource_PC_CD( const std::string& pDataFile ) : cResources() { |
| 86 | |
| 87 | memset( word_26DBE, 0, 0x273 * 2 ); |
| 88 | memset( word_272A4, 0, 0x13A * 2 ); |
| 89 | memset( word_27518, 0, 0x273 * 2 ); |
| 90 | memset( word_279FE, 0, 0x273 * 2 ); |
| 91 | |
| 92 | memset( byte_27EE6, 0, 0x1A3C ); |
| 93 | byte_26DB0 = 0; |
| 94 | |
| 95 | mBytesRead = word_26DA8 = word_26DBA = 0; |
| 96 | word_26DAA = word_26DB4 = saveSI = saveBP = 0; |
| 97 | |
| 98 | |
| 99 | mData = g_ResourceMan->FileRead(g_Fodder->mVersionCurrent->getDataFilePath(pDataFile)); |
| 100 | if (!mData) { |
| 101 | std::cout << pDataFile << " not found\n"; |
| 102 | exit( 1 ); |
| 103 | } |
| 104 | |
| 105 | headerLoad(); |
| 106 | } |
| 107 | |
| 108 | cResource_PC_CD::~cResource_PC_CD() { |
| 109 |
nothing calls this directly
no test coverage detected