[Freeciv-Dev] PNG loading for the Win32 client.
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|