summaryrefslogtreecommitdiff
path: root/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System
diff options
context:
space:
mode:
Diffstat (limited to 'libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System')
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Clock.h90
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Export.h48
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/InputStream.h54
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Mutex.h68
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Sleep.h47
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Thread.h103
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Time.h110
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Types.h33
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector2.h67
-rwxr-xr-xlibghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector3.h46
10 files changed, 666 insertions, 0 deletions
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Clock.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Clock.h
new file mode 100755
index 0000000..be2eb60
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Clock.h
@@ -0,0 +1,90 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_CLOCK_H
+#define SFML_CLOCK_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+#include <SFML/System/Time.h>
+#include <SFML/System/Types.h>
+
+
+////////////////////////////////////////////////////////////
+/// \brief Create a new clock and start it
+///
+/// \return A new sfClock object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfClock* sfClock_create(void);
+
+////////////////////////////////////////////////////////////
+/// \brief Create a new clock by copying an existing one
+///
+/// \param clock Clock to copy
+///
+/// \return A new sfClock object which is a copy of \a clock
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfClock* sfClock_copy(const sfClock* clock);
+
+////////////////////////////////////////////////////////////
+/// \brief Destroy a clock
+///
+/// \param clock Clock to destroy
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfClock_destroy(sfClock* clock);
+
+////////////////////////////////////////////////////////////
+/// \brief Get the time elapsed in a clock
+///
+/// This function returns the time elapsed since the last call
+/// to sfClock_restart (or the construction of the object if
+/// sfClock_restart has not been called).
+///
+/// \param clock Clock object
+///
+/// \return Time elapsed
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfTime sfClock_getElapsedTime(const sfClock* clock);
+
+////////////////////////////////////////////////////////////
+/// \brief Restart a clock
+///
+/// This function puts the time counter back to zero.
+/// It also returns the time elapsed since the clock was started.
+///
+/// \param clock Clock object
+///
+/// \return Time elapsed
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfTime sfClock_restart(sfClock* clock);
+
+
+#endif // SFML_CLOCK_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Export.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Export.h
new file mode 100755
index 0000000..a473954
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Export.h
@@ -0,0 +1,48 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_SYSTEM_EXPORT_H
+#define SFML_SYSTEM_EXPORT_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/Config.h>
+
+
+////////////////////////////////////////////////////////////
+// Define portable import / export macros
+////////////////////////////////////////////////////////////
+#if defined(CSFML_SYSTEM_EXPORTS)
+
+ #define CSFML_SYSTEM_API CSFML_API_EXPORT
+
+#else
+
+ #define CSFML_SYSTEM_API CSFML_API_IMPORT
+
+#endif
+
+
+#endif // SFML_SYSTEM_EXPORT_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/InputStream.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/InputStream.h
new file mode 100755
index 0000000..140ee42
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/InputStream.h
@@ -0,0 +1,54 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_INPUTSTREAM_H
+#define SFML_INPUTSTREAM_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+
+
+typedef sfInt64 (*sfInputStreamReadFunc)(void* data, sfInt64 size, void* userData);
+typedef sfInt64 (*sfInputStreamSeekFunc)(sfInt64 position, void* userData);
+typedef sfInt64 (*sfInputStreamTellFunc)(void* userData);
+typedef sfInt64 (*sfInputStreamGetSizeFunc)(void* userData);
+
+
+////////////////////////////////////////////////////////////
+/// \brief Set of callbacks that allow users to define custom file streams
+///
+////////////////////////////////////////////////////////////
+typedef struct sfInputStream
+{
+ sfInputStreamReadFunc read; ///< Function to read data from the stream
+ sfInputStreamSeekFunc seek; ///< Function to set the current read position
+ sfInputStreamTellFunc tell; ///< Function to get the current read position
+ sfInputStreamGetSizeFunc getSize; ///< Function to get the total number of bytes in the stream
+ void* userData; ///< User data that will be passed to the callbacks
+} sfInputStream;
+
+
+#endif // SFML_INPUTSTREAM_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Mutex.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Mutex.h
new file mode 100755
index 0000000..3e054de
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Mutex.h
@@ -0,0 +1,68 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_MUTEX_H
+#define SFML_MUTEX_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+#include <SFML/System/Types.h>
+
+
+////////////////////////////////////////////////////////////
+/// \brief Create a new mutex
+///
+/// \return A new sfMutex object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfMutex* sfMutex_create(void);
+
+////////////////////////////////////////////////////////////
+/// \brief Destroy a mutex
+///
+/// \param mutex Mutex to destroy
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfMutex_destroy(sfMutex* mutex);
+
+////////////////////////////////////////////////////////////
+/// \brief Lock a mutex
+///
+/// \param mutex Mutex object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfMutex_lock(sfMutex* mutex);
+
+////////////////////////////////////////////////////////////
+/// \brief Unlock a mutex
+///
+/// \param mutex Mutex object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfMutex_unlock(sfMutex* mutex);
+
+
+#endif // SFML_MUTEX_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Sleep.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Sleep.h
new file mode 100755
index 0000000..34fff1f
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Sleep.h
@@ -0,0 +1,47 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_SLEEP_H
+#define SFML_SLEEP_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+#include <SFML/System/Time.h>
+
+
+////////////////////////////////////////////////////////////
+/// \brief Make the current thread sleep for a given duration
+///
+/// sfSleep is the best way to block a program or one of its
+/// threads, as it doesn't consume any CPU power.
+///
+/// \param duration Time to sleep
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfSleep(sfTime duration);
+
+
+#endif // SFML_SLEEP_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Thread.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Thread.h
new file mode 100755
index 0000000..49aaa6f
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Thread.h
@@ -0,0 +1,103 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_THREAD_H
+#define SFML_THREAD_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+#include <SFML/System/Types.h>
+
+
+////////////////////////////////////////////////////////////
+/// \brief Create a new thread from a function pointer
+///
+/// Note: this does *not* run the thread, use sfThread_launch.
+///
+/// \param function Entry point of the thread
+/// \param userData Custom data to pass to the thread function
+///
+/// \return A new sfThread object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfThread* sfThread_create(void (*function)(void*), void* userData);
+
+////////////////////////////////////////////////////////////
+/// \brief Destroy a thread
+///
+/// This function calls sfThread_wait, so that the internal thread
+/// cannot survive after the sfThread object is destroyed.
+///
+/// \param thread Thread to destroy
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfThread_destroy(sfThread* thread);
+
+////////////////////////////////////////////////////////////
+/// \brief Run a thread
+///
+/// This function starts the entry point passed to the
+/// thread's constructor, and returns immediately.
+/// After this function returns, the thread's function is
+/// running in parallel to the calling code.
+///
+/// \param thread Thread object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfThread_launch(sfThread* thread);
+
+////////////////////////////////////////////////////////////
+/// \brief Wait until a thread finishes
+///
+/// This function will block the execution until the
+/// thread's function ends.
+/// Warning: if the thread function never ends, the calling
+/// thread will block forever.
+/// If this function is called from its owner thread, it
+/// returns without doing anything.
+///
+/// \param thread Thread object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfThread_wait(sfThread* thread);
+
+////////////////////////////////////////////////////////////
+/// \brief Terminate a thread
+///
+/// This function immediately stops the thread, without waiting
+/// for its function to finish.
+/// Terminating a thread with this function is not safe,
+/// and can lead to local variables not being destroyed
+/// on some operating systems. You should rather try to make
+/// the thread function terminate by itself.
+///
+/// \param thread Thread object
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API void sfThread_terminate(sfThread* thread);
+
+
+#endif // SFML_THREAD_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Time.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Time.h
new file mode 100755
index 0000000..b27b842
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Time.h
@@ -0,0 +1,110 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_TIME_H
+#define SFML_TIME_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+
+
+////////////////////////////////////////////////////////////
+/// \brief Represents a time value
+///
+////////////////////////////////////////////////////////////
+typedef struct
+{
+ sfInt64 microseconds;
+} sfTime;
+
+////////////////////////////////////////////////////////////
+/// \brief Predefined "zero" time value
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfTime sfTime_Zero;
+
+////////////////////////////////////////////////////////////
+/// \brief Return a time value as a number of seconds
+///
+/// \param time Time value
+///
+/// \return Time in seconds
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API float sfTime_asSeconds(sfTime time);
+
+////////////////////////////////////////////////////////////
+/// \brief Return a time value as a number of milliseconds
+///
+/// \param time Time value
+///
+/// \return Time in milliseconds
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfInt32 sfTime_asMilliseconds(sfTime time);
+
+////////////////////////////////////////////////////////////
+/// \brief Return a time value as a number of microseconds
+///
+/// \param time Time value
+///
+/// \return Time in microseconds
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfInt64 sfTime_asMicroseconds(sfTime time);
+
+////////////////////////////////////////////////////////////
+/// \brief Construct a time value from a number of seconds
+///
+/// \param amount Number of seconds
+///
+/// \return Time value constructed from the amount of seconds
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfTime sfSeconds(float amount);
+
+////////////////////////////////////////////////////////////
+/// \brief Construct a time value from a number of milliseconds
+///
+/// \param amount Number of milliseconds
+///
+/// \return Time value constructed from the amount of milliseconds
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfTime sfMilliseconds(sfInt32 amount);
+
+////////////////////////////////////////////////////////////
+/// \brief Construct a time value from a number of microseconds
+///
+/// \param amount Number of microseconds
+///
+/// \return Time value constructed from the amount of microseconds
+///
+////////////////////////////////////////////////////////////
+CSFML_SYSTEM_API sfTime sfMicroseconds(sfInt64 amount);
+
+
+#endif // SFML_TIME_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Types.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Types.h
new file mode 100755
index 0000000..cea5ce4
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Types.h
@@ -0,0 +1,33 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_SYSTEM_TYPES_H
+#define SFML_SYSTEM_TYPES_H
+
+
+typedef struct sfClock sfClock;
+typedef struct sfMutex sfMutex;
+typedef struct sfThread sfThread;
+
+
+#endif // SFML_SYSTEM_TYPES_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector2.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector2.h
new file mode 100755
index 0000000..536de2c
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector2.h
@@ -0,0 +1,67 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_VECTOR2_H
+#define SFML_VECTOR2_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+
+
+////////////////////////////////////////////////////////////
+/// \brief 2-component vector of integers
+///
+////////////////////////////////////////////////////////////
+typedef struct
+{
+ int x;
+ int y;
+} sfVector2i;
+
+
+////////////////////////////////////////////////////////////
+/// \brief 2-component vector of unsigned integers
+///
+////////////////////////////////////////////////////////////
+typedef struct
+{
+ unsigned int x;
+ unsigned int y;
+} sfVector2u;
+
+
+////////////////////////////////////////////////////////////
+/// \brief 2-component vector of floats
+///
+////////////////////////////////////////////////////////////
+typedef struct
+{
+ float x;
+ float y;
+} sfVector2f;
+
+
+#endif // SFML_VECTOR2_H
diff --git a/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector3.h b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector3.h
new file mode 100755
index 0000000..2e4729a
--- /dev/null
+++ b/libghack/CSFML-2.1-windows-32bits/CSFML-2.1/include/SFML/System/Vector3.h
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////
+//
+// SFML - Simple and Fast Multimedia Library
+// Copyright (C) 2007-2013 Laurent Gomila (laurent.gom@gmail.com)
+//
+// This software is provided 'as-is', without any express or implied warranty.
+// In no event will the authors be held liable for any damages arising from the use of this software.
+//
+// Permission is granted to anyone to use this software for any purpose,
+// including commercial applications, and to alter it and redistribute it freely,
+// subject to the following restrictions:
+//
+// 1. The origin of this software must not be misrepresented;
+// you must not claim that you wrote the original software.
+// If you use this software in a product, an acknowledgment
+// in the product documentation would be appreciated but is not required.
+//
+// 2. Altered source versions must be plainly marked as such,
+// and must not be misrepresented as being the original software.
+//
+// 3. This notice may not be removed or altered from any source distribution.
+//
+////////////////////////////////////////////////////////////
+
+#ifndef SFML_VECTOR3_H
+#define SFML_VECTOR3_H
+
+////////////////////////////////////////////////////////////
+// Headers
+////////////////////////////////////////////////////////////
+#include <SFML/System/Export.h>
+
+
+////////////////////////////////////////////////////////////
+/// \brief 3-component vector of floats
+///
+////////////////////////////////////////////////////////////
+typedef struct
+{
+ float x;
+ float y;
+ float z;
+} sfVector3f;
+
+
+#endif // SFML_VECTOR3_H