Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Jim Marsden

Pages: [1]
1
SFML development / Move Semantic Priorities
« on: November 17, 2022, 06:42:03 pm »
Hello!

I want to start adding move semantics. I was wondering if anyone had thoughts on where I should focus?

I just did sf::Shader, and I was curious if anyone had classes they really desired to be moveable? If there's already a discussion on this that I missed I genuinely apologize, and would be grateful for a link to said topic.

2
General discussions / Re: Difficuly of porting SFML to SDL
« on: November 11, 2022, 08:57:25 pm »
The short answer is some, how events are done are different. But unless you did a lot of abstracting everything that touches SDL I think you'd run into some pain. They have so much overlap, and interface very differently. One is a great C library and the other is a fantastic C++ library.

If I were to do it, I would do templates, and c++20 concepts. That way I could rely on polymorphism to do the magic for me.

3
General discussions / Re: SFML not working
« on: November 11, 2022, 08:51:07 pm »
Greetings, at the risk of being rude, did you link sfml-graphics to your project?

Did you follow the getting started section of https://www.sfml-dev.org/tutorials/2.5/

Pages: [1]