-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from curiousdannii/cumulative
Cumulative Glk changes, part 2
- Loading branch information
Showing
21 changed files
with
603 additions
and
384 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ Sections | |
Capabilities | ||
InfGlk | ||
Glk | ||
Glk Events | ||
Startup | ||
State | ||
Mathematics | ||
|
3 changes: 3 additions & 0 deletions
3
inform7/Internal/Inter/Architecture32Kit/RTPs/EventUnknownWindow.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Event is on unknown Glk window | ||
|
||
A Glk event has occurred which references a window we don't know about. This could be caused by old extensions which created their own windows in Inform 6. Inform now requires such extensions to also create a `glk window` object and keep it updated, so that the events system can track all windows. |
3 changes: 3 additions & 0 deletions
3
inform7/Internal/Inter/Architecture32Kit/RTPs/EventWrongType.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Glk event phrase called for wrong event type | ||
|
||
A Glk event phrase was used for the wrong event type, for example `x coordinate` was used with a hyperlink event. |
3 changes: 3 additions & 0 deletions
3
inform7/Internal/Inter/Architecture32Kit/RTPs/EventWrongWindowType.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Glk event created for window of wrong type | ||
|
||
Glk events can only be created for the appropriate window type. For example, line events can't be created for graphics window, mouse events can't be created for buffer windows. In particular, note that if you create an event without explicitly specifying the window, the main window will be used, which is usually a buffer window. |
3 changes: 0 additions & 3 deletions
3
inform7/Internal/Inter/Architecture32Kit/RTPs/SetTextEventWithoutWindow.md
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
inform7/Internal/Inter/Architecture32Kit/RTPs/WindowBadGridCursor.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Grid window cursor row must be >= 1 | ||
|
||
While the Glk API specifies that coordinates in grid windows are 0-based (meaning the top left is (0, 0)), we use 1-based coordinates, so that the top left is (1, 1). |
3 changes: 3 additions & 0 deletions
3
inform7/Internal/Inter/Architecture32Kit/RTPs/WindowHasActiveLineInput.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Cannot set current line input of a window with active line input | ||
|
||
The `set the current line input` phrase cannot be used for a window which currently has active line input; there'd be no point as the text you set would be overwritten once the player submitted their input. You should only use `set the current line input` while handling a line event, or after using `suspend text input`. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
96 changes: 0 additions & 96 deletions
96
inform7/Internal/Inter/Architecture32Kit/Sections/Glk Events.i6t
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.