Exemplo n.º 1
0
void sfMutex_unlock(sfMutex* mutex)
{
    CSFML_CALL(mutex, unlock());
}
Exemplo n.º 2
0
CSFML_GRAPHICS_API void sfRenderTexture_PushGLStates(sfRenderTexture* renderTexture)
{
    CSFML_CALL(renderTexture, PushGLStates());
}
Exemplo n.º 3
0
void sfRenderTexture_SetSmooth(sfRenderTexture* renderTexture, sfBool smooth)
{
    CSFML_CALL(renderTexture, SetSmooth(smooth == sfTrue));
}
Exemplo n.º 4
0
void sfSoundBufferRecorder_start(sfSoundBufferRecorder* soundBufferRecorder, unsigned int sampleRate)
{
    CSFML_CALL(soundBufferRecorder, start(sampleRate));
}
Exemplo n.º 5
0
void sfRenderTexture_DrawRectangleShape(sfRenderTexture* renderTexture, const sfRectangleShape* object, const sfRenderStates* states)
{
    CSFML_CHECK(object);
    CSFML_CALL(renderTexture, Draw(object->This, ConvertRenderStates(states)));
}
Exemplo n.º 6
0
void sfCircleShape_setPosition(sfCircleShape* shape, sfVector2f position)
{
    CSFML_CALL(shape, setPosition(position.x, position.y));
}
Exemplo n.º 7
0
void sfCircleShape_setScale(sfCircleShape* shape, sfVector2f scale)
{
    CSFML_CALL(shape, setScale(scale.x, scale.y));
}
Exemplo n.º 8
0
void sfSocketSelector_removeUdpSocket(sfSocketSelector* selector, sfUdpSocket* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, remove(socket->This));
}
Exemplo n.º 9
0
void sfSocketSelector_clear(sfSocketSelector* selector)
{
    CSFML_CALL(selector, clear());
}
Exemplo n.º 10
0
void sfSocketSelector_addUdpSocket(sfSocketSelector* selector, sfUdpSocket* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, add(socket->This));
}
Exemplo n.º 11
0
void sfSocketSelector_removeTcpListener(sfSocketSelector* selector, sfTcpListener* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, remove(socket->This));
}
Exemplo n.º 12
0
void sfSocketSelector_addTcpListener(sfSocketSelector* selector, sfTcpListener* socket)
{
    CSFML_CHECK(socket);
    CSFML_CALL(selector, add(socket->This));
}
Exemplo n.º 13
0
void sfUdpSocket_unbind(sfUdpSocket* socket)
{
    CSFML_CALL(socket, unbind());
}
Exemplo n.º 14
0
void sfUdpSocket_setBlocking(sfUdpSocket* socket, sfBool blocking)
{
    CSFML_CALL(socket, setBlocking(blocking == sfTrue));
}
Exemplo n.º 15
0
void sfCircleShape_setRadius(sfCircleShape* shape, float radius)
{
    CSFML_CALL(shape, setRadius(radius));
}
Exemplo n.º 16
0
void sfCircleShape_move(sfCircleShape* shape, sfVector2f offset)
{
    CSFML_CALL(shape, move(offset.x, offset.y));
}
Exemplo n.º 17
0
void sfCircleShape_setPointCount(sfCircleShape* shape, unsigned int count)
{
    CSFML_CALL(shape, setPointCount(count));
}
Exemplo n.º 18
0
void sfCircleShape_rotate(sfCircleShape* shape, float angle)
{
    CSFML_CALL(shape, rotate(angle));
}
Exemplo n.º 19
0
void sfCircleShape_setRotation(sfCircleShape* shape, float angle)
{
    CSFML_CALL(shape, setRotation(angle));
}
Exemplo n.º 20
0
void sfCircleShape_scale(sfCircleShape* shape, sfVector2f factors)
{
    CSFML_CALL(shape, scale(factors.x, factors.y));
}
Exemplo n.º 21
0
void sfCircleShape_setOrigin(sfCircleShape* shape, sfVector2f origin)
{
    CSFML_CALL(shape, setOrigin(origin.x, origin.y));
}
Exemplo n.º 22
0
void sfCircleShape_setTexture(sfCircleShape* shape, const sfTexture* texture, sfBool resetRect)
{
    CSFML_CALL(shape, setTexture(texture ? texture->This : NULL, resetRect == sfTrue));
    shape->Texture = texture;
}
Exemplo n.º 23
0
void sfSoundBufferRecorder_stop(sfSoundBufferRecorder* soundBufferRecorder)
{
    CSFML_CALL(soundBufferRecorder, stop());
}
Exemplo n.º 24
0
void sfCircleShape_setTextureRect(sfCircleShape* shape, sfIntRect rect)
{
    CSFML_CALL(shape, setTextureRect(sf::IntRect(rect.left, rect.top, rect.width, rect.height)));
}
Exemplo n.º 25
0
void sfRenderTexture_DrawVertexArray(sfRenderTexture* renderTexture, const sfVertexArray* object, const sfRenderStates* states)
{
    CSFML_CHECK(object);
    CSFML_CALL(renderTexture, Draw(object->This, ConvertRenderStates(states)));
}
Exemplo n.º 26
0
void sfCircleShape_setOutlineColor(sfCircleShape* shape, sfColor color)
{
    CSFML_CALL(shape, setOutlineColor(sf::Color(color.r, color.g, color.b, color.a)));
}
Exemplo n.º 27
0
CSFML_GRAPHICS_API void sfRenderTexture_ResetGLStates(sfRenderTexture* renderTexture)
{
    CSFML_CALL(renderTexture, ResetGLStates());
}
Exemplo n.º 28
0
void sfCircleShape_setOutlineThickness(sfCircleShape* shape, float thickness)
{
    CSFML_CALL(shape, setOutlineThickness(thickness));
}
Exemplo n.º 29
0
void sfRenderTexture_Display(sfRenderTexture* renderTexture)
{
    CSFML_CALL(renderTexture, Display());
}
Exemplo n.º 30
0
void sfMutex_lock(sfMutex* mutex)
{
    CSFML_CALL(mutex, lock());
}