LaurentGom
8affa29f54
Changed the returned OpenGL context version from 2.9 to 2.0, if creating a context >= 3.0 failed
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1791 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-08 17:23:05 +00:00
svenstaro
f5206544ce
Lower case for mingw compatibility (native Windows doesn't care)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1790 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-06 03:47:31 +00:00
mantognini
e9a201af21
OSX, fixed arrow keys creating TextEntred event.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1789 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-05 14:15:31 +00:00
LaurentGom
c48792e933
Made the context creation code more flexible, to allow 4.x contexts
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1788 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-04 22:22:54 +00:00
LaurentGom
7c61189f27
Fixed library name of the "main" component in FindSFML.cmake
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1787 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-04 22:03:19 +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
mantognini
cf779be180
OSX, fix random crash with sf::Window::Create
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1777 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-23 23:42:48 +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
mantognini
206aebd46a
OSX, forget to remove NSLog..
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1775 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-22 09:13:42 +00:00
mantognini
8d9de8396b
OSX, fixed sf::Window::SetPosition for 10.4 and 10.5 (theoretically)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1774 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-22 08:57:32 +00:00
mantognini
0cf57db9c2
OSX, fixed sf::Window::SetPosition
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1773 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-21 22:41:22 +00:00
mantognini
0a7b98dd0b
OSX, fixed tabulation
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1772 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-20 21:52:27 +00:00
mantognini
f9c4740894
OSX, fixed mouse pos in event.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1771 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-20 13:04:25 +00:00
mantognini
bef6b3bbf6
OSX, RenderImageFBO should work now.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1770 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-19 17:49:01 +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
f8955189fa
Fixed render-images flipped when copied to another sf::Image
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1768 4e206d99-4929-0410-ac5d-dfc041789085
2011-01-03 22:32:39 +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
LaurentGom
3cf2281988
Fixed invalid iterator access in sf::Image (introduced in last modification)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1766 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-30 19:14:59 +00:00
LaurentGom
030600ac07
Minor improvement in sf::Err's default streambuf
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1765 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-27 22:06:01 +00:00
LaurentGom
87b207edc7
Reviewed all sf::Image functions to make the behaviour always well-defined and robust
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1764 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-26 15:05:07 +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
laurentgom
d99ee43b67
Removed some documentation related to an unimplemented feature :)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1762 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-22 14:48:52 +00:00
mantognini
44d859860a
fix mouse Y pos (OSX)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1761 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-21 12:15:12 +00:00
LaurentGom
e9cccf0e6f
Fixed Window::WaitEvent sometimes returning (false) when no event occurred
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1760 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-20 22:08:28 +00:00
mantognini
256e30bd27
Fixed text event on OS X not linked with EnableKeyRepeat
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1759 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-20 21:54:22 +00:00
LaurentGom
74ebd1a50b
Added conversions from/to latin-1 (ISO-5589-1) in sf::Utf classes
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1758 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-20 18:00:12 +00:00
LaurentGom
23d0ee8550
Minor modification in sf::Renderer
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1757 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-19 17:17:30 +00:00
LaurentGom
9d777f43e5
Removed empty folder
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1756 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-13 21:06:03 +00:00
LaurentGom
7687a84f2c
Fixed the sndfile.h issue on Mac OS X
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1755 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-13 21:01:49 +00:00
LaurentGom
bb7d79d857
Fixed missing include path for extlibs on Mac OS X
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1754 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-11 10:54:18 +00:00
LaurentGom
7696438a4a
Minor modifications to CMake files
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1753 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-10 20:44:20 +00:00
mantognini
a1eade38f4
-update old USE_OS_X_VERSION_10_* macros
...
-fix setCursorPositionToX:Y:
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1752 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-10 14:50:29 +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
mantognini
f2be71b1ea
remove a warning from video mode impl
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1743 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-04 16:03:44 +00:00
mantognini
93cc2e4472
add (non-tested) impl of PBuffer
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1742 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 22:49:13 +00:00