xoreos  0.0.5
Namespaces | Variables
nsbtxfile.cpp File Reference

Treat Nintendo NSBTX files, which contain multiple textures as an archive of intermediate textures. More...

#include <cassert>
#include "src/common/util.h"
#include "src/common/strutil.h"
#include "src/common/error.h"
#include "src/common/memreadstream.h"
#include "src/common/memwritestream.h"
#include "src/common/encoding.h"
#include "src/aurora/nsbtxfile.h"
Include dependency graph for nsbtxfile.cpp:

Go to the source code of this file.

Namespaces

 Aurora
 

Variables

static const uint32 kXEOSID = MKTAG('X', 'E', 'O', 'S')
 
static const uint32 kITEXID = MKTAG('I', 'T', 'E', 'X')
 
static const uint32 kXEOSITEXHeaderSize = 4 + 4 + 4 + 4 + 4 + 1 + 1 + 1 + 1 + 1 + 1
 
static const uint32 kXEOSITEXMipMapHeaderSize = 4 + 4 + 4
 
static const uint32 kBTX0ID = MKTAG('B', 'T', 'X', '0')
 
static const uint32 kTEX0ID = MKTAG('T', 'E', 'X', '0')
 

Detailed Description

Treat Nintendo NSBTX files, which contain multiple textures as an archive of intermediate textures.

Definition in file nsbtxfile.cpp.

Variable Documentation

◆ kBTX0ID

const uint32 kBTX0ID = MKTAG('B', 'T', 'X', '0')
static

Definition at line 70 of file nsbtxfile.cpp.

Referenced by Aurora::NSBTXFile::readFileHeader().

◆ kITEXID

const uint32 kITEXID = MKTAG('I', 'T', 'E', 'X')
static

Definition at line 65 of file nsbtxfile.cpp.

Referenced by Aurora::NSBTXFile::writeITEXHeader().

◆ kTEX0ID

const uint32 kTEX0ID = MKTAG('T', 'E', 'X', '0')
static

Definition at line 71 of file nsbtxfile.cpp.

Referenced by Aurora::NSBTXFile::readInfoHeader().

◆ kXEOSID

const uint32 kXEOSID = MKTAG('X', 'E', 'O', 'S')
static

Definition at line 64 of file nsbtxfile.cpp.

Referenced by Aurora::NSBTXFile::writeITEXHeader().

◆ kXEOSITEXHeaderSize

const uint32 kXEOSITEXHeaderSize = 4 + 4 + 4 + 4 + 4 + 1 + 1 + 1 + 1 + 1 + 1
static

Definition at line 67 of file nsbtxfile.cpp.

Referenced by Aurora::NSBTXFile::getITEXSize().

◆ kXEOSITEXMipMapHeaderSize

const uint32 kXEOSITEXMipMapHeaderSize = 4 + 4 + 4
static

Definition at line 68 of file nsbtxfile.cpp.

Referenced by Aurora::NSBTXFile::getITEXSize().