Commit Graph

777 Commits

Author SHA1 Message Date
laurentgom
a94ed51702 ATI fix!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1809 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-21 07:08:26 +00:00
laurentgom
6cf2303484 Fixed typo in comment
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1808 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-19 22:07:14 +00:00
laurentgom
f3d212f737 Merged some functions in sf::String
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1807 4e206d99-4929-0410-ac5d-dfc041789085
2011-03-19 19:49:16 +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
mantognini
73370dc178 Forbid window creating and event fetching from worker thread as it's an OS X limitation.
Fix context not activated when created (now shader and renderimage works without having to creat a window or a context explicitly).



git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1800 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-19 14:22:39 +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
mantognini
8675cb364c Fixed Mouse In/Out event and the internal state of SFOpenGLView when the window is resized
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1796 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-11 15:41:55 +00:00
mantognini
f85a1794bc Improved TextEntered event.
Improved KeyPressed/Released event.
Add support for 'modifier' keys (System, Alt, Control, Shift).



git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1795 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-11 00:17:19 +00:00
LaurentGom
58632672cb sf::Utf functions now use the global locale by default instead of the system's one
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1794 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-09 16:44:43 +00:00
mantognini
b26215ef96 OSX, Apply a better fix to compute screen height
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1793 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-09 13:10:43 +00:00
mantognini
f664148e27 Fix GetFullscreenModes : no more returns only desktop mode.
Fix fullscreen window by setting up a desktop-wide window and resizing the context's backbuffer.

Fix mouse coordinate for fullscreen window.

Fix window sending 5 event when resized.

Better fix for TextEntered event – no more relies on documentation but on current implementation of the system.

Update some obj-classes structures. (Mostly improved the code structure.)

Update © date and some comments.



git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1792 4e206d99-4929-0410-ac5d-dfc041789085
2011-02-09 11:50:25 +00:00
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