aboutsummaryrefslogtreecommitdiff
path: root/graphics/paletteman.h
AgeCommit message (Collapse)Author
2006-06-13Let the [cursor] palette manager handle disableCursorPalette() too, to avoidTorbjörn Andersson
cursor glitch in at least some HE games which first set a cursor palette, and then disable it. (The disabled palette would be re-enabled after dismissing the GUI.) svn-id: r23081
2006-05-25Cleanup.Torbjörn Andersson
svn-id: r22635
2006-05-25Fixed comment to make it less obvious where I copied the general structure ofTorbjörn Andersson
the palette manager from. svn-id: r22628
2006-05-21Make it so that if the new cursor palette to be set has zero colours, theTorbjörn Andersson
cursor palette is disabled. Also, when replacing a cursor palette, try to re-use the old palette buffer, as a minor optimization. (Not that these functions should need any optimization, but it's simple and shouldn't hurt.) svn-id: r22554
2006-05-20After the GUI has finished, restore the old cursor palette (if any). For thisTorbjörn Andersson
to work, cursor palette now has to be set using the new "palette manager". See graphics/paletteman.cpp svn-id: r22543