Mailing List archives? Polygon Drawing?

I have a few questions which could probably be answered by browsing the
archives for this mailing list. This leads me to ask how I can do this
easily. I know I can do this:

<sdl-get.12_45 at surfnetcity.com.au>:
Retrieve a copy of messages 12 to 45 from the archive.
A maximum of 100 messages are returned per request.

<sdl-index.123_456 at surfnetcity.com.au>:
Retrieve subjects of messages, including 123 though 456
from the archive. Subjects are returned in sets of 100.
A maximum of 2000 subjects are returned per request.

But that seems pretty inefficient. Isn’t there a better way?

My question relates to me attempting to decide whether to use SDL,
ClanLib, PowerPak, or simply GTK. The fact that SDL is used by Loki
carries a lot of weight. ClanLib looks good because it’s such a nice C++
design and is network-savvy. PowerPak seems to have nice graphics
primitives. And GTK has a rich widget set. Sigh. Decisions, decisions.

Anyway, from the quick look I’ve had at the SDL docs, I don’t see support
for line drawing (rectangles, circles, polygons, etc.). Am I missing
something, or is there some add-on package that implements this?

Also, is there a recommended networking library to work with, or should I
just go ahead and roll my own socket-based code?

-Roy

Roy Wood wrote:

My question relates to me attempting to decide whether to use SDL,
ClanLib, PowerPak, or simply GTK. The fact that SDL is used by Loki
carries a lot of weight. ClanLib looks good because it’s such a nice C++
design and is network-savvy. PowerPak seems to have nice graphics
primitives. And GTK has a rich widget set. Sigh. Decisions, decisions.

Gtk/SDL is my recommendation. Granted I haven’t yet implemented a complete
game or application, but the ground work has been laid by Sam. As well, Gtk
is now portable to Windows and BeOS. The widgets are invaluable for user
interaction and ease of use coupled with the speed of SDL for drawing.

Roy Wood wrote:

My question relates to me attempting to decide whether to use SDL,
ClanLib, PowerPak, or simply GTK. The fact that SDL is used by Loki
carries a lot of weight. ClanLib looks good because it’s such a nice C++
design and is network-savvy. PowerPak seems to have nice graphics
primitives. And GTK has a rich widget set. Sigh. Decisions, decisions.

PowerPak uses SDL underneath, it is only an add-on to SDL. So you haev
one less choice to do. :-)–
Pierre Phaneuf
Ludus Design, http://ludusdesign.com/
“First they ignore you. Then they laugh at you.
Then they fight you. Then you win.” – Gandhi

Roy Wood wrote:

Anyway, from the quick look I’ve had at the SDL docs, I don’t see support
for line drawing (rectangles, circles, polygons, etc.). Am I missing
something, or is there some add-on package that implements this?

Check out Libxmi. I haven’t used it, but from the web page it
seems to be just what you’re looking for:

http://www.gnu.org/software/libxmi/libxmi.html

Cheers,
Nat.–
±-----------------------------------------±--------------------+
| Name: Nat Pryce MEng ACGI | Dept. of Computing, |
| Email: np2 at doc.ic.ac.uk | Imperial College, |
| Tel: +44 (0)171 594 8394 | 180 Queen’s Gate, |
| Fax: +44 (0)171 581 8024 | London SW7 2BZ, |
| WWW: http://www-dse.doc.ic.ac.uk/~np2 | United Kingdom |
±-----------------------------------------±--------------------+

Anyway, from the quick look I’ve had at the SDL docs, I don’t see support
for line drawing (rectangles, circles, polygons, etc.). Am I missing
something, or is there some add-on package that implements this?

Check out Libxmi. I haven’t used it, but from the web page it
seems to be just what you’re looking for:

http://www.gnu.org/software/libxmi/libxmi.html

Cool. Looks good to me.

Mind you, what I’m looking at doing is not especially
graphically-intensive, and since I plan to use GTK++ for most of the app,
I may be able to get away with just using the “built-in” GDK polygon
routines. If it turns out to be too slow doing things that way, then I’m
back to SDL for the main display. Kinda nice to be able to embed an SDL
surface in a GTK widget though. :slight_smile:

-Roy