02-08-2012
Solved
Last edited by aLHaNz; 02-09-2012 at 12:48 PM..
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I get a:
Requirements:
SDL
when I'm browsing (www.happypenguin.org) for games.
According to wikipedia SDL can be:
where some are more likely than others. However, which one is it? I got an error because of SDL last time I tried and want to make it right before I try... (0 Replies)
Discussion started by: riwa
0 Replies
2. UNIX for Advanced & Expert Users
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies
3. Programming
Hi,
I am working on SDL open-source API's on Debian Linux for my game development project. I am not sure whether posting SDL related queries here is correct. I would like to know what is the difference between:
SDL_SetVideoMode() and SDL_VideoModeOK() functions (0 Replies)
Discussion started by: royalibrahim
0 Replies
4. UNIX for Dummies Questions & Answers
hi, i've just downloaded a test game to try compiling it with the gcc compiler in Solaris, the problem was that ./configure command return this error *** Could not run SDL test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker... (0 Replies)
Discussion started by: freeware
0 Replies
5. Programming
How do I play a sound file with SDL?
I've downloaded the library files but SDL/SDL_mixer.h (that most of the tutorials include) doesn't exist. So, how do I install it?
As I said mixer.h doesn't exist but, If it is helpful, the default code is this:
#include "stdlib.h"
#include "SDL/SDL.h"... (2 Replies)
Discussion started by: hakermania
2 Replies
6. Programming
Hi All,
I was wondering if someone could clarify the best way to display mpeg video with SDL in MinGW.
After scouring the internet it seems there is not a lot of information regarding this subject (or at least not up to date) and libraries that are available for this purpose.
Any help/... (1 Reply)
Discussion started by: robfwauk
1 Replies
7. Shell Programming and Scripting
Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies
LEARN ABOUT DEBIAN
sdl::cdtrack
pods::SDL::CDTrack(3pm) User Contributed Perl Documentation pods::SDL::CDTrack(3pm)
NAME
SDL::CDTrack -- SDL Bindings for structure SDL_CDTrack
CATEGORY
Core, CDROM, Structure
SYNOPSIS
use SDL;
use SDL::CDROM;
use SDL::CD ':status';
use SDL::CDTrack;
SDL::init( SDL_INIT_CDROM );
my $drives = SDL::CDROM::num_drives();
if( $drives > 0 )
{
my $CD = SDL::CD->new(0); #first drive's CD
if($CD)
{
if( $CD->status != CD_TRAYEMPTY )
{
my $track = SDL::CD->track(0);
}
}
}
CONSTANTS
The constants are exported by default. You can avoid this by doing:
use SDL::CDTrack ();
and access them directly:
SDL::CDTrack::SDL_AUDIO_TRACK;
or by choosing the export tags below:
Export tag: ':type'
SDL_AUDIO_TRACK
SDL_DATA_TRACK
METHOD
id
$track->id() # 0-99
Track number
type
$track->type() # SDL_AUDIO_TRACK or SDL_DATA_TRACK
Type of track
length
$track->length()
Length, in frames, of this track
offset
$track->offset()
Frame offset to the beginning of this track
SEE ALSO
SDL::CDROM, SDL::CD
AUTHORS
See "AUTHORS" in SDL.
perl v5.14.2 2012-05-28 pods::SDL::CDTrack(3pm)