3.02bから、3.02c(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_DuplicateSoundMem")]
extern static int dx_DuplicateSoundMem( int SrcSoundHandle, int BufferNum);
public static int DuplicateSoundMem( int SrcSoundHandle)
{
return dx_DuplicateSoundMem( SrcSoundHandle , 3 );
}
public static int DuplicateSoundMem( int SrcSoundHandle, int BufferNum)
{
return dx_DuplicateSoundMem( SrcSoundHandle , BufferNum );
}
3.02bから、3.02c(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetNextPlayPanSoundMem")]
extern static int dx_SetNextPlayPanSoundMem( int PanPal, int SoundHandle);
public static int SetNextPlayPanSoundMem( int PanPal, int SoundHandle)
{
return dx_SetNextPlayPanSoundMem( PanPal , SoundHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetNextPlayVolumeSoundMem")]
extern static int dx_SetNextPlayVolumeSoundMem( int VolumePal, int SoundHandle);
public static int SetNextPlayVolumeSoundMem( int VolumePal, int SoundHandle)
{
return dx_SetNextPlayVolumeSoundMem( VolumePal , SoundHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_ChangeNextPlayVolumeSoundMem")]
extern static int dx_ChangeNextPlayVolumeSoundMem( int VolumePal, int SoundHandle);
public static int ChangeNextPlayVolumeSoundMem( int VolumePal, int SoundHandle)
{
return dx_ChangeNextPlayVolumeSoundMem( VolumePal , SoundHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetNextPlayFrequencySoundMem")]
extern static int dx_SetNextPlayFrequencySoundMem( int FrequencyPal, int SoundHandle);
public static int SetNextPlayFrequencySoundMem( int FrequencyPal, int SoundHandle)
{
return dx_SetNextPlayFrequencySoundMem( FrequencyPal , SoundHandle );
}
DxLibDotNet・ターミナル
このサイトはTakumi Yamada様のDXライブラリのDxLibDotNetについての更新情報などを書いています。
2010年5月3日月曜日
2010年4月25日日曜日
DxLibDotNet3_02aと3_02bの更新情報(3_02b)
3.02から、3.02b(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_DeleteSharingGraph")]
extern static int dx_DeleteSharingGraph( int GrHandle);
public static int DeleteSharingGraph( int GrHandle)
{
return dx_DeleteSharingGraph( GrHandle );
}
3.02から、3.02b(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_DrawRectGraphF")]
extern static int dx_DrawRectGraphF( float DestX, float DestY, int SrcX, int SrcY, int Width, int Height, int GraphHandle, int TransFlag, int TurnFlag);
public static int DrawRectGraphF( float DestX, float DestY, int SrcX, int SrcY, int Width, int Height, int GraphHandle, int TransFlag, int TurnFlag)
{
return dx_DrawRectGraphF( DestX , DestY , SrcX , SrcY , Width , Height , GraphHandle , TransFlag , TurnFlag );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawRectExtendGraphF")]
extern static int dx_DrawRectExtendGraphF( float DestX1, float DestY1, float DestX2, float DestY2, int SrcX, int SrcY, int SrcWidth, int SrcHeight, int GraphHandle, int TransFlag);
public static int DrawRectExtendGraphF( float DestX1, float DestY1, float DestX2, float DestY2, int SrcX, int SrcY, int SrcWidth, int SrcHeight, int GraphHandle, int TransFlag)
{
return dx_DrawRectExtendGraphF( DestX1 , DestY1 , DestX2 , DestY2 , SrcX , SrcY , SrcWidth , SrcHeight , GraphHandle , TransFlag );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawRectRotaGraphF")]
extern static int dx_DrawRectRotaGraphF( float X, float Y, int SrcX, int SrcY, int Width, int Height, double ExtRate, double Angle, int GraphHandle, int TransFlag, int TurnFlag);
public static int DrawRectRotaGraphF( float X, float Y, int SrcX, int SrcY, int Width, int Height, double ExtRate, double Angle, int GraphHandle, int TransFlag, int TurnFlag)
{
return dx_DrawRectRotaGraphF( X , Y , SrcX , SrcY , Width , Height , ExtRate , Angle , GraphHandle , TransFlag , TurnFlag );
}
[DllImport("DxLib.dll", EntryPoint="dx_DeleteSharingGraph")]
extern static int dx_DeleteSharingGraph( int GrHandle);
public static int DeleteSharingGraph( int GrHandle)
{
return dx_DeleteSharingGraph( GrHandle );
}
3.02から、3.02b(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_DrawRectGraphF")]
extern static int dx_DrawRectGraphF( float DestX, float DestY, int SrcX, int SrcY, int Width, int Height, int GraphHandle, int TransFlag, int TurnFlag);
public static int DrawRectGraphF( float DestX, float DestY, int SrcX, int SrcY, int Width, int Height, int GraphHandle, int TransFlag, int TurnFlag)
{
return dx_DrawRectGraphF( DestX , DestY , SrcX , SrcY , Width , Height , GraphHandle , TransFlag , TurnFlag );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawRectExtendGraphF")]
extern static int dx_DrawRectExtendGraphF( float DestX1, float DestY1, float DestX2, float DestY2, int SrcX, int SrcY, int SrcWidth, int SrcHeight, int GraphHandle, int TransFlag);
public static int DrawRectExtendGraphF( float DestX1, float DestY1, float DestX2, float DestY2, int SrcX, int SrcY, int SrcWidth, int SrcHeight, int GraphHandle, int TransFlag)
{
return dx_DrawRectExtendGraphF( DestX1 , DestY1 , DestX2 , DestY2 , SrcX , SrcY , SrcWidth , SrcHeight , GraphHandle , TransFlag );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawRectRotaGraphF")]
extern static int dx_DrawRectRotaGraphF( float X, float Y, int SrcX, int SrcY, int Width, int Height, double ExtRate, double Angle, int GraphHandle, int TransFlag, int TurnFlag);
public static int DrawRectRotaGraphF( float X, float Y, int SrcX, int SrcY, int Width, int Height, double ExtRate, double Angle, int GraphHandle, int TransFlag, int TurnFlag)
{
return dx_DrawRectRotaGraphF( X , Y , SrcX , SrcY , Width , Height , ExtRate , Angle , GraphHandle , TransFlag , TurnFlag );
}
2010年3月22日月曜日
DxLibDotNet3_02の更新情報
3.01(3.00f)
[DllImport("DxLib.dll")]
から、3.02 エントリーポイントの変更
[DllImport("DxLib.dll", EntryPoint="宣言名")]
3.01(3.00f)から、3.02(新規追加)
MAX_SHADER_NUM
3.01(3.00f)から、3.02(新規追加)
DX_HANDLETYPE_SHADER
3.01(3.00f)から、3.02(新規追加)
DRAWPREP_NOTSHADERRESET
3.01(3.00f)から、3.02(新規追加)
public struct INT4
{
[FieldOffset(0)] public int x;
[FieldOffset(4)] public int y;
[FieldOffset(8)] public int z;
[FieldOffset(12)] public int w;
};
3.01(3.00f)から、3.02(新規追加)
public struct VERTEX2D
{
[FieldOffset(0)] public VECTOR pos;
[FieldOffset(12)] public float rhw;
[FieldOffset(16)] public COLOR_U8 dif;
[FieldOffset(20)] public float u;
[FieldOffset(24)] public float v;
};
[StructLayout(LayoutKind.Explicit)]
public struct VERTEX2DSHADER
{
[FieldOffset(0)] public VECTOR pos;
[FieldOffset(12)] public float rhw;
[FieldOffset(16)] public COLOR_U8 dif;
[FieldOffset(20)] public COLOR_U8 spc;
[FieldOffset(24)] public float u;
[FieldOffset(28)] public float v;
[FieldOffset(32)] public float su;
[FieldOffset(36)] public float sv;
};
3.01(3.00f)から、3.02(新規追加)
[StructLayout(LayoutKind.Explicit)]
public struct VERTEX3DSHADER
{
[FieldOffset(0)] public VECTOR pos;
[FieldOffset(12)] public VECTOR norm;
[FieldOffset(24)] public COLOR_U8 dif;
[FieldOffset(28)] public COLOR_U8 spc;
[FieldOffset(32)] public float u;
[FieldOffset(36)] public float v;
[FieldOffset(40)] public float su;
[FieldOffset(44)] public float sv;
};
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetWindowSize")]
extern static int dx_GetWindowSize( out int Width, out int Height);
public static int GetWindowSize( out int Width, out int Height)
{
return dx_GetWindowSize( out Width , out Height );
}
3.01(3.00f)
[DllImport("DxLib.dll")]
extern static int dx_SetWindowSizeExtendRate( double ExRate);
public static int SetWindowSizeExtendRate( double ExRate)
{
return dx_SetWindowSizeExtendRate( ExRate );
}
から、3.02
[DllImport("DxLib.dll", EntryPoint="dx_SetWindowSizeExtendRate")]
extern static int dx_SetWindowSizeExtendRate( double ExRateX, double ExRateY);
public static int SetWindowSizeExtendRate( double ExRateX)
{
return dx_SetWindowSizeExtendRate( ExRateX , -1.0 );
}
3.01(3.00f)から、3.02(新規追加)
public static int SetWindowSizeExtendRate( double ExRateX, double ExRateY)
{
return dx_SetWindowSizeExtendRate( ExRateX , ExRateY );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetUseBackBufferTransColorFlag")]
extern static int dx_SetUseBackBufferTransColorFlag( int Flag);
public static int SetUseBackBufferTransColorFlag( int Flag)
{
return dx_SetUseBackBufferTransColorFlag( Flag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_UpdateTransColorWindowRgn")]
extern static int dx_UpdateTransColorWindowRgn( );
public static int UpdateTransColorWindowRgn( )
{
return dx_UpdateTransColorWindowRgn( );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetChangeScreenModeGraphicsSystemResetFlag")]
extern static int dx_SetChangeScreenModeGraphicsSystemResetFlag( int Flag);
public static int SetChangeScreenModeGraphicsSystemResetFlag( int Flag)
{
return dx_SetChangeScreenModeGraphicsSystemResetFlag( Flag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitive2D")]
extern static int dx_DrawPrimitive2D( out VERTEX2D Vertex, int VertexNum, int PrimitiveType, int GrHandle, int TransFlag);
public static int DrawPrimitive2D( out VERTEX2D Vertex, int VertexNum, int PrimitiveType, int GrHandle, int TransFlag)
{
return dx_DrawPrimitive2D( out Vertex , VertexNum , PrimitiveType , GrHandle , TransFlag );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitiveIndexed2D")]
extern static int dx_DrawPrimitiveIndexed2D( out VERTEX2D Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType, int GrHandle, int TransFlag);
public static int DrawPrimitiveIndexed2D( out VERTEX2D Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType, int GrHandle, int TransFlag)
{
return dx_DrawPrimitiveIndexed2D( out Vertex , VertexNum , out Indices , IndexNum , PrimitiveType , GrHandle , TransFlag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetValidShaderVersion")]
extern static int dx_GetValidShaderVersion( );
public static int GetValidShaderVersion( )
{
return dx_GetValidShaderVersion( );
}
[DllImport("DxLib.dll", EntryPoint="dx_LoadVertexShader")]
extern static int dx_LoadVertexShader( string FileName);
public static int LoadVertexShader( string FileName)
{
return dx_LoadVertexShader( FileName );
}
[DllImport("DxLib.dll", EntryPoint="dx_LoadPixelShader")]
extern static int dx_LoadPixelShader( string FileName);
public static int LoadPixelShader( string FileName)
{
return dx_LoadPixelShader( FileName );
}
[DllImport("DxLib.dll", EntryPoint="dx_DeleteShader")]
extern static int dx_DeleteShader( int ShaderHandle);
public static int DeleteShader( int ShaderHandle)
{
return dx_DeleteShader( ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_InitShader")]
extern static int dx_InitShader( );
public static int InitShader( )
{
return dx_InitShader( );
}
[DllImport("DxLib.dll", EntryPoint="dx_GetConstIndexToShader")]
extern static int dx_GetConstIndexToShader( string ConstantName, int ShaderHandle);
public static int GetConstIndexToShader( string ConstantName, int ShaderHandle)
{
return dx_GetConstIndexToShader( ConstantName , ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstF")]
extern static int dx_SetVSConstF( int ConstantIndex, FLOAT4 Param);
public static int SetVSConstF( int ConstantIndex, FLOAT4 Param)
{
return dx_SetVSConstF( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstFMtx")]
extern static int dx_SetVSConstFMtx( int ConstantIndex, MATRIX Param);
public static int SetVSConstFMtx( int ConstantIndex, MATRIX Param)
{
return dx_SetVSConstFMtx( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstI")]
extern static int dx_SetVSConstI( int ConstantIndex, INT4 Param);
public static int SetVSConstI( int ConstantIndex, INT4 Param)
{
return dx_SetVSConstI( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstB")]
extern static int dx_SetVSConstB( int ConstantIndex, int Param);
public static int SetVSConstB( int ConstantIndex, int Param)
{
return dx_SetVSConstB( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstFArray")]
extern static int dx_SetVSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum);
public static int SetVSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum)
{
return dx_SetVSConstFArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstFMtxArray")]
extern static int dx_SetVSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum);
public static int SetVSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum)
{
return dx_SetVSConstFMtxArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstIArray")]
extern static int dx_SetVSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum);
public static int SetVSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum)
{
return dx_SetVSConstIArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstBArray")]
extern static int dx_SetVSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum);
public static int SetVSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum)
{
return dx_SetVSConstBArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstF")]
extern static int dx_SetPSConstF( int ConstantIndex, FLOAT4 Param);
public static int SetPSConstF( int ConstantIndex, FLOAT4 Param)
{
return dx_SetPSConstF( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstFMtx")]
extern static int dx_SetPSConstFMtx( int ConstantIndex, MATRIX Param);
public static int SetPSConstFMtx( int ConstantIndex, MATRIX Param)
{
return dx_SetPSConstFMtx( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstI")]
extern static int dx_SetPSConstI( int ConstantIndex, INT4 Param);
public static int SetPSConstI( int ConstantIndex, INT4 Param)
{
return dx_SetPSConstI( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstB")]
extern static int dx_SetPSConstB( int ConstantIndex, int Param);
public static int SetPSConstB( int ConstantIndex, int Param)
{
return dx_SetPSConstB( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstFArray")]
extern static int dx_SetPSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum);
public static int SetPSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum)
{
return dx_SetPSConstFArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstFMtxArray")]
extern static int dx_SetPSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum);
public static int SetPSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum)
{
return dx_SetPSConstFMtxArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstIArray")]
extern static int dx_SetPSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum);
public static int SetPSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum)
{
return dx_SetPSConstIArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstBArray")]
extern static int dx_SetPSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum);
public static int SetPSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum)
{
return dx_SetPSConstBArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetUseTextureToShader")]
extern static int dx_SetUseTextureToShader( int StageIndex, int GraphHandle);
public static int SetUseTextureToShader( int StageIndex, int GraphHandle)
{
return dx_SetUseTextureToShader( StageIndex , GraphHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetUseVertexShader")]
extern static int dx_SetUseVertexShader( int ShaderHandle);
public static int SetUseVertexShader( int ShaderHandle)
{
return dx_SetUseVertexShader( ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetUsePixelShader")]
extern static int dx_SetUsePixelShader( int ShaderHandle);
public static int SetUsePixelShader( int ShaderHandle)
{
return dx_SetUsePixelShader( ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitive2DToShader")]
extern static int dx_DrawPrimitive2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, int PrimitiveType);
public static int DrawPrimitive2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, int PrimitiveType)
{
return dx_DrawPrimitive2DToShader( out Vertex , VertexNum , PrimitiveType );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitive3DToShader")]
extern static int dx_DrawPrimitive3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, int PrimitiveType);
public static int DrawPrimitive3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, int PrimitiveType)
{
return dx_DrawPrimitive3DToShader( out Vertex , VertexNum , PrimitiveType );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitiveIndexed2DToShader")]
extern static int dx_DrawPrimitiveIndexed2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType);
public static int DrawPrimitiveIndexed2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType)
{
return dx_DrawPrimitiveIndexed2DToShader( out Vertex , VertexNum , out Indices , IndexNum , PrimitiveType );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitiveIndexed3DToShader")]
extern static int dx_DrawPrimitiveIndexed3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType);
public static int DrawPrimitiveIndexed3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType)
{
return dx_DrawPrimitiveIndexed3DToShader( out Vertex , VertexNum , out Indices , IndexNum , PrimitiveType );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetAeroDisableFlag")]
extern static int dx_SetAeroDisableFlag( int Flag);
public static int SetAeroDisableFlag( int Flag)
{
return dx_SetAeroDisableFlag( Flag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetLastUpdateTimeMovieToGraph")]
extern static int dx_GetLastUpdateTimeMovieToGraph( int GraphHandle);
public static int GetLastUpdateTimeMovieToGraph( int GraphHandle)
{
return dx_GetLastUpdateTimeMovieToGraph( GraphHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetCameraViewMatrix")]
extern static MATRIX dx_GetCameraViewMatrix( );
public static MATRIX GetCameraViewMatrix( )
{
return dx_GetCameraViewMatrix( );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetDrawScreenSoftImage")]
extern static int dx_GetDrawScreenSoftImage( int x1, int y1, int x2, int y2, int SIHandle);
public static int GetDrawScreenSoftImage( int x1, int y1, int x2, int y2, int SIHandle)
{
return dx_GetDrawScreenSoftImage( x1 , y1 , x2 , y2 , SIHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_UpdateLayerdWindowForSoftImage")]
extern static int dx_UpdateLayerdWindowForSoftImage( int SIHandle);
public static int UpdateLayerdWindowForSoftImage( int SIHandle)
{
return dx_UpdateLayerdWindowForSoftImage( SIHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_BltSoftImageWithTransColor")]
extern static int dx_BltSoftImageWithTransColor( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Tr, int Tg, int Tb, int Ta);
public static int BltSoftImageWithTransColor( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Tr, int Tg, int Tb, int Ta)
{
return dx_BltSoftImageWithTransColor( SrcX , SrcY , SrcSizeX , SrcSizeY , SrcSIHandle , DestX , DestY , DestSIHandle , Tr , Tg , Tb , Ta );
}
[DllImport("DxLib.dll", EntryPoint="dx_BltSoftImageWithAlphaBlend")]
extern static int dx_BltSoftImageWithAlphaBlend( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Opacity);
public static int BltSoftImageWithAlphaBlend( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle)
{
return dx_BltSoftImageWithAlphaBlend( SrcX , SrcY , SrcSizeX , SrcSizeY , SrcSIHandle , DestX , DestY , DestSIHandle , 255 );
}
public static int BltSoftImageWithAlphaBlend( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Opacity)
{
return dx_BltSoftImageWithAlphaBlend( SrcX , SrcY , SrcSizeX , SrcSizeY , SrcSIHandle , DestX , DestY , DestSIHandle , Opacity );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetCurrentPositionSoundMem")]
extern static int dx_SetCurrentPositionSoundMem( int SamplePosition, int SoundHandle);
public static int SetCurrentPositionSoundMem( int SamplePosition, int SoundHandle)
{
return dx_SetCurrentPositionSoundMem( SamplePosition , SoundHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_GetCurrentPositionSoundMem")]
extern static int dx_GetCurrentPositionSoundMem( int SoundHandle);
public static int GetCurrentPositionSoundMem( int SoundHandle)
{
return dx_GetCurrentPositionSoundMem( SoundHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetLoopStartTimePosSoundMem")]
extern static int dx_SetLoopStartTimePosSoundMem( int LoopStartTime, int SoundHandle);
public static int SetLoopStartTimePosSoundMem( int LoopStartTime, int SoundHandle)
{
return dx_SetLoopStartTimePosSoundMem( LoopStartTime , SoundHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetLoopStartSamplePosSoundMem")]
extern static int dx_SetLoopStartSamplePosSoundMem( int LoopStartSamplePosition, int SoundHandle);
public static int SetLoopStartSamplePosSoundMem( int LoopStartSamplePosition, int SoundHandle)
{
return dx_SetLoopStartSamplePosSoundMem( LoopStartSamplePosition , SoundHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_MV1SetAttachAnimBlendRateToFrame")]
extern static int dx_MV1SetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex, float Rate, int SetChild);
public static int MV1SetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex, float Rate)
{
return dx_MV1SetAttachAnimBlendRateToFrame( MHandle , AttachIndex , FrameIndex , Rate , TRUE );
}
public static int MV1SetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex, float Rate, int SetChild)
{
return dx_MV1SetAttachAnimBlendRateToFrame( MHandle , AttachIndex , FrameIndex , Rate , SetChild );
}
[DllImport("DxLib.dll", EntryPoint="dx_MV1GetAttachAnimBlendRateToFrame")]
extern static float dx_MV1GetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex);
public static float MV1GetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex)
{
return dx_MV1GetAttachAnimBlendRateToFrame( MHandle , AttachIndex , FrameIndex );
}
[DllImport("DxLib.dll")]
から、3.02 エントリーポイントの変更
[DllImport("DxLib.dll", EntryPoint="宣言名")]
3.01(3.00f)から、3.02(新規追加)
MAX_SHADER_NUM
3.01(3.00f)から、3.02(新規追加)
DX_HANDLETYPE_SHADER
3.01(3.00f)から、3.02(新規追加)
DRAWPREP_NOTSHADERRESET
3.01(3.00f)から、3.02(新規追加)
public struct INT4
{
[FieldOffset(0)] public int x;
[FieldOffset(4)] public int y;
[FieldOffset(8)] public int z;
[FieldOffset(12)] public int w;
};
3.01(3.00f)から、3.02(新規追加)
public struct VERTEX2D
{
[FieldOffset(0)] public VECTOR pos;
[FieldOffset(12)] public float rhw;
[FieldOffset(16)] public COLOR_U8 dif;
[FieldOffset(20)] public float u;
[FieldOffset(24)] public float v;
};
[StructLayout(LayoutKind.Explicit)]
public struct VERTEX2DSHADER
{
[FieldOffset(0)] public VECTOR pos;
[FieldOffset(12)] public float rhw;
[FieldOffset(16)] public COLOR_U8 dif;
[FieldOffset(20)] public COLOR_U8 spc;
[FieldOffset(24)] public float u;
[FieldOffset(28)] public float v;
[FieldOffset(32)] public float su;
[FieldOffset(36)] public float sv;
};
3.01(3.00f)から、3.02(新規追加)
[StructLayout(LayoutKind.Explicit)]
public struct VERTEX3DSHADER
{
[FieldOffset(0)] public VECTOR pos;
[FieldOffset(12)] public VECTOR norm;
[FieldOffset(24)] public COLOR_U8 dif;
[FieldOffset(28)] public COLOR_U8 spc;
[FieldOffset(32)] public float u;
[FieldOffset(36)] public float v;
[FieldOffset(40)] public float su;
[FieldOffset(44)] public float sv;
};
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetWindowSize")]
extern static int dx_GetWindowSize( out int Width, out int Height);
public static int GetWindowSize( out int Width, out int Height)
{
return dx_GetWindowSize( out Width , out Height );
}
3.01(3.00f)
[DllImport("DxLib.dll")]
extern static int dx_SetWindowSizeExtendRate( double ExRate);
public static int SetWindowSizeExtendRate( double ExRate)
{
return dx_SetWindowSizeExtendRate( ExRate );
}
から、3.02
[DllImport("DxLib.dll", EntryPoint="dx_SetWindowSizeExtendRate")]
extern static int dx_SetWindowSizeExtendRate( double ExRateX, double ExRateY);
public static int SetWindowSizeExtendRate( double ExRateX)
{
return dx_SetWindowSizeExtendRate( ExRateX , -1.0 );
}
3.01(3.00f)から、3.02(新規追加)
public static int SetWindowSizeExtendRate( double ExRateX, double ExRateY)
{
return dx_SetWindowSizeExtendRate( ExRateX , ExRateY );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetUseBackBufferTransColorFlag")]
extern static int dx_SetUseBackBufferTransColorFlag( int Flag);
public static int SetUseBackBufferTransColorFlag( int Flag)
{
return dx_SetUseBackBufferTransColorFlag( Flag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_UpdateTransColorWindowRgn")]
extern static int dx_UpdateTransColorWindowRgn( );
public static int UpdateTransColorWindowRgn( )
{
return dx_UpdateTransColorWindowRgn( );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetChangeScreenModeGraphicsSystemResetFlag")]
extern static int dx_SetChangeScreenModeGraphicsSystemResetFlag( int Flag);
public static int SetChangeScreenModeGraphicsSystemResetFlag( int Flag)
{
return dx_SetChangeScreenModeGraphicsSystemResetFlag( Flag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitive2D")]
extern static int dx_DrawPrimitive2D( out VERTEX2D Vertex, int VertexNum, int PrimitiveType, int GrHandle, int TransFlag);
public static int DrawPrimitive2D( out VERTEX2D Vertex, int VertexNum, int PrimitiveType, int GrHandle, int TransFlag)
{
return dx_DrawPrimitive2D( out Vertex , VertexNum , PrimitiveType , GrHandle , TransFlag );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitiveIndexed2D")]
extern static int dx_DrawPrimitiveIndexed2D( out VERTEX2D Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType, int GrHandle, int TransFlag);
public static int DrawPrimitiveIndexed2D( out VERTEX2D Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType, int GrHandle, int TransFlag)
{
return dx_DrawPrimitiveIndexed2D( out Vertex , VertexNum , out Indices , IndexNum , PrimitiveType , GrHandle , TransFlag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetValidShaderVersion")]
extern static int dx_GetValidShaderVersion( );
public static int GetValidShaderVersion( )
{
return dx_GetValidShaderVersion( );
}
[DllImport("DxLib.dll", EntryPoint="dx_LoadVertexShader")]
extern static int dx_LoadVertexShader( string FileName);
public static int LoadVertexShader( string FileName)
{
return dx_LoadVertexShader( FileName );
}
[DllImport("DxLib.dll", EntryPoint="dx_LoadPixelShader")]
extern static int dx_LoadPixelShader( string FileName);
public static int LoadPixelShader( string FileName)
{
return dx_LoadPixelShader( FileName );
}
[DllImport("DxLib.dll", EntryPoint="dx_DeleteShader")]
extern static int dx_DeleteShader( int ShaderHandle);
public static int DeleteShader( int ShaderHandle)
{
return dx_DeleteShader( ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_InitShader")]
extern static int dx_InitShader( );
public static int InitShader( )
{
return dx_InitShader( );
}
[DllImport("DxLib.dll", EntryPoint="dx_GetConstIndexToShader")]
extern static int dx_GetConstIndexToShader( string ConstantName, int ShaderHandle);
public static int GetConstIndexToShader( string ConstantName, int ShaderHandle)
{
return dx_GetConstIndexToShader( ConstantName , ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstF")]
extern static int dx_SetVSConstF( int ConstantIndex, FLOAT4 Param);
public static int SetVSConstF( int ConstantIndex, FLOAT4 Param)
{
return dx_SetVSConstF( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstFMtx")]
extern static int dx_SetVSConstFMtx( int ConstantIndex, MATRIX Param);
public static int SetVSConstFMtx( int ConstantIndex, MATRIX Param)
{
return dx_SetVSConstFMtx( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstI")]
extern static int dx_SetVSConstI( int ConstantIndex, INT4 Param);
public static int SetVSConstI( int ConstantIndex, INT4 Param)
{
return dx_SetVSConstI( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstB")]
extern static int dx_SetVSConstB( int ConstantIndex, int Param);
public static int SetVSConstB( int ConstantIndex, int Param)
{
return dx_SetVSConstB( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstFArray")]
extern static int dx_SetVSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum);
public static int SetVSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum)
{
return dx_SetVSConstFArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstFMtxArray")]
extern static int dx_SetVSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum);
public static int SetVSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum)
{
return dx_SetVSConstFMtxArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstIArray")]
extern static int dx_SetVSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum);
public static int SetVSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum)
{
return dx_SetVSConstIArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetVSConstBArray")]
extern static int dx_SetVSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum);
public static int SetVSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum)
{
return dx_SetVSConstBArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstF")]
extern static int dx_SetPSConstF( int ConstantIndex, FLOAT4 Param);
public static int SetPSConstF( int ConstantIndex, FLOAT4 Param)
{
return dx_SetPSConstF( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstFMtx")]
extern static int dx_SetPSConstFMtx( int ConstantIndex, MATRIX Param);
public static int SetPSConstFMtx( int ConstantIndex, MATRIX Param)
{
return dx_SetPSConstFMtx( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstI")]
extern static int dx_SetPSConstI( int ConstantIndex, INT4 Param);
public static int SetPSConstI( int ConstantIndex, INT4 Param)
{
return dx_SetPSConstI( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstB")]
extern static int dx_SetPSConstB( int ConstantIndex, int Param);
public static int SetPSConstB( int ConstantIndex, int Param)
{
return dx_SetPSConstB( ConstantIndex , Param );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstFArray")]
extern static int dx_SetPSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum);
public static int SetPSConstFArray( int ConstantIndex, out FLOAT4 ParamArray, int ParamNum)
{
return dx_SetPSConstFArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstFMtxArray")]
extern static int dx_SetPSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum);
public static int SetPSConstFMtxArray( int ConstantIndex, out MATRIX ParamArray, int ParamNum)
{
return dx_SetPSConstFMtxArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstIArray")]
extern static int dx_SetPSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum);
public static int SetPSConstIArray( int ConstantIndex, out INT4 ParamArray, int ParamNum)
{
return dx_SetPSConstIArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetPSConstBArray")]
extern static int dx_SetPSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum);
public static int SetPSConstBArray( int ConstantIndex, out int ParamArray, int ParamNum)
{
return dx_SetPSConstBArray( ConstantIndex , out ParamArray , ParamNum );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetUseTextureToShader")]
extern static int dx_SetUseTextureToShader( int StageIndex, int GraphHandle);
public static int SetUseTextureToShader( int StageIndex, int GraphHandle)
{
return dx_SetUseTextureToShader( StageIndex , GraphHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetUseVertexShader")]
extern static int dx_SetUseVertexShader( int ShaderHandle);
public static int SetUseVertexShader( int ShaderHandle)
{
return dx_SetUseVertexShader( ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetUsePixelShader")]
extern static int dx_SetUsePixelShader( int ShaderHandle);
public static int SetUsePixelShader( int ShaderHandle)
{
return dx_SetUsePixelShader( ShaderHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitive2DToShader")]
extern static int dx_DrawPrimitive2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, int PrimitiveType);
public static int DrawPrimitive2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, int PrimitiveType)
{
return dx_DrawPrimitive2DToShader( out Vertex , VertexNum , PrimitiveType );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitive3DToShader")]
extern static int dx_DrawPrimitive3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, int PrimitiveType);
public static int DrawPrimitive3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, int PrimitiveType)
{
return dx_DrawPrimitive3DToShader( out Vertex , VertexNum , PrimitiveType );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitiveIndexed2DToShader")]
extern static int dx_DrawPrimitiveIndexed2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType);
public static int DrawPrimitiveIndexed2DToShader( out VERTEX2DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType)
{
return dx_DrawPrimitiveIndexed2DToShader( out Vertex , VertexNum , out Indices , IndexNum , PrimitiveType );
}
[DllImport("DxLib.dll", EntryPoint="dx_DrawPrimitiveIndexed3DToShader")]
extern static int dx_DrawPrimitiveIndexed3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType);
public static int DrawPrimitiveIndexed3DToShader( out VERTEX3DSHADER Vertex, int VertexNum, out ushort Indices, int IndexNum, int PrimitiveType)
{
return dx_DrawPrimitiveIndexed3DToShader( out Vertex , VertexNum , out Indices , IndexNum , PrimitiveType );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetAeroDisableFlag")]
extern static int dx_SetAeroDisableFlag( int Flag);
public static int SetAeroDisableFlag( int Flag)
{
return dx_SetAeroDisableFlag( Flag );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetLastUpdateTimeMovieToGraph")]
extern static int dx_GetLastUpdateTimeMovieToGraph( int GraphHandle);
public static int GetLastUpdateTimeMovieToGraph( int GraphHandle)
{
return dx_GetLastUpdateTimeMovieToGraph( GraphHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetCameraViewMatrix")]
extern static MATRIX dx_GetCameraViewMatrix( );
public static MATRIX GetCameraViewMatrix( )
{
return dx_GetCameraViewMatrix( );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_GetDrawScreenSoftImage")]
extern static int dx_GetDrawScreenSoftImage( int x1, int y1, int x2, int y2, int SIHandle);
public static int GetDrawScreenSoftImage( int x1, int y1, int x2, int y2, int SIHandle)
{
return dx_GetDrawScreenSoftImage( x1 , y1 , x2 , y2 , SIHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_UpdateLayerdWindowForSoftImage")]
extern static int dx_UpdateLayerdWindowForSoftImage( int SIHandle);
public static int UpdateLayerdWindowForSoftImage( int SIHandle)
{
return dx_UpdateLayerdWindowForSoftImage( SIHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_BltSoftImageWithTransColor")]
extern static int dx_BltSoftImageWithTransColor( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Tr, int Tg, int Tb, int Ta);
public static int BltSoftImageWithTransColor( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Tr, int Tg, int Tb, int Ta)
{
return dx_BltSoftImageWithTransColor( SrcX , SrcY , SrcSizeX , SrcSizeY , SrcSIHandle , DestX , DestY , DestSIHandle , Tr , Tg , Tb , Ta );
}
[DllImport("DxLib.dll", EntryPoint="dx_BltSoftImageWithAlphaBlend")]
extern static int dx_BltSoftImageWithAlphaBlend( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Opacity);
public static int BltSoftImageWithAlphaBlend( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle)
{
return dx_BltSoftImageWithAlphaBlend( SrcX , SrcY , SrcSizeX , SrcSizeY , SrcSIHandle , DestX , DestY , DestSIHandle , 255 );
}
public static int BltSoftImageWithAlphaBlend( int SrcX, int SrcY, int SrcSizeX, int SrcSizeY, int SrcSIHandle, int DestX, int DestY, int DestSIHandle, int Opacity)
{
return dx_BltSoftImageWithAlphaBlend( SrcX , SrcY , SrcSizeX , SrcSizeY , SrcSIHandle , DestX , DestY , DestSIHandle , Opacity );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetCurrentPositionSoundMem")]
extern static int dx_SetCurrentPositionSoundMem( int SamplePosition, int SoundHandle);
public static int SetCurrentPositionSoundMem( int SamplePosition, int SoundHandle)
{
return dx_SetCurrentPositionSoundMem( SamplePosition , SoundHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_GetCurrentPositionSoundMem")]
extern static int dx_GetCurrentPositionSoundMem( int SoundHandle);
public static int GetCurrentPositionSoundMem( int SoundHandle)
{
return dx_GetCurrentPositionSoundMem( SoundHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_SetLoopStartTimePosSoundMem")]
extern static int dx_SetLoopStartTimePosSoundMem( int LoopStartTime, int SoundHandle);
public static int SetLoopStartTimePosSoundMem( int LoopStartTime, int SoundHandle)
{
return dx_SetLoopStartTimePosSoundMem( LoopStartTime , SoundHandle );
}
[DllImport("DxLib.dll", EntryPoint="dx_SetLoopStartSamplePosSoundMem")]
extern static int dx_SetLoopStartSamplePosSoundMem( int LoopStartSamplePosition, int SoundHandle);
public static int SetLoopStartSamplePosSoundMem( int LoopStartSamplePosition, int SoundHandle)
{
return dx_SetLoopStartSamplePosSoundMem( LoopStartSamplePosition , SoundHandle );
}
3.01(3.00f)から、3.02(新規追加)
[DllImport("DxLib.dll", EntryPoint="dx_MV1SetAttachAnimBlendRateToFrame")]
extern static int dx_MV1SetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex, float Rate, int SetChild);
public static int MV1SetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex, float Rate)
{
return dx_MV1SetAttachAnimBlendRateToFrame( MHandle , AttachIndex , FrameIndex , Rate , TRUE );
}
public static int MV1SetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex, float Rate, int SetChild)
{
return dx_MV1SetAttachAnimBlendRateToFrame( MHandle , AttachIndex , FrameIndex , Rate , SetChild );
}
[DllImport("DxLib.dll", EntryPoint="dx_MV1GetAttachAnimBlendRateToFrame")]
extern static float dx_MV1GetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex);
public static float MV1GetAttachAnimBlendRateToFrame( int MHandle, int AttachIndex, int FrameIndex)
{
return dx_MV1GetAttachAnimBlendRateToFrame( MHandle , AttachIndex , FrameIndex );
}
2010年2月2日火曜日
2010年1月22日金曜日
2010年1月20日水曜日
JoyDevicer2 公開1
Vectorでダウンロード公開待ちです。
JoyDevicerのバグを修正しました。
以下、JoyDevicerの説明書より、
2010/1/19 2.000
・そのほか、いろいろと変更
・再び、Application.EnableVisualStyles()の有効化
・1.002のときにジョイスティックの接続数ごとにプレイヤー数
とフォーム数を起動時に調整するようにしていたんですけど、数
が増えると重たくなりました。そこで、フォームの数を減らしま
した。
・設定の保存方法が変更になったので、JoyDevicer1.002のソース
を残すために、JoyDevicer2に変更しました。
・設定の保存を単なるテキストの羅列から、CSV形式でiniファ
イルに書き込むように変更しました。これで、データ管理が簡単
になりました。
・BGMのグループボックスの色をかえるかどうか迷っていて、変更
したままになっていたので、色をデフォルトに変更
JoyDevicerのバグを修正しました。
以下、JoyDevicerの説明書より、
2010/1/19 2.000
・そのほか、いろいろと変更
・再び、Application.EnableVisualStyles()の有効化
・1.002のときにジョイスティックの接続数ごとにプレイヤー数
とフォーム数を起動時に調整するようにしていたんですけど、数
が増えると重たくなりました。そこで、フォームの数を減らしま
した。
・設定の保存方法が変更になったので、JoyDevicer1.002のソース
を残すために、JoyDevicer2に変更しました。
・設定の保存を単なるテキストの羅列から、CSV形式でiniファ
イルに書き込むように変更しました。これで、データ管理が簡単
になりました。
・BGMのグループボックスの色をかえるかどうか迷っていて、変更
したままになっていたので、色をデフォルトに変更
2010年1月2日土曜日
DxLibDotNet3_01(3.00f)の更新情報
3.00eから、3.01(3.00f)(新規追加)
public const int DX_WINDOWSVERSION_7 = 265;
3.00eから、3.01(3.00f)(新規追加)
public const int DX_MATERIAL_TYPE_NORMAL = 0;
public const int DX_MATERIAL_TYPE_TOON = 1;
public const int DX_MATERIAL_BLENDTYPE_TRANSLUCENT = 0;
public const int DX_MATERIAL_BLENDTYPE_ADDITIVE = 1;
public const int DX_MATERIAL_BLENDTYPE_MODULATE = 2;
3.00e
[DllImport("DxLib.dll")]
extern static int dx_LoadDivGraphToResource( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf);
public static int LoadDivGraphToResource( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf)
{
return dx_LoadDivGraphToResource( ResourceName , ResourceType , AllNum , XNum , YNum , XSize , YSize , out HandleBuf );
}
から、3.01(3.00f)
[DllImport("DxLib.dll")]
extern static int dx_LoadDivGraphToResource( int ResourceID, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf);
public static int LoadDivGraphToResource( int ResourceID, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf)
{
return dx_LoadDivGraphToResource( ResourceID , AllNum , XNum , YNum , XSize , YSize , out HandleBuf );
}
[DllImport("DxLib.dll")]
extern static int dx_LoadDivGraphToResource_2( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf);
public static int LoadDivGraphToResource( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf)
{
return dx_LoadDivGraphToResource_2( ResourceName , ResourceType , AllNum , XNum , YNum , XSize , YSize , out HandleBuf );
}
3.00eから、3.01(3.00f)(新規追加)
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialType( int MHandle, int MaterialIndex, int Type);
public static int MV1SetMaterialType( int MHandle, int MaterialIndex, int Type)
{
return dx_MV1SetMaterialType( MHandle , MaterialIndex , Type );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialType( int MHandle, int MaterialIndex);
public static int MV1GetMaterialType( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialType( MHandle , MaterialIndex );
}
3.00eから、3.01(3.00f)(新規追加)
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialDifGradTexture( int MHandle, int MaterialIndex, int TexIndex);
public static int MV1SetMaterialDifGradTexture( int MHandle, int MaterialIndex, int TexIndex)
{
return dx_MV1SetMaterialDifGradTexture( MHandle , MaterialIndex , TexIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialDifGradTexture( int MHandle, int MaterialIndex);
public static int MV1GetMaterialDifGradTexture( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialDifGradTexture( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialSpcGradTexture( int MHandle, int MaterialIndex, int TexIndex);
public static int MV1SetMaterialSpcGradTexture( int MHandle, int MaterialIndex, int TexIndex)
{
return dx_MV1SetMaterialSpcGradTexture( MHandle , MaterialIndex , TexIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialSpcGradTexture( int MHandle, int MaterialIndex);
public static int MV1GetMaterialSpcGradTexture( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialSpcGradTexture( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialDifGradBlendType( int MHandle, int MaterialIndex, int BlendType);
public static int MV1SetMaterialDifGradBlendType( int MHandle, int MaterialIndex, int BlendType)
{
return dx_MV1SetMaterialDifGradBlendType( MHandle , MaterialIndex , BlendType );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialDifGradBlendType( int MHandle, int MaterialIndex);
public static int MV1GetMaterialDifGradBlendType( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialDifGradBlendType( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialSpcGradBlendType( int MHandle, int MaterialIndex, int BlendType);
public static int MV1SetMaterialSpcGradBlendType( int MHandle, int MaterialIndex, int BlendType)
{
return dx_MV1SetMaterialSpcGradBlendType( MHandle , MaterialIndex , BlendType );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialSpcGradBlendType( int MHandle, int MaterialIndex);
public static int MV1GetMaterialSpcGradBlendType( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialSpcGradBlendType( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialOutLineWidth( int MHandle, int MaterialIndex, float Width);
public static int MV1SetMaterialOutLineWidth( int MHandle, int MaterialIndex, float Width)
{
return dx_MV1SetMaterialOutLineWidth( MHandle , MaterialIndex , Width );
}
[DllImport("DxLib.dll")]
extern static float dx_MV1GetMaterialOutLineWidth( int MHandle, int MaterialIndex);
public static float MV1GetMaterialOutLineWidth( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialOutLineWidth( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialOutLineColor( int MHandle, int MaterialIndex, COLOR_F Color);
public static int MV1SetMaterialOutLineColor( int MHandle, int MaterialIndex, COLOR_F Color)
{
return dx_MV1SetMaterialOutLineColor( MHandle , MaterialIndex , Color );
}
[DllImport("DxLib.dll")]
extern static COLOR_F dx_MV1GetMaterialOutLineColor( int MHandle, int MaterialIndex);
public static COLOR_F MV1GetMaterialOutLineColor( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialOutLineColor( MHandle , MaterialIndex );
}
public const int DX_WINDOWSVERSION_7 = 265;
3.00eから、3.01(3.00f)(新規追加)
public const int DX_MATERIAL_TYPE_NORMAL = 0;
public const int DX_MATERIAL_TYPE_TOON = 1;
public const int DX_MATERIAL_BLENDTYPE_TRANSLUCENT = 0;
public const int DX_MATERIAL_BLENDTYPE_ADDITIVE = 1;
public const int DX_MATERIAL_BLENDTYPE_MODULATE = 2;
3.00e
[DllImport("DxLib.dll")]
extern static int dx_LoadDivGraphToResource( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf);
public static int LoadDivGraphToResource( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf)
{
return dx_LoadDivGraphToResource( ResourceName , ResourceType , AllNum , XNum , YNum , XSize , YSize , out HandleBuf );
}
から、3.01(3.00f)
[DllImport("DxLib.dll")]
extern static int dx_LoadDivGraphToResource( int ResourceID, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf);
public static int LoadDivGraphToResource( int ResourceID, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf)
{
return dx_LoadDivGraphToResource( ResourceID , AllNum , XNum , YNum , XSize , YSize , out HandleBuf );
}
[DllImport("DxLib.dll")]
extern static int dx_LoadDivGraphToResource_2( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf);
public static int LoadDivGraphToResource( string ResourceName, string ResourceType, int AllNum, int XNum, int YNum, int XSize, int YSize, out int HandleBuf)
{
return dx_LoadDivGraphToResource_2( ResourceName , ResourceType , AllNum , XNum , YNum , XSize , YSize , out HandleBuf );
}
3.00eから、3.01(3.00f)(新規追加)
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialType( int MHandle, int MaterialIndex, int Type);
public static int MV1SetMaterialType( int MHandle, int MaterialIndex, int Type)
{
return dx_MV1SetMaterialType( MHandle , MaterialIndex , Type );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialType( int MHandle, int MaterialIndex);
public static int MV1GetMaterialType( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialType( MHandle , MaterialIndex );
}
3.00eから、3.01(3.00f)(新規追加)
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialDifGradTexture( int MHandle, int MaterialIndex, int TexIndex);
public static int MV1SetMaterialDifGradTexture( int MHandle, int MaterialIndex, int TexIndex)
{
return dx_MV1SetMaterialDifGradTexture( MHandle , MaterialIndex , TexIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialDifGradTexture( int MHandle, int MaterialIndex);
public static int MV1GetMaterialDifGradTexture( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialDifGradTexture( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialSpcGradTexture( int MHandle, int MaterialIndex, int TexIndex);
public static int MV1SetMaterialSpcGradTexture( int MHandle, int MaterialIndex, int TexIndex)
{
return dx_MV1SetMaterialSpcGradTexture( MHandle , MaterialIndex , TexIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialSpcGradTexture( int MHandle, int MaterialIndex);
public static int MV1GetMaterialSpcGradTexture( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialSpcGradTexture( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialDifGradBlendType( int MHandle, int MaterialIndex, int BlendType);
public static int MV1SetMaterialDifGradBlendType( int MHandle, int MaterialIndex, int BlendType)
{
return dx_MV1SetMaterialDifGradBlendType( MHandle , MaterialIndex , BlendType );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialDifGradBlendType( int MHandle, int MaterialIndex);
public static int MV1GetMaterialDifGradBlendType( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialDifGradBlendType( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialSpcGradBlendType( int MHandle, int MaterialIndex, int BlendType);
public static int MV1SetMaterialSpcGradBlendType( int MHandle, int MaterialIndex, int BlendType)
{
return dx_MV1SetMaterialSpcGradBlendType( MHandle , MaterialIndex , BlendType );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1GetMaterialSpcGradBlendType( int MHandle, int MaterialIndex);
public static int MV1GetMaterialSpcGradBlendType( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialSpcGradBlendType( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialOutLineWidth( int MHandle, int MaterialIndex, float Width);
public static int MV1SetMaterialOutLineWidth( int MHandle, int MaterialIndex, float Width)
{
return dx_MV1SetMaterialOutLineWidth( MHandle , MaterialIndex , Width );
}
[DllImport("DxLib.dll")]
extern static float dx_MV1GetMaterialOutLineWidth( int MHandle, int MaterialIndex);
public static float MV1GetMaterialOutLineWidth( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialOutLineWidth( MHandle , MaterialIndex );
}
[DllImport("DxLib.dll")]
extern static int dx_MV1SetMaterialOutLineColor( int MHandle, int MaterialIndex, COLOR_F Color);
public static int MV1SetMaterialOutLineColor( int MHandle, int MaterialIndex, COLOR_F Color)
{
return dx_MV1SetMaterialOutLineColor( MHandle , MaterialIndex , Color );
}
[DllImport("DxLib.dll")]
extern static COLOR_F dx_MV1GetMaterialOutLineColor( int MHandle, int MaterialIndex);
public static COLOR_F MV1GetMaterialOutLineColor( int MHandle, int MaterialIndex)
{
return dx_MV1GetMaterialOutLineColor( MHandle , MaterialIndex );
}
登録:
投稿 (Atom)