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:
parent
cb18b7c82a
commit
a5f7c913ee
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user