dark293 / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

Garglk thoroughly mangling glulx hyperlinks #150

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create hyperlinks with identification numbers greater than 15
2. Click on any of those hyperlinks.

(Code and sample gblorb provided below)

What is the expected output? What do you see instead?

a. Each link created using glk_set_hyperlink call pairs should be highlighted; 
links whose numbers are multiples of 16 are not set ("bounce easing in-out" in 
the sample code). 

b. Each link should be associated with a particular text. However, links 17-31 
and 33-34 in the sample are associated with links 1-15 and links 1-2, 
respectively.

c. Garglk doesn't seem to be passing the value back via glk_select in a 
standard format. Note that the attempt to print that number (stored in "current 
hyperlink ID" global for sample) fails in Garglk.

What version of the product are you using? On what operating system?

2010.1, MacOS 10.6

Please provide any additional information below.

Source code to reproduce (I7):

"Test"

Include Flexible Windows by Jon Ingold.

There is a room.

When play begins:
    repeat with x running from 1 to 34:
        say "[link x][replacement corresponding to a link ID of x in the Table of Glulx Hyperlink Replacement Commands][end link] [line break]";

Hyperlink processing rule:
    say "[current hyperlink ID]: ";

Table of Glulx Hyperlink Replacement Commands (continued)
link ID replacement
1   "linear easing"
2   "quadratic easing in"
3   "quadratic easing out"
4   "quadratic easing in-out"
5   "cubic easing in"
6   "cubic easing out"
7   "cubic easing in-out"
8   "circular easing in"
9   "circular easing out"
10  "circular easing in-out"
11  "back easing in"
12  "back easing out"
13  "back easing in-out"
14  "bounce easing in"
15  "bounce easing out"
16  "bounce easing in-out"
17  "linearteasing"
18  "quantic easing ins"
19  "quadratic easing out"
20  "quadratic easing in-out"
21  "cubic easing in"
22  "cubic easing out"
23  "cubic easing in-out"
24  "circular easing in"
25  "circular easing out"
26  "circular easing in-out"
27  "back easing in"
28  "back easing out"
29  "back easing in-out"
30  "bounce easing in"
31  "bounce easing out"
32  "bounce easing in-out"
33  "skivvies"
34  "skeevies"

Original issue reported on code.google.com by Ek.Temple@gmail.com on 10 Jun 2011 at 12:27

Attachments:

GoogleCodeExporter commented 8 years ago
This was fixed in r504. Sorry about the bug!

Original comment by bcressey@gmail.com on 10 Jun 2011 at 3:57

GoogleCodeExporter commented 8 years ago

Original comment by bcressey@gmail.com on 10 Jun 2011 at 4:11