class white(_ResourceDesc): __slots__ = ('name', ) def load(self, loader): atlas = get_atlas() white = atlas.add(pyglet.image.ImageData(4, 4, 'RGBA', '\xFF'*64)) c = white.tex_coords f = c[0:3]; t = c[6:9] white.tex_coords = ((f[0] + t[0]) / 2, (f[1] + t[1]) / 2, 0) * 4 return white resource = Resource(respath, [ bgm('bgm_hall'), lazytexture('bg_login'), lazytexture('bg_gamehall'), lazytexture('bg_ingame'), lazytexture('worldmap'), lazytexture('worldmap_shadow'), lazytexture('bg_gamelist'), lazytexture('bg_eventsbox'), lazytexture('bg_chatbox'), img('imagesel_shine'), imgdata('icon'), img('speaker'), img('speaker_off'), anim('actor_frame', [50] * 9, True),
img_grid('tag_faiths', 1, 7), [img_with_grayed('%s_port' % p, 'portrait') for p in [ 'parsee', 'youmu', 'koakuma', 'marisa', 'daiyousei', 'flandre', 'nazrin', 'alice', 'yugi', 'tewi', 'patchouli', 'reimu', 'eirin', 'kogasa', 'shikieiki', 'tenshi', 'rumia', 'yuuka', 'rinnosuke', 'ran', 'remilia', 'minoriko', 'meirin', 'suika', 'chen', 'yukari', 'cirno', 'sakuya', 'sanae', 'akari', 'seiga', 'kaguya', 'momiji', 'komachi', 'mokou', 'kokoro', 'remilia_ex', 'remilia_ex2', ]], [lazytexture('%s_figure' % p) for p in [ 'daiyousei', 'eirin', 'koakuma', 'yukari', 'komachi', 'kokoro', 'cirno', ]], [encrypted_texture('%s_figure_alter' % p) for p in [ 'komachi', ]], img_with_grayed('dummy_port', 'portrait'), img_with_grayed('hp', 'portrait'), img_with_grayed('hp_bg', 'portrait'), img_grid('num', 1, 10, 'portrait'),