Logo
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Properties | Events | List of all members
Yukar.Engine.MapData Class Reference

A class for reading Common.Rom.Map and generating and managing 3D models of terrain and objects More...

Inheritance diagram for Yukar.Engine.MapData:
SharpKmyGfx::Drawable

Classes

class  DummyNotifyObject
 A class for notifying collisions of objects that should ignore notifications.
 
class  HeightMapResult
 A class for storing rough collision information of an object by chewing it (for SGB, it will be deleted in Bakin later) More...
 

Public Types

enum  STAIR_STAT {
  NONE = -1 , POS_Z , NEG_Z , POS_X ,
  NEG_X , RIDGE_POSZ_POSX , RIDGE_NEGZ_NEGX , RIDGE_NEGZ_POSX ,
  RIDGE_POSZ_NEGX , VALLEY_POSZ_POSX , VALLEY_NEGZ_NEGX , VALLEY_NEGZ_POSX ,
  VALLEY_POSZ_NEGX
}
 Direction of stairs/slopes More...
 
enum  PICKUP_DRAW_MAPOBJECT { kALL , kBUILDING_ONLY , kNONE }
 Pickup type More...
 
enum  Corner { TopLeft , BottomRight }
 Which corner of the terrain (for UV generation) More...
 

Public Member Functions

SharpKmyGfx.DrawInfo GetDrawInfo ()
 
float getAspect ()
 
SkyDrawer GetSkyDrawer ()
 
 MapData (SharpKmyGfx.SpriteBatch s)
 
void setRom (Map data, bool topViewOnly, bool isForcedUpdate, uint displayID, bool terrainInit, bool useDirty=false, bool delayedSmoothing=true)
 
void setDisplayID (uint displayID)
 
void pause ()
 resume sound More...
 
void resume ()
 resume sound More...
 
void setRomWithoutGraphics (Map data)
 
Map getRom ()
 
IEnumerator setRomImpl (Map data, bool isChangeScene, bool topViewOnly, bool terrainInit, bool useDirty=false, bool delayedSmoothing=true)
 
void SetupMapObjects (bool useDirty)
 
void UnloadModel (List< Guid > inIdList)
 
void reloadAsset (bool isChangeSkyModel, bool isChangeEnvironmentEffect)
 
void setLookAtPos (SharpKmyMath.Vector3 p)
 
void Reset (bool terrainInit=true, bool useDirty=false)
 
void ResetMapObjects (bool useDirty)
 
void Destroy ()
 
SharpKmyMath.Vector2 getSize ()
 
void setEventRangeColor (List< Map.EventRef > events)
 
void Update (float elapsed)
 
void updateMapHeightAndWalkableState (bool isEnableCalcBuildingObjectHeight=true)
 
void updateCollisionDepotInUnity ()
 
bool isStair (int index)
 
SharpKmyMath.Vector2[] getStairTexCoord (int index, int mapHeightScale)
 
SharpKmyMath.Vector2[] getRidgeStairTexCoord (int index)
 
SharpKmyMath.Vector2[] getValleyStairTexCoord (int index)
 
SharpKmyMath.Vector2[] getSlopeTexCoord (int index)
 
ChipInfo GetChipInfo (int index)
 
SharpKmyMath.Vector2 getTerrainTexCoordCorner (ChipInfo chipInfo, Corner corner, int position, int height, bool isStairs=false, bool isBottom=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordCorner (int index, Corner corner, int position, int height, bool isStairs=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordTopLeft (ChipInfo obj, int position, int height, bool isStairs=false, bool isBottom=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordBottomRight (ChipInfo obj, int position, int height, bool isStairs=false, bool isBottom=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordTopLeft (int index, int position, int height, bool isStairs=false)
 
SharpKmyMath.Vector2 getTerrainTexCoordBottomRight (int index, int position, int height, bool isStairs=false)
 
SharpKmyMath.Vector2 getWaveTexCoordTopLeft (int index)
 
SharpKmyMath.Vector2 getWaveTexCoordBottomRight (int index)
 
Common.Resource.MapChip getTerrainInfo (int index)
 
Common.Resource.MapChip getStairInfo (int index)
 
bool getTerrainWalkable (int index)
 
bool getTerrainSquareShape (int index)
 
bool getTerrainLiquidArea (int index)
 
void updateFogParam (SharpKmyMath.Matrix4 pm)
 
void afterViewPositionFixProc (SharpKmyGfx.Render scn)
 
void updateMapObjectPosture (MapObjectInstance p, bool billboardable, float billboardAngle)
 
override void draw (SharpKmyGfx.Render scn)
 
void setLightCoeff (float bloom, float light, float chrom)
 
void setDofCoeff (Vector3 dofCoeff)
 
void applyLight (SharpKmyGfx.GameView gv, SharpKmyMath.Matrix4 p, SharpKmyMath.Matrix4 v, bool stencilShadow, SharpKmyMath.Vector3 seListenerPos)
 
MapObjectInstance getMapObjectInstance (int idx)
 
MapObjectInstance[] getMapObjectInstance (Map.MapObjectRef inRef)
 
MapObjectInstance getMapObjectInstanceByPickupID (ushort id)
 
MapClusterBuilder getClusterByPosition (float x, float z)
 
float getTerrainHeight (int x, int z)
 
float getCharacterHeight (float x, float z)
 
float getCollisionHeight (int x, int z)
 
float getFurnitureHeight (int x, int z, int height=-1)
 
bool getCellIsRoof (int x, int z)
 
float getAdjustedHeight (float x, float z)
 
float addStairHeight (float x, float z, float bh)
 
int getStairDir (int x, int z)
 
int getStairDirAuto (int x, int z)
 
STAIR_STAT getStairStat (int x, int z, ref Common.Rom.Map.StairRef sr)
 
void stairUpdate (int x, int y, int z, int scaleFactor)
 
bool isWalkable (int x, int z)
 
void updateBuildingLight ()
 
void addMapObjectInstance (Common.Rom.Map.MapObjectRef mor, List< Common.Rom.RomItem > list)
 
Common.Rom.Map.MapObjectRef addMapObject (float x, float z, Guid guid)
 
void addMapObject (Common.Rom.Map.MapObjectRef mr)
 
void removeMapObject (Common.Rom.Map.MapObjectRef m)
 
Common.Rom.Map.EventRef addEvent (int x, int z)
 
void addEvent (Common.Rom.Map.EventRef ev)
 
void removeEvent (Map.EventRef ev, Dictionary< Map, List< Map.Place > > removedPlaces)
 
void removeEventWithoutPlaces (Map.EventRef ev)
 
Common.Rom.Map.StairRef addStair (int x, int z, int index, bool extStair=false, Map.StairRef stair=null)
 
void addStair (Common.Rom.Map.StairRef sr, bool autoDirection=true)
 
void removeStair (Common.Rom.Map.StairRef sr)
 
void addLocalLight (Common.Rom.Map.LocalLight ll)
 
void removeLocalLight (Common.Rom.Map.LocalLight ll)
 
void addPlace (Common.Rom.Map.Place p)
 
void removePlace (Common.Rom.Map.Place p)
 
void setTerrainHeight (int x, int z, int height)
 
bool setTerrainAttr (int x, int z, int attr, Common.Rom.Map.AttribDir dir, bool geometryUpdate=true)
 
bool setTerrainUVFlip (int x, int z, Common.Rom.Map.AttribDir dir, bool flip)
 
bool setTerrain (int x, int z, int height, int attrib, bool geometryUpdate=true)
 
int getChipIndex (Common.Resource.MapChip parts, bool autoAdd=true)
 
Common.Resource.MapChip getBgChip ()
 
float getRoofAdjustedHeight (float dx, float dz, float dy)
 
float getHeightOnCantMove (float x, float z, float y)
 Get height above immovable (including stair offset value) More...
 
float getHeightOnCantMoveRev (float x, float z, float y)
 Get height below immovable (including stair offset value) More...
 
void stopPickupExceptTerrain (bool flg)
 
void setFogEnabled (bool @checked)
 
void setRenderSettings (RenderSettings renderSettings, bool forceReload=false)
 
- Public Member Functions inherited from SharpKmyGfx::Drawable
 Drawable ()
 
void Release ()
 
virtual void draw (Render ^scn)
 

Static Public Member Functions

static bool isValidName (String inName)
 
static string convertValidName (Map inMap)
 
static void setGameViewRenderParams (SharpKmyGfx.GameView gv, RenderSettings rs, bool ignoreBackground=false)
 
static void applyRenderSettings (SharpKmyGfx.GameView gv, RenderSettings rp, float lightCoeff=1f, float bloomCoeff=1f, Vector3? dofCoeff=null, float chromabCoeff=0f)
 
static void CombineMotionResource (SharpKmyGfx.ModelInstance mmi, Common.Resource.GfxResourceBase rom)
 Associate a motion resource with the model (by the way, play the 0th motion) More...
 

Public Attributes

uint displayID = GameMain.sDefaultDisplayID
 
Terrain terrain = null
 
Map currentRom = null
 
RenderSettings renderSettings
 
SkyDrawer sky = null
 
float bloomCoeff = 1
 
float lightCoeff = 1
 
float chromabCoeff = 0
 
bool shadowUneditableArea = false
 
bool isExpandViewRange = false
 
bool isEditor = false
 
string mDebugMessage
 
int mDebugMessageX = 0
 
int mDebugMessageY = 0
 
bool mDebugMessageEnable = true
 
PICKUP_DRAW_MAPOBJECT drawMapObject = PICKUP_DRAW_MAPOBJECT.kALL
 
Func< int, int, string, bool > progressListener
 
- Public Attributes inherited from SharpKmyGfx::Drawable
System::Runtime::InteropServices::GCHandle handle
 

Static Public Attributes

const int MIN_HEIGHT = 0
 
const int MAX_HEIGHT = 100
 
static SharpKmyGfx.Render pickupscene = null
 

Properties

Map mapRom = null [get]
 
List< MapObjectInstanceMapObjects [get]
 
MapCollisionsDepotWithBit MapCollisionsDepotWithBit [get]
 The information of the hit judgment of the map in bits More...
 
bool ShowPerformance [get, set]
 

Events

MapDrawCallBack mapDrawCallBack
 
onMapInitialize mapInitialize
 
onMapReset mapReset
 

Detailed Description

A class for reading Common.Rom.Map and generating and managing 3D models of terrain and objects

Member Enumeration Documentation

◆ Corner

Which corner of the terrain (for UV generation)

Enumerator
TopLeft 
BottomRight 

◆ PICKUP_DRAW_MAPOBJECT

Pickup type

Enumerator
kALL 
kBUILDING_ONLY 
kNONE 

◆ STAIR_STAT

Direction of stairs/slopes

Enumerator
NONE 
POS_Z 
NEG_Z 
POS_X 
NEG_X 
RIDGE_POSZ_POSX 
RIDGE_NEGZ_NEGX 
RIDGE_NEGZ_POSX 
RIDGE_POSZ_NEGX 
VALLEY_POSZ_POSX 
VALLEY_NEGZ_NEGX 
VALLEY_NEGZ_POSX 
VALLEY_POSZ_NEGX 

Constructor & Destructor Documentation

◆ MapData()

Yukar.Engine.MapData.MapData ( SharpKmyGfx.SpriteBatch  s)

Member Function Documentation

◆ addEvent() [1/2]

void Yukar.Engine.MapData.addEvent ( Common.Rom.Map.EventRef  ev)

◆ addEvent() [2/2]

Common.Rom.Map.EventRef Yukar.Engine.MapData.addEvent ( int  x,
int  z 
)

◆ addLocalLight()

void Yukar.Engine.MapData.addLocalLight ( Common.Rom.Map.LocalLight  ll)

◆ addMapObject() [1/2]

void Yukar.Engine.MapData.addMapObject ( Common.Rom.Map.MapObjectRef  mr)

◆ addMapObject() [2/2]

Common.Rom.Map.MapObjectRef Yukar.Engine.MapData.addMapObject ( float  x,
float  z,
Guid  guid 
)

◆ addMapObjectInstance()

void Yukar.Engine.MapData.addMapObjectInstance ( Common.Rom.Map.MapObjectRef  mor,
List< Common.Rom.RomItem >  list 
)

◆ addPlace()

void Yukar.Engine.MapData.addPlace ( Common.Rom.Map.Place  p)

◆ addStair() [1/2]

void Yukar.Engine.MapData.addStair ( Common.Rom.Map.StairRef  sr,
bool  autoDirection = true 
)

◆ addStair() [2/2]

Common.Rom.Map.StairRef Yukar.Engine.MapData.addStair ( int  x,
int  z,
int  index,
bool  extStair = false,
Map.StairRef  stair = null 
)

◆ addStairHeight()

float Yukar.Engine.MapData.addStairHeight ( float  x,
float  z,
float  bh 
)

◆ afterViewPositionFixProc()

void Yukar.Engine.MapData.afterViewPositionFixProc ( SharpKmyGfx.Render  scn)

◆ applyLight()

void Yukar.Engine.MapData.applyLight ( SharpKmyGfx.GameView  gv,
SharpKmyMath.Matrix4  p,
SharpKmyMath.Matrix4  v,
bool  stencilShadow,
SharpKmyMath.Vector3  seListenerPos 
)

◆ applyRenderSettings()

static void Yukar.Engine.MapData.applyRenderSettings ( SharpKmyGfx.GameView  gv,
RenderSettings  rp,
float  lightCoeff = 1f,
float  bloomCoeff = 1f,
Vector3?  dofCoeff = null,
float  chromabCoeff = 0f 
)
static

◆ CombineMotionResource()

static void Yukar.Engine.MapData.CombineMotionResource ( SharpKmyGfx.ModelInstance  mmi,
Common.Resource.GfxResourceBase  rom 
)
static

Associate a motion resource with the model (by the way, play the 0th motion)

◆ convertValidName()

static string Yukar.Engine.MapData.convertValidName ( Map  inMap)
static

◆ Destroy()

void Yukar.Engine.MapData.Destroy ( )

◆ draw()

override void Yukar.Engine.MapData.draw ( SharpKmyGfx.Render  scn)

◆ getAdjustedHeight()

float Yukar.Engine.MapData.getAdjustedHeight ( float  x,
float  z 
)

◆ getAspect()

float Yukar.Engine.MapData.getAspect ( )

◆ getBgChip()

Common.Resource.MapChip Yukar.Engine.MapData.getBgChip ( )

◆ getCellIsRoof()

bool Yukar.Engine.MapData.getCellIsRoof ( int  x,
int  z 
)

◆ getCharacterHeight()

float Yukar.Engine.MapData.getCharacterHeight ( float  x,
float  z 
)

◆ getChipIndex()

int Yukar.Engine.MapData.getChipIndex ( Common.Resource.MapChip  parts,
bool  autoAdd = true 
)

◆ GetChipInfo()

ChipInfo Yukar.Engine.MapData.GetChipInfo ( int  index)

◆ getClusterByPosition()

MapClusterBuilder Yukar.Engine.MapData.getClusterByPosition ( float  x,
float  z 
)

◆ getCollisionHeight()

float Yukar.Engine.MapData.getCollisionHeight ( int  x,
int  z 
)

◆ GetDrawInfo()

SharpKmyGfx.DrawInfo Yukar.Engine.MapData.GetDrawInfo ( )

◆ getFurnitureHeight()

float Yukar.Engine.MapData.getFurnitureHeight ( int  x,
int  z,
int  height = -1 
)

◆ getHeightOnCantMove()

float Yukar.Engine.MapData.getHeightOnCantMove ( float  x,
float  z,
float  y 
)

Get height above immovable (including stair offset value)

Parameters
xposition X to search
zPosition Z to search
yHeight to start searching (search downwards)
Returns
One height above immovable

◆ getHeightOnCantMoveRev()

float Yukar.Engine.MapData.getHeightOnCantMoveRev ( float  x,
float  z,
float  y 
)

Get height below immovable (including stair offset value)

Parameters
xposition X to search
zPosition Z to search
yHeight to start searching (searching upwards)
Returns
One height below immovable

◆ getMapObjectInstance() [1/2]

MapObjectInstance Yukar.Engine.MapData.getMapObjectInstance ( int  idx)

◆ getMapObjectInstance() [2/2]

MapObjectInstance[] Yukar.Engine.MapData.getMapObjectInstance ( Map.MapObjectRef  inRef)

◆ getMapObjectInstanceByPickupID()

MapObjectInstance Yukar.Engine.MapData.getMapObjectInstanceByPickupID ( ushort  id)

◆ getRidgeStairTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getRidgeStairTexCoord ( int  index)

◆ getRom()

Map Yukar.Engine.MapData.getRom ( )

◆ getRoofAdjustedHeight()

float Yukar.Engine.MapData.getRoofAdjustedHeight ( float  dx,
float  dz,
float  dy 
)

◆ getSize()

SharpKmyMath.Vector2 Yukar.Engine.MapData.getSize ( )

◆ GetSkyDrawer()

SkyDrawer Yukar.Engine.MapData.GetSkyDrawer ( )

◆ getSlopeTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getSlopeTexCoord ( int  index)

◆ getStairDir()

int Yukar.Engine.MapData.getStairDir ( int  x,
int  z 
)

◆ getStairDirAuto()

int Yukar.Engine.MapData.getStairDirAuto ( int  x,
int  z 
)

◆ getStairInfo()

Common.Resource.MapChip Yukar.Engine.MapData.getStairInfo ( int  index)

◆ getStairStat()

STAIR_STAT Yukar.Engine.MapData.getStairStat ( int  x,
int  z,
ref Common.Rom.Map.StairRef  sr 
)

◆ getStairTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getStairTexCoord ( int  index,
int  mapHeightScale 
)

◆ getTerrainHeight()

float Yukar.Engine.MapData.getTerrainHeight ( int  x,
int  z 
)

◆ getTerrainInfo()

Common.Resource.MapChip Yukar.Engine.MapData.getTerrainInfo ( int  index)

◆ getTerrainLiquidArea()

bool Yukar.Engine.MapData.getTerrainLiquidArea ( int  index)

◆ getTerrainSquareShape()

bool Yukar.Engine.MapData.getTerrainSquareShape ( int  index)

◆ getTerrainTexCoordBottomRight() [1/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordBottomRight ( ChipInfo  obj,
int  position,
int  height,
bool  isStairs = false,
bool  isBottom = false 
)

◆ getTerrainTexCoordBottomRight() [2/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordBottomRight ( int  index,
int  position,
int  height,
bool  isStairs = false 
)

◆ getTerrainTexCoordCorner() [1/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordCorner ( ChipInfo  chipInfo,
Corner  corner,
int  position,
int  height,
bool  isStairs = false,
bool  isBottom = false 
)

◆ getTerrainTexCoordCorner() [2/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordCorner ( int  index,
Corner  corner,
int  position,
int  height,
bool  isStairs = false 
)

◆ getTerrainTexCoordTopLeft() [1/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordTopLeft ( ChipInfo  obj,
int  position,
int  height,
bool  isStairs = false,
bool  isBottom = false 
)

◆ getTerrainTexCoordTopLeft() [2/2]

SharpKmyMath.Vector2 Yukar.Engine.MapData.getTerrainTexCoordTopLeft ( int  index,
int  position,
int  height,
bool  isStairs = false 
)

◆ getTerrainWalkable()

bool Yukar.Engine.MapData.getTerrainWalkable ( int  index)

◆ getValleyStairTexCoord()

SharpKmyMath.Vector2[] Yukar.Engine.MapData.getValleyStairTexCoord ( int  index)

◆ getWaveTexCoordBottomRight()

SharpKmyMath.Vector2 Yukar.Engine.MapData.getWaveTexCoordBottomRight ( int  index)

◆ getWaveTexCoordTopLeft()

SharpKmyMath.Vector2 Yukar.Engine.MapData.getWaveTexCoordTopLeft ( int  index)

◆ isStair()

bool Yukar.Engine.MapData.isStair ( int  index)

◆ isValidName()

static bool Yukar.Engine.MapData.isValidName ( String  inName)
static

◆ isWalkable()

bool Yukar.Engine.MapData.isWalkable ( int  x,
int  z 
)

◆ pause()

void Yukar.Engine.MapData.pause ( )

resume sound

◆ reloadAsset()

void Yukar.Engine.MapData.reloadAsset ( bool  isChangeSkyModel,
bool  isChangeEnvironmentEffect 
)

◆ removeEvent()

void Yukar.Engine.MapData.removeEvent ( Map.EventRef  ev,
Dictionary< Map, List< Map.Place > >  removedPlaces 
)

◆ removeEventWithoutPlaces()

void Yukar.Engine.MapData.removeEventWithoutPlaces ( Map.EventRef  ev)

◆ removeLocalLight()

void Yukar.Engine.MapData.removeLocalLight ( Common.Rom.Map.LocalLight  ll)

◆ removeMapObject()

void Yukar.Engine.MapData.removeMapObject ( Common.Rom.Map.MapObjectRef  m)

◆ removePlace()

void Yukar.Engine.MapData.removePlace ( Common.Rom.Map.Place  p)

◆ removeStair()

void Yukar.Engine.MapData.removeStair ( Common.Rom.Map.StairRef  sr)

◆ Reset()

void Yukar.Engine.MapData.Reset ( bool  terrainInit = true,
bool  useDirty = false 
)

◆ ResetMapObjects()

void Yukar.Engine.MapData.ResetMapObjects ( bool  useDirty)

◆ resume()

void Yukar.Engine.MapData.resume ( )

resume sound

◆ setDisplayID()

void Yukar.Engine.MapData.setDisplayID ( uint  displayID)

◆ setDofCoeff()

void Yukar.Engine.MapData.setDofCoeff ( Vector3  dofCoeff)

◆ setEventRangeColor()

void Yukar.Engine.MapData.setEventRangeColor ( List< Map.EventRef events)

◆ setFogEnabled()

void Yukar.Engine.MapData.setFogEnabled ( bool @  checked)

◆ setGameViewRenderParams()

static void Yukar.Engine.MapData.setGameViewRenderParams ( SharpKmyGfx.GameView  gv,
RenderSettings  rs,
bool  ignoreBackground = false 
)
static

◆ setLightCoeff()

void Yukar.Engine.MapData.setLightCoeff ( float  bloom,
float  light,
float  chrom 
)

◆ setLookAtPos()

void Yukar.Engine.MapData.setLookAtPos ( SharpKmyMath.Vector3  p)

◆ setRenderSettings()

void Yukar.Engine.MapData.setRenderSettings ( RenderSettings  renderSettings,
bool  forceReload = false 
)

◆ setRom()

void Yukar.Engine.MapData.setRom ( Map  data,
bool  topViewOnly,
bool  isForcedUpdate,
uint  displayID,
bool  terrainInit,
bool  useDirty = false,
bool  delayedSmoothing = true 
)

◆ setRomImpl()

IEnumerator Yukar.Engine.MapData.setRomImpl ( Map  data,
bool  isChangeScene,
bool  topViewOnly,
bool  terrainInit,
bool  useDirty = false,
bool  delayedSmoothing = true 
)

◆ setRomWithoutGraphics()

void Yukar.Engine.MapData.setRomWithoutGraphics ( Map  data)

◆ setTerrain()

bool Yukar.Engine.MapData.setTerrain ( int  x,
int  z,
int  height,
int  attrib,
bool  geometryUpdate = true 
)

◆ setTerrainAttr()

bool Yukar.Engine.MapData.setTerrainAttr ( int  x,
int  z,
int  attr,
Common.Rom.Map.AttribDir  dir,
bool  geometryUpdate = true 
)

◆ setTerrainHeight()

void Yukar.Engine.MapData.setTerrainHeight ( int  x,
int  z,
int  height 
)

◆ setTerrainUVFlip()

bool Yukar.Engine.MapData.setTerrainUVFlip ( int  x,
int  z,
Common.Rom.Map.AttribDir  dir,
bool  flip 
)

◆ SetupMapObjects()

void Yukar.Engine.MapData.SetupMapObjects ( bool  useDirty)

◆ stairUpdate()

void Yukar.Engine.MapData.stairUpdate ( int  x,
int  y,
int  z,
int  scaleFactor 
)

◆ stopPickupExceptTerrain()

void Yukar.Engine.MapData.stopPickupExceptTerrain ( bool  flg)

◆ UnloadModel()

void Yukar.Engine.MapData.UnloadModel ( List< Guid >  inIdList)

◆ Update()

void Yukar.Engine.MapData.Update ( float  elapsed)

◆ updateBuildingLight()

void Yukar.Engine.MapData.updateBuildingLight ( )

◆ updateCollisionDepotInUnity()

void Yukar.Engine.MapData.updateCollisionDepotInUnity ( )

◆ updateFogParam()

void Yukar.Engine.MapData.updateFogParam ( SharpKmyMath.Matrix4  pm)

◆ updateMapHeightAndWalkableState()

void Yukar.Engine.MapData.updateMapHeightAndWalkableState ( bool  isEnableCalcBuildingObjectHeight = true)

◆ updateMapObjectPosture()

void Yukar.Engine.MapData.updateMapObjectPosture ( MapObjectInstance  p,
bool  billboardable,
float  billboardAngle 
)

Member Data Documentation

◆ bloomCoeff

float Yukar.Engine.MapData.bloomCoeff = 1

◆ chromabCoeff

float Yukar.Engine.MapData.chromabCoeff = 0

◆ currentRom

Map Yukar.Engine.MapData.currentRom = null

◆ displayID

uint Yukar.Engine.MapData.displayID = GameMain.sDefaultDisplayID

◆ drawMapObject

PICKUP_DRAW_MAPOBJECT Yukar.Engine.MapData.drawMapObject = PICKUP_DRAW_MAPOBJECT.kALL

◆ isEditor

bool Yukar.Engine.MapData.isEditor = false

◆ isExpandViewRange

bool Yukar.Engine.MapData.isExpandViewRange = false

◆ lightCoeff

float Yukar.Engine.MapData.lightCoeff = 1

◆ MAX_HEIGHT

const int Yukar.Engine.MapData.MAX_HEIGHT = 100
static

◆ mDebugMessage

string Yukar.Engine.MapData.mDebugMessage

◆ mDebugMessageEnable

bool Yukar.Engine.MapData.mDebugMessageEnable = true

◆ mDebugMessageX

int Yukar.Engine.MapData.mDebugMessageX = 0

◆ mDebugMessageY

int Yukar.Engine.MapData.mDebugMessageY = 0

◆ MIN_HEIGHT

const int Yukar.Engine.MapData.MIN_HEIGHT = 0
static

◆ pickupscene

SharpKmyGfx.Render Yukar.Engine.MapData.pickupscene = null
static

◆ progressListener

Func<int, int, string, bool> Yukar.Engine.MapData.progressListener

◆ renderSettings

RenderSettings Yukar.Engine.MapData.renderSettings

◆ shadowUneditableArea

bool Yukar.Engine.MapData.shadowUneditableArea = false

◆ sky

SkyDrawer Yukar.Engine.MapData.sky = null

◆ terrain

Terrain Yukar.Engine.MapData.terrain = null

Property Documentation

◆ MapCollisionsDepotWithBit

MapCollisionsDepotWithBit Yukar.Engine.MapData.MapCollisionsDepotWithBit
get

The information of the hit judgment of the map in bits

◆ MapObjects

List<MapObjectInstance> Yukar.Engine.MapData.MapObjects
get

◆ mapRom

Map Yukar.Engine.MapData.mapRom = null
get

◆ ShowPerformance

bool Yukar.Engine.MapData.ShowPerformance
getset

Event Documentation

◆ mapDrawCallBack

MapDrawCallBack Yukar.Engine.MapData.mapDrawCallBack

◆ mapInitialize

onMapInitialize Yukar.Engine.MapData.mapInitialize

◆ mapReset

onMapReset Yukar.Engine.MapData.mapReset