C# Class Data, CadEditor

Show file Open project: spiiin/CadEditor Class Usage Examples

Public Properties

Property Type Description
levelRecs IList
levelRecsCad IList
levelRecsCad2 IList
levelRecsDt2 IList
levelRecsDwd IList
levelRecsTT IList

Public Methods

Method Description
getAnimAddrHi ( ) : int
getAnimAddrLo ( ) : int
getAnimBankNo ( ) : int
getAnimCount ( ) : int
getAnimPal ( ) : byte[]
getBackConvertScreenTileFunc ( ) : ConvertScreenTileFunc
getBigBlocks ( int bigTileIndex ) : BigBlock[]
getBigBlocksCount ( ) : int
getBigBlocksCountForLevel ( int levelNo ) : int
getBigBlocksCountHierarchy ( int hierarchyLevel ) : int
getBigBlocksDt2 ( int bigTileIndex ) : BigBlock[]
getBigBlocksFunc ( ) : GetBigBlocksFunc
getBigBlocksOffset ( ) : OffsetRec
getBigBlocksOffsetHierarchy ( int hierarchyLevel ) : OffsetRec
getBigBlocksPtrsForLevel ( int levelNo ) : int[]
getBigTileNoFromScreen ( int screenData, int index ) : int
getBigTileNoFromScreenFunc ( ) : GetBigTileNoFromScreenFunc
getBlockTypeNames ( ) : string[]
getBlocks ( int blockIndex ) : ObjRec[]
getBlocksCount ( ) : int
getBlocksDt2 ( int blockIndex ) : ObjRec[]
getBlocksFilename ( ) : string
getBlocksFunc ( ) : GetBlocksFunc
getBlocksOffset ( ) : OffsetRec
getBoxesBackOffset ( ) : OffsetRec
getCheeseAddr ( ) : int
getChrAddress ( int id ) : int
getConvertScreenTileFunc ( ) : ConvertScreenTileFunc
getCoordAddrHi ( ) : int
getCoordAddrLo ( ) : int
getCoordCount ( ) : int
getDirPtrAdd ( ) : int
getDoorRecBaseOffset ( ) : int
getDuckTalesVideoAddress ( int id ) : int
getDuckTalesVideoChunk ( int videoPageId ) : byte[]
getFrameAddrHi ( ) : int
getFrameAddrLo ( ) : int
getFrameCount ( ) : int
getGroups ( ) : GroupRec[]
getLMVideoChunk ( int videoPageId ) : byte[]
getLayoutFunc ( ) : GetLayoutFunc
getLayoutPtrAdd ( ) : int
getLevelRecBaseOffset ( ) : int
getLevelRecDirOffset ( ) : int
getLevelRecs ( ) : IList
getLoadMapFunc ( ) : LoadMapFunc
getMapsInfo ( ) : MapInfo[]
getObjTypesPicturesDir ( ) : string
getObjects ( int levelNo ) : List
getObjectsCad ( int levelNo ) : List
getObjectsCad2 ( int levelNo ) : List
getObjectsDt2 ( int levelNo ) : List
getObjectsDwd ( int levelNo ) : List
getObjectsFunc ( ) : GetObjectsFunc
getObjectsLM2 ( int levelNo ) : List
getPalFunc ( ) : GetPalFunc
getPalOffset ( ) : OffsetRec
getPallete ( int palId ) : byte[]
getPalleteLevel_1_1 ( int palId ) : byte[]
getPictureBlocksWidth ( ) : int
getPluginNames ( ) : string[]
getPrizesCad2 ( int levelNo ) : List
getSaveMapFunc ( ) : SaveMapFunc
getScreenHeight ( ) : int
getScreenVertical ( ) : bool
getScreenWidth ( ) : int
getScreensOffset ( ) : OffsetRec
getScrollPtrAdd ( ) : int
getScrollsOffsetFromLayout ( ) : int
getVideoChunk ( int videoPageId ) : byte[]
getVideoChunkFunc ( ) : GetVideoChunkFunc
getVideoIndex1 ( ) : int
getVideoIndex2 ( ) : int
getVideoObjOffset ( ) : OffsetRec
getVideoOffset ( ) : OffsetRec
getVideoPageAddrFunc ( ) : GetVideoPageAddrFunc
isBigBlockEditorEnabled ( ) : bool
isBlockEditorEnabled ( ) : bool
isBuildScreenFromSmallBlocks ( ) : bool
isEnemyEditorEnabled ( ) : bool
isShowScrollsInLayout ( ) : bool
setBigBlocks ( int bigTileIndex, BigBlock bigBlockIndexes ) : void
setBigBlocksDt2 ( int bigTileIndex, BigBlock bigBlocks ) : void
setBigBlocksFunc ( ) : SetBigBlocksFunc
setBigTileToScreen ( int screenData, int index, int value ) : void
setBigTileToScreenFunc ( ) : SetBigTileToScreenFunc
setBlocks ( int blockIndex, ObjRec blocksData ) : void
setBlocksDt2 ( int blockIndex, ObjRec objects ) : void
setBlocksFunc ( ) : SetBlocksFunc
setObjects ( int levelNo, List objLists ) : bool
setObjectsCad ( int levelNo, List objLists ) : bool
setObjectsCad2 ( int levelNo, List objLists ) : bool
setObjectsDwd ( int levelNo, List objLists ) : bool
setObjectsFunc ( ) : SetObjectsFunc
setObjectsLM2 ( int levelNo, List objLists ) : bool
setPalFunc ( ) : SetPalFunc
setPrizesCad2 ( int levelNo, List objLists ) : bool
setVideoChunkFunc ( ) : SetVideoChunkFunc

Private Methods

Method Description
getLayout ( int levelNo ) : LevelLayerData
getLayoutForPrizes ( int levelNo ) : LevelLayerData
reverseTransposeBigBlocks ( BigBlock bblocks ) : void
transposeBigBlocks ( BigBlock bblocks ) : void
xchg ( int arr, int i1, int i2 ) : void

Method Details

getAnimAddrHi() public static method

public static getAnimAddrHi ( ) : int
return int

getAnimAddrLo() public static method

public static getAnimAddrLo ( ) : int
return int

getAnimBankNo() public static method

public static getAnimBankNo ( ) : int
return int

getAnimCount() public static method

public static getAnimCount ( ) : int
return int

getAnimPal() public static method

public static getAnimPal ( ) : byte[]
return byte[]

getBackConvertScreenTileFunc() public method

public getBackConvertScreenTileFunc ( ) : ConvertScreenTileFunc
return ConvertScreenTileFunc

getBigBlocks() public method

public getBigBlocks ( int bigTileIndex ) : BigBlock[]
bigTileIndex int
return BigBlock[]

getBigBlocksCount() public method

public getBigBlocksCount ( ) : int
return int

getBigBlocksCountForLevel() public method

public getBigBlocksCountForLevel ( int levelNo ) : int
levelNo int
return int

getBigBlocksCountHierarchy() public method

public getBigBlocksCountHierarchy ( int hierarchyLevel ) : int
hierarchyLevel int
return int

getBigBlocksDt2() public method

public getBigBlocksDt2 ( int bigTileIndex ) : BigBlock[]
bigTileIndex int
return BigBlock[]

getBigBlocksFunc() public method

public getBigBlocksFunc ( ) : GetBigBlocksFunc
return GetBigBlocksFunc

getBigBlocksOffset() public method

public getBigBlocksOffset ( ) : OffsetRec
return OffsetRec

getBigBlocksOffsetHierarchy() public method

public getBigBlocksOffsetHierarchy ( int hierarchyLevel ) : OffsetRec
hierarchyLevel int
return OffsetRec

getBigBlocksPtrsForLevel() public method

public getBigBlocksPtrsForLevel ( int levelNo ) : int[]
levelNo int
return int[]

getBigTileNoFromScreen() public method

public getBigTileNoFromScreen ( int screenData, int index ) : int
screenData int
index int
return int

getBigTileNoFromScreenFunc() public method

public getBigTileNoFromScreenFunc ( ) : GetBigTileNoFromScreenFunc
return GetBigTileNoFromScreenFunc

getBlockTypeNames() public method

public getBlockTypeNames ( ) : string[]
return string[]

getBlocks() public method

public getBlocks ( int blockIndex ) : ObjRec[]
blockIndex int
return ObjRec[]

getBlocksCount() public method

public getBlocksCount ( ) : int
return int

getBlocksDt2() public method

public getBlocksDt2 ( int blockIndex ) : ObjRec[]
blockIndex int
return ObjRec[]

getBlocksFilename() public method

public getBlocksFilename ( ) : string
return string

getBlocksFunc() public method

public getBlocksFunc ( ) : GetBlocksFunc
return GetBlocksFunc

getBlocksOffset() public method

public getBlocksOffset ( ) : OffsetRec
return OffsetRec

getBoxesBackOffset() public method

public getBoxesBackOffset ( ) : OffsetRec
return OffsetRec

getCheeseAddr() public method

public getCheeseAddr ( ) : int
return int

getChrAddress() public static method

public static getChrAddress ( int id ) : int
id int
return int

getConvertScreenTileFunc() public method

public getConvertScreenTileFunc ( ) : ConvertScreenTileFunc
return ConvertScreenTileFunc

getCoordAddrHi() public static method

public static getCoordAddrHi ( ) : int
return int

getCoordAddrLo() public static method

public static getCoordAddrLo ( ) : int
return int

getCoordCount() public static method

public static getCoordCount ( ) : int
return int

getDirPtrAdd() public method

public getDirPtrAdd ( ) : int
return int

getDoorRecBaseOffset() public method

public getDoorRecBaseOffset ( ) : int
return int

getDuckTalesVideoAddress() public method

public getDuckTalesVideoAddress ( int id ) : int
id int
return int

getDuckTalesVideoChunk() public method

public getDuckTalesVideoChunk ( int videoPageId ) : byte[]
videoPageId int
return byte[]

getFrameAddrHi() public static method

public static getFrameAddrHi ( ) : int
return int

getFrameAddrLo() public static method

public static getFrameAddrLo ( ) : int
return int

getFrameCount() public static method

public static getFrameCount ( ) : int
return int

getGroups() public method

public getGroups ( ) : GroupRec[]
return GroupRec[]

getLMVideoChunk() public method

public getLMVideoChunk ( int videoPageId ) : byte[]
videoPageId int
return byte[]

getLayoutFunc() public method

public getLayoutFunc ( ) : GetLayoutFunc
return GetLayoutFunc

getLayoutPtrAdd() public method

public getLayoutPtrAdd ( ) : int
return int

getLevelRecBaseOffset() public method

public getLevelRecBaseOffset ( ) : int
return int

getLevelRecDirOffset() public method

public getLevelRecDirOffset ( ) : int
return int

getLevelRecs() public method

public getLevelRecs ( ) : IList
return IList

getLoadMapFunc() public method

public getLoadMapFunc ( ) : LoadMapFunc
return LoadMapFunc

getMapsInfo() public method

public getMapsInfo ( ) : MapInfo[]
return MapInfo[]

getObjTypesPicturesDir() public method

public getObjTypesPicturesDir ( ) : string
return string

getObjects() public method

public getObjects ( int levelNo ) : List
levelNo int
return List

getObjectsCad() public method

public getObjectsCad ( int levelNo ) : List
levelNo int
return List

getObjectsCad2() public method

public getObjectsCad2 ( int levelNo ) : List
levelNo int
return List

getObjectsDt2() public method

public getObjectsDt2 ( int levelNo ) : List
levelNo int
return List

getObjectsDwd() public method

public getObjectsDwd ( int levelNo ) : List
levelNo int
return List

getObjectsFunc() public method

public getObjectsFunc ( ) : GetObjectsFunc
return GetObjectsFunc

getObjectsLM2() public static method

public static getObjectsLM2 ( int levelNo ) : List
levelNo int
return List

getPalFunc() public method

public getPalFunc ( ) : GetPalFunc
return GetPalFunc

getPalOffset() public method

public getPalOffset ( ) : OffsetRec
return OffsetRec

getPallete() public method

public getPallete ( int palId ) : byte[]
palId int
return byte[]

getPalleteLevel_1_1() public method

public getPalleteLevel_1_1 ( int palId ) : byte[]
palId int
return byte[]

getPictureBlocksWidth() public method

public getPictureBlocksWidth ( ) : int
return int

getPluginNames() public method

public getPluginNames ( ) : string[]
return string[]

getPrizesCad2() public method

public getPrizesCad2 ( int levelNo ) : List
levelNo int
return List

getSaveMapFunc() public method

public getSaveMapFunc ( ) : SaveMapFunc
return SaveMapFunc

getScreenHeight() public method

public getScreenHeight ( ) : int
return int

getScreenVertical() public method

public getScreenVertical ( ) : bool
return bool

getScreenWidth() public method

public getScreenWidth ( ) : int
return int

getScreensOffset() public method

public getScreensOffset ( ) : OffsetRec
return OffsetRec

getScrollPtrAdd() public method

public getScrollPtrAdd ( ) : int
return int

getScrollsOffsetFromLayout() public method

public getScrollsOffsetFromLayout ( ) : int
return int

getVideoChunk() public method

public getVideoChunk ( int videoPageId ) : byte[]
videoPageId int
return byte[]

getVideoChunkFunc() public method

public getVideoChunkFunc ( ) : GetVideoChunkFunc
return GetVideoChunkFunc

getVideoIndex1() public method

public getVideoIndex1 ( ) : int
return int

getVideoIndex2() public method

public getVideoIndex2 ( ) : int
return int

getVideoObjOffset() public method

public getVideoObjOffset ( ) : OffsetRec
return OffsetRec

getVideoOffset() public method

public getVideoOffset ( ) : OffsetRec
return OffsetRec

getVideoPageAddrFunc() public method

public getVideoPageAddrFunc ( ) : GetVideoPageAddrFunc
return GetVideoPageAddrFunc

isBigBlockEditorEnabled() public method

public isBigBlockEditorEnabled ( ) : bool
return bool

isBlockEditorEnabled() public method

public isBlockEditorEnabled ( ) : bool
return bool

isBuildScreenFromSmallBlocks() public method

public isBuildScreenFromSmallBlocks ( ) : bool
return bool

isEnemyEditorEnabled() public method

public isEnemyEditorEnabled ( ) : bool
return bool

isShowScrollsInLayout() public method

public isShowScrollsInLayout ( ) : bool
return bool

setBigBlocks() public method

public setBigBlocks ( int bigTileIndex, BigBlock bigBlockIndexes ) : void
bigTileIndex int
bigBlockIndexes BigBlock
return void

setBigBlocksDt2() public method

public setBigBlocksDt2 ( int bigTileIndex, BigBlock bigBlocks ) : void
bigTileIndex int
bigBlocks BigBlock
return void

setBigBlocksFunc() public method

public setBigBlocksFunc ( ) : SetBigBlocksFunc
return SetBigBlocksFunc

setBigTileToScreen() public method

public setBigTileToScreen ( int screenData, int index, int value ) : void
screenData int
index int
value int
return void

setBigTileToScreenFunc() public method

public setBigTileToScreenFunc ( ) : SetBigTileToScreenFunc
return SetBigTileToScreenFunc

setBlocks() public method

public setBlocks ( int blockIndex, ObjRec blocksData ) : void
blockIndex int
blocksData ObjRec
return void

setBlocksDt2() public method

public setBlocksDt2 ( int blockIndex, ObjRec objects ) : void
blockIndex int
objects ObjRec
return void

setBlocksFunc() public method

public setBlocksFunc ( ) : SetBlocksFunc
return SetBlocksFunc

setObjects() public method

public setObjects ( int levelNo, List objLists ) : bool
levelNo int
objLists List
return bool

setObjectsCad() public method

public setObjectsCad ( int levelNo, List objLists ) : bool
levelNo int
objLists List
return bool

setObjectsCad2() public method

public setObjectsCad2 ( int levelNo, List objLists ) : bool
levelNo int
objLists List
return bool

setObjectsDwd() public method

public setObjectsDwd ( int levelNo, List objLists ) : bool
levelNo int
objLists List
return bool

setObjectsFunc() public method

public setObjectsFunc ( ) : SetObjectsFunc
return SetObjectsFunc

setObjectsLM2() public static method

public static setObjectsLM2 ( int levelNo, List objLists ) : bool
levelNo int
objLists List
return bool

setPalFunc() public method

public setPalFunc ( ) : SetPalFunc
return SetPalFunc

setPrizesCad2() public method

public setPrizesCad2 ( int levelNo, List objLists ) : bool
levelNo int
objLists List
return bool

setVideoChunkFunc() public method

public setVideoChunkFunc ( ) : SetVideoChunkFunc
return SetVideoChunkFunc

Property Details

levelRecs public property

public IList levelRecs
return IList

levelRecsCad public property

public IList levelRecsCad
return IList

levelRecsCad2 public property

public IList levelRecsCad2
return IList

levelRecsDt2 public property

public IList levelRecsDt2
return IList

levelRecsDwd public property

public IList levelRecsDwd
return IList

levelRecsTT public property

public IList levelRecsTT
return IList