From: Stian S. <st...@sl...> - 2001-12-23 22:59:44
|
* At 2001-12-22T19:05+0100, Stian Sletner wrote: : | After I had fixed the moving-backwards-with-mouse-is-too-slow thing | (I took the liberty of supplying a patch for that, although I'm sure you | guys know how to fix it), there was really only one thing to annoy me | slightly. It seems things slow down alot when picking something up. | Not sure if it's the palette code or the processing of the pickup itself | (though it seems palette changes when getting hurt, for example, are | faster), but it really chops a bit when picking up ammo/health/etc. No, it seems the palette stuff is the culprit afterall, I commented out ST_doPaletteStuff() in st_stuff.c:831 and the problem was gone. Hm, as I write this I realize this is probably X-specific. The actual setting of palette occurs in X11/i_video.c::I_UploadNewPalette; wonder if that can be sped up somehow... Maybe I'll fuck around with it some more. </pointless rant> -- Stian Sletner |