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.[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hello, 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 regardless. 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
graphics.h
graphics.c
|