SUGGESTION: GetNormalFont/GetSpeechFont (IMPLEMENTED)

Started by SSH, Wed 16/11/2005 13:26:18

Previous topic - Next topic

SSH

Well, all I want if the first one, and here's why:

I want to RawPrint in a different font, in a module I am wiritng. I do not control what the normal NormalFont is, so I want to restore it when I finish. I'd like to do:

Code: ags

int savefont=GetNormalFont();
SetNormalFont(myfont);
RawPrint(5, 50, "balh de balh");
SetNormalFont(savefont);


but I can't Get, only Set just now. Of course, the property-style "game.normal_font" might be better, but I'm not fussy how it is implemented.

While we're at it, if there are any other write-only things in AGS, can we fix those too?  ;D
12

Rui 'Trovatore' Pires

For instance, could we GET the current mouse mode's graphic, or the graphic of any other mode? ::)
Reach for the moon. Even if you miss, you'll land among the stars.

Kneel. Now.

Never throw chicken at a Leprechaun.

Pumaman

GetNormalFont and GetCursorGraphic sound like reasonable requests to me.

strazer

#3
Implemented as of AGS v2.72 Beta 1.

SMF spam blocked by CleanTalk