[Freeciv-Dev] baseline without cvs
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Andreas Kemnade writes:
> Jennifer Glover writes:
> > Is it possible for some kind soul to zip up the newest baseline for
> > me? I haven't figured out cvs yet and wanted to fix up the Windows CE
> > code.
> >
> > I based the gui code off the win32 code that I got from Andreas, but I
> > think that there was a problem with it. The bitmap behind the map DC
> > doesn't ever get created/loaded into the map DC. I might have somehow
>
> It gets loaded into it in map_resize (in mapview.c):
>
> SelectObject(mapstoredc,newbmp);
>
> Ups,
> I should insert a
> mapstorebitmap=newbmp;
> there. So there is a memory leak if someone resizes the window.
>
> Ok, I'll update that stuff. But the map display should work even with
> this bug.
>
> Greetings
> Andreas Kemnade
>
I have looked at your source now. Is WindowsCE able to maintain 1200
bitmaps (I don't know the exact number freeciv uses)???
I have never seen a windows version which was able to do so. So I had
to write workarounds for that problem (like the HBITMAP2BITMAP stuff).
Do you see the output from freelog?
I don't know WinCE but if you build a "normal" windows gui application you
don't see the output from printf. Maybe something has failed in
crop_sprite and you don't see the log message.
Greetings
Andreas Kemnade
|
|