On Sun, 25 Feb 2007 06:19:44 -0500 Dennis Schridde
<[EMAIL PROTECTED]> wrote:
>Am Sonntag, 25. Februar 2007 schrieb [EMAIL PROTECTED]:
>> I can not draw very good, so someone please fix a image we can
>use?
>>
>> http://img241.imageshack.us/img241/8340/novideoiy1.jpg
>>
>> My idea is to display image for no video.
>>
>> I test more before give patch.
>That's definitely a nice idea... I guess those logos are all
>created by
>Hatsjoe or to be found in the GPLed data?
>You should be able to display that file using the current backdrop
>code.
>
>Only one thing I am unsure about: What happens with the subtitles?
>Are they
>still displayed? (Someone said that they are also displayed in the
>
>intelligence mission briefing screen. Is that true? I can't
>remember seeing
>them there.)
>
>--Dennis
I got logos from
http://warzone2100.strategyplanet.gamespy.com/eyecandy/fmv/fmv.shtml
I forgot about if this is not gpl or so? I think they are all in
the included rpl files that was in gpl archive. I think so, but
like I said, someone needs to fix image, since I can't do good job.
Yes, the subtitles still display. In main mission, and sub
missions.
Here is code. Very short.
Notes, the image has to be in texpages/bdrops/novideo.jpg
Index: sequence_stub.c
===================================================================
--- sequence_stub.c (revision 821)
+++ sequence_stub.c (working copy)
@@ -33,7 +33,7 @@
#include "lib/framework/frame.h"
#include "rpl_reader.h"
#include "sequence.h"
-
+#include "lib/ivis_opengl/screen.h"
#ifdef WZ_OPENAL_MAC_H
#include <openal/al.h>
#else
@@ -154,6 +154,9 @@
*/
int seq_RenderOneFrame(int skip, SDWORD subMin, SDWORD subMax)
{
+ screen_SetBackDropFromFile("texpages/bdrops/novideo.jpg");
+ screen_RestartBackDrop();
+
//printf("seq_RenderOneFrame %i\n", skip);
if (current_sequence == NULL)
{
--
Looking for insurance? Compare and save 50% today. Click here.
http://tagline.hushmail.com/fc/CAaCXv1QT6v8zO44GIaSLEfq2KLfe8D6/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev