Difference between revisions of "CMap"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> CMap </onlyinclude> CMap Methods: {| class="wikitableShiny" |- ! '''Method''' ! '''Description''' |- | setTile | {{:CMap::setTile|setTi...")
 
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<onlyinclude>
 
<onlyinclude>
[[CMap]]
+
 
 
</onlyinclude>
 
</onlyinclude>
  
[[CMap]]
 
  
 
Methods:
 
Methods:
Line 26: Line 25:
 
| [[CMap::getTileSpacePosition|getTileSpacePosition]]
 
| [[CMap::getTileSpacePosition|getTileSpacePosition]]
 
| {{:CMap::getTileSpacePosition|getTileSpacePosition}}
 
| {{:CMap::getTileSpacePosition|getTileSpacePosition}}
|-
 
| [[CMap::getTileOffset|getTileOffset]]
 
| {{:CMap::getTileOffset|getTileOffset}}
 
|-
 
| [[CMap::GetTileSpacePosition|GetTileSpacePosition]]
 
| {{:CMap::GetTileSpacePosition|GetTileSpacePosition}}
 
 
|-
 
|-
 
| [[CMap::getAlignedWorldPos|getAlignedWorldPos]]
 
| [[CMap::getAlignedWorldPos|getAlignedWorldPos]]
Line 45: Line 38:
 
| {{:CMap::DestroyTile|DestroyTile}}
 
| {{:CMap::DestroyTile|DestroyTile}}
 
|-
 
|-
| [[CInventory::getEffect|getEffect]]
+
| [[CMap::getEffect|getEffect]]
| {{:CInventory::getEffect|getEffect}}
+
| {{:CMap::getEffect|getEffect}}
 
|-
 
|-
| [[CInventory::setEffect|setEffect]]
+
| [[CMap::setEffect|setEffect]]
| {{:CInventory::setEffect|setEffect}}
+
| {{:CMap::setEffect|setEffect}}
 
|-
 
|-
| [[CInventory::isTileSolid|isTileSolid]]
+
| [[CMap::isTileSolid|isTileSolid]]
| {{:CInventory::isTileSolid|isTileSolid}}
+
| {{:CMap::isTileSolid|isTileSolid}}
 
|-
 
|-
| [[CInventory::rayCastSolid|rayCastSolid]]
+
| [[CMap::rayCastSolid|rayCastSolid]]
| {{:CInventory::rayCastSolid|rayCastSolid}}
+
| {{:CMap::rayCastSolid|rayCastSolid}}
 
|-
 
|-
| [[CInventory::inInWater|inInWater]]
+
| [[CMap::inInWater|inInWater]]
| {{:CInventory::inInWater|inInWater}}
+
| {{:CMap::inInWater|inInWater}}
 
|-
 
|-
| [[CInventory::SplashEffect|SplashEffect]]
+
| [[CMap::SplashEffect|SplashEffect]]
| {{:CInventory::SplashEffect|SplashEffect}}
+
| {{:CMap::SplashEffect|SplashEffect}}
 
|-
 
|-
| [[CInventory::setWaterLevel|setWaterLevel]]
+
| [[CMap::setWaterLevel|setWaterLevel]]
| {{:CInventory::setWaterLevel|setWaterLevel}}
+
| {{:CMap::setWaterLevel|setWaterLevel}}
 
|-
 
|-
| [[CInventory::getLandHeightAtX|getLandHeightAtX]]
+
| [[CMap::getLandHeightAtX|getLandHeightAtX]]
| {{:CInventory::getLandHeightAtX|getLandHeightAtX}}
+
| {{:CMap::getLandHeightAtX|getLandHeightAtX}}
 
|-
 
|-
| [[CInventory::GetLandYatX|GetLandYatX]]
+
| [[CMap::GetLandYatX|GetLandYatX]]
| {{:CInventory::GetLandYatX|GetLandYatX}}
+
| {{:CMap::GetLandYatX|GetLandYatX}}
 
|-
 
|-
| [[CInventory::IsBelowLand|IsBelowLand]]
+
| [[CMap::IsBelowLand|IsBelowLand]]
| {{:CInventory::IsBelowLand|IsBelowLand}}
+
| {{:CMap::IsBelowLand|IsBelowLand}}
 
|-
 
|-
| [[CInventory::SetDayTime|SetDayTime]]
+
| [[CMap::SetDayTime|SetDayTime]]
| {{:CInventory::SetDayTime|SetDayTime}}
+
| {{:CMap::SetDayTime|SetDayTime}}
 
|-
 
|-
| [[CInventory::getDayTime|getDayTime]]
+
| [[CMap::getDayTime|getDayTime]]
| {{:CInventory::getDayTime|getDayTime}}
+
| {{:CMap::getDayTime|getDayTime}}
 
|-
 
|-
| [[CInventory::getColorLight|getColorLight]]
+
| [[CMap::getColorLight|getColorLight]]
| {{:CInventory::getColorLight|getColorLight}}
+
| {{:CMap::getColorLight|getColorLight}}
 
|-
 
|-
 +
|}
  
 +
Properties:
 +
 +
{| class="wikitableShiny" border="1"
 +
|-
 +
! '''Property'''
 +
! '''Type'''
 +
! '''Description'''
 +
|-
 +
| tilemapwidth
 +
| u32
 +
|
 +
|-
 +
| tilemapheight
 +
| u32
 +
|
 +
|-
 +
| tilesize
 +
| s32
 +
|
 +
|-
 
|}
 
|}
  
 
[[Category:Scripting]]
 
[[Category:Scripting]]
 
[[Category:Object Types]]
 
[[Category:Object Types]]

Latest revision as of 22:49, 7 September 2012



Methods:

Method Description
setTile


getTile


GetTileWorldPosition


getTileOffset


getTileSpacePosition


getAlignedWorldPos


isBuildableAtPos


HasSupportAtPos


DestroyTile


getEffect


setEffect


isTileSolid


rayCastSolid


inInWater


SplashEffect


setWaterLevel


getLandHeightAtX


GetLandYatX


IsBelowLand


SetDayTime


getDayTime


getColorLight


Properties:

Property Type Description
tilemapwidth u32
tilemapheight u32
tilesize s32