Newsgroups: comp.os.msdos.djgpp From: tob AT world DOT std DOT com Subject: Re: Z-buffering for Allegro (long) Message-ID: Sender: tob AT world DOT std DOT com (Tom Breton) Reply-To: tob AT world DOT std DOT com Organization: BREnterprises References: <5vccuo$6ht AT freenet-news DOT carleton DOT ca> Date: Sat, 13 Sep 1997 04:13:04 GMT Lines: 23 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) writes: > I suspect the need now is for Allegro to go OO. Yep, Object-oriented, C++. [...] > Not to mention, some things like the graphics Vtable and the dialog_proc's > are pretty object-oriented already, and would lose their awkwardness if > they became, respectively, virtual functions of a Video class whose > subclasses are interfaces to specific drivers, and virtual functions of > dialog_object classes. C++izing Allegro would clearly take a lot of rewriting. But you have a point, Allegro simulates C++ features and might feel more natural in real C++. One option is to write C++ classes with forwarding functions, much like the "fix" class. BTW, have you checked out Doug Eleveld's DEGUI? Tom -- When you see a spam, just remember that a spammer is a fool who just can't believe that if they bother a million people, they'll get fewer than a dozen positive responses.