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
0920da5d8e
Just some wrong names which is fixed now.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1739 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 16:16:50 +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
cd04d29584
Added a NonCopyable mixin-module which prohibits any attempt to copy instances of classes that includes this module.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1737 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 13:44:59 +00:00
groogy
1a7e7a30be
Apparently not, forgot to add sfml-all/all/main.cpp.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1736 4e206d99-4929-0410-ac5d-dfc041789085
2010-12-03 11:43:14 +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
LaurentGom
9ce6a2aa2a
Updated libsndfile DLL to version 1.0.23 on Windows (fixes bad quality with some ogg/vorbis files)
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1729 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 18:55:00 +00:00
groogy
501c0030f5
Added specialized getWidth and getHeight to SFML::RenderImage and SFML::RenderWindow. Also removed documentation from the specialized methods.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1728 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-30 05:33:44 +00:00
groogy
fef70e1280
Fixes for: http://sfml-dev.org/forum/viewtopic.php?p=23727#23727
...
Also had forgotten two breaks in a switch-statement in View.cpp
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1727 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-29 15:44:02 +00:00
groogy
4de4d0832c
Invalid number conversion in SFML::View, fixed now.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1726 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-29 09:11:05 +00:00
groogy
6541486967
Fixed an invalid comparison in SFML::Rect#intersects
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1725 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-29 08:51:37 +00:00
LaurentGom
166de04854
Added macros to define the SFML version in Config.hpp
...
Improved FindSFML.cmake to check the version
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1724 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-28 22:03:05 +00:00
groogy
86ec781e81
Had bound SFML::VideoMode height to width. Fixed now
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1723 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-28 01:55:19 +00:00
groogy
7e42a2b505
Nothing major, just some changes here and there.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1722 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-28 01:02:57 +00:00
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
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
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
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
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
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
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
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
groogy
5161f2a4ee
Added so that Graphics can include System headers
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1671 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-17 21:54:49 +00:00
groogy
6366c02d19
Finished SFML::Rect. Will still have to add rdoc comments when I get the energy and properly debug test the functionality.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1670 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-17 21:47:03 +00:00
groogy
06d6f9b81d
Finished the Rect_Initialize function so we now also can specify two vectors as size and position.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1669 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-17 20:55:20 +00:00
groogy
810cd35cae
Added SFML::Rect, not finished yet but will work more on it when I get home.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1668 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-17 19:29:09 +00:00
groogy
0994de8d23
Added so that the Init_Color function is called.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1667 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-17 11:51:02 +00:00
groogy
8c45dc9d6b
Added the predefined colors
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1666 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-17 08:59:23 +00:00
groogy
a951ee4581
Modified some comments in Vector2.cpp and added comments to Color.cpp
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1665 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-17 08:16:11 +00:00
groogy
6f83501b27
Finished SFML::Color, will still need to add rdoc comments.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1664 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 21:40:47 +00:00
groogy
a6bceffa43
Well struggling with SVN, hopefully it will be deleted and properly ignored now.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1663 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 20:40:39 +00:00
groogy
5983b93a4d
Created the graphics module and the Color class. SFML::Color is not done yet.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1662 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 20:31:57 +00:00
groogy
abd49f55a1
Moved VALIDATE_CLASS to main.hpp and changed so it considers heritage too.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1661 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 20:12:35 +00:00
groogy
784c8ca80b
Removed documentation
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1660 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 18:50:19 +00:00
groogy
01b0f37451
I forgot to actually include the documentation to the commit.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1659 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 16:41:16 +00:00
groogy
85a4e5155e
Removed some stuff that wasn't needed any more in the window module
...
Also made the required changed for Rdoc to the system module and generated rdoc documentation for both modules.
It's safe to say now that rbSFML is available to be used for at least opening up a window and opengl context and render something in opengl.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1658 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 16:26:00 +00:00
groogy
13e9b006e7
Modified the entire module so that rdoc can interpret the source to generate documentation for me. This will also be done for sfml-system.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1657 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 16:03:50 +00:00
groogy
f8bfec9321
Updated rdoc commentaries in the window module.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1656 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 13:25:59 +00:00
groogy
26883e3ab4
SFML::Window now supports taking in Vector2 on methods where it would be relevant.
...
(Example: SFML::Window#cursor_position = [255, 255] )
Updated the demo file to show this in action.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1655 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 09:21:52 +00:00
groogy
1c9e5ff5a2
Concerned changes is that the 'true' values had to be Qtrue or I would be doing an invalid comparison.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1654 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 09:17:50 +00:00
groogy
23fd179d8b
Include the headers from the system module.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1653 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 09:05:24 +00:00
groogy
da2cec5a9f
Added support for external classes from sfml-system and the ability to include them.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1652 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 09:04:35 +00:00
groogy
1fda02efc4
Added VideoMode_ForceType so we can ensure we get a VideoMode.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1651 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 09:03:15 +00:00
groogy
53621f0726
Added a capped frame rate at 100 to demonstrate that the library also supports ruby-style methods.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1650 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 08:10:47 +00:00
groogy
07dd3de1d2
Added dependency check for Window module.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1649 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-16 08:09:41 +00:00
groogy
bbb8cbb25a
Removed some debugging output and added another alias for SFML::Window
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1648 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-15 13:48:53 +00:00
groogy
262d9bfc1d
Demonstrate the window ruby binding
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1647 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-15 10:03:25 +00:00
groogy
756874a4ba
Changed INT2FIX to FIX2UINT. That it didn't crash still surprises me.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1646 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-15 09:15:43 +00:00
groogy
f41b2b3f14
Added @type get method to SFML::Event
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1645 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-15 09:08:22 +00:00
groogy
f79fec5c56
Forgot to load and initialize SFML::VideoMode and SFML::Window
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1644 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-15 08:33:41 +00:00
groogy
ca0a02556a
Fixed some dumb mistakes by me when I tried to copy over the sf::Key enum values trough for-loops.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1643 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-15 08:32:08 +00:00
groogy
d1e082d1d7
Finished the Window class now. Still got comments left to do and the setter functions which accepts an array of size 2 should be changed so they accept a SFML::Vector2 and force any argument to that type.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1642 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-15 08:15:42 +00:00
groogy
d62c2e35a6
Finished all methods and has binded every C function to a ruby symbol. Left to do is rdoc comments on every function and giving the methods appropriate symbol aliases to cover similar names and give it a more ruby style to them too.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1641 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-14 23:28:39 +00:00
groogy
845c38406b
Almost finished the SFML::Window class. Though got some more methods to implement and I'll have to actually bind them to the class under a symbol. Also there are some functions I'll have to try out if they work, especially the SFML::Window#GetEvent method.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1640 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-14 22:11:44 +00:00
groogy
d516ef4f91
Forgot to fix the Init_Window function on the previous commit. Done now.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1639 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-14 17:44:39 +00:00
LaurentGom
afbe386bca
Fixed the current view management in RenderWindow and RenderImage, in SFML.Net
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1638 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-14 15:23:19 +00:00
LaurentGom
d69903765b
Fixed crash after disposing RenderWindow or RenderImage instances, in SFML.Net
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1637 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-13 18:59:06 +00:00
LaurentGom
5421f1c42f
Minor fixes in SFML.Net
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1636 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-13 18:27:03 +00:00
groogy
10de308f44
Quck syntax fiex to main.cpp VideoMode.cpp
...
Added skeleton for SFML::Window and finished the new method I think.
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1635 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-11 20:43:18 +00:00
groogy
462c5723df
Finished VideoMode and changed some aliases in ContextSettings.
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1634 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-11 12:33:14 +00:00
LaurentGom
13b91bf116
Removed default constructor of Image and Shader in CSFML and SFML.Net
...
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1633 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-11 09:53:12 +00:00
LaurentGom
0e2297af28
Moved all bindings to the "bindings" sub-directory
...
Renamed the CSFML directory to c
Renamed the DSFML directory to d
--> bindings must now be updated to match the new organization!
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1630 4e206d99-4929-0410-ac5d-dfc041789085
2010-11-09 17:13:17 +00:00