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

Pages: [1]
1
General / Problem decompressing SFML 1.6 tar in Ubuntu 10.04
« on: May 19, 2010, 07:38:15 am »
Hmm, that's strange. I'm still having the same problem. Any solutions?

2
General / Problem decompressing SFML 1.6 tar in Ubuntu 10.04
« on: May 18, 2010, 02:44:39 am »
I get an error when trying to decompress the SFML 1.6 C++ tar file from SourceForge. I've tried downloading it several times from different mirrors and I always have the same error. The file I'm downloading is 12.3 MB, not the listed 12.9 MB. Here's the command line output:

gzip: stdin: invalid compressed data--crc error
tar: Child returned status 1
tar: Exiting with failure status due to previous errors

Is the hosted file corrupt or am I repeatedly having download errors?

3
Window / Joystick questions
« on: September 21, 2009, 07:20:46 pm »
Hi Laurent, thanks for your prompt answers.

I'm just curious, when does SFML use sf::priv::Joystick? Is it just obsolete code or will it be used in SFML 2?

I guess I will just have to assume that 2 joysticks are already plugged in when the program is executed. Thanks again.

4
Window / Joystick questions
« on: September 21, 2009, 10:18:24 am »
Hi, I've been learning SFML for a short while now and I'm not sure how to use joysticks. There isn't much information for them on the website or wiki.

How do you query the available joysticks in SFML 1.5 (if possible)? Can SFML be used to detect if joysticks are plugged in/unplugged during runtime?

I notice there is a class called sf::priv::Joystick in the OS-specific joystick.hpp files, yet it is not used anywhere in the code apart from its declaration. Can I use that class or is it only partially implemented? If it is meant to be used, how do we use it? Also, what is the sf::priv namespace for?

Also can SFML support more than 2 joysticks? I know DirectInput supports more than 2 joysticks, but I'm not sure if it can be done using just win32 (or on other operating systems).

Sorry for all the questions and thanks for your time.

Pages: [1]
anything