Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
bb7a6fac1f Added a #initialize_copy method to all classes which are wrapped around a C++ object in order to properly copy the values.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1740 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 19:47:41 +00:00
groogy
30865b6ef9 Made the classes that is non-copyable in the C++ library also non-copyable in rbSFML.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1738 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 14:12:16 +00:00
groogy
c61b4fec47 Changed so that we use the static libraries of SFML instead to reduce the dependency when you want to distribute your ruby applications.
Also seems like that my sfml-all wasn't committed. Should be done now.

git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1734 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 11:27:38 +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
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
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
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