Commit Graph

142 Commits

Author SHA1 Message Date
Laurent Gomila
67c498dde3 Changed the STATIC_STD_LIBS CMake option to FALSE by default (matches the default compilers' settings) 2011-05-28 14:28:22 +02:00
Laurent Gomila
7bf0bdf161 Updated sfPacket_CanRead in CSFML 2011-05-26 07:47:58 +02:00
Laurent Gomila
e4c6c30e0b Times in SFML are now Uint32 milliseconds instead of float seconds
Added the sf::Uint64 and sf::Int64 types
2011-05-19 08:19:42 +02:00
Laurent Gomila
6383f0c800 Minor change in shared library naming on Linux 2011-05-16 08:00:30 +02:00
Laurent Gomila
04ae896457 Added the STATIC_STD_LIBS option to CSFML makefiles 2011-05-16 07:57:41 +02:00
Laurent Gomila
a4f6e915a0 Removed the sf::Randomizer class from the system module 2011-05-10 08:16:22 +02:00
Laurent Gomila
e3c8fd6586 Fixed crash in Text.DisplayedString (get) in SFML.Net (fixes issue #16) 2011-05-09 23:23:08 +02:00
Laurent Gomila
ede01df778 Added the sf::Event::KeyEvent::System member (implements feature #8) 2011-04-26 21:58:03 +02:00
Laurent Gomila
6e04a02b07 Improved FindSFML.cmake to handle configurations in a better way (fixes issue #27) 2011-04-14 22:08:19 +02:00
Laurent Gomila
df6874273a Renamed Window::GetEvent to PollEvent 2011-04-11 18:20:21 +02:00
Laurent Gomila
4892866905 Added Window::SetTitle to CSFML and SFML.Net 2011-04-10 09:48:33 +02:00
Laurent Gomila
6676d77ea1 Updated the C and .Net bindings according to the previous modifications 2011-04-04 23:37:20 +02:00
Laurent Gomila
4217ea68f6 Removed the ruby binding (it has its own repository now -> https://github.com/Groogy/rbSFML) 2011-03-28 07:50:52 +02:00
Laurent Gomila
12245224a4 Added the 64-bits versions of SFML.Net dependencies 2011-03-26 11:20:13 +01:00
laurentgom
6a3ac47f54 Renamed Text.Size to Text.CharacterSize in SFML.Net (sync with C++ API)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1816 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-24 21:40:09 +00:00
laurentgom
5dbe00eaa5 Updated SFML.Net
Updated target architectures (can now choose between x86 and x64) in SFML.Net

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1814 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 19:02:00 +00:00
laurentgom
10a782b871 Updated CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1813 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 17:34:26 +00:00
groogy
8651a38e14 Fixed a little copy-paste error on my behalf.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1806 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-15 22:28:34 +00:00
Trass3r
ff9c3d3dfd removed some unneeded imports
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1805 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-15 14:37:59 +00:00
groogy
3e0b09f3f1 Was being compiled both against shared library and static library.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1804 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-05 14:52:28 +00:00
groogy
a26827adcc git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1803 4e206d99-4929-0410-ac5d-dfc041789085 2011-02-28 22:15:52 +00:00
groogy
7d7c4c999f Some refactoring, moved C++ allocation into the *_Alloc function instead of directly in new, removed new in most of classes too. Cloning should work on all copyable classes now.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1802 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-27 14:07:10 +00:00
groogy
0a2abc6933 sfml/all couldn't be loaded since it's symbol was not C style but got name mangled by C++.
Fixed now :)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1801 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-26 01:09:31 +00:00
groogy
4813ca8d8e A little mistake by me. A warning from the compiler got me notified about it.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1799 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-13 18:10:46 +00:00
groogy
1fad97be6d Fixed some missing reference in sfml-graphics initiation function. The shared classes has to be global and reacquired in each library for it to work.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1798 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-13 12:59:28 +00:00
tricksterguy
e63a8fe442 new directory structure for ruby binding should compile and link fine under windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1797 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-13 05:26:14 +00:00
Trass3r
637e4fa365 some fixes for Vector
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1786 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-30 18:38:20 +00:00
Trass3r
c91c7827b2 sync with sfml changes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1785 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-30 18:18:34 +00:00
Trass3r
1b0bdfe7de changed to new dll naming scheme
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1784 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-30 18:09:15 +00:00
LaurentGom
f7427fe167 Renamed Shader.LoadFromFile to FromFile and made it static (so that now it is a named constructor), in SFML.Net
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1783 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-29 16:35:26 +00:00
groogy
f3b1cfd0de Forgot the constant SFML::Key::W
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1782 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-28 21:59:31 +00:00
groogy
4d175b9243 Forgot to actually call SetSourceRect in Sprite#setSourceRect
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1781 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-28 21:50:59 +00:00
groogy
673d150a5a Sorry Trickster for messing with you.... Changed back to shared libraries.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1780 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-27 09:28:55 +00:00
groogy
b1d2d84c4f Quick fix for missing symbols.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1779 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-26 23:04:14 +00:00
groogy
2a79a3ec49 Added so that version information is available in the SFML namespace.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1778 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-26 21:51:34 +00:00
tricksterguy
95068deecc Updated Rakefile
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1776 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-23 01:00:49 +00:00
groogy
1986fb3f12 Changed names of some methods to fit the new names in SFML2 since revision: 1767
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1769 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-05 18:21:47 +00:00
LaurentGom
f4fa8b1fbc Renamed Window::UseVerticalSync to EnableVerticalSync
Renamed Shape::Get/SetOutlineWidth to Get/SetOutlineThickness

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1767 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-02 22:23:12 +00:00
tricksterguy
8eebd71fcc New extconf.rb for the graphics module
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1763 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-23 23:23:27 +00:00
groogy
9b25dc5641 Forgot to add a negative sign before the one when specifying the amount of arguments SFML::Image#initialize takes.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1751 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-06 08:34:15 +00:00
tricksterguy
add3608e72 Added Rakefile gem description and homepage
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1750 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-05 21:20:55 +00:00
groogy
71a2b6a6bd Changed some small stuff in the rakefile. Don't think it matters and I hope it didn't break anything.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1749 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-05 16:04:35 +00:00
groogy
8199fa0379 some small fixes for mistakes I made and that Trickster noticed.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1748 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-05 15:40:24 +00:00
tricksterguy
20e308466a Added a nice Rakefile
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1747 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-05 07:28:31 +00:00
groogy
0aafc6b6ba Added commentaries to all new initialize methods.
Also moved the commentaries in SFML::Window from the Window_New function to Window_Initialize.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1746 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-04 21:17:35 +00:00
groogy
aa39447c26 Changed resource classes initialize method to call often used methods if arguments are provided.
Check for details: http://tasks.groogy.se/index.php?do=details&task_id=1&project=2

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1745 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-04 19:26:05 +00:00
groogy
44e811ec64 Fixed a bug in RenderImage where RenderImage_GetHeight was named RenderTarget_GetHeight which should've led to that you couldn't even compile the source.
Also added so that when creating a new RenderImage instance that if you give any arguments then those will be passed on to a method call to SFML::RenderImage#create.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1744 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-04 18:01:32 +00:00
groogy
bb7a6fac1f Added a #initialize_copy method to all classes which are wrapped around a C++ object in order to properly copy the values.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1740 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 19:47:41 +00:00
groogy
0920da5d8e Just some wrong names which is fixed now.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1739 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 16:16:50 +00:00
groogy
30865b6ef9 Made the classes that is non-copyable in the C++ library also non-copyable in rbSFML.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1738 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 14:12:16 +00:00