Commit Graph

689 Commits

Author SHA1 Message Date
groogy
0446d03a03 Created an instance of wrong class.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1721 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-27 23:48:33 +00:00
groogy
888d4f7585 Forgot to add the isValid method to the SFML::VideoMode class. Fixed now.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1720 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-27 22:51:38 +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
groogy
1a6835e042 Some changes because of a mistake made on my behalf. I forgot to write rb_funcall2 but I used instead rb_funcall instead.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1718 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 23:05:37 +00:00
groogy
2f46c7a85b Fixed some mistakes on my behalf and possibly the sf::RenderTarget::Draw segmentation fault. And I did it without dynamic cast!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1717 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 22:45:30 +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
groogy
50a5ecd79f Added rdoc comments to all audio classes.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1714 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 19:30:10 +00:00
groogy
191776fbec Made some changes to ensure consistency with references when it comes to the Garbage Collector
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1713 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 17:52:50 +00:00
groogy
0d7c966d5e Finished the library. Got some bugs to sort out first but after that it's all done!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1712 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 17:36: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
groogy
bb55254fe3 Added SoundBufferRecorder.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1710 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 15:12:33 +00:00
groogy
398f4ee763 Forgot to pass the sample pointer in the OnProcessSamples function and also some aliases.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1709 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 11:04:17 +00:00
groogy
d22a5648d4 Finished the SoundRecorder class. You can make instances from it but you'll have to implement the pure abstract method yourself in ruby code.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1708 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 10:55:08 +00:00
groogy
ce1ffbc687 Finished the SFML::Sound class
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1707 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-25 07:32:07 +00:00
groogy
748f572201 Finished SoundBuffer. Also adding files for SoundStream and Sound, not completed yet!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1706 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-24 21:08:40 +00:00
groogy
d4e60f3a2a Fixed a bug where Image_LoadFromFile was bound to SFML::Image#loadFromPixels...
Didn't I commit this just now? I think my SVN client isn't working properly.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1705 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-24 21:06:54 +00:00
groogy
ee117bb749 Small changes in header files and also finished the SoundSource class.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1704 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-24 19:17:57 +00:00
groogy
7c2b4bccfa Started working on the SFML-Audio module. Thought I committed this previously but doesn't look like it. Anyway here it is. Completed at least Listener
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1703 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-24 18:52:07 +00:00
groogy
3fc9c7f999 Started working on the sfml-audio module. Got Listener done with rdoc documentation.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1702 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-24 16:08:56 +00:00
groogy
5c848f3617 Don't know what would be the difference but this is more semantically correct.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1701 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-24 11:36:07 +00:00
groogy
a8a1c98a41 Graphics module is now complete. Added rdoc documentation to every class and method.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1700 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-24 05:49:36 +00:00
groogy
bc24802219 Finished the Graphics Module. Gonna go trough all files again now and add the rdoc comments where I've left it out.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1699 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-23 17:21:20 +00:00
groogy
dbd8795df8 Just some small fixes for my convenience.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1698 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-23 15:00:23 +00:00
groogy
7178d7bfcf Test to check that SFML::RenderWindow and shapes works as they should.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1697 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-23 05:59:28 +00:00
groogy
aaf1dc3a66 A lot of changes. But all lead to that you now can draw shapes on a SFML::RenderWindow
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1696 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-23 05:58:32 +00:00
groogy
aabed07f10 Finished SFML::RenderImage, still got rdoc comments to do.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1695 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-22 16:13:33 +00:00
groogy
feae42e7f7 Fixed so that the rbDrawable::Render function now wraps the sf::Renderer and sf::RenderTarget objects and passes the wrappers to the SFML::Drawable#render method.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1694 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-22 15:03:30 +00:00
groogy
f991e29cd2 Created the SFML::RenderTarget mixin module for my convenience. Consider this class internal! Do not use it directly in your code!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1693 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-22 14:50:09 +00:00
groogy
c9e7b6caf2 Created the SFML::Renderer class. Got rdoc comments left to do.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1692 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-21 15:47:37 +00:00
groogy
ae57d51182 Finished the SFML::Shader class. Still got rdoc comments to do.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1691 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-21 13:32:26 +00:00
LaurentGom
04075d6a4b Minor modifications to the Window::GetFrameTime() doc
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1690 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-21 09:33:45 +00:00
groogy
7a31d223ef Finished the SFML::View class. Will add rdoc commentaries later.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1689 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 23:42:53 +00:00
LaurentGom
7559f0669f Fixed errors (missing double-quotes) in VS 2010 project files generated by CMake, for static build
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1688 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 22:30:14 +00:00
groogy
83c580f9b4 Finished SFML::Font with rdoc commentaries too.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1687 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 18:16:24 +00:00
groogy
f05ca23625 Finished SFML::Image and have written rdoc comments on every method binding. Left to do is testing it when the whole module is finished.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1686 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 16:02:07 +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
groogy
dbc947a185 Fixed some compilation errors from previous revision. Now it compiles but the classes different methods haven't been bound yet so won't have any effect.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1683 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 01:12:58 +00:00
groogy
a4925aab38 Finally finished making all the functions that I will eventually bind to the SFML::Image class. To tired right now, I'll continue tomorrow.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1682 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-20 00:44:23 +00:00
groogy
a80339f668 A lot of changed, nothing complete. Just committing so I can transfer location. I'm currently focusing on getting SFML::Image complete since the entire library more or less depends on it.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1681 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 18:36:45 +00:00
groogy
738b02c308 Well I made a test to check if Drawable worked, and it didn't... I had made some really bad mistakes but they are fixed now and the drawable test is working currently. Though it will be extended with functionality to render too. Will have to wait with that test for now as the function is actually not finished.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1680 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 14:29:21 +00:00
groogy
8153ec8db8 Had to do a lot of configurations to get the cross-module include work correctly.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1679 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 14:03:40 +00:00
groogy
f1cae1cfef Moved the RetrieveSFMLClass function to the system module since several other modules will be using this function too.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1678 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 13:33:37 +00:00
groogy
550289b6a8 Added Drawable module, still have the comments to add and have to test if it works, but theoretically it should be good to go.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1677 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 13:29:40 +00:00
groogy
85d24cbf88 Added helper functions to access the color components in SFML::Color
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1676 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 09:28:16 +00:00
groogy
961a417fb6 Updated SFML::Rect to use the new helper functions.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1675 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 08:46:00 +00:00
groogy
4b8ae2b817 Changed Window so where ever it uses SFML::Vector2 to access it's elements I use the helper functions.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1674 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 08:33:30 +00:00
groogy
8335502866 Forgot to change a variable name, now it compiles and works.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1673 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 08:30:38 +00:00
groogy
712b64d168 Added helper functions for Vector3 and Vector2. Made them also use the functions themselves and fixed a small bug in Vector3 where only 2 values would be set and not all 3 when doing any kind of arithmetics on them.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1672 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-19 08:26:58 +00:00