Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: crashes
- To:
- Subject: Re: crashes
- From: Kjetil Torgrim Homme <kjetilho>
- Date: Wed, 23 Nov 1994 18:54:51 +0100
- CC: crossfire (at) ifi.uio.no
- In-reply-to: <> (message from Anthony Thyssen on Wed, 23 Nov 1994 16:08:47 +1000)
+--- Anthony Thyssen:
| Allocate colors as you have, when you run out THEN call
| XCopyColormapAndFree() to allocate a seperate color map from the
| default and continue where you left off.
Correct me if I'm wrong, but I think the problem is that the
XPM-library is allocating colours without hooks for adding behaviour
like this.
+--- Mark Wedel:
| Also, as far as I know, the only accurate way to find out if there
| is enough space is to try and allocate the colors, and if it fails,
| free them and perhaps install a private color map.
Oh no, you can't free them... Start crossfire, start xv, enter new map
with colourful scenery == server crash... :-)
Mark, you did specify a list of 28 colours which should be used in
XPM-files. Do you think the graphics deviate from this? (shouldn't be
too hard to check, actually...)
Kjetil T.