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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] PNG loading for the Win32 client.
From: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Date: Sun, 11 Nov 2001 20:30:36 +0100

Vasco Alexandre Da Silva Costa writes:
 > 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.
 > 
Have you tried to running two or three civclients at the same time on 
win95/win98/winme? Trident/Engels tileset?

The problem with your patch is the change of the Sprite struct.
It saves a handle from CreateDibSection. 
Gdk does the same thing...
You know the result. You know how ugly I had to patch the gtk client
for windows.

Can you change the patch so that it does not change the struct Sprite,
please? 

Greetings
Andreas Kemnade


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