#
# Gargoyle Glk configuration
#
# Copy this file to "garglk.ini" in the same directory as your
# gargoyle interpreter if you are running windows.
# On unix systems, copy it to "~/.garglkrc". 
#
# Gargoyle will look for configuration files and load them in this
# order, with later settings overriding earlier settings:
#
#   1: same directory as the executable: garglk.ini (windows)
#   2: /etc/garglk.ini (unix)
#   3: user home directory: .garglkrc
#   4: user home directory: garglk.ini
#   5: current working directory: garglk.ini
#   6: name-of-game-file.ini (so for hell.gam it would read hell.ini)
#
# Sections of the config file can be turned on or off by matching
# either the interpreter or game file being run. See the bottom
# of this file for examples.
#

# ------------------------------------------------------------------

scrollwidth	0	# set to 8 to make a nice scrollbar
scrollbg        e0e0d0
scrollfg        c0c0b0

stylehint	1	# set this to 0 if the game uses really bad colors

cols		60	# nice good line length for reading. but...
rows		25	# see the bottom for terp-specific over-rides

justify		0	# 0=ragged-right 1=justified
quotes		2	# Smart quotes and dashes -- 0=off 1=normal 2=rabid
spaces		1	# Spaces after a full stop -- 0=game-set 1=one 2=two

graphics	1	# enable graphics
sound		1	# enable sound

lcd             1       # 0=grayscale 1=subpixel

# ------------------------------------------------------------------
# Fonts, sizes and spaces.
# Tweak this if you choose other fonts, or want bigger text.
#

# The eight 'standard' fonts.
# Specify either the builtin fonts as below,
# or give the full path to a font file.

monor	LuxiMonoRegular
monob	LuxiMonoBold
monoi	LuxiMonoOblique
monoz	LuxiMonoBoldOblique

propr	CharterBT-Roman
propb	CharterBT-Bold
propi	CharterBT-Italic
propz	CharterBT-BoldItalic

wmarginx	20	# space around the window frame
wmarginy	20
wpaddingx	0	# space between windows
wpaddingy	0
wborderx	0	# border line width between windows
wbordery	0
tmarginx	7	# internal margin of text windows
tmarginy	7

propsize	14.7	# Proportional font size
monosize	12.6	# Monospaced tend to be bigger -- compensate
leading		20	# Also known as linespacing
baseline	15	# Offset from top of line to baseline

# Fonts for Text Buffer windows
tfont   0 propr		# Normal
tfont   1 propi		# Emphasized
tfont   2 monor		# Preformatted
tfont   3 propb		# Header
tfont   4 propb		# Subheader
tfont   5 propz		# Alert
tfont   6 propi		# Note
tfont   7 propr		# BlockQuote
tfont   8 propb		# Input
tfont   9 propr		# User1
tfont  10 propr		# User2

# Fonts for Text Grid windows
gfont   0 monor		# Normal
gfont   1 monoi		# Emphasized
gfont   2 monor		# Preformatted
gfont   3 monob		# Header
gfont   4 monob		# Subheader
gfont   5 monoz		# Alert
gfont   6 monoi		# Note
gfont   7 monor		# BlockQuote
gfont   8 monoz		# Input
gfont   9 monor		# User1
gfont  10 monor		# User2

# ------------------------------------------------------------------
# Colors and style definitions.
#
# Default here is for black text on a white background.
#
# If you choose the reverse, light text on a dark background,
# you may want to set gamma to 0.7 or similar to make the
# text fatter.
#
# Depending on your screen you may want to tweak the gamma.
# Good values to try are 0.7, 1.0 and 1.4.
#
# There are separate colors for TextBuffer and TextGrid windows.
# TextBuffers are main text windows, TextGrids are used mainly for
# status bars and such.
#

gamma	1.0		# this only affects text rendering, not other colors

caretshape	2	# 0=smalldot 1=fatdot 2=thinline 3=fatline 4=block

# moreprompt	( more )
# morealign	2	# 0=left 1=center 2=right
# morefont	propb

windowcolor     ffffff	      # overall window background color
bordercolor     000000	      # border line color
caretcolor      000000	      # input caret color
morecolor       006000	      # more prompt color

# Colors for text buffer windows
tcolor        0 000000 ffffff # Normal
tcolor        1 000000 ffffff # Emphasized
tcolor        2 000000 ffffff # Preformatted
tcolor        3 000000 ffffff # Header
tcolor        4 000000 ffffff # Subheader
tcolor        5 000000 ffffff # Alert
tcolor        6 000000 ffffff # Note
tcolor        7 000000 ffffff # BlockQuote
tcolor        8 006000 ffffff # Input
tcolor        9 000000 ffffff # User1
tcolor       10 000000 ffffff # User2

# Colors for text grid windows
gcolor        0 000000 ffffff # Normal
gcolor        1 000000 ffffff # Emphasized
gcolor        2 000000 ffffff # Preformatted
gcolor        3 000000 ffffff # Header
gcolor        4 000000 ffffff # Subheader
gcolor        5 000000 ffffff # Alert
gcolor        6 000000 ffffff # Note
gcolor        7 000000 ffffff # BlockQuote
gcolor        8 000000 ffffff # Input
gcolor        9 ffffff 606060 # User1
gcolor       10 ffffff 606060 # User2

# ------------------------------------------------------------------
#
# You can add sections here to over-ride settings.
# List all the executables to be affected in the [ selector list ]
# The name of a game file can also be used.
#

[ Frotz Jacl Garjacl ]
gcolor        9 606060 ffffff # User1

[ Agility Arun Geas Magnetic Nitfol Scare ]

gcolor        0 ffffff 606060 # Normal
gcolor        1 ffffff 606060 # Emphasized
gcolor        2 ffffff 606060 # Preformatted
gcolor        3 ffffff 606060 # Header
gcolor        4 ffffff 606060 # Subheader
gcolor        5 ffffff 606060 # Alert
gcolor        6 ffffff 606060 # Note
gcolor        7 ffffff 606060 # BlockQuote
gcolor        8 ffffff 606060 # Input

[ Magnetic ]
cols 68

[ Git Glulxe ]
# bad! bad! bad games!
cols 80
rows 25

wborderx 1
wbordery 1

bordercolor    606060	     # border line color
gcolor       0 606060 ffffff # Normal
gcolor       1 606060 ffffff # Emphasized
gcolor       2 606060 ffffff # Preformatted
gcolor       3 606060 ffffff # Header
gcolor       4 606060 ffffff # Subheader
gcolor       5 606060 ffffff # Alert
gcolor       6 606060 ffffff # Note
gcolor       7 606060 ffffff # BlockQuote
gcolor       8 606060 ffffff # Input
gcolor       9 606060 ffffff # User1
gcolor      10 606060 ffffff # User2

[ Hugo ]

# Hugo has ugly status bars with no padding.
# Hugo also uses grid windows for arbitrarily placed text.
# Add a thin border line between windows.

wborderx 1
wbordery 1

gcolor       9 000000 ffffff # User1
gcolor      10 000000 ffffff # User2

# [ Agility ]
# monoaspect 0.8	# squeeze mono font
# cols 80
# rows 25

[ curses.z5 ]
monoaspect 0.9	# squeeze to compensate for more columns
cols 65

# ------------------------------------------------------------------
#
# You can now specify the default interpreter for game types.
# List all extensions to be affected in the [ selector list ]
# The name of a game file can also be used.
#

# Zcode game types
[ .z1 .z2 .z3 .z4 .z5 .z7 .z8 .zlb .zblorb ]
terp frotz

[ .z6 ]
terp nitfol

# Glulx game types
[ .ulx .blb .blorb .glb .gblorb ]
terp git

# Override for specific game
[ damusix_demo.blb ]
terp glulxe

