Package com.alienfactory.javamappy.loader

These classes are only concerned with loading FMP Chunks.

See:
          Description

Class Summary
ChunkLoader This is the base class for all ChunkLoaders.
ChunkLoaderANDT Chunk ANDT :: Contains ANISTR structures.
ChunkLoaderATHR Chunk ATHR :: Up to 4 ASCII strings of author information.
ChunkLoaderBGFX Chunk BGFX :: The raw image data.
ChunkLoaderBKDT Chunk BKDT :: Contains BLKSTR structures.
ChunkLoaderBODY Chunk BODY :: An array of short ints containing positive offsets into BKDT, and negative offsets into ANDT.
ChunkLoaderCMAP Chunk CMAP :: Colour palette for 8bit maps.
ChunkLoaderFORM Chunk FORM :: Must be present at the start of every map.
ChunkLoaderMPHD Chunk MPHD :: Map header, see struct in mapfunc.c
ChunkLoaderOBDT Chunk OBDT :: Contains OBJSTR structures.
ChunkLoaderOBFN Chunk OBFN :: Contains OBJ Filenames for OBJSTR.
ChunkLoaderTSTR Chunk TSTR :: Text Strings.
MapLoader MapLoader
MapLoader.DefaultChunkLoader  
 

Exception Summary
ChunkLoadException ChunkLoadException
 

Package com.alienfactory.javamappy.loader Description

These classes are only concerned with loading FMP Chunks.

To add support for a new Chunk, create a class which extends ChunkLoader and register it in the MapLoader class. It's almost maintenance free!

I've tried to make it as easy as possible to load in Chunks; there are methods called readByte(), readInt(), etc meaning you don't have to worry about LSB, MSB, offsets or any of the usual nitty gritty dangerous stuff.



Copyright © 2001-2009 Alien-Factory Ltd. All Rights Reserved.