aboutsummaryrefslogtreecommitdiff
path: root/graphics/paletteman.cpp
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-27Should use delete[] instead of delete here, too. (I knew where the cursorTorbjörn Andersson
manager code was copied from. :-) svn-id: r22675
2006-05-25Cleanup.Torbjörn Andersson
svn-id: r22635
2006-05-25Fixed stupid error in replaceCursorPalette().Torbjörn Andersson
svn-id: r22629
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-21Oops, I guess I never got around to fully implement replaceCursorPalette().Torbjörn Andersson
svn-id: r22552
2006-05-20Forgot to set g_initialized to true.Torbjörn Andersson
svn-id: r22544
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