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 - luthwyhn

Pages: [1]
1
Window / Can SFML create sub-windows?
« on: April 23, 2011, 08:15:41 pm »
Aha!  This looks like it might do what I wanted.  Thanks!  I knew there had to be some way to pull it off, but I never would have called it that, so I had no idea what to search for.

2
Window / Can SFML create sub-windows?
« on: April 23, 2011, 06:44:04 pm »
I'm attempting to recreate a framework I'd written using blitting in SDL into SFML, and I've come to notice that there doesn't seem to be a way to create sub-windows in SFML.  Basically what I'm looking for is a way to logically subdivide a window (recursively as the case may be) such that you can have a local coordinate system within the sub-window for positioning sprites, and so that a sprite existing on the edge of (or outside of) the sub-window it's being rendered in will be cropped so as not to appear outside of its sub-window.

Is there truly no way to do this in SFML?  It seems like a pretty basic and essential requirement for many projects, so I'm wondering if I'm just not finding it because it's called something else.

3
General / Trouble setting up SFML in Code::Blocks
« on: April 22, 2011, 02:55:24 am »
Aaaaaaaand I figured it out.  As expected it was something dumb:

my test program's file extension was .c, not .cpp.  Changed that and it worked fine.  It's really a completely illogical error message, though.  *Sigh*

4
General / Trouble setting up SFML in Code::Blocks
« on: April 22, 2011, 02:20:51 am »
I've searched the forums and found a couple references to this problem in other settings, but none of the posted solutions seem to work for me, so I'll ask again and hope someone can help me out:

I've just downloaded and installed SFML, followed the directions for setting it up in the tutorial, and am not trying to run the sample program.  When I attempt to compile, I get the following error:

C:\SFML-1.6\include\SFML\Config.hpp|122|error: climits: No such file or directory|

I've double checked that climits is indeed present on my system, and even gone so far as reinstalling codeblocks from scratch, but so far I've has no luck.  Can anyone shed some light on this for me?

Thanks

Pages: [1]
anything