1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Changed some comments.

This commit is contained in:
Frank Zago 2009-10-11 16:08:01 +00:00
parent cb18b7c82a
commit a5f7c913ee
2 changed files with 5 additions and 7 deletions

View File

@ -22,10 +22,6 @@ CMediaHandler::~CMediaHandler()
delete mfile;
}
// Analyze the sound file. Half of this could go away if we were using
// a simple structure. However, some post treatment would be necessary: file
// size and offsets are little endian, and filename have a NUL in
// them. */
CMediaHandler::CMediaHandler(std::string fname)
{
try //c-tor of mapped_file_source throws exception on failure

View File

@ -31,17 +31,19 @@ struct MemberFile
int length;
};
// sound entry structure in catalog
struct soundEntry
{
char filename[40];
Uint32 offset; /* lettle endian */
Uint32 size; /* lettle endian */
Uint32 offset; /* little endian */
Uint32 size; /* little endian */
};
// video entry structure in catalog
struct videoEntry
{
char filename[40];
Uint32 offset; /* lettle endian */
Uint32 offset; /* little endian */
};
class CMediaHandler