Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001378I6 LibraryGeneralpublic2014-07-30 01:452019-04-09 02:09
ReporterDavidG 
Assigned ToDavidG 
PrioritynormalSeveritymildReproducibilityN/A
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version6/12 
Target Version6/13Fixed in Version 
Summary0001378: Investigate easy ways to alter the look and feel of Glulx games
DescriptionA game compiled from identical sources should probably look identically no matter if its compiled to Z-machine or Glulx. One big difference is in the look of the status line. For the Z-machine, this is one line at the top in inverse text. For Glulx, the default is two lines in regular text with the second being a line filled with dashes. I would like to change the Glulx default status line to match that of Z-machine. Further, if the author wants to tell the interpreter to use the two-line status line, then some sort of constant could be set to effect this change.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003014)
DavidG (developer)
2014-07-30 23:31

At line 6430 in parserm.h:
gg_statuswin = glk($0023, gg_mainwin, $12, gg_statuswin_cursize,
                4, GG_STATUSWIN_ROCK); ! window_open

If that $12 is changed to $112, then the frameless status line will be used. I still don't know how to make the status line appear in reverse text. The best I was able to come up with is "glk($00B0, 4, 9, 9, 0);glk($00B0, 4, 9, 9, 0);", but that doesn't work. $00B0 codes for glk_stylehint_set. 4 is for the wintype taken from the glk_window_open() call I modified. 0 is for style_Normal. 9 is for stylehint_ReverseColor. 0 is for val (I don't know what this one is for).

Discussion is here: http://www.intfiction.org/forum/viewtopic.php?f=7&t=15797 [^]
(0004848)
DavidG (developer)
2019-04-09 02:09

New link to discussion: https://intfiction.org/t/z-machine-versus-glulx-appearances/7229 [^]

- Issue History
Date Modified Username Field Change
2014-07-30 01:45 DavidG New Issue
2014-07-30 01:45 DavidG Status new => assigned
2014-07-30 01:45 DavidG Assigned To => DavidG
2014-07-30 23:31 DavidG Note Added: 0003014
2015-11-22 20:23 DavidG Target Version 6/12 => 6/13
2019-04-09 02:09 DavidG Note Added: 0004848


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker