Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] PNG loading for the Win32 client.

[Freeciv-Dev] PNG loading for the Win32 client.

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] PNG loading for the Win32 client.
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Sun, 11 Nov 2001 02:45:18 +0000 (WET)


I banged a bit in the Win32 client and converted it to load PNGs. It
should read PNGs of any type. It processes them internally as 32bit DIBs
To compile this you need cygwin, but you must compile libpng and libz
yourself with -mno-cygwin so the client won't need the cygwin DLL.

Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa

Attachment: graphics.h
Description: Text document

Attachment: graphics.c
Description: Text document

[Prev in Thread] Current Thread [Next in Thread]