Commit Graph

3564 Commits

Author SHA1 Message Date
groogy
e0b1a7a53f Added so that we can check if the system library has been loaded by querying: SFML::SystemLoaded which will be true if loaded otherwise nil which counts as false in an if-statement
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1596 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-03 10:01:10 +00:00
groogy
14741b19b6 added license
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1595 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-03 08:01:26 +00:00
groogy
055735e489 Just bare-bones for the Window library.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1594 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-02 22:59:19 +00:00
groogy
e9c325a9cf Modified Clock description and added first comments on the Vector2 and Vector3 classes. Though I have to comment the comparison methods of the vector classes too.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1593 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-02 22:54:38 +00:00
groogy
562547b0ee Added comments to the ruby wrapper functions. Hopefully they comply with rdoc and the ruby standard so I can generate a good documentation later.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1592 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-02 22:20:20 +00:00
groogy
bd16e0fc40 Change so that Clock_New is only used and accessible from within Clock.cpp since I realized that using it directly and not trough a ruby call will mess up ruby's call stack probably
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1591 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-02 22:00:53 +00:00
groogy
77626aa172 Forgot to place message on previous. Added the entire System library to the repo.
Here I've modified Clock.cpp and added another alias for Clock_GetElapsedTime so that it conforms with the Ruby standard.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1590 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-02 16:15:14 +00:00
groogy
4b418bb4d7 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1589 4e206d99-4929-0410-ac5d-dfc041789085 2010-11-02 16:06:32 +00:00
groogy
b1a9967d56 Cleaned folder
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1588 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-02 10:10:38 +00:00
Trass3r
b7fc208177 brought back alloc.d
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1587 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-31 19:53:48 +00:00
Trass3r
643ff2b38a + Vector swizzling (thx Simen Kjaeraas)
- alloc.d
* small fix in KeyCode enum

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1586 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-29 10:41:46 +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
5e73228b5e Switched to the latest version of FreeType (2.4.3) and recompiled the VC++ version with /MD
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1582 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-15 19:33:58 +00:00
LaurentGom
bfcc54db3d Updated sfWindowHandle in CSFML (sync with sf::WindowHandle)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1581 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-13 21:43:24 +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
77078f53db Fixed a bug in the UTF-8 -> UTF-32 conversion when the input character type is signed
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1577 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-11 08:37:21 +00:00
LaurentGom
274014e786 Fixed an error in the documentation of the Music::Play and Sound::Play functions
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1576 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-06 21:10:25 +00:00
LaurentGom
d258439457 Removed useless directories in CSFML/doc
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1575 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 21:36:30 +00:00
LaurentGom
c18bbb2685 Added CMake makefiles for CSFML
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1574 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 21:34:34 +00:00
LaurentGom
dd63420b52 Modified FindSFML.cmake for a better handling of debug libraries
Fixed Macros.cmake (the last modification introduced a bug when generating nmake makefiles)

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1573 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 21:19:30 +00:00
laurentgom
dac1ade7c4 Improved the CMake files so that paths with spaces are no longer a problem with Visual Studio projects
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1572 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-05 14:31:37 +00:00
LaurentGom
076456aa91 Added a FindSFML.cmake file for CMake
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1571 4e206d99-4929-0410-ac5d-dfc041789085
2010-10-04 21:16:12 +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
36f9cf6cc1 Minor fixes in API documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1569 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 21:51:39 +00:00
LaurentGom
5763e7b950 Removed CSFML .def files on Windows
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1568 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-14 19:43:47 +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
6de9ea8a0f Workarounds used sf::Utf classes for broken MinGW locales, are not used when STLPort is detected
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1566 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-08 18:52:39 +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
2d83514452 Renamed / moved / updated the SFML.Net examples (still in progress... having troubles with SVN)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1560 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 21:17:24 +00:00
LaurentGom
002902319c Renamed / moved / updated the SFML.Net examples (still in progress... having troubles with SVN)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1559 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 18:47:45 +00:00
LaurentGom
80b803fe93 Renamed / moved / updated the SFML.Net examples (2)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1558 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 17:37:07 +00:00
LaurentGom
177c82a197 Renamed / moved / updated the SFML.Net examples
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1557 4e206d99-4929-0410-ac5d-dfc041789085
2010-09-01 17:34:14 +00:00
LaurentGom
186f679f85 Applied the new naming convention to the CSFML and SFML.Net binaries (sfml2-xxx)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1556 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-29 08:48:53 +00:00
LaurentGom
8525a7cb92 Changed the output names of SFML libraries in projects/makefiles (sfml-xxx -> sfml2-xxx)
Fixed OpenAL include path in Linux makefiles

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1555 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-27 21:37:50 +00:00
LaurentGom
3ba0e73719 Removed the examples/bin folder (not used anymore)
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1554 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-27 06:18:13 +00:00
Trass3r
9da487ac13 fixed 2 samples, thx AndrejM
sound3d sample compiles but sound stops after some time

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1553 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-26 09:06:20 +00:00
Trass3r
64b4bd8472 fixed some bugs in SoundStream
property style functions for SoundStream and SoundSource
fixed pong and soundstream samples: thx AndrejM!

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1552 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-25 20:37:00 +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
fe484591f9 Changed the visibility of sf::Music's virtual functions from private to protected, so that one can derive and customize sf::Music easily
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1548 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-11 08:46:52 +00:00
LaurentGom
ce4a18f1d6 More fixes to the code example of the CSFML API documentation
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1547 4e206d99-4929-0410-ac5d-dfc041789085
2010-08-09 18:42:33 +00:00