Commit Graph

  • a1eade38f4 -update old USE_OS_X_VERSION_10_* macros -fix setCursorPositionToX:Y: mantognini 2010-12-10 14:50:29 +00:00
  • 9b25dc5641 Forgot to add a negative sign before the one when specifying the amount of arguments SFML::Image#initialize takes. groogy 2010-12-06 08:34:15 +00:00
  • add3608e72 Added Rakefile gem description and homepage tricksterguy 2010-12-05 21:20:55 +00:00
  • 71a2b6a6bd Changed some small stuff in the rakefile. Don't think it matters and I hope it didn't break anything. groogy 2010-12-05 16:04:35 +00:00
  • 8199fa0379 some small fixes for mistakes I made and that Trickster noticed. groogy 2010-12-05 15:40:24 +00:00
  • 20e308466a Added a nice Rakefile tricksterguy 2010-12-05 07:28:31 +00:00
  • 0aafc6b6ba Added commentaries to all new initialize methods. groogy 2010-12-04 21:17:35 +00:00
  • aa39447c26 Changed resource classes initialize method to call often used methods if arguments are provided. groogy 2010-12-04 19:26:05 +00:00
  • 44e811ec64 Fixed a bug in RenderImage where RenderImage_GetHeight was named RenderTarget_GetHeight which should've led to that you couldn't even compile the source. groogy 2010-12-04 18:01:32 +00:00
  • f2be71b1ea remove a warning from video mode impl mantognini 2010-12-04 16:03:44 +00:00
  • 93cc2e4472 add (non-tested) impl of PBuffer mantognini 2010-12-03 22:49:13 +00:00
  • fd02b2d3af fix event mouse move mantognini 2010-12-03 22:29:41 +00:00
  • bb7a6fac1f Added a #initialize_copy method to all classes which are wrapped around a C++ object in order to properly copy the values. groogy 2010-12-03 19:47:41 +00:00
  • 0920da5d8e Just some wrong names which is fixed now. groogy 2010-12-03 16:16:50 +00:00
  • 30865b6ef9 Made the classes that is non-copyable in the C++ library also non-copyable in rbSFML. groogy 2010-12-03 14:12:16 +00:00
  • cd04d29584 Added a NonCopyable mixin-module which prohibits any attempt to copy instances of classes that includes this module. groogy 2010-12-03 13:44:59 +00:00
  • 1a7e7a30be Apparently not, forgot to add sfml-all/all/main.cpp. groogy 2010-12-03 11:43:14 +00:00
  • b2168230ec Ah stupid me, I copied an already SVN-tracked folder without deleting the SVN data so the SVN client thought everything had already been committed. I hope I got it right now. groogy 2010-12-03 11:42:35 +00:00
  • 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. groogy 2010-12-03 11:27:38 +00:00
  • 6d66ed1af3 Added 'sfml/all' package which will require each package for you when you require this one. groogy 2010-12-03 09:26:25 +00:00
  • 6ce458939e Minor fix that makes sf::SoundStream less crazy when the internal AL source couldn't be created LaurentGom 2010-12-02 22:26:35 +00:00
  • 0ed20bf130 fix SFContext::MakeCurrent mantognini 2010-11-30 23:00:45 +00:00
  • e2ff29ecda fix event with fullscreen mode mantognini 2010-11-30 22:55:23 +00:00
  • 9ce6a2aa2a Updated libsndfile DLL to version 1.0.23 on Windows (fixes bad quality with some ogg/vorbis files) LaurentGom 2010-11-30 18:55:00 +00:00
  • 501c0030f5 Added specialized getWidth and getHeight to SFML::RenderImage and SFML::RenderWindow. Also removed documentation from the specialized methods. groogy 2010-11-30 05:33:44 +00:00
  • 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 groogy 2010-11-29 15:44:02 +00:00
  • 4de4d0832c Invalid number conversion in SFML::View, fixed now. groogy 2010-11-29 09:11:05 +00:00
  • 6541486967 Fixed an invalid comparison in SFML::Rect#intersects groogy 2010-11-29 08:51:37 +00:00
  • 166de04854 Added macros to define the SFML version in Config.hpp Improved FindSFML.cmake to check the version LaurentGom 2010-11-28 22:03:05 +00:00
  • 86ec781e81 Had bound SFML::VideoMode height to width. Fixed now groogy 2010-11-28 01:55:19 +00:00
  • 7e42a2b505 Nothing major, just some changes here and there. groogy 2010-11-28 01:02:57 +00:00
  • 0446d03a03 Created an instance of wrong class. groogy 2010-11-27 23:48:33 +00:00
  • 888d4f7585 Forgot to add the isValid method to the SFML::VideoMode class. Fixed now. groogy 2010-11-27 22:51:38 +00:00
  • 13f062220b update licence header mantognini 2010-11-26 08:09:38 +00:00
  • 1a6835e042 Some changes because of a mistake made on my behalf. I forgot to write rb_funcall2 but I used instead rb_funcall instead. groogy 2010-11-25 23:05:37 +00:00
  • 2f46c7a85b Fixed some mistakes on my behalf and possibly the sf::RenderTarget::Draw segmentation fault. And I did it without dynamic cast! groogy 2010-11-25 22:45:30 +00:00
  • 90a61a6048 update cmake for better doxygen search remove duplicated headers - update cmake accordingly mantognini 2010-11-25 22:06:17 +00:00
  • 4a1a2a6b5f add licence header mantognini 2010-11-25 20:54:29 +00:00
  • 50a5ecd79f Added rdoc comments to all audio classes. groogy 2010-11-25 19:30:10 +00:00
  • 191776fbec Made some changes to ensure consistency with references when it comes to the Garbage Collector groogy 2010-11-25 17:52:50 +00:00
  • 0d7c966d5e Finished the library. Got some bugs to sort out first but after that it's all done! groogy 2010-11-25 17:36:29 +00:00
  • de8712fa5f This is a big commit for os x port! mantognini 2010-11-25 16:45:03 +00:00
  • bb55254fe3 Added SoundBufferRecorder. groogy 2010-11-25 15:12:33 +00:00
  • 398f4ee763 Forgot to pass the sample pointer in the OnProcessSamples function and also some aliases. groogy 2010-11-25 11:04:17 +00:00
  • 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. groogy 2010-11-25 10:55:08 +00:00
  • ce1ffbc687 Finished the SFML::Sound class groogy 2010-11-25 07:32:07 +00:00
  • 748f572201 Finished SoundBuffer. Also adding files for SoundStream and Sound, not completed yet! groogy 2010-11-24 21:08:40 +00:00
  • 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. groogy 2010-11-24 21:06:54 +00:00
  • ee117bb749 Small changes in header files and also finished the SoundSource class. groogy 2010-11-24 19:17:57 +00:00
  • 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 groogy 2010-11-24 18:52:07 +00:00
  • 3fc9c7f999 Started working on the sfml-audio module. Got Listener done with rdoc documentation. groogy 2010-11-24 16:08:56 +00:00
  • 5c848f3617 Don't know what would be the difference but this is more semantically correct. groogy 2010-11-24 11:36:07 +00:00
  • a8a1c98a41 Graphics module is now complete. Added rdoc documentation to every class and method. groogy 2010-11-24 05:49:36 +00:00
  • bc24802219 Finished the Graphics Module. Gonna go trough all files again now and add the rdoc comments where I've left it out. groogy 2010-11-23 17:21:20 +00:00
  • dbd8795df8 Just some small fixes for my convenience. groogy 2010-11-23 15:00:23 +00:00
  • 7178d7bfcf Test to check that SFML::RenderWindow and shapes works as they should. groogy 2010-11-23 05:59:28 +00:00
  • aaf1dc3a66 A lot of changes. But all lead to that you now can draw shapes on a SFML::RenderWindow groogy 2010-11-23 05:58:32 +00:00
  • aabed07f10 Finished SFML::RenderImage, still got rdoc comments to do. groogy 2010-11-22 16:13:33 +00:00
  • 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. groogy 2010-11-22 15:03:30 +00:00
  • f991e29cd2 Created the SFML::RenderTarget mixin module for my convenience. Consider this class internal! Do not use it directly in your code! groogy 2010-11-22 14:50:09 +00:00
  • c9e7b6caf2 Created the SFML::Renderer class. Got rdoc comments left to do. groogy 2010-11-21 15:47:37 +00:00
  • ae57d51182 Finished the SFML::Shader class. Still got rdoc comments to do. groogy 2010-11-21 13:32:26 +00:00
  • 04075d6a4b Minor modifications to the Window::GetFrameTime() doc LaurentGom 2010-11-21 09:33:45 +00:00
  • 7a31d223ef Finished the SFML::View class. Will add rdoc commentaries later. groogy 2010-11-20 23:42:53 +00:00
  • 7559f0669f Fixed errors (missing double-quotes) in VS 2010 project files generated by CMake, for static build LaurentGom 2010-11-20 22:30:14 +00:00
  • 83c580f9b4 Finished SFML::Font with rdoc commentaries too. groogy 2010-11-20 18:16:24 +00:00
  • 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. groogy 2010-11-20 16:02:07 +00:00
  • e73d274d86 New API for sf::Thread (more flexible) LaurentGom 2010-11-20 13:00:19 +00:00
  • 7ebf2f1bbb Added the install rule for sfml-main in CMake files LaurentGom 2010-11-20 08:25:08 +00:00
  • 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. groogy 2010-11-20 01:12:58 +00:00
  • 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. groogy 2010-11-20 00:44:23 +00:00
  • 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. groogy 2010-11-19 18:36:45 +00:00
  • 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. groogy 2010-11-19 14:29:21 +00:00
  • 8153ec8db8 Had to do a lot of configurations to get the cross-module include work correctly. groogy 2010-11-19 14:03:40 +00:00
  • f1cae1cfef Moved the RetrieveSFMLClass function to the system module since several other modules will be using this function too. groogy 2010-11-19 13:33:37 +00:00
  • 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. groogy 2010-11-19 13:29:40 +00:00
  • 85d24cbf88 Added helper functions to access the color components in SFML::Color groogy 2010-11-19 09:28:16 +00:00
  • 961a417fb6 Updated SFML::Rect to use the new helper functions. groogy 2010-11-19 08:46:00 +00:00
  • 4b8ae2b817 Changed Window so where ever it uses SFML::Vector2 to access it's elements I use the helper functions. groogy 2010-11-19 08:33:30 +00:00
  • 8335502866 Forgot to change a variable name, now it compiles and works. groogy 2010-11-19 08:30:38 +00:00
  • 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. groogy 2010-11-19 08:26:58 +00:00
  • 5161f2a4ee Added so that Graphics can include System headers groogy 2010-11-17 21:54:49 +00:00
  • 6366c02d19 Finished SFML::Rect. Will still have to add rdoc comments when I get the energy and properly debug test the functionality. groogy 2010-11-17 21:47:03 +00:00
  • 06d6f9b81d Finished the Rect_Initialize function so we now also can specify two vectors as size and position. groogy 2010-11-17 20:55:20 +00:00
  • 810cd35cae Added SFML::Rect, not finished yet but will work more on it when I get home. groogy 2010-11-17 19:29:09 +00:00
  • 0994de8d23 Added so that the Init_Color function is called. groogy 2010-11-17 11:51:02 +00:00
  • 8c45dc9d6b Added the predefined colors groogy 2010-11-17 08:59:23 +00:00
  • a951ee4581 Modified some comments in Vector2.cpp and added comments to Color.cpp groogy 2010-11-17 08:16:11 +00:00
  • 6f83501b27 Finished SFML::Color, will still need to add rdoc comments. groogy 2010-11-16 21:40:47 +00:00
  • a6bceffa43 Well struggling with SVN, hopefully it will be deleted and properly ignored now. groogy 2010-11-16 20:40:39 +00:00
  • 5983b93a4d Created the graphics module and the Color class. SFML::Color is not done yet. groogy 2010-11-16 20:31:57 +00:00
  • abd49f55a1 Moved VALIDATE_CLASS to main.hpp and changed so it considers heritage too. groogy 2010-11-16 20:12:35 +00:00
  • 784c8ca80b Removed documentation groogy 2010-11-16 18:50:19 +00:00
  • 01b0f37451 I forgot to actually include the documentation to the commit. groogy 2010-11-16 16:41:16 +00:00
  • 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. groogy 2010-11-16 16:26:00 +00:00
  • 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. groogy 2010-11-16 16:03:50 +00:00
  • f8bfec9321 Updated rdoc commentaries in the window module. groogy 2010-11-16 13:25:59 +00:00
  • 26883e3ab4 SFML::Window now supports taking in Vector2 on methods where it would be relevant. (Example: SFML::Window#cursor_position = [255, 255] ) groogy 2010-11-16 09:21:52 +00:00
  • 1c9e5ff5a2 Concerned changes is that the 'true' values had to be Qtrue or I would be doing an invalid comparison. groogy 2010-11-16 09:17:50 +00:00
  • 23fd179d8b Include the headers from the system module. groogy 2010-11-16 09:05:24 +00:00