4 from pygame.locals import *
12 wad = pyhexen.wad.WadReader ()
13 wad.InitMultipleFiles (['heretic.wad'])
15 vid = pyhexen.vid.Video (wad)
18 vid.SetPalette (wad.CacheLumpName('PLAYPAL'))
20 menu = pyhexen.menu.Menu (wad, vid)
24 game.menus.CreateMenus (menu)
31 vid.DrawRawScreen (wad.CacheLumpName('TITLE'))
32 vid.DrawPatch (4, 160, wad.CacheLumpName('ADVISOR'))
38 input (pygame.event.get())