2009年10月18日日曜日

DxLibDotNet3_00dの更新情報2

3.00cから、3.00d(新規追加)
extern static VECTOR dx_ConvWorldPosToScreenPos( VECTOR WorldPos);
public static VECTOR ConvWorldPosToScreenPos( VECTOR WorldPos)
{
return dx_ConvWorldPosToScreenPos( WorldPos );
}

[DllImport("DxLib.dll")]
extern static VECTOR dx_ConvScreenPosToWorldPos( VECTOR ScreenPos);
public static VECTOR ConvScreenPosToWorldPos( VECTOR ScreenPos)
{
return dx_ConvScreenPosToWorldPos( ScreenPos );
}

3.00c
public static int PlayMovieToGraph( int GraphHandle)
{
return dx_PlayMovieToGraph( GraphHandle , DX_PLAYTYPE_BACK );
}
public static int PlayMovieToGraph( int GraphHandle, int PlayType)
{
return dx_PlayMovieToGraph( GraphHandle , PlayType );
}

[DllImport("DxLib.dll")]
extern static int dx_PauseMovieToGraph( int GraphHandle);
public static int PauseMovieToGraph( int GraphHandle)
{
return dx_PauseMovieToGraph( GraphHandle );
}

から、3.00d
extern static int dx_PlayMovieToGraph( int GraphHandle, int PlayType, int SysPlay);
public static int PlayMovieToGraph( int GraphHandle)
{
return dx_PlayMovieToGraph( GraphHandle , DX_PLAYTYPE_BACK , 0 );
}
public static int PlayMovieToGraph( int GraphHandle, int PlayType)
{
return dx_PlayMovieToGraph( GraphHandle , PlayType , 0 );
}
public static int PlayMovieToGraph( int GraphHandle, int PlayType, int SysPlay)
{
return dx_PlayMovieToGraph( GraphHandle , PlayType , SysPlay );
}

[DllImport("DxLib.dll")]
extern static int dx_PauseMovieToGraph( int GraphHandle, int SysPause);
public static int PauseMovieToGraph( int GraphHandle)
{
return dx_PauseMovieToGraph( GraphHandle , 0 );
}
public static int PauseMovieToGraph( int GraphHandle, int SysPause)
{
return dx_PauseMovieToGraph( GraphHandle , SysPause );
}

3.00cから、3.00d(新規追加)
[DllImport("DxLib.dll")]
extern static int dx_SetCameraScreenCenter( float x, float y);
public static int SetCameraScreenCenter( float x, float y)
{
return dx_SetCameraScreenCenter( x , y );
}

3.00cから、3.00d(新規追加)
public static int LoadSoundMemBase( string WaveName, int BufferNum)
{
return dx_LoadSoundMemBase( WaveName , BufferNum , -1 );
}

3.00cから、3.00d(新規追加)
[DllImport("DxLib.dll")]
extern static int dx_MV1SetFrameTextureAddressTransform( int MHandle, int FrameIndex, float TransU, float TransV, float ScaleU, float ScaleV, float RotCenterU, float RotCenterV, float Rotate);
public static int MV1SetFrameTextureAddressTransform( int MHandle, int FrameIndex, float TransU, float TransV, float ScaleU, float ScaleV, float RotCenterU, float RotCenterV, float Rotate)
{
return dx_MV1SetFrameTextureAddressTransform( MHandle , FrameIndex , TransU , TransV , ScaleU , ScaleV , RotCenterU , RotCenterV , Rotate );
}

[DllImport("DxLib.dll")]
extern static int dx_MV1SetFrameTextureAddressTransformMatrix( int MHandle, int FrameIndex, MATRIX Matrix);
public static int MV1SetFrameTextureAddressTransformMatrix( int MHandle, int FrameIndex, MATRIX Matrix)
{
return dx_MV1SetFrameTextureAddressTransformMatrix( MHandle , FrameIndex , Matrix );
}

[DllImport("DxLib.dll")]
extern static int dx_MV1ResetFrameTextureAddressTransform( int MHandle, int FrameIndex);
public static int MV1ResetFrameTextureAddressTransform( int MHandle, int FrameIndex)
{
return dx_MV1ResetFrameTextureAddressTransform( MHandle , FrameIndex );
}

3.00cから、3.00d(新規追加)
[DllImport("DxLib.dll")]
extern static MV1_COLL_RESULT_POLY_DIM dx_MV1CollCheck_Capsule( int MHandle, int FrameIndex, VECTOR Pos1, VECTOR Pos2, float r);
public static MV1_COLL_RESULT_POLY_DIM MV1CollCheck_Capsule( int MHandle, int FrameIndex, VECTOR Pos1, VECTOR Pos2, float r)
{
return dx_MV1CollCheck_Capsule( MHandle , FrameIndex , Pos1 , Pos2 , r );
}

0 件のコメント:

コメントを投稿