intfiction.org

The Interactive Fiction Community Forum
It is currently Wed Oct 17, 2018 5:57 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Sep 18, 2018 5:11 pm 
Offline

Joined: Fri Aug 07, 2015 5:44 am
Posts: 12
Hey there, I think the answer may be no but I just had to ask before giving up.

Is there any way to check if the amount of text that has just been printed in a text buffer window is too large to fit in the window? I'm imagining maybe not since each interpreter seems to handle this situation differently anyway.

The reason I'm asking is because I'd like to make an inventory window (with the Flexible Windows extension) that refreshes every turn but the player's inventory can get very large, and in WinGit, if a text buffer window needs to show 'more' then the player must hit enter again every turn to scroll the text to the bottom of the window. So I'd like to be able to just replace this with a message that says 'inventory too large to be displayed' instead, when that's the case.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Tue Sep 18, 2018 5:54 pm 
Offline

Joined: Sat Jan 23, 2010 4:56 pm
Posts: 5768
No, that information isn't accessible to the game.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group