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
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
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
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
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
mantognini
fd02b2d3af
fix event mouse move
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1741 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 22:29:41 +00:00
LaurentGom
6ce458939e
Minor fix that makes sf::SoundStream less crazy when the internal AL source couldn't be created
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1732 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-02 22:26:35 +00:00
mantognini
0ed20bf130
fix SFContext::MakeCurrent
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1731 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 23:00:45 +00:00
mantognini
e2ff29ecda
fix event with fullscreen mode
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1730 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 22:55:23 +00:00
mantognini
13f062220b
update licence header
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1719 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-26 08:09:38 +00:00
mantognini
90a61a6048
update cmake for better doxygen search
...
remove duplicated headers - update cmake accordingly
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1716 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 22:06:17 +00:00
mantognini
4a1a2a6b5f
add licence header
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1715 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 20:54:29 +00:00
mantognini
de8712fa5f
This is a big commit for os x port!
...
> remove old OSX version
> add new sources (Window and Graphics modules)
> add extlibs static binaries/headers/frameworks
> update cmake for OSX
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1711 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 16:45:03 +00:00
LaurentGom
e73d274d86
New API for sf::Thread (more flexible)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1685 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 13:00:19 +00:00
LaurentGom
7ebf2f1bbb
Added the install rule for sfml-main in CMake files
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1684 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 08:25:08 +00:00
LaurentGom
08393593e1
Fixed minor error in sf::Window::Window documentation, and removed a useless member
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1632 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-11 08:46:13 +00:00
LaurentGom
230f5e58ca
Fixed texture cache not properly updated when a same sf::Image instance allocated a new OpenGL texture internally
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1631 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-09 21:55:24 +00:00
LaurentGom
95eda37e47
Fixed crash when saving PNG images with gcc
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1628 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-08 22:22:17 +00:00
LaurentGom
6e682af51a
Finished to adjust the libraries names in SFML, CSFML and SFML.Net
...
Removed support for old projects/makefiles (only CMake makefiles can be used now)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1612 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-04 22:49:49 +00:00
LaurentGom
9f0d6882ba
Fixed a bug in sf::Shader with textures
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1611 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-04 21:51:27 +00:00
LaurentGom
61dc7e0100
Added the TcpListener::Close function
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1585 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-26 19:38:26 +00:00
LaurentGom
16d986c762
Binding two sockets to the same port on the same computer now triggers an error
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1584 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-17 21:20:36 +00:00
LaurentGom
2cd966f566
Fixed a bug in sf::UdpSocket::Receive(sf::Packet&) with non-blocking sockets (incorrect packets were sometimes returned)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1583 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-16 08:47:27 +00:00
LaurentGom
d327320b59
Changed sf::WindowHandle from void* to HWND on Windows
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1580 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-13 16:38:39 +00:00
laurentgom
0354c306e3
Fixed memory leak in GlxContext when creating an OpenGL 3 context
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1579 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-12 09:25:53 +00:00
LaurentGom
535b7bc839
Fixed a bug in sf::Err (the default output for SFML error messages), it was ignoring random characters
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1578 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-11 17:58:18 +00:00
LaurentGom
19cb364afe
New try to fix the ATI & OpenGL contexts bug
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1570 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-17 16:46:35 +00:00
LaurentGom
d35fc89512
Fixed a bug with threads and OpenGL context sharing
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1567 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 18:59:30 +00:00
LaurentGom
02688a4a3f
[ #165 ] Fixed Setfield("User-Agent", "xxx") ignored in sf::Http::Request
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1565 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-08 08:34:05 +00:00
LaurentGom
973a7fa591
Fixed output filename of sfml-main which didn't contain the major version number (when compiling with CMake)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1564 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 17:28:48 +00:00
LaurentGom
e2cfdff23e
Reduced the sleep duration in sf::SoundStream to avoid stuttering with streams that send a little amount of samples in OnGetData
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1563 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-05 09:14:11 +00:00
LaurentGom
316dcbd1f6
Fixed a memory leak in the Linux implementation of VideoMode::GetDesktopMode
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1562 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-02 11:50:48 +00:00
LaurentGom
e4725e03dc
Fixed compile errors for 64 bits targets in WindowImplWin32
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1561 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 21:32:03 +00:00
LaurentGom
dda69de7e9
gdi32 was missing from the dependencies of sfml-window in CMake files
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1551 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-25 06:06:27 +00:00
LaurentGom
a991fe8e4d
Added support for the CMake build system
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-19 15:59:24 +00:00
LaurentGom
aa612ec63a
Updated glext headers
...
OpenGL contexts >= 3.2 are now created with the compatibility profile, so that the functions used by SFML are available
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1549 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-18 21:13:38 +00:00
LaurentGom
ff2c4f2ee7
Replaced C standard headers (<xxx.h>) with their C++ version (<cxxx>)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1545 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-02 20:36:27 +00:00
LaurentGom
41b29f45f8
Updated stb_image (the latest version includes my patches)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1544 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-01 19:26:35 +00:00
LaurentGom
8bde578f90
Fixed warnings in stb_image
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1543 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-01 09:14:49 +00:00
LaurentGom
ff367bdb57
Now using stb_image directly for loading image files, instead of SOIL (which is not maintained anymore)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1542 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-31 14:06:30 +00:00
LaurentGom
68cdbd31cc
FS#160 - Windows size should not be reset to 0 when it is minimized
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1538 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-24 10:58:25 +00:00
LaurentGom
37ea224621
Fixed a bug in Image::GetTexCoords (introduced in the few last revisions)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1534 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-19 21:26:29 +00:00
LaurentGom
c941db07a0
Removed temporary debug stuff from previous fix :)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1533 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 20:43:07 +00:00
LaurentGom
dcbc7f29a4
Fixed a bug where the characters size was sometimes wrong in sf::Text
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1532 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-18 15:59:59 +00:00
LaurentGom
ef8a2700fe
FS#162 - Add a function to retrieve the system specific handle of a window
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1530 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 21:13:55 +00:00
LaurentGom
028c4d5a96
Fixed wrong texture coordinates when displaying a part of a render-image with a sprite
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1529 4e206d99-4929-0410-ac5d-dfc041789085
2010-07-15 20:03:53 +00:00
LaurentGom
0a437d6e48
Fixed mouse position in sf::Input not properly updated after a call to Window::SetCursorPosition
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1527 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-25 10:35:55 +00:00
LaurentGom
280ce139d6
Some minor corrections in API documentation and parameters names
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1525 4e206d99-4929-0410-ac5d-dfc041789085
2010-06-11 21:52:51 +00:00
LaurentGom
52f8da466c
Fixed negative mouse coordinates being returned as unsigned integers on Windows
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1522 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-25 17:44:12 +00:00
LaurentGom
aaf080368b
Fixed header <iterator> missing in the voip sample
...
Minor additions to the API documentation of the drawable classes
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1520 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-13 11:00:29 +00:00
LaurentGom
aade008582
Minor fix (changed long to LONG_PTR) in WindowImplWin32::GlobalOnEvent
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1519 4e206d99-4929-0410-ac5d-dfc041789085
2010-05-09 18:06:50 +00:00
LaurentGom
073e7864ef
Updated the API documentation of the graphics module
...
sf::Image now uses GL_CLAMP_TO_EDGE instead of GL_CLAMP (removes black border when the image is smooth)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1511 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-20 11:10:34 +00:00
LaurentGom
7d68f59a5a
Fixed bug in View::Reset
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1510 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-19 10:37:53 +00:00
LaurentGom
4c2899876e
Fixed bug with texture coordinates in RenderImage after the sf::Rect modification
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1508 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 12:05:53 +00:00
LaurentGom
1e6161c750
Updated the Matrix3 class and documentation (internal stuff)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1507 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 11:29:44 +00:00
LaurentGom
a00a9c1cc2
Modified the overloads of sf::Shape::Rectangle according to the last modification
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1506 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-10 09:35:15 +00:00
LaurentGom
136af3d1fe
Fixed wrong macro in RenderImageImplPBuffer.h
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1505 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 17:36:03 +00:00
LaurentGom
082a928555
*important* sf::Rect now uses Width/Height instead of Right/Bottom
...
Removed Offset, GetSize and GetCenter functions from sf::Rect
Added a sf::Rect constructor taking two Vector2 parameters
Updated the API documentation of the sf::Rect class
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1503 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 13:04:49 +00:00
LaurentGom
ae2ae15e12
FS#159 - Add sf::Window::SetTitle
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1502 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 07:35:08 +00:00
LaurentGom
a512479a42
Renamed internal classes related to OpenGL contexts in the window module
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1501 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-09 06:55:29 +00:00
LaurentGom
3a17e35cac
Created DLL build configurations for samples in Code::Blocks and Visual C++ project files
...
Removed unused stuff from extlibs headers
Removed source files from generated API documentation
Removed the qt and wxwidgets samples
Fixed minor warnings in Packet.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1499 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-08 16:18:38 +00:00
LaurentGom
af22a15df3
Fixed the linker warning about conflicting libraries in Visual C++ projects
...
Fixed a minor warning in UdpSocket.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1497 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-07 10:03:09 +00:00
LaurentGom
a6b9dbfd39
Upgraded external libraries (libpng 1.4.1, zlib 1.2.4, openal-soft 1.12.854) on Windows
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1496 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-07 07:57:32 +00:00
LaurentGom
14d0b8a483
Fixed a possible bug in the calculation of sf::SoundStream playing offset
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1495 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-06 20:48:37 +00:00
LaurentGom
dbd767376b
The external libs used by sfml-graphics are now linked instead of being integrated to the source code
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1491 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-05 19:04:49 +00:00
LaurentGom
41f09975ab
Packets handling in UdpSocket is now more robust
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1490 4e206d99-4929-0410-ac5d-dfc041789085
2010-04-05 14:06:37 +00:00
LaurentGom
507f467390
Added TcpListener::GetLocalPort()
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1480 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-29 17:02:10 +00:00
LaurentGom
87f712e0c6
Added code in sf::Font to handle bitmap glyphs rendered in monochrome mode
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1479 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-26 19:45:06 +00:00
LaurentGom
09a0d11668
Removed the useless makefiles
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1478 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 16:13:07 +00:00
laurentgom
ca5489a5d6
Modified the Linux build system so that makefiles are now outside the source tree
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1477 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 15:55:07 +00:00
laurentgom
fd8fa4e2f8
Fixed errors caused by the last commit in the network module, and fixed minor warnings in the graphics module, on Linux
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1476 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 11:15:39 +00:00
LaurentGom
9280771665
FS#86 - Rewrite the sockets API
...
Updated the API documentation of the whole network module
The system headers are no longer included by the sfml-network public headers
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1475 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-23 09:39:43 +00:00
LaurentGom
a09ee0f9e3
Fixed bug in JPEG saving (due to the last modification)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1474 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-19 18:51:45 +00:00
LaurentGom
6b23d15a14
Changed the internal storage of pixels in sf::Image (vector<Color> --> vector<Uint8>)
...
Changed the Glyph structure to allow using sprites to display glyphs
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1473 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-19 16:06:18 +00:00
LaurentGom
691eea4c69
Removed IpAddress::IsValid(), added IpAddress::None
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1456 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-13 09:50:24 +00:00
LaurentGom
809b09292f
Merged VideoMode::GetMode and VideoMode::GetModesCount into a single new function VideoMode::GetFullscreenModes
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1453 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 14:07:28 +00:00
LaurentGom
e924c9cf39
Improved the API documentation of sf::IpAddress
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1452 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-12 09:35:17 +00:00
LaurentGom
9646bf54d8
Renamed IPAddress.cpp to IpAddress.cpp
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1449 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:37:51 +00:00
LaurentGom
72b49a3592
Made sf::IPAddress comparison operators non-member
...
Minor fix in sf::Clock API documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1447 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-11 14:27:57 +00:00
LaurentGom
ef216acc5f
Minor changes to the documentation and some parameters names
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1444 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-08 17:50:16 +00:00
LaurentGom
4e93cc92fa
Synchronized with trunk
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1442 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-05 11:05:30 +00:00
LaurentGom
b3ca862273
Fixed possible leak in sf::Thread implementation (thread handles could be lost if the same sf::Thread was launched again before finishing)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1441 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-05 10:35:13 +00:00
LaurentGom
dec1820537
Fixed issues with the fullscreen mode on Windows
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1435 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-03 07:59:28 +00:00
LaurentGom
786408c5bc
Sockets can now handle properly the situation where the packet size is received in multiple chunks
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1433 4e206d99-4929-0410-ac5d-dfc041789085
2010-03-02 12:00:12 +00:00
LaurentGom
4a840d4f48
Fixed extra empty line at end of Http::Response body
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1431 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-28 22:51:50 +00:00
LaurentGom
bb414773d1
Added Insert and Find functions to sf::String
...
Added implicit constructors to sf::String for converting from single characters (char, wchar_t and Uint32)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1429 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-26 09:36:38 +00:00
LaurentGom
ba66558cec
Forced alpha component in color buffer for 32 bits mode, on Windows
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1428 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-26 07:49:12 +00:00
LaurentGom
6f6481ef38
Fixed images and shaders sometimes not updated when they are modified while they are used
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1427 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-25 19:05:57 +00:00
LaurentGom
76a76a784f
Minor modifications to shader and image activation
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1426 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-25 12:37:51 +00:00
LaurentGom
39afb72c4e
Fixed crashes in Ftp::Upload and Ftp::Download with empty files
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1424 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-24 16:17:17 +00:00
ceylo
d7496629e3
Added sfPriv prefix to forgotten Objective-C classes to prevent conflicts with user classes.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1423 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 22:20:17 +00:00
ceylo
9354d3adba
Fixed conflict with autorelease pools when using SFML in a Cocoa app.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1422 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 10:15:24 +00:00
ceylo
2ee1c5751a
Reorganized private window implementation to allow using <NSView *> objects for window import (especially to allow Qt [Cocoa version] use even it does not work because Qt windows are deferred; it still works for Cocoa though until windows are not deferred). Renamed Objective-C classes with sfPriv prefix to prevent conflict with user Objective-C classes.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1421 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 09:54:16 +00:00
LaurentGom
341b499180
Fixed endless recursion in the streambuf of sf::Err
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1420 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-23 07:28:46 +00:00
LaurentGom
646f7a31e6
Fixed compile errors in System/Err.cpp on Linux
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1419 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 22:34:34 +00:00
LaurentGom
d1ba056b0f
I forgot to update the VS2005 and Code::Blocks projects in last commit :)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1418 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 15:43:15 +00:00
LaurentGom
76de05af61
FS#150 - SFML should use its own stream instead of std::cerr, for reporting errors
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1417 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 11:30:43 +00:00
LaurentGom
796406a15b
Fixed conflict between the local glxext.h and the system's one, on Linux
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1416 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-22 08:07:13 +00:00
LaurentGom
da5ac8a951
Fixed Font::operator= not handling the reference counter properly (which was leading to crashes after copies of sf::Font instances)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1414 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-19 14:38:29 +00:00
LaurentGom
0aaebddc7b
Updated the API documentation of RenderTarget, RenderImage and RenderWindow
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1413 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-19 14:34:34 +00:00
LaurentGom
5bec10de6c
FS#153 - Fix the initial seed of sf::Randomizer which is always the same on some configurations
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1412 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-18 07:34:36 +00:00
LaurentGom
504804a06e
Fixed RenderTarget::ConvertCoords returning wrong Y coordinates
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1410 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 17:17:20 +00:00
LaurentGom
47d019098c
Changed the parameter of LoadFromMemory functions to be a const void* instead of a const char*
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1409 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 14:43:09 +00:00
LaurentGom
b60fda48d9
Renamed Shape::GetNbPoints to Shape::GetPointsCount (consistent with the other similar functions)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1408 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 12:05:02 +00:00
LaurentGom
b3d3082fc4
Fixed a Win32 constant missing after upgrading to gcc 4.4 headers
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1407 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 11:35:37 +00:00
LaurentGom
aa2199bbb3
Fixed a Win32 constant missing after upgrading to gcc 4.4 headers
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1407 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 11:35:37 +00:00
LaurentGom
26bbe358ed
Synchronized with trunk
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1406 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 10:50:16 +00:00
LaurentGom
d89d721b96
Made sf::Input and events more consistent / synchronized
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1405 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-17 07:57:26 +00:00
LaurentGom
cdc1346612
FS#152 - Fix crash with the default font at global exit on Windows
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1401 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-11 08:31:52 +00:00
LaurentGom
3621cb10f7
Fixed bugs with the LShift and RShift keys
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1400 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 23:35:01 +00:00
LaurentGom
79c7bf8e02
Synchronized with trunk
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1399 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 14:42:53 +00:00
LaurentGom
b7b876eb26
Removed all the useless "sf::"
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1397 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 11:09:55 +00:00
LaurentGom
f0e231eabf
Fixed wrong sf::Event::Resized notification when switching from fullscreen to windowed mode
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1396 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-10 11:01:38 +00:00
LaurentGom
7878edc824
Minor code refactoring
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1395 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-07 21:22:10 +00:00
ceylo
37c9dd8ac4
Oops. Dropped debug message.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1394 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-05 19:31:43 +00:00
ceylo
d4a5384da1
Added "hack" to allow window import with Qt.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1393 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-05 19:26:20 +00:00
LaurentGom
2840618c70
The projection matrix is now handled more efficiently in sf::Renderer
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1392 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-04 19:25:00 +00:00
LaurentGom
e79415209f
Made audio capture work in Mac OS X 10.5 / 10.6
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1391 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-04 10:51:22 +00:00
LaurentGom
e2b5268504
New try for pixel-perfect rendering -- waiting for feedbacks
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1390 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-03 14:07:19 +00:00
LaurentGom
9fe66bdc5e
Forget to fix the Linux implementation in previous commit :)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1389 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 08:48:35 +00:00
LaurentGom
51fc817e8b
Fixed a texture cache problem in the P-Buffer implementation of sf::RenderImage
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1388 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 08:47:24 +00:00
LaurentGom
ec2fe136f9
Fixed sound streams sometimes being stuck after looping once
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1387 4e206d99-4929-0410-ac5d-dfc041789085
2010-02-02 07:49:27 +00:00
ceylo
d3a53570d7
Fixed small compilation error.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1380 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-29 00:17:21 +00:00
LaurentGom
f644f6220d
Fixed compile error in Joystick.hpp on FreeBSD
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1378 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-28 18:36:13 +00:00
LaurentGom
35f6fa2060
Fixed wrong paths for headers in VC2008 project files
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1374 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-27 13:43:28 +00:00
LaurentGom
57194f4d4b
Synchronized with trunk
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1372 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 10:52:36 +00:00
LaurentGom
3247f441f8
Made the assignment operator in sf::Sound work with the last modification
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1371 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 10:31:09 +00:00
LaurentGom
362f374732
FS#104 - Fix crash when destroying a SoundBuffer used by a Sound
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1370 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-26 09:49:03 +00:00
LaurentGom
4220795de4
Synchronized with trunk
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1369 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-21 10:13:44 +00:00
LaurentGom
6341b569db
FS#139 - Fix tiny musics ignoring the "loop" flag
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1368 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-21 10:00:31 +00:00
LaurentGom
5a0feadb8f
Made the management of the "current shader" more consistent
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1366 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-20 15:43:40 +00:00
LaurentGom
4eed417158
Fixed a bug about shaders in the new Renderer class
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1365 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-20 12:53:15 +00:00
LaurentGom
b6b423bd8f
Fixed possible crash in sf::Font
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1364 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-19 22:19:29 +00:00
LaurentGom
2e40f341ba
Some minor modifications in RenderImage implementation
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1363 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-19 22:07:31 +00:00
LaurentGom
c237305f9b
Removed all the automatic batching stuff and replaced it with a more straight-forward implementation using a state cache for optimizing performances
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1362 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-19 20:39:32 +00:00
LaurentGom
40f13c7302
Removed all the remaining const_cast, and replaced them with mutable members (this is needed for optimized lazy calculations)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1353 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-13 13:55:20 +00:00
LaurentGom
273cba055c
Added Style::Default for windows' style
...
Removed unused #includes from RenderWindow.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1345 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 12:46:44 +00:00
LaurentGom
7ad6c64358
Fixed current view not being updated when window is resized (bug introduced with the latest modifications on view handling)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1344 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 09:33:55 +00:00
LaurentGom
7b83fbc544
Merged all the joystick fixes from trunk
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1343 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-11 09:04:59 +00:00
LaurentGom
b2b0cb2144
Fixed memory leak in sf::Font (reference counter was never initialized)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1342 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-10 15:52:08 +00:00
LaurentGom
8df50b9774
Fixed wrong joystick POV values in the Linux implementation
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1341 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-09 17:24:51 +00:00
LaurentGom
489ee2b17b
Fixed POV handling on Linux
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1339 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-09 09:13:06 +00:00
LaurentGom
44c943e651
FS#146 - Fix current OpenGL matrix mode not properly saved when PreserveOpenGLStates is activated
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1338 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-08 17:21:03 +00:00
LaurentGom
b9a2d3a8f4
Fixed joystick axes mapping (to be tested)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1332 4e206d99-4929-0410-ac5d-dfc041789085
2010-01-06 14:28:20 +00:00