|
|
@@ -163,7 +163,7 @@ bool ResourceFile::writeHeader (MemoryOutputStream& header) |
|
|
|
<< " extern const char* namedResourceList[];" << newLine
|
|
|
|
<< newLine
|
|
|
|
<< " // Number of elements in the namedResourceList array." << newLine
|
|
|
|
<< " extern const int namedResourceListSize;" << newLine
|
|
|
|
<< " const int namedResourceListSize = " << files.size() << ";" << newLine
|
|
|
|
<< newLine
|
|
|
|
<< " // If you provide the name of one of the binary resource variables above, this function will" << newLine
|
|
|
|
<< " // return the corresponding data and its size (or a null pointer if the name isn't found)." << newLine
|
|
|
@@ -252,8 +252,6 @@ bool ResourceFile::writeCpp (MemoryOutputStream& cpp, const File& headerFile, in |
|
|
|
<< " return 0;" << newLine
|
|
|
|
<< "}" << newLine
|
|
|
|
<< newLine
|
|
|
|
<< "const int namedResourceListSize = " << files.size() << ";" << newLine
|
|
|
|
<< newLine
|
|
|
|
<< "const char* namedResourceList[] =" << newLine
|
|
|
|
<< "{" << newLine;
|
|
|
|
|
|
|
|