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'), texture('bg_login'), texture('bg_gamehall'), texture('bg_ingame'), texture('worldmap'), texture('bg_gamelist'), texture('bg_eventsbox'), texture('bg_chatbox'), img('imagesel_shine'), anim('actor_frame', [50] * 9, True), anim('turn_frame', [50] * 9, True), texture('ray'), subdir('pbar', [img(i) for i in [
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), anim('turn_frame', [50] * 9, True), texture('ray'), subdir('pbar', [img(i) for i in [ 'bl', 'bm', 'br', 'bfl', 'bfm', 'bfr', 'sl', 'sm', 'sr', 'sfl', 'sfm', 'sfr', ]]), subdir('buttons', [ [ img_grid('close_' + t, 1, 4) for t in ('blue', 'red', 'green', 'orange') ], img_grid('port_showncard', 1, 4), img_grid('serverbtn', 1, 4),
'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'), texture('remilia_ex_wallpaper'), bgm('bgm_remilia_ex'), subdir('sound', [ sound('hit'), ]), ui_meta('thb_uimeta'), ])