VoyForums

VoyUser Login optional ] [ Contact Forum Admin ] [ Main index ] [ Post a new message ] [ Search | Check update time | Archives: 1[2]34 ]


[ Next Thread | Previous Thread | Next Message | Previous Message ]

Date Posted: 22:56:49 09/05/03 Fri
Author: No name
Subject: Re: I can't play the games
In reply to: 's message, "I can't play the games" on 16:32:15 09/05/03 Fri

>All the games commit an illegal operation after I open
>them

I see this too, on Gentoo linux. The problem is:
disp=create_video_bitmap(W,H);
buf=create_video_bitmap(W,H);

buf returns NULL, but is not checked for this. Placing:
if(!buf) { buf = disp; }
fixes it, but the lack of double-buffering makes it flickery.

Also, on gcc it won't compile unless you include the correct headers (stdio.h and stdlib.h)

[ Next Thread | Previous Thread | Next Message | Previous Message ]


Replies:

  • Re: I can't play the games -- No name, 23:09:14 09/05/03 Fri
  • Re: I can't play the games -- Patrick Shaughnessy, 23:28:32 09/05/03 Fri

    [ Contact Forum Admin ]


    Forum timezone: GMT-5
    VF Version: 2.94, ConfDB:
    Before posting please read our privacy policy.
    VoyForums(tm) is a Free Service from Voyager Info-Systems.
    Copyright © 1998-2008 Voyager Info-Systems. All Rights Reserved.