[Alephmodular-devel] CMovies
Status: Pre-Alpha
Brought to you by:
brefin
From: Br'fin <br...@ma...> - 2004-07-08 07:26:04
|
I finally got around to doing something to the code base. It's not much, but it should help in the long run as well. Marathon2 had the ability to play a Quicktime movie file named 'Movie' before beginning the first level of the game. I ended up sinking this capability into a CMovies set of classes. It wasn't quite display and it wasn't quite sound. The implementation looks fairly similar to the CMusic setup, especially at the CMovie_Carbon level, but has different functionality higher up, and even lower you specify a buffer and display box when you tell the movie to start. In addition to abstracting movie playing, I tweaked it so that via clipping regions, it would respect the clipping area of the buffer specified. Admittedly this may not mesh perfectly with perhaps a pixel-doubled buffer, but ah well. -Jeremy Parsons http://alephmodular.sourceforge.net/ |