intfiction.org

The Interactive Fiction Community Forum
It is currently Wed Nov 22, 2017 7:54 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 114 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12
Author Message
PostPosted: Mon Jan 04, 2016 12:19 am 
Offline

Joined: Fri Jan 10, 2014 12:43 am
Posts: 57
Neil wrote:
I replaced the call for library messages (L__M) in the extension with appropriate print statements, and the game compiles.

Neil


Can you explain what these replacements should look like? I grabbed the Undo Output Control (Erik Temple) extension out of github, and I'm trying to figure out how to replace L__M so that it compiles.


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Jan 04, 2016 12:44 am 
Offline

Joined: Fri Oct 18, 2013 10:13 am
Posts: 2468
Location: The Midwest
It depends on the library message in question, but you should instead be printing an appropriate Response. If it's a built-in one look at the I6T for how it should be called, I don't fully understand the pattern of those.

_________________
Daniel Stelzer


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Jan 04, 2016 8:32 am 
Offline

Joined: Fri Jan 10, 2014 12:43 am
Posts: 57
So the sort of thing I'm talking about in the Undo Output Control extension is:

Code:
if (ForActivity(PRINTING_A_PARSER_ERROR_ACT) == false) L__M(##Miscellany,10);


Draconis wrote:
It depends on the library message in question, but you should instead be printing an appropriate Response. If it's a built-in one look at the I6T for how it should be called, I don't fully understand the pattern of those.


What is a Response? Also, I don't know what the I6T is, where should I look for it?


Top
 Profile Send private message  
Reply with quote  
PostPosted: Mon Jan 04, 2016 9:17 am 
Offline

Joined: Fri Oct 18, 2013 10:13 am
Posts: 2468
Location: The Midwest
Responses are the new system that replaced library messages; they can be easily customized through I7 without having to use new extensions, but they're a bit messier to call in I6. The I6Ts are the I6 template components in the Inform 7/Internal/I6T folder.

In this case, depending which message you want, you need to call
Code:
PARSER_ERROR_INTERNAL_RM('D');
(with some character from 'A' through 'W'); these correspond to the parser error internal rule responses.

_________________
Daniel Stelzer


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 114 posts ]  Go to page Previous  1 ... 8, 9, 10, 11, 12

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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