MPlayer in Bzflag

Questions or HOWTOs about the above? Post 'em here...
Post Reply
Mrover
Private
Private
Posts: 1
Joined: Sun Aug 24, 2008 7:29 pm

MPlayer in Bzflag

Post by Mrover »

Hi.
I'd like to make additional window, similar to radar but with mplayer instead. I know C & C++ a bit. Could you give me some advices? Where can I find files responsible for displaying elements like radar, scoreboard.
Yours faithfully,
Jakub.

Sorry for my English.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: MPlayer in Bzflag

Post by JeffM »

the HUDRenderer handles all the drawing of the radar and scoreboard.

The hard part will be making that other window, our platform and GL system is only setup for one window/context
ImageJeffM
User avatar
clarahobbs
Private First Class
Private First Class
Posts: 272
Joined: Thu Jan 10, 2008 1:45 am
Location: The Fourth Dimension

Re: MPlayer in Bzflag

Post by clarahobbs »

Why do you need that? You could just start MPlayer and then start BZFlag. And of course, you can make BZFlag in a window by pressing F1, or minimize it by pressing F4.
FKA Ratfink
dexter
Private First Class
Private First Class
Posts: 212
Joined: Sun Apr 30, 2006 7:36 am
Location: Germany :o)

Re: MPlayer in Bzflag

Post by dexter »

Because he's obviously trying to integrate it into the game. Applications like iTunes tend to take up a lot of CPU or do things in the background that can cause quite a bit of lag and slow the computer down. It's not a bad idea, actually. Would be nice to have a separate BZFlag media library where you could select a playlist form within the game.
User avatar
blast
General
General
Posts: 4933
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: MPlayer in Bzflag

Post by blast »

I had something like this years ago for Winamp.

http://static.bzexcess.com/misc_screens ... winamp.jpg

Didn't look good, but I didn't (and still don't) know OpenGL enough to do anything nice. Had a lame text-based progress bar. I could control the volume, stop, pause, play and switch songs with keystrokes coded into BZFlag.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image
Post Reply