cUOSpriteBlock Class Reference

List of all members.

Public Member Functions

mixed SetVisible (mixed bVisible)
mixed SetPosition (mixed x, mixed y, mixed z)
mixed RayPick (mixed rx, mixed ry, mixed rz, mixed rvx, mixed rvy, mixed rvz)
 returns dist,sprite if hit, or nil if not hit. sprite={artid=?,hue=?,data=?} (see AddArtSprite)
mixed AddStatic (mixed static)
 static comes from MapGetBlockStatics(bx,by) : {zloc=?,artid=?,hue=?,xloc=?,yloc=?,tx=?,ty=?,bx=?,by=?,bIsStatic=true}
mixed GetBaseHueData (mixed iHue)
 returns iTextureHue,r,g,b,a
mixed AddAnim (mixed tx, mixed ty, mixed tz, mixed iRealID, mixed iHue, mixed iLoaderIndex, mixed iFrame, mixed bMirrorX, mixed sortbonus, mixed data)
mixed AddAnimModel (mixed tx, mixed ty, mixed tz, mixed iTranslatedModelID, mixed iHue, mixed iLoaderIndex, mixed iFallBackModel, mixed iFallBackAnim, mixed iAnimID, mixed iFrame, mixed bMirrorX, mixed sortbonus, mixed data, mixed spritearr)
mixed AddArtSprite (mixed tx, mixed ty, mixed zloc, mixed artid, mixed hue, mixed sortbonus, mixed data)
 load textures to atlas, artid-hue
mixed AddSpriteEx (mixed tx, mixed ty, mixed zloc, mixed sortbonus, mixed data, mixed pAtlasPiece, mixed bMirrorX, mixed sprite)
 pAtlasPiece={atlas=?,origw=?,origh=?,u0=?,v0=?,u1=?,v1=?} sprite:usually nil, can be set to old table for overwriting (mobile anim)
mixed LoadAtlasMat (mixed atlas, mixed basemat)
mixed AddStaticWaterTile (mixed static)
mixed AddWaterTile (mixed tx, mixed ty, mixed zloc, mixed artid, mixed data, mixed sortrelidx)
mixed Build (mixed basemat, mixed bUseRootGfxForFirst)
 bUseRootGfxForFirst : default false, can be set to true if there is only one sprite
mixed CamStep (mixed t, mixed xloc, mixed yloc, mixed zloc)


Detailed Description

Definition at line 2968 of file lua_pseudo_code.cpp.


Member Function Documentation

mixed cUOSpriteBlock::SetVisible ( mixed  bVisible  )  [inline]

Definition at line 2970 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::SetPosition ( mixed  x,
mixed  y,
mixed  z 
) [inline]

Definition at line 2972 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::RayPick ( mixed  rx,
mixed  ry,
mixed  rz,
mixed  rvx,
mixed  rvy,
mixed  rvz 
) [inline]

returns dist,sprite if hit, or nil if not hit. sprite={artid=?,hue=?,data=?} (see AddArtSprite)

Definition at line 2975 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::AddStatic ( mixed  static  )  [inline]

static comes from MapGetBlockStatics(bx,by) : {zloc=?,artid=?,hue=?,xloc=?,yloc=?,tx=?,ty=?,bx=?,by=?,bIsStatic=true}

Definition at line 2978 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::GetBaseHueData ( mixed  iHue  )  [inline]

returns iTextureHue,r,g,b,a

Definition at line 2981 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::AddAnim ( mixed  tx,
mixed  ty,
mixed  tz,
mixed  iRealID,
mixed  iHue,
mixed  iLoaderIndex,
mixed  iFrame,
mixed  bMirrorX,
mixed  sortbonus,
mixed  data 
) [inline]

Definition at line 2983 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::AddAnimModel ( mixed  tx,
mixed  ty,
mixed  tz,
mixed  iTranslatedModelID,
mixed  iHue,
mixed  iLoaderIndex,
mixed  iFallBackModel,
mixed  iFallBackAnim,
mixed  iAnimID,
mixed  iFrame,
mixed  bMirrorX,
mixed  sortbonus,
mixed  data,
mixed  spritearr 
) [inline]

Definition at line 2985 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::AddArtSprite ( mixed  tx,
mixed  ty,
mixed  zloc,
mixed  artid,
mixed  hue,
mixed  sortbonus,
mixed  data 
) [inline]

load textures to atlas, artid-hue

Definition at line 2988 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::AddSpriteEx ( mixed  tx,
mixed  ty,
mixed  zloc,
mixed  sortbonus,
mixed  data,
mixed  pAtlasPiece,
mixed  bMirrorX,
mixed  sprite 
) [inline]

pAtlasPiece={atlas=?,origw=?,origh=?,u0=?,v0=?,u1=?,v1=?} sprite:usually nil, can be set to old table for overwriting (mobile anim)

Definition at line 2991 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::LoadAtlasMat ( mixed  atlas,
mixed  basemat 
) [inline]

Definition at line 2993 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::AddStaticWaterTile ( mixed  static  )  [inline]

Definition at line 2995 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::AddWaterTile ( mixed  tx,
mixed  ty,
mixed  zloc,
mixed  artid,
mixed  data,
mixed  sortrelidx 
) [inline]

Definition at line 2997 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::Build ( mixed  basemat,
mixed  bUseRootGfxForFirst 
) [inline]

bUseRootGfxForFirst : default false, can be set to true if there is only one sprite

Definition at line 3000 of file lua_pseudo_code.cpp.

mixed cUOSpriteBlock::CamStep ( mixed  t,
mixed  xloc,
mixed  yloc,
mixed  zloc 
) [inline]

Definition at line 3002 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:09 2013 for lua by  doxygen 1.5.6