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

Pages: [1] 2 3 ... 11
1
Window / Re: Set a window's Class under linux
« on: September 09, 2012, 10:47:46 am »
It's a property of all windows in X. I can set rules in my window manager for different applications based on their window class, and I need one for my game so it doesn't just tile.

2
Window / Set a window's Class under linux
« on: September 09, 2012, 06:38:56 am »
Hi

I need to set my game's WM_CLASS under linux in order for my window manager to draw the window correctly. Is there a way to do this with SFML?

3
General discussions / New global inputs in SFML 2
« on: July 18, 2011, 04:06:33 pm »
No, SFML 1.6 works fine for my ATI card with the latest drivers. I still prefer SFML 2 though :D

4
Window / SFML 2 Screenshot
« on: June 08, 2011, 07:16:22 pm »
Ah, I see. It wasn't hard for me to upgrade anyway. Thanks!

5
Window / SFML 2 Screenshot
« on: June 08, 2011, 01:23:34 pm »
I see. Thanks!

6
Window / SFML 2 Screenshot
« on: June 08, 2011, 01:05:39 pm »
Erm... yea it does.
Code: [Select]

Name           : sfml
Version        : 1.99.git20110526-1
URL            : http://www.sfml-dev.org/
Licenses       : zlib
Groups         : None
Provides       : None
Depends On     : libsndfile  libxrandr  libjpeg  openal  glew  freetype2
Optional Deps  : None
Required By    : None
Conflicts With : None
Replaces       : None
Installed Size : 7628.00 K
Packager       : Sven-Hendrik Haase <sh@lutzhaase.com>
Architecture   : x86_64
Build Date     : Thu 26 May 2011 02:23:35 PM NZST
Install Date   : Wed 08 Jun 2011 04:40:09 PM NZST
Install Reason : Explicitly installed
Install Script : No
Description    : A simple, fast, cross-platform, and object-oriented multimedia API

7
Window / SFML 2 Screenshot
« on: June 08, 2011, 12:50:24 pm »
Sweet, thanks.
So since there was an arch package for SFML 1.99, I'm assuming it's stable?

8
Window / SFML 2 Screenshot
« on: June 08, 2011, 07:45:15 am »
You the man.
So, GetEvent() is just replaced with PollEvent()? I know there's WaitEvent(), but I don't want to wait for an event.

9
Window / SFML 2 Screenshot
« on: June 08, 2011, 07:03:24 am »
Hi there
How do I take a screenshot with SFML 2? I was using 1.6 until an update was forced upon me (thanks, btw). I have to change my code to use SFML 2, but can find nothing about taking a screenshot. Grr. Capture() doesn't exist any more =(

10
Window / sf::Event return key pressed
« on: May 29, 2011, 02:14:53 pm »
Quote from: "tntexplosivesltd"

But, I don't want to start a war.

Quote from: "Laurent"

don't start a war against STL please

11
Window / sf::Event return key pressed
« on: May 29, 2011, 10:49:40 am »
Quote from: "tntexplosivesltd"

But, I don't want to start a war.

12
Window / sf::Event return key pressed
« on: May 28, 2011, 03:43:21 pm »
I don't agree. Some very good code can be written without using the STL. I don't need a lot of flexibility (not that STL is that flexible, you must play by its rules), and the added complexity just isn't worth it. Plus, it can be slower than raw arrays at times, especially when you don't need them.
But, I don't want to start a war.
Thanks for the help!

13
Window / sf::Event return key pressed
« on: May 28, 2011, 03:21:10 pm »
Ah cool! Thanks. Is it possible to do it without using the STL? (I'm trying to avoid it - it's horrible at times). Can it be done using just char[]?

14
Window / sf::Event return key pressed
« on: May 28, 2011, 02:40:51 pm »
Hmm, turns out ISO 8859-1 is Windows-1252, it's just commonly mislabeled as ISO 8859-1. So there's no problem.
So I just need to use a sf::Unicode::UTF32String and turn it into a character array? Or can I use a character array right off the bat? (My function takes a pointer to a character array).

15
Window / sf::Event return key pressed
« on: May 28, 2011, 01:06:50 pm »
To display the text, I am using OpenGL display lists. I have a Windows-1252 extended character-set texture which I get the character image from. The ascii number of the character represents the display list I need to draw.

Pages: [1] 2 3 ... 11