Fixed sfView_GetRotation missing in CSFML (and thus causing a crash in SFML.Net)
Updated Visual C++ 2005 export files for CSFML git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1244 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
e9c042d060
commit
31b72b6385
@ -4,8 +4,8 @@ EXPORTS
|
||||
sfListener_GetGlobalVolume
|
||||
sfListener_SetPosition
|
||||
sfListener_GetPosition
|
||||
sfListener_SetTarget
|
||||
sfListener_GetTarget
|
||||
sfListener_SetDirection
|
||||
sfListener_GetDirection
|
||||
sfMusic_CreateFromFile
|
||||
sfMusic_CreateFromMemory
|
||||
sfMusic_Destroy
|
||||
|
@ -4,8 +4,8 @@ EXPORTS
|
||||
sfListener_GetGlobalVolume
|
||||
sfListener_SetPosition
|
||||
sfListener_GetPosition
|
||||
sfListener_SetTarget
|
||||
sfListener_GetTarget
|
||||
sfListener_SetDirection
|
||||
sfListener_GetDirection
|
||||
sfMusic_CreateFromFile
|
||||
sfMusic_CreateFromMemory
|
||||
sfMusic_Destroy
|
||||
|
@ -171,6 +171,8 @@ EXPORTS
|
||||
sfRenderImage_GetWidth
|
||||
sfRenderImage_GetHeight
|
||||
sfRenderImage_SetActive
|
||||
sfRenderImage_Flush
|
||||
sfRenderImage_Display
|
||||
sfRenderImage_DrawPostFX
|
||||
sfRenderImage_DrawSprite
|
||||
sfRenderImage_DrawShape
|
||||
@ -200,6 +202,7 @@ EXPORTS
|
||||
sfRenderWindow_EnableKeyRepeat
|
||||
sfRenderWindow_SetIcon
|
||||
sfRenderWindow_SetActive
|
||||
sfRenderWindow_Flush
|
||||
sfRenderWindow_Display
|
||||
sfRenderWindow_GetInput
|
||||
sfRenderWindow_SetFramerateLimit
|
||||
@ -209,7 +212,6 @@ EXPORTS
|
||||
sfRenderWindow_DrawSprite
|
||||
sfRenderWindow_DrawString
|
||||
sfRenderWindow_DrawShape
|
||||
sfRenderWindow_Capture
|
||||
sfRenderWindow_Clear
|
||||
sfRenderWindow_SetView
|
||||
sfRenderWindow_GetView
|
||||
@ -220,12 +222,16 @@ EXPORTS
|
||||
sfView_CreateFromRect
|
||||
sfView_Destroy
|
||||
sfView_SetCenter
|
||||
sfView_SetHalfSize
|
||||
sfView_SetFromRect
|
||||
sfView_SetSize
|
||||
sfView_SetRotation
|
||||
sfView_SetViewport
|
||||
sfView_Reset
|
||||
sfView_GetCenterX
|
||||
sfView_GetCenterY
|
||||
sfView_GetHalfSizeX
|
||||
sfView_GetHalfSizeY
|
||||
sfView_GetRect
|
||||
sfView_GetWidth
|
||||
sfView_GetHeight
|
||||
sfView_GetRotation
|
||||
sfView_GetViewport
|
||||
sfView_Move
|
||||
sfView_Rotate
|
||||
sfView_Zoom
|
||||
|
@ -171,6 +171,8 @@ EXPORTS
|
||||
sfRenderImage_GetWidth
|
||||
sfRenderImage_GetHeight
|
||||
sfRenderImage_SetActive
|
||||
sfRenderImage_Flush
|
||||
sfRenderImage_Display
|
||||
sfRenderImage_DrawPostFX
|
||||
sfRenderImage_DrawSprite
|
||||
sfRenderImage_DrawShape
|
||||
@ -179,7 +181,8 @@ EXPORTS
|
||||
sfRenderImage_SetView
|
||||
sfRenderImage_GetView
|
||||
sfRenderImage_GetDefaultView
|
||||
sfRenderImage_PreserveOpenGLStates
|
||||
sfRenderImage_GetViewport
|
||||
sfRenderImage_ConvertCoords
|
||||
sfRenderImage_GetImage
|
||||
sfRenderImage_CanUseRenderImage
|
||||
sfRenderWindow_Create
|
||||
@ -200,6 +203,7 @@ EXPORTS
|
||||
sfRenderWindow_EnableKeyRepeat
|
||||
sfRenderWindow_SetIcon
|
||||
sfRenderWindow_SetActive
|
||||
sfRenderWindow_Flush
|
||||
sfRenderWindow_Display
|
||||
sfRenderWindow_GetInput
|
||||
sfRenderWindow_SetFramerateLimit
|
||||
@ -209,23 +213,26 @@ EXPORTS
|
||||
sfRenderWindow_DrawSprite
|
||||
sfRenderWindow_DrawString
|
||||
sfRenderWindow_DrawShape
|
||||
sfRenderWindow_Capture
|
||||
sfRenderWindow_Clear
|
||||
sfRenderWindow_SetView
|
||||
sfRenderWindow_GetView
|
||||
sfRenderWindow_GetDefaultView
|
||||
sfRenderWindow_GetViewport
|
||||
sfRenderWindow_ConvertCoords
|
||||
sfRenderWindow_PreserveOpenGLStates
|
||||
sfView_Create
|
||||
sfView_CreateFromRect
|
||||
sfView_Destroy
|
||||
sfView_SetCenter
|
||||
sfView_SetHalfSize
|
||||
sfView_SetFromRect
|
||||
sfView_SetSize
|
||||
sfView_SetRotation
|
||||
sfView_SetViewport
|
||||
sfView_Reset
|
||||
sfView_GetCenterX
|
||||
sfView_GetCenterY
|
||||
sfView_GetHalfSizeX
|
||||
sfView_GetHalfSizeY
|
||||
sfView_GetRect
|
||||
sfView_GetWidth
|
||||
sfView_GetHeight
|
||||
sfView_GetRotation
|
||||
sfView_GetViewport
|
||||
sfView_Move
|
||||
sfView_Rotate
|
||||
sfView_Zoom
|
||||
|
@ -230,6 +230,7 @@ EXPORTS
|
||||
sfView_GetCenterY
|
||||
sfView_GetWidth
|
||||
sfView_GetHeight
|
||||
sfView_GetRotation
|
||||
sfView_GetViewport
|
||||
sfView_Move
|
||||
sfView_Rotate
|
||||
|
@ -231,6 +231,7 @@ EXPORTS
|
||||
sfView_GetCenterY
|
||||
sfView_GetWidth
|
||||
sfView_GetHeight
|
||||
sfView_GetRotation
|
||||
sfView_GetViewport
|
||||
sfView_Move
|
||||
sfView_Rotate
|
||||
|
Binary file not shown.
@ -38,16 +38,16 @@ namespace
|
||||
{
|
||||
// Fast float to int conversion
|
||||
inline sf::Int32 Round(double value)
|
||||
{
|
||||
// Use a union rather than reinterpret_cast, because it doesn't break strict-aliasing
|
||||
// rules and results in a correct behaviour when compiling in optimized mode
|
||||
union DoubleToInt
|
||||
{
|
||||
double d;
|
||||
sf::Int32 i[2];
|
||||
};
|
||||
|
||||
DoubleToInt u;
|
||||
{
|
||||
// Use a union rather than reinterpret_cast, because it doesn't break strict-aliasing
|
||||
// rules and results in a correct behaviour when compiling in optimized mode
|
||||
union DoubleToInt
|
||||
{
|
||||
double d;
|
||||
sf::Int32 i[2];
|
||||
};
|
||||
|
||||
DoubleToInt u;
|
||||
u.d = value + 6755399441055744.0;
|
||||
|
||||
#if defined(SFML_ENDIAN_LITTLE)
|
||||
|
Loading…
Reference in New Issue
Block a user