ScrDepth after 4.5

Discuss any general programming issues here
Post Reply
User avatar
lazi
Posts: 627
Joined: Thu Feb 24, 2011 11:08 pm

ScrDepth after 4.5

Post by lazi »

The 'ScrDepth' parameter is deprecated in @DISPLAY since 4.5.

It can be used in @SCREEN, but what if the script started in windowed mode, and then changed to fullscreen with ChangeDisplayMode?

I think ChangeDisplayMode should accept a ScrDepth parameter.
User avatar
airsoftsoftwair
Posts: 5446
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: ScrDepth after 4.5

Post by airsoftsoftwair »

It's not easily possible to support depth change at runtime because all of Hollywood's bitmaps are tied to the current screen depth. So it would be quite a lot of work to convert all internal bitmaps between different screen pixel formats and that's not really worth the hassle because normally screen mode and depth are determined before the script starts.
Post Reply