mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02:00
Switch to #pragma once
This commit is contained in:
1 parent
db4d5e4815
commit
3536aeafd6
126 files changed
+126
-625
No files matched your search
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_AUDIO_H
|
#pragma once
|
||||||
#define SFML_AUDIO_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -38,6 +37,3 @@
|
|||||||
#include <SFML/Audio/SoundRecorder.h>
|
#include <SFML/Audio/SoundRecorder.h>
|
||||||
#include <SFML/Audio/SoundStatus.h>
|
#include <SFML/Audio/SoundStatus.h>
|
||||||
#include <SFML/Audio/SoundStream.h>
|
#include <SFML/Audio/SoundStream.h>
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_AUDIO_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_AUDIO_EXPORT_H
|
#pragma once
|
||||||
#define SFML_AUDIO_EXPORT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@
|
|||||||
#define CSFML_AUDIO_API CSFML_API_IMPORT
|
#define CSFML_AUDIO_API CSFML_API_IMPORT
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_AUDIO_EXPORT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_LISTENER_H
|
#pragma once
|
||||||
#define SFML_LISTENER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -115,6 +114,3 @@ CSFML_AUDIO_API void sfListener_setUpVector(sfVector3f upVector);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_AUDIO_API sfVector3f sfListener_getUpVector(void);
|
CSFML_AUDIO_API sfVector3f sfListener_getUpVector(void);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_LISTENER_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_MUSIC_H
|
#pragma once
|
||||||
#define SFML_MUSIC_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -421,6 +420,3 @@ CSFML_AUDIO_API float sfMusic_getMinDistance(const sfMusic* music);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_AUDIO_API float sfMusic_getAttenuation(const sfMusic* music);
|
CSFML_AUDIO_API float sfMusic_getAttenuation(const sfMusic* music);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_MUSIC_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUND_H
|
#pragma once
|
||||||
#define SFML_SOUND_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -328,6 +327,3 @@ CSFML_AUDIO_API float sfSound_getAttenuation(const sfSound* sound);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_AUDIO_API sfTime sfSound_getPlayingOffset(const sfSound* sound);
|
CSFML_AUDIO_API sfTime sfSound_getPlayingOffset(const sfSound* sound);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUND_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDBUFFER_H
|
#pragma once
|
||||||
#define SFML_SOUNDBUFFER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -198,6 +197,3 @@ CSFML_AUDIO_API unsigned int sfSoundBuffer_getChannelCount(const sfSoundBuffer*
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_AUDIO_API sfTime sfSoundBuffer_getDuration(const sfSoundBuffer* soundBuffer);
|
CSFML_AUDIO_API sfTime sfSoundBuffer_getDuration(const sfSoundBuffer* soundBuffer);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDBUFFER_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDBUFFERRECORDER_H
|
#pragma once
|
||||||
#define SFML_SOUNDBUFFERRECORDER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -128,6 +127,3 @@ CSFML_AUDIO_API bool sfSoundBufferRecorder_setDevice(sfSoundBufferRecorder* soun
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_AUDIO_API const char* sfSoundBufferRecorder_getDevice(sfSoundBufferRecorder* soundBufferRecorder);
|
CSFML_AUDIO_API const char* sfSoundBufferRecorder_getDevice(sfSoundBufferRecorder* soundBufferRecorder);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDBUFFERRECORDER_H
|
|
||||||
@@ -22,9 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDCHANNEL_H
|
#pragma once
|
||||||
#define SFML_SOUNDCHANNEL_H
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Types of sound channels that can be read/written from sound buffers/files
|
/// \brief Types of sound channels that can be read/written from sound buffers/files
|
||||||
@@ -60,6 +58,3 @@ typedef enum
|
|||||||
sfSoundChannelTopBackRight,
|
sfSoundChannelTopBackRight,
|
||||||
sfSoundChannelTopBackCenter
|
sfSoundChannelTopBackCenter
|
||||||
} sfSoundChannel;
|
} sfSoundChannel;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDCHANNEL_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDRECORDER_H
|
#pragma once
|
||||||
#define SFML_SOUNDRECORDER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -193,6 +192,3 @@ CSFML_AUDIO_API void sfSoundRecorder_setChannelCount(sfSoundRecorder* soundRecor
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_AUDIO_API unsigned int sfSoundRecorder_getChannelCount(const sfSoundRecorder* soundRecorder);
|
CSFML_AUDIO_API unsigned int sfSoundRecorder_getChannelCount(const sfSoundRecorder* soundRecorder);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDRECORDER_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDSTATUS_H
|
#pragma once
|
||||||
#define SFML_SOUNDSTATUS_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -41,6 +40,3 @@ typedef enum
|
|||||||
sfPaused, ///< Sound / music is paused
|
sfPaused, ///< Sound / music is paused
|
||||||
sfPlaying ///< Sound / music is playing
|
sfPlaying ///< Sound / music is playing
|
||||||
} sfSoundStatus;
|
} sfSoundStatus;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDSTATUS_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDSTREAM_H
|
#pragma once
|
||||||
#define SFML_SOUNDSTREAM_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -348,6 +347,3 @@ CSFML_AUDIO_API bool sfSoundStream_isLooping(const sfSoundStream* soundStream);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_AUDIO_API sfTime sfSoundStream_getPlayingOffset(const sfSoundStream* soundStream);
|
CSFML_AUDIO_API sfTime sfSoundStream_getPlayingOffset(const sfSoundStream* soundStream);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDSTREAM_H
|
|
||||||
@@ -22,9 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_AUDIO_TYPES_H
|
#pragma once
|
||||||
#define SFML_AUDIO_TYPES_H
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct sfMusic sfMusic;
|
typedef struct sfMusic sfMusic;
|
||||||
typedef struct sfSound sfSound;
|
typedef struct sfSound sfSound;
|
||||||
@@ -32,6 +30,3 @@ typedef struct sfSoundBuffer sfSoundBuffer;
|
|||||||
typedef struct sfSoundBufferRecorder sfSoundBufferRecorder;
|
typedef struct sfSoundBufferRecorder sfSoundBufferRecorder;
|
||||||
typedef struct sfSoundRecorder sfSoundRecorder;
|
typedef struct sfSoundRecorder sfSoundRecorder;
|
||||||
typedef struct sfSoundStream sfSoundStream;
|
typedef struct sfSoundStream sfSoundStream;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_AUDIO_TYPES_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CONFIG_H
|
#pragma once
|
||||||
#define SFML_CONFIG_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -150,6 +149,3 @@
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
typedef uint32_t sfChar32;
|
typedef uint32_t sfChar32;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CONFIG_H
|
|
||||||
@@ -22,9 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_GPUPREFERENCE_H
|
#pragma once
|
||||||
#define SFML_GPUPREFERENCE_H
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// Headers
|
/// Headers
|
||||||
@@ -69,6 +67,3 @@
|
|||||||
#define SFML_DEFINE_DISCRETE_GPU_PREFERENCE
|
#define SFML_DEFINE_DISCRETE_GPU_PREFERENCE
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_GPUPREFERENCE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_GRAPHICS_H
|
#pragma once
|
||||||
#define SFML_GRAPHICS_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -55,6 +54,3 @@
|
|||||||
#include <SFML/Graphics/VertexArray.h>
|
#include <SFML/Graphics/VertexArray.h>
|
||||||
#include <SFML/Graphics/VertexBuffer.h>
|
#include <SFML/Graphics/VertexBuffer.h>
|
||||||
#include <SFML/Graphics/View.h>
|
#include <SFML/Graphics/View.h>
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_GRAPHICS_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_BLENDMODE_H
|
#pragma once
|
||||||
#define SFML_BLENDMODE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -85,6 +84,3 @@ CSFML_GRAPHICS_API const sfBlendMode sfBlendMultiply; ///< Multiply source and d
|
|||||||
CSFML_GRAPHICS_API const sfBlendMode sfBlendMin; ///< Take minimum between source and dest
|
CSFML_GRAPHICS_API const sfBlendMode sfBlendMin; ///< Take minimum between source and dest
|
||||||
CSFML_GRAPHICS_API const sfBlendMode sfBlendMax; ///< Take maximum between source and dest
|
CSFML_GRAPHICS_API const sfBlendMode sfBlendMax; ///< Take maximum between source and dest
|
||||||
CSFML_GRAPHICS_API const sfBlendMode sfBlendNone; ///< Overwrite dest with source
|
CSFML_GRAPHICS_API const sfBlendMode sfBlendNone; ///< Overwrite dest with source
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_BLENDMODE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CIRCLESHAPE_H
|
#pragma once
|
||||||
#define SFML_CIRCLESHAPE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -427,6 +426,3 @@ CSFML_GRAPHICS_API sfFloatRect sfCircleShape_getLocalBounds(const sfCircleShape*
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfFloatRect sfCircleShape_getGlobalBounds(const sfCircleShape* shape);
|
CSFML_GRAPHICS_API sfFloatRect sfCircleShape_getGlobalBounds(const sfCircleShape* shape);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CIRCLESHAPE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_COLOR_H
|
#pragma once
|
||||||
#define SFML_COLOR_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -130,6 +129,3 @@ CSFML_GRAPHICS_API sfColor sfColor_subtract(sfColor color1, sfColor color2);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfColor sfColor_modulate(sfColor color1, sfColor color2);
|
CSFML_GRAPHICS_API sfColor sfColor_modulate(sfColor color1, sfColor color2);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_COLOR_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CONVEXSHAPE_H
|
#pragma once
|
||||||
#define SFML_CONVEXSHAPE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -426,6 +425,3 @@ CSFML_GRAPHICS_API sfFloatRect sfConvexShape_getLocalBounds(const sfConvexShape*
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfFloatRect sfConvexShape_getGlobalBounds(const sfConvexShape* shape);
|
CSFML_GRAPHICS_API sfFloatRect sfConvexShape_getGlobalBounds(const sfConvexShape* shape);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CONVEXSHAPE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_GRAPHICS_EXPORT_H
|
#pragma once
|
||||||
#define SFML_GRAPHICS_EXPORT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@
|
|||||||
#define CSFML_GRAPHICS_API CSFML_API_IMPORT
|
#define CSFML_GRAPHICS_API CSFML_API_IMPORT
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_GRAPHICS_EXPORT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_FONT_H
|
#pragma once
|
||||||
#define SFML_FONT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -235,6 +234,3 @@ CSFML_GRAPHICS_API bool sfFont_isSmooth(const sfFont* font);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfFontInfo sfFont_getInfo(const sfFont* font);
|
CSFML_GRAPHICS_API sfFontInfo sfFont_getInfo(const sfFont* font);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_FONT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_FONTINFO_H
|
#pragma once
|
||||||
#define SFML_FONTINFO_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -37,6 +36,3 @@ typedef struct
|
|||||||
{
|
{
|
||||||
const char* family;
|
const char* family;
|
||||||
} sfFontInfo;
|
} sfFontInfo;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_FONTINFO_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_GLSL_H
|
#pragma once
|
||||||
#define SFML_GLSL_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -95,6 +94,3 @@ typedef struct
|
|||||||
{
|
{
|
||||||
float array[4 * 4];
|
float array[4 * 4];
|
||||||
} sfGlslMat4;
|
} sfGlslMat4;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_GLSL_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_GLYPH_H
|
#pragma once
|
||||||
#define SFML_GLYPH_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -41,6 +40,3 @@ typedef struct
|
|||||||
sfFloatRect bounds; ///< Bounding rectangle of the glyph, in coordinates relative to the baseline
|
sfFloatRect bounds; ///< Bounding rectangle of the glyph, in coordinates relative to the baseline
|
||||||
sfIntRect textureRect; ///< Texture coordinates of the glyph inside the font's image
|
sfIntRect textureRect; ///< Texture coordinates of the glyph inside the font's image
|
||||||
} sfGlyph;
|
} sfGlyph;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_GLYPH_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_IMAGE_H
|
#pragma once
|
||||||
#define SFML_IMAGE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -293,6 +292,3 @@ CSFML_GRAPHICS_API void sfImage_flipHorizontally(sfImage* image);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API void sfImage_flipVertically(sfImage* image);
|
CSFML_GRAPHICS_API void sfImage_flipVertically(sfImage* image);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_IMAGE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_PRIMITIVETYPE_H
|
#pragma once
|
||||||
#define SFML_PRIMITIVETYPE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -53,6 +52,3 @@ typedef enum
|
|||||||
sfTrianglesStrip = sfTriangleStrip, ///< \deprecated Use sfTriangleStrip instead
|
sfTrianglesStrip = sfTriangleStrip, ///< \deprecated Use sfTriangleStrip instead
|
||||||
sfTrianglesFan = sfTriangleFan ///< \deprecated Use sfTriangleFan instead
|
sfTrianglesFan = sfTriangleFan ///< \deprecated Use sfTriangleFan instead
|
||||||
} sfPrimitiveType;
|
} sfPrimitiveType;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_BLENDMODE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_RECT_H
|
#pragma once
|
||||||
#define SFML_RECT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -74,6 +73,3 @@ CSFML_GRAPHICS_API bool sfIntRect_contains(const sfIntRect* rect, int x, int y);
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API bool sfFloatRect_intersects(const sfFloatRect* rect1, const sfFloatRect* rect2, sfFloatRect* intersection);
|
CSFML_GRAPHICS_API bool sfFloatRect_intersects(const sfFloatRect* rect1, const sfFloatRect* rect2, sfFloatRect* intersection);
|
||||||
CSFML_GRAPHICS_API bool sfIntRect_intersects(const sfIntRect* rect1, const sfIntRect* rect2, sfIntRect* intersection);
|
CSFML_GRAPHICS_API bool sfIntRect_intersects(const sfIntRect* rect1, const sfIntRect* rect2, sfIntRect* intersection);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_RECT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_RECTANGLESHAPE_H
|
#pragma once
|
||||||
#define SFML_RECTANGLESHAPE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -418,6 +417,3 @@ CSFML_GRAPHICS_API sfFloatRect sfRectangleShape_getLocalBounds(const sfRectangle
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfFloatRect sfRectangleShape_getGlobalBounds(const sfRectangleShape* shape);
|
CSFML_GRAPHICS_API sfFloatRect sfRectangleShape_getGlobalBounds(const sfRectangleShape* shape);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_RECTANGLESHAPE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_RENDERSTATES_H
|
#pragma once
|
||||||
#define SFML_RENDERSTATES_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -51,5 +50,3 @@ typedef struct
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfRenderStates sfRenderStates_default(void);
|
CSFML_GRAPHICS_API sfRenderStates sfRenderStates_default(void);
|
||||||
|
|
||||||
#endif // SFML_RENDERSTATES_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_RENDERTEXTURE_H
|
#pragma once
|
||||||
#define SFML_RENDERTEXTURE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -366,6 +365,3 @@ CSFML_GRAPHICS_API bool sfRenderTexture_isRepeated(const sfRenderTexture* render
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API bool sfRenderTexture_generateMipmap(sfRenderTexture* renderTexture);
|
CSFML_GRAPHICS_API bool sfRenderTexture_generateMipmap(sfRenderTexture* renderTexture);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_RENDERTEXTURE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_RENDERWINDOW_H
|
#pragma once
|
||||||
#define SFML_RENDERWINDOW_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -603,6 +602,3 @@ CSFML_GRAPHICS_API sfVector2i sfTouch_getPositionRenderWindow(unsigned int finge
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API bool sfRenderWindow_createVulkanSurface(sfRenderWindow* renderWindow, const VkInstance* instance, VkSurfaceKHR* surface, const VkAllocationCallbacks* allocator);
|
CSFML_GRAPHICS_API bool sfRenderWindow_createVulkanSurface(sfRenderWindow* renderWindow, const VkInstance* instance, VkSurfaceKHR* surface, const VkAllocationCallbacks* allocator);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_RENDERWINDOW_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SHADER_H
|
#pragma once
|
||||||
#define SFML_SHADER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -465,5 +464,3 @@ CSFML_GRAPHICS_API bool sfShader_isAvailable(void);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API bool sfShader_isGeometryAvailable(void);
|
CSFML_GRAPHICS_API bool sfShader_isGeometryAvailable(void);
|
||||||
|
|
||||||
#endif // SFML_SHADER_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SHAPE_H
|
#pragma once
|
||||||
#define SFML_SHAPE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -408,6 +407,3 @@ CSFML_GRAPHICS_API sfFloatRect sfShape_getGlobalBounds(const sfShape* shape);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API void sfShape_update(sfShape* shape);
|
CSFML_GRAPHICS_API void sfShape_update(sfShape* shape);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SHAPE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SPRITE_H
|
#pragma once
|
||||||
#define SFML_SPRITE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -330,6 +329,3 @@ CSFML_GRAPHICS_API sfFloatRect sfSprite_getLocalBounds(const sfSprite* sprite);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfFloatRect sfSprite_getGlobalBounds(const sfSprite* sprite);
|
CSFML_GRAPHICS_API sfFloatRect sfSprite_getGlobalBounds(const sfSprite* sprite);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SPRITE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TEXT_H
|
#pragma once
|
||||||
#define SFML_TEXT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -551,6 +550,3 @@ CSFML_GRAPHICS_API sfFloatRect sfText_getLocalBounds(const sfText* text);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfFloatRect sfText_getGlobalBounds(const sfText* text);
|
CSFML_GRAPHICS_API sfFloatRect sfText_getGlobalBounds(const sfText* text);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_TEXT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TEXTURE_H
|
#pragma once
|
||||||
#define SFML_TEXTURE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -404,6 +403,3 @@ CSFML_GRAPHICS_API void sfTexture_bind(const sfTexture* texture, sfTextureCoordi
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API unsigned int sfTexture_getMaximumSize(void);
|
CSFML_GRAPHICS_API unsigned int sfTexture_getMaximumSize(void);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_TEXTURE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TRANSFORM_H
|
#pragma once
|
||||||
#define SFML_TRANSFORM_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -219,5 +218,3 @@ CSFML_GRAPHICS_API void sfTransform_scaleWithCenter(sfTransform* transform, floa
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API bool sfTransform_equal(sfTransform* left, sfTransform* right);
|
CSFML_GRAPHICS_API bool sfTransform_equal(sfTransform* left, sfTransform* right);
|
||||||
|
|
||||||
#endif // SFML_TRANSFORM_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TRANSFORMABLE_H
|
#pragma once
|
||||||
#define SFML_TRANSFORMABLE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -212,6 +211,3 @@ CSFML_GRAPHICS_API sfTransform sfTransformable_getTransform(const sfTransformabl
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfTransform sfTransformable_getInverseTransform(const sfTransformable* transformable);
|
CSFML_GRAPHICS_API sfTransform sfTransformable_getInverseTransform(const sfTransformable* transformable);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_TRANSFORMABLE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_GRAPHICS_TYPES_H
|
#pragma once
|
||||||
#define SFML_GRAPHICS_TYPES_H
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct sfCircleShape sfCircleShape;
|
typedef struct sfCircleShape sfCircleShape;
|
||||||
@@ -42,6 +41,3 @@ typedef struct sfTransformable sfTransformable;
|
|||||||
typedef struct sfVertexArray sfVertexArray;
|
typedef struct sfVertexArray sfVertexArray;
|
||||||
typedef struct sfVertexBuffer sfVertexBuffer;
|
typedef struct sfVertexBuffer sfVertexBuffer;
|
||||||
typedef struct sfView sfView;
|
typedef struct sfView sfView;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_GRAPHICS_TYPES_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_VERTEX_H
|
#pragma once
|
||||||
#define SFML_VERTEX_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -42,6 +41,3 @@ typedef struct
|
|||||||
sfColor color; ///< Color of the vertex
|
sfColor color; ///< Color of the vertex
|
||||||
sfVector2f texCoords; ///< Coordinates of the texture's pixel to map to the vertex
|
sfVector2f texCoords; ///< Coordinates of the texture's pixel to map to the vertex
|
||||||
} sfVertex;
|
} sfVertex;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_VERTEX_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_VERTEXARRAY_H
|
#pragma once
|
||||||
#define SFML_VERTEXARRAY_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -163,6 +162,3 @@ CSFML_GRAPHICS_API sfPrimitiveType sfVertexArray_getPrimitiveType(sfVertexArray*
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API sfFloatRect sfVertexArray_getBounds(sfVertexArray* vertexArray);
|
CSFML_GRAPHICS_API sfFloatRect sfVertexArray_getBounds(sfVertexArray* vertexArray);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_VERTEXARRAY_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_VERTEXBUFFER_H
|
#pragma once
|
||||||
#define SFML_VERTEXBUFFER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -249,6 +248,3 @@ CSFML_GRAPHICS_API void sfVertexBuffer_bind(const sfVertexBuffer* vertexBuffer);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API bool sfVertexBuffer_isAvailable(void);
|
CSFML_GRAPHICS_API bool sfVertexBuffer_isAvailable(void);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_VERTEXBUFFER_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_VIEW_H
|
#pragma once
|
||||||
#define SFML_VIEW_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -190,6 +189,3 @@ CSFML_GRAPHICS_API void sfView_rotate(sfView* view, float angle);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_GRAPHICS_API void sfView_zoom(sfView* view, float factor);
|
CSFML_GRAPHICS_API void sfView_zoom(sfView* view, float factor);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_VIEW_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_NETWORK_H
|
#pragma once
|
||||||
#define SFML_NETWORK_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -39,6 +38,3 @@
|
|||||||
#include <SFML/Network/TcpListener.h>
|
#include <SFML/Network/TcpListener.h>
|
||||||
#include <SFML/Network/TcpSocket.h>
|
#include <SFML/Network/TcpSocket.h>
|
||||||
#include <SFML/Network/UdpSocket.h>
|
#include <SFML/Network/UdpSocket.h>
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_NETWORK_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_NETWORK_EXPORT_H
|
#pragma once
|
||||||
#define SFML_NETWORK_EXPORT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@
|
|||||||
#define CSFML_NETWORK_API CSFML_API_IMPORT
|
#define CSFML_NETWORK_API CSFML_API_IMPORT
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_NETWORK_EXPORT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_FTP_H
|
#pragma once
|
||||||
#define SFML_FTP_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -543,6 +542,3 @@ CSFML_NETWORK_API sfFtpResponse* sfFtp_upload(sfFtp* ftp, const char* localFile,
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_NETWORK_API sfFtpResponse* sfFtp_sendCommand(sfFtp* ftp, const char* command, const char* parameter);
|
CSFML_NETWORK_API sfFtpResponse* sfFtp_sendCommand(sfFtp* ftp, const char* command, const char* parameter);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_FTP_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_HTTP_H
|
#pragma once
|
||||||
#define SFML_HTTP_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -299,6 +298,3 @@ CSFML_NETWORK_API void sfHttp_setHost(sfHttp* http, const char* host, unsigned s
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_NETWORK_API sfHttpResponse* sfHttp_sendRequest(sfHttp* http, const sfHttpRequest* request, sfTime timeout);
|
CSFML_NETWORK_API sfHttpResponse* sfHttp_sendRequest(sfHttp* http, const sfHttpRequest* request, sfTime timeout);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_HTTP_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_IPADDRESS_H
|
#pragma once
|
||||||
#define SFML_IPADDRESS_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -176,6 +175,3 @@ CSFML_NETWORK_API sfIpAddress sfIpAddress_getLocalAddress(void);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_NETWORK_API sfIpAddress sfIpAddress_getPublicAddress(sfTime timeout);
|
CSFML_NETWORK_API sfIpAddress sfIpAddress_getPublicAddress(sfTime timeout);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_IPADDRESS_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_PACKET_H
|
#pragma once
|
||||||
#define SFML_PACKET_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -184,6 +183,3 @@ CSFML_NETWORK_API void sfPacket_writeFloat(sfPacket* packet, float);
|
|||||||
CSFML_NETWORK_API void sfPacket_writeDouble(sfPacket* packet, double);
|
CSFML_NETWORK_API void sfPacket_writeDouble(sfPacket* packet, double);
|
||||||
CSFML_NETWORK_API void sfPacket_writeString(sfPacket* packet, const char* string);
|
CSFML_NETWORK_API void sfPacket_writeString(sfPacket* packet, const char* string);
|
||||||
CSFML_NETWORK_API void sfPacket_writeWideString(sfPacket* packet, const wchar_t* string);
|
CSFML_NETWORK_API void sfPacket_writeWideString(sfPacket* packet, const wchar_t* string);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_PACKET_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOCKETSELECTOR_H
|
#pragma once
|
||||||
#define SFML_SOCKETSELECTOR_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -136,6 +135,3 @@ CSFML_NETWORK_API bool sfSocketSelector_wait(sfSocketSelector* selector, sfTime
|
|||||||
CSFML_NETWORK_API bool sfSocketSelector_isTcpListenerReady(const sfSocketSelector* selector, sfTcpListener* socket);
|
CSFML_NETWORK_API bool sfSocketSelector_isTcpListenerReady(const sfSocketSelector* selector, sfTcpListener* socket);
|
||||||
CSFML_NETWORK_API bool sfSocketSelector_isTcpSocketReady(const sfSocketSelector* selector, sfTcpSocket* socket);
|
CSFML_NETWORK_API bool sfSocketSelector_isTcpSocketReady(const sfSocketSelector* selector, sfTcpSocket* socket);
|
||||||
CSFML_NETWORK_API bool sfSocketSelector_isUdpSocketReady(const sfSocketSelector* selector, sfUdpSocket* socket);
|
CSFML_NETWORK_API bool sfSocketSelector_isUdpSocketReady(const sfSocketSelector* selector, sfUdpSocket* socket);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOCKETSELECTOR_H
|
|
||||||
@@ -22,9 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOCKETSTATUS_H
|
#pragma once
|
||||||
#define SFML_SOCKETSTATUS_H
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Define the status that can be returned by the socket functions
|
/// \brief Define the status that can be returned by the socket functions
|
||||||
@@ -39,6 +37,3 @@ typedef enum
|
|||||||
sfSocketError ///< An unexpected error happened
|
sfSocketError ///< An unexpected error happened
|
||||||
|
|
||||||
} sfSocketStatus;
|
} sfSocketStatus;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOCKETSTATUS_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TCPLISTENER_H
|
#pragma once
|
||||||
#define SFML_TCPLISTENER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -127,6 +126,3 @@ CSFML_NETWORK_API sfSocketStatus sfTcpListener_listen(sfTcpListener* listener, u
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_NETWORK_API sfSocketStatus sfTcpListener_accept(sfTcpListener* listener, sfTcpSocket** connected);
|
CSFML_NETWORK_API sfSocketStatus sfTcpListener_accept(sfTcpListener* listener, sfTcpSocket** connected);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_TCPLISTENER_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TCPSOCKET_H
|
#pragma once
|
||||||
#define SFML_TCPSOCKET_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -227,6 +226,3 @@ CSFML_NETWORK_API sfSocketStatus sfTcpSocket_sendPacket(sfTcpSocket* socket, sfP
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_NETWORK_API sfSocketStatus sfTcpSocket_receivePacket(sfTcpSocket* socket, sfPacket* packet);
|
CSFML_NETWORK_API sfSocketStatus sfTcpSocket_receivePacket(sfTcpSocket* socket, sfPacket* packet);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_TCPSOCKET_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_NETWORK_TYPES_H
|
#pragma once
|
||||||
#define SFML_NETWORK_TYPES_H
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct sfFtpDirectoryResponse sfFtpDirectoryResponse;
|
typedef struct sfFtpDirectoryResponse sfFtpDirectoryResponse;
|
||||||
@@ -38,6 +37,3 @@ typedef struct sfSocketSelector sfSocketSelector;
|
|||||||
typedef struct sfTcpListener sfTcpListener;
|
typedef struct sfTcpListener sfTcpListener;
|
||||||
typedef struct sfTcpSocket sfTcpSocket;
|
typedef struct sfTcpSocket sfTcpSocket;
|
||||||
typedef struct sfUdpSocket sfUdpSocket;
|
typedef struct sfUdpSocket sfUdpSocket;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_NETWORK_TYPES_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_UDPSOCKET_H
|
#pragma once
|
||||||
#define SFML_UDPSOCKET_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -204,6 +203,3 @@ CSFML_NETWORK_API sfSocketStatus sfUdpSocket_receivePacket(sfUdpSocket* socket,
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_NETWORK_API unsigned int sfUdpSocket_maxDatagramSize(void);
|
CSFML_NETWORK_API unsigned int sfUdpSocket_maxDatagramSize(void);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_UDPSOCKET_H
|
|
||||||
@@ -22,9 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_OPENGL_H
|
#pragma once
|
||||||
#define SFML_OPENGL_H
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -53,6 +51,3 @@
|
|||||||
#include <OpenGL/glu.h>
|
#include <OpenGL/glu.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_OPENGL_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SYSTEM_H
|
#pragma once
|
||||||
#define SFML_SYSTEM_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -37,6 +36,3 @@
|
|||||||
#include <SFML/System/Time.h>
|
#include <SFML/System/Time.h>
|
||||||
#include <SFML/System/Vector2.h>
|
#include <SFML/System/Vector2.h>
|
||||||
#include <SFML/System/Vector3.h>
|
#include <SFML/System/Vector3.h>
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SYSTEM_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_ALLOC_H
|
#pragma once
|
||||||
#define SFML_ALLOC_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -44,6 +43,3 @@
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_SYSTEM_API void sfFree(void* ptr);
|
CSFML_SYSTEM_API void sfFree(void* ptr);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_ALLOC_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_BUFFER_H
|
#pragma once
|
||||||
#define SFML_BUFFER_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -68,6 +67,3 @@ CSFML_SYSTEM_API size_t sfBuffer_getSize(const sfBuffer* buffer);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_SYSTEM_API const uint8_t* sfBuffer_getData(const sfBuffer* buffer);
|
CSFML_SYSTEM_API const uint8_t* sfBuffer_getData(const sfBuffer* buffer);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_BUFFER_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CLOCK_H
|
#pragma once
|
||||||
#define SFML_CLOCK_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -85,6 +84,3 @@ CSFML_SYSTEM_API sfTime sfClock_getElapsedTime(const sfClock* clock);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_SYSTEM_API sfTime sfClock_restart(sfClock* clock);
|
CSFML_SYSTEM_API sfTime sfClock_restart(sfClock* clock);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CLOCK_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SYSTEM_EXPORT_H
|
#pragma once
|
||||||
#define SFML_SYSTEM_EXPORT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@
|
|||||||
#define CSFML_SYSTEM_API CSFML_API_IMPORT
|
#define CSFML_SYSTEM_API CSFML_API_IMPORT
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SYSTEM_EXPORT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_INPUTSTREAM_H
|
#pragma once
|
||||||
#define SFML_INPUTSTREAM_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -50,6 +49,3 @@ typedef struct sfInputStream
|
|||||||
sfInputStreamGetSizeFunc getSize; ///< Function to get the total number of bytes in the stream
|
sfInputStreamGetSizeFunc getSize; ///< Function to get the total number of bytes in the stream
|
||||||
void* userData; ///< User data that will be passed to the callbacks
|
void* userData; ///< User data that will be passed to the callbacks
|
||||||
} sfInputStream;
|
} sfInputStream;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_INPUTSTREAM_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SLEEP_H
|
#pragma once
|
||||||
#define SFML_SLEEP_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -42,6 +41,3 @@
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_SYSTEM_API void sfSleep(sfTime duration);
|
CSFML_SYSTEM_API void sfSleep(sfTime duration);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SLEEP_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TIME_H
|
#pragma once
|
||||||
#define SFML_TIME_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -105,6 +104,3 @@ CSFML_SYSTEM_API sfTime sfMilliseconds(int32_t amount);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_SYSTEM_API sfTime sfMicroseconds(int64_t amount);
|
CSFML_SYSTEM_API sfTime sfMicroseconds(int64_t amount);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_TIME_H
|
|
||||||
@@ -22,14 +22,10 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SYSTEM_TYPES_H
|
#pragma once
|
||||||
#define SFML_SYSTEM_TYPES_H
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct sfBuffer sfBuffer;
|
typedef struct sfBuffer sfBuffer;
|
||||||
typedef struct sfClock sfClock;
|
typedef struct sfClock sfClock;
|
||||||
typedef struct sfMutex sfMutex;
|
typedef struct sfMutex sfMutex;
|
||||||
typedef struct sfThread sfThread;
|
typedef struct sfThread sfThread;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SYSTEM_TYPES_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_VECTOR2_H
|
#pragma once
|
||||||
#define SFML_VECTOR2_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -62,6 +61,3 @@ typedef struct
|
|||||||
float x;
|
float x;
|
||||||
float y;
|
float y;
|
||||||
} sfVector2f;
|
} sfVector2f;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_VECTOR2_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_VECTOR3_H
|
#pragma once
|
||||||
#define SFML_VECTOR3_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -41,6 +40,3 @@ typedef struct
|
|||||||
float y;
|
float y;
|
||||||
float z;
|
float z;
|
||||||
} sfVector3f;
|
} sfVector3f;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_VECTOR3_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SFML_WINDOW_H
|
#pragma once
|
||||||
#define SFML_SFML_WINDOW_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -42,6 +41,3 @@
|
|||||||
#include <SFML/Window/Touch.h>
|
#include <SFML/Window/Touch.h>
|
||||||
#include <SFML/Window/VideoMode.h>
|
#include <SFML/Window/VideoMode.h>
|
||||||
#include <SFML/Window/Window.h>
|
#include <SFML/Window/Window.h>
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SFML_WINDOW_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CLIPBOARD_H
|
#pragma once
|
||||||
#define SFML_CLIPBOARD_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -80,5 +79,3 @@ CSFML_WINDOW_API void sfClipboard_setString(const char* text);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API void sfClipboard_setUnicodeString(const sfChar32* text);
|
CSFML_WINDOW_API void sfClipboard_setUnicodeString(const sfChar32* text);
|
||||||
|
|
||||||
#endif // SFML_CLIPBOARD_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CONTEXT_H
|
#pragma once
|
||||||
#define SFML_CONTEXT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -107,5 +106,3 @@ CSFML_WINDOW_API sfContextSettings sfContext_getSettings(const sfContext* contex
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API uint64_t sfContext_getActiveContextId(void);
|
CSFML_WINDOW_API uint64_t sfContext_getActiveContextId(void);
|
||||||
|
|
||||||
#endif // SFML_CONTEXT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CURSOR_H
|
#pragma once
|
||||||
#define SFML_CURSOR_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -142,6 +141,3 @@ CSFML_WINDOW_API sfCursor* sfCursor_createFromSystem(sfCursorType type);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API void sfCursor_destroy(sfCursor* cursor);
|
CSFML_WINDOW_API void sfCursor_destroy(sfCursor* cursor);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CURSOR_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_EVENT_H
|
#pragma once
|
||||||
#define SFML_EVENT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -217,6 +216,3 @@ typedef union
|
|||||||
sfTouchEvent touch; ///< Touch events parameters
|
sfTouchEvent touch; ///< Touch events parameters
|
||||||
sfSensorEvent sensor; ///< Sensor event parameters
|
sfSensorEvent sensor; ///< Sensor event parameters
|
||||||
} sfEvent;
|
} sfEvent;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_EVENT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_WINDOW_EXPORT_H
|
#pragma once
|
||||||
#define SFML_WINDOW_EXPORT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@
|
|||||||
#define CSFML_WINDOW_API CSFML_API_IMPORT
|
#define CSFML_WINDOW_API CSFML_API_IMPORT
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_WINDOW_EXPORT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_JOYSTICK_H
|
#pragma once
|
||||||
#define SFML_JOYSTICK_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -145,6 +144,3 @@ CSFML_WINDOW_API sfJoystickIdentification sfJoystick_getIdentification(unsigned
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API void sfJoystick_update(void);
|
CSFML_WINDOW_API void sfJoystick_update(void);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_JOYSTICK_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_JOYSTICKIDENDIFICATION_H
|
#pragma once
|
||||||
#define SFML_JOYSTICKIDENDIFICATION_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -40,6 +39,3 @@ typedef struct
|
|||||||
unsigned int vendorId;
|
unsigned int vendorId;
|
||||||
unsigned int productId;
|
unsigned int productId;
|
||||||
} sfJoystickIdentification;
|
} sfJoystickIdentification;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_JOYSTICKIDENDIFICATION_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_KEYBOARD_H
|
#pragma once
|
||||||
#define SFML_KEYBOARD_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -419,5 +418,3 @@ CSFML_WINDOW_API const char* sfKeyboard_getDescription(sfScancode code);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API void sfKeyboard_setVirtualKeyboardVisible(bool visible);
|
CSFML_WINDOW_API void sfKeyboard_setVirtualKeyboardVisible(bool visible);
|
||||||
|
|
||||||
#endif // SFML_KEYBOARD_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_MOUSE_H
|
#pragma once
|
||||||
#define SFML_MOUSE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -118,6 +117,3 @@ CSFML_WINDOW_API sfVector2i sfMouse_getPositionWindowBase(const sfWindowBase* re
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API void sfMouse_setPositionWindowBase(sfVector2i position, const sfWindowBase* relativeTo);
|
CSFML_WINDOW_API void sfMouse_setPositionWindowBase(sfVector2i position, const sfWindowBase* relativeTo);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_MOUSE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SENSOR_H
|
#pragma once
|
||||||
#define SFML_SENSOR_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -84,6 +83,3 @@ CSFML_WINDOW_API void sfSensor_setEnabled(sfSensorType sensor, bool enabled);
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API sfVector3f sfSensor_getValue(sfSensorType sensor);
|
CSFML_WINDOW_API sfVector3f sfSensor_getValue(sfSensorType sensor);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SENSOR_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_TOUCH_H
|
#pragma once
|
||||||
#define SFML_TOUCH_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -70,6 +69,3 @@ CSFML_WINDOW_API sfVector2i sfTouch_getPosition(unsigned int finger, const sfWin
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API sfVector2i sfTouch_getPositionWindowBase(unsigned int finger, const sfWindowBase* relativeTo);
|
CSFML_WINDOW_API sfVector2i sfTouch_getPositionWindowBase(unsigned int finger, const sfWindowBase* relativeTo);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_TOUCH_H
|
|
||||||
@@ -22,14 +22,10 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_WINDOW_TYPES_H
|
#pragma once
|
||||||
#define SFML_WINDOW_TYPES_H
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct sfContext sfContext;
|
typedef struct sfContext sfContext;
|
||||||
typedef struct sfCursor sfCursor;
|
typedef struct sfCursor sfCursor;
|
||||||
typedef struct sfWindow sfWindow;
|
typedef struct sfWindow sfWindow;
|
||||||
typedef struct sfWindowBase sfWindowBase;
|
typedef struct sfWindowBase sfWindowBase;
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_WINDOW_TYPES_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_VIDEOMODE_H
|
#pragma once
|
||||||
#define SFML_VIDEOMODE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -85,6 +84,3 @@ CSFML_WINDOW_API const sfVideoMode* sfVideoMode_getFullscreenModes(size_t* count
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API bool sfVideoMode_isValid(sfVideoMode mode);
|
CSFML_WINDOW_API bool sfVideoMode_isValid(sfVideoMode mode);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_VIDEOMODE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_WINDOW_H
|
#pragma once
|
||||||
#define SFML_WINDOW_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -488,6 +487,3 @@ CSFML_WINDOW_API sfWindowHandle sfWindow_getNativeHandle(const sfWindow* window)
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API bool sfWindow_createVulkanSurface(sfWindow* window, const VkInstance* instance, VkSurfaceKHR* surface, const VkAllocationCallbacks* allocator);
|
CSFML_WINDOW_API bool sfWindow_createVulkanSurface(sfWindow* window, const VkInstance* instance, VkSurfaceKHR* surface, const VkAllocationCallbacks* allocator);
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_WINDOW_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_WINDOWBASE_H
|
#pragma once
|
||||||
#define SFML_WINDOWBASE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -391,5 +390,3 @@ CSFML_WINDOW_API sfWindowHandle sfWindowBase_getNativeHandle(const sfWindowBase*
|
|||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_WINDOW_API bool sfWindowBase_createVulkanSurface(sfWindowBase* windowBase, const VkInstance* instance, VkSurfaceKHR* surface, const VkAllocationCallbacks* allocator);
|
CSFML_WINDOW_API bool sfWindowBase_createVulkanSurface(sfWindowBase* windowBase, const VkInstance* instance, VkSurfaceKHR* surface, const VkAllocationCallbacks* allocator);
|
||||||
|
|
||||||
#endif // SFML_WINDOWBASE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_WINDOWHANDLE_H
|
#pragma once
|
||||||
#define SFML_WINDOWHANDLE_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -52,6 +51,3 @@
|
|||||||
typedef void* sfWindowHandle;
|
typedef void* sfWindowHandle;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_WINDOWHANDLE_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_MUSICSTRUCT_H
|
#pragma once
|
||||||
#define SFML_MUSICSTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -40,6 +39,3 @@ struct sfMusic
|
|||||||
CallbackStream Stream;
|
CallbackStream Stream;
|
||||||
sf::Music This;
|
sf::Music This;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_MUSICSTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDBUFFERRECORDERSTRUCT_H
|
#pragma once
|
||||||
#define SFML_SOUNDBUFFERRECORDERSTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -41,6 +40,3 @@ struct sfSoundBufferRecorder
|
|||||||
mutable sfSoundBuffer SoundBuffer;
|
mutable sfSoundBuffer SoundBuffer;
|
||||||
std::string DeviceName;
|
std::string DeviceName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDBUFFERRECORDERSTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDBUFFERSTRUCT_H
|
#pragma once
|
||||||
#define SFML_SOUNDBUFFERSTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -38,6 +37,3 @@ struct sfSoundBuffer
|
|||||||
{
|
{
|
||||||
sf::SoundBuffer This;
|
sf::SoundBuffer This;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDBUFFERSTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDRECORDERSTRUCT_H
|
#pragma once
|
||||||
#define SFML_SOUNDRECORDERSTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -98,6 +97,3 @@ struct sfSoundRecorder
|
|||||||
sfSoundRecorderImpl This;
|
sfSoundRecorderImpl This;
|
||||||
std::string DeviceName;
|
std::string DeviceName;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDRECORDERSTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDSTREAMSTRUCT_H
|
#pragma once
|
||||||
#define SFML_SOUNDSTREAMSTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -103,6 +102,3 @@ struct sfSoundStream
|
|||||||
|
|
||||||
sfSoundStreamImpl This;
|
sfSoundStreamImpl This;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDSTREAMSTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_SOUNDSTRUCT_H
|
#pragma once
|
||||||
#define SFML_SOUNDSTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -40,6 +39,3 @@ struct sfSound
|
|||||||
sf::Sound This;
|
sf::Sound This;
|
||||||
const sfSoundBuffer* Buffer;
|
const sfSoundBuffer* Buffer;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_SOUNDSTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CALLBACKSTREAM_H
|
#pragma once
|
||||||
#define SFML_CALLBACKSTREAM_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -141,6 +140,3 @@ private:
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
sfInputStream myStream; ///< The source CSFML input stream
|
sfInputStream myStream; ///< The source CSFML input stream
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CALLBACKSTREAM_H
|
|
||||||
+1
-4
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CHAR32_HPP
|
#pragma once
|
||||||
#define SFML_CHAR32_HPP
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -45,5 +44,3 @@ inline sfChar32* copyToChar32(const sf::String& str)
|
|||||||
|
|
||||||
return utf32;
|
return utf32;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SFML_CHAR32_HPP
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CONVERTEVENT_H
|
#pragma once
|
||||||
#define SFML_CONVERTEVENT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -175,5 +174,3 @@ inline void convertEvent(const sf::Event& sfmlEvent, sfEvent* event)
|
|||||||
event->sensor.z = sensorChanged->value.z;
|
event->sensor.z = sensorChanged->value.z;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // SFML_CONVERTEVENT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CIRCLESHAPESTRUCT_H
|
#pragma once
|
||||||
#define SFML_CIRCLESHAPESTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@ struct sfCircleShape
|
|||||||
mutable sfTransform Transform;
|
mutable sfTransform Transform;
|
||||||
mutable sfTransform InverseTransform;
|
mutable sfTransform InverseTransform;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CIRCLESHAPESTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CONVERTRENDERSTATES_H
|
#pragma once
|
||||||
#define SFML_CONVERTRENDERSTATES_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -57,6 +56,3 @@ inline sf::RenderStates convertRenderStates(const sfRenderStates* states)
|
|||||||
|
|
||||||
return sfmlStates;
|
return sfmlStates;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CONVERTRENDERSTATES_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CONVERTTRANSFORM_H
|
#pragma once
|
||||||
#define SFML_CONVERTTRANSFORM_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -53,6 +52,3 @@ inline sf::Transform convertTransform(const sfTransform& transform)
|
|||||||
m[3], m[4], m[5],
|
m[3], m[4], m[5],
|
||||||
m[6], m[7], m[8]);
|
m[6], m[7], m[8]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CONVERTTRANSFORM_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_CONVEXSHAPESTRUCT_H
|
#pragma once
|
||||||
#define SFML_CONVEXSHAPESTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@ struct sfConvexShape
|
|||||||
mutable sfTransform Transform;
|
mutable sfTransform Transform;
|
||||||
mutable sfTransform InverseTransform;
|
mutable sfTransform InverseTransform;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_CONVEXSHAPESTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_FONTSTRUCT_H
|
#pragma once
|
||||||
#define SFML_FONTSTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@ struct sfFont
|
|||||||
std::map<unsigned int, sfTexture> Textures;
|
std::map<unsigned int, sfTexture> Textures;
|
||||||
CallbackStream Stream;
|
CallbackStream Stream;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_FONTSTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_IMAGESTRUCT_H
|
#pragma once
|
||||||
#define SFML_IMAGESTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -38,6 +37,3 @@ struct sfImage
|
|||||||
{
|
{
|
||||||
sf::Image This;
|
sf::Image This;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_IMAGESTRUCT_H
|
|
||||||
@@ -22,8 +22,7 @@
|
|||||||
//
|
//
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef SFML_RECTANGLESHAPESTRUCT_H
|
#pragma once
|
||||||
#define SFML_RECTANGLESHAPESTRUCT_H
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
// Headers
|
// Headers
|
||||||
@@ -43,6 +42,3 @@ struct sfRectangleShape
|
|||||||
mutable sfTransform Transform;
|
mutable sfTransform Transform;
|
||||||
mutable sfTransform InverseTransform;
|
mutable sfTransform InverseTransform;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#endif // SFML_RECTANGLESHAPESTRUCT_H
|
|
||||||
Loaded 100 of 126 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user