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
[19 Dec 2009] @DISPLAY and variables...
[19 Dec 2009] @DISPLAY and variables...
Simone"Tuxedo"Monsignori, Perugia, ITALY.
- airsoftsoftwair
- Posts: 5943
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[20 Dec 2009] Re: @DISPLAY and variables...
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 Simone
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.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...
Code: Select all
; go to 800x600!
ChangeDisplayMode(#DMODE_FULLSCREEN, 800, 600)
[20 Dec 2009] Re: @DISPLAY and variables...
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???
GREAT! That's exactly what I need! Any ETA for the Hollywood 4,5 release???
Simone"Tuxedo"Monsignori, Perugia, ITALY.