[19 Dec 2009] @DISPLAY and variables...

Contains all messages from the Hollywood mailing list between 01/2006 and 08/2012
Locked
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[19 Dec 2009] @DISPLAY and variables...

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 19 Dec 2009 18:09:28 -0000

Hi ALL! There's my fault or wasnt possible to pass variables to @DISPLAY precommand?

If I need to choose for a prefs file the dispaly size and then pass it to @DISPLAY command I cant...maybe I do something wrong..

I cant use ChangeDisplaySize() because If I will open the display in full screen I got a display size of the @DISPLAY passed parameters and they cant grow up...

Maybe I miss somethig...

Excusme if I cant explain it correctly...

Simone
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
airsoftsoftwair
Posts: 5943
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

[20 Dec 2009] Re: @DISPLAY and variables...

Post by airsoftsoftwair »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 20 Dec 2009 22:33:03 +0100

Hi Simone
Hi ALL! There's my fault or wasnt possible to pass variables to @DISPLAY precommand?

If I need to choose for a prefs file the dispaly size and then pass it to @DISPLAY command I cant...maybe I do something wrong..

I cant use ChangeDisplaySize() because If I will open the display in full screen I got a display size of the @DISPLAY passed parameters and they cant grow up...

Maybe I miss somethig...

Excusme if I cant explain it correctly...
You can't use variables for preprocessor commands like @DISPLAY because they are handled before anything else so all variables would be zero anyway. Currently, it's not possible to dynamically set a screen width/height. But it will be possible with Hollywood 4.5, because it has the new ChangeDisplayMode() command which can switch the display mode, e.g.

Code: Select all

; go to 800x600!
ChangeDisplayMode(#DMODE_FULLSCREEN, 800, 600)
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

[20 Dec 2009] Re: @DISPLAY and variables...

Post by Tuxedo »

Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 20 Dec 2009 22:00:41 -0000

GREAT! That's exactly what I need! Any ETA for the Hollywood 4,5 release???
Simone"Tuxedo"Monsignori, Perugia, ITALY.
Locked