-- Necklace of the Eye v3.0 roguelike frontend -- Copyright (C) 2010-2011 Zeno Rogue, see COPYING for details mapregion = {x0=0, y0=0, x1=80, y1=19} minipos = {x=1, y=0} -- we save the VGA palette savevga = {} for i=1,15 do savevga[i] = vgaget(i) end -- set the official Frozen Depth colors vgaset( 1, 0x10000e1) vgaset( 2, 0x200e100) vgaset( 3, 0x3009696) vgaset( 4, 0x4e10000) vgaset( 5, 0x5960096) vgaset( 6, 0x6A05028) vgaset( 7, 0x7C0C0C0) vgaset( 8, 0x8646464) vgaset( 9, 0x95050FF) vgaset(10, 0xA50FF50) vgaset(11, 0xB50FFFF) vgaset(12, 0xCFF5050) vgaset(13, 0xDFF50FF) vgaset(14, 0xEFFFF50) vgaset(15, 0xFFFFFFF) -- Frozen Depths wants to input directions as numbers dirkeys = numberkeys dofile(commondir.."generic-tile.noe") defaultmode(2) setwindowtitle("Frozen Depths") rungame(caller3("Frozen Depths", "fdepths")) -- we restore the original VGA palette for i=1,15 do vgaset(i, savevga[i]) end