convert: Convert all instances of jpg&rgb texture calls in codebase to png

This commit is contained in:
Erica M. ("Loonatic") 2022-02-11 13:26:25 -06:00
parent ddabfcf3fc
commit 65526aa1cd
33 changed files with 778 additions and 781 deletions

View file

@ -324,12 +324,12 @@ class PropPool:
lips.setPos(0, 0, -3.04) lips.setPos(0, 0, -3.04)
lips.flattenMedium() lips.flattenMedium()
elif name == '5dollar': elif name == '5dollar':
tex = loader.loadTexture('phase_5/maps/dollar_5.jpg') tex = loader.loadTexture('phase_5/maps/dollar_5.png')
tex.setMinfilter(Texture.FTLinearMipmapLinear) tex.setMinfilter(Texture.FTLinearMipmapLinear)
tex.setMagfilter(Texture.FTLinear) tex.setMagfilter(Texture.FTLinear)
self.props[name].setTexture(tex, 1) self.props[name].setTexture(tex, 1)
elif name == '10dollar': elif name == '10dollar':
tex = loader.loadTexture('phase_5/maps/dollar_10.jpg') tex = loader.loadTexture('phase_5/maps/dollar_10.png')
tex.setMinfilter(Texture.FTLinearMipmapLinear) tex.setMinfilter(Texture.FTLinearMipmapLinear)
tex.setMagfilter(Texture.FTLinear) tex.setMagfilter(Texture.FTLinear)
self.props[name].setTexture(tex, 1) self.props[name].setTexture(tex, 1)

View file

@ -2,30 +2,30 @@ from .CatalogSurfaceItem import *
FTTextureName = 0 FTTextureName = 0
FTColor = 1 FTColor = 1
FTBasePrice = 2 FTBasePrice = 2
FlooringTypes = {1000: ('phase_5.5/maps/floor_wood_neutral.jpg', CTBasicWoodColorOnWhite, 150), FlooringTypes = {1000: ('phase_5.5/maps/floor_wood_neutral.png', CTBasicWoodColorOnWhite, 150),
1010: ('phase_5.5/maps/flooring_carpetA_neutral.jpg', CTFlatColorDark, 150), 1010: ('phase_5.5/maps/flooring_carpetA_neutral.png', CTFlatColorDark, 150),
1020: ('phase_4/maps/flooring_tile_neutral.jpg', CTFlatColorDark, 150), 1020: ('phase_4/maps/flooring_tile_neutral.png', CTFlatColorDark, 150),
1030: ('phase_5.5/maps/flooring_tileB2.jpg', None, 150), 1030: ('phase_5.5/maps/flooring_tileB2.png', None, 150),
1040: ('phase_4/maps/grass.jpg', None, 150), 1040: ('phase_4/maps/grass.png', None, 150),
1050: ('phase_4/maps/floor_tile_brick_diagonal2.jpg', None, 150), 1050: ('phase_4/maps/floor_tile_brick_diagonal2.png', None, 150),
1060: ('phase_4/maps/floor_tile_brick_diagonal.jpg', None, 150), 1060: ('phase_4/maps/floor_tile_brick_diagonal.png', None, 150),
1070: ('phase_4/maps/plazz_tile.jpg', None, 150), 1070: ('phase_4/maps/plazz_tile.png', None, 150),
1080: ('phase_4/maps/sidewalk.jpg', CTFlatColorDark, 150), 1080: ('phase_4/maps/sidewalk.png', CTFlatColorDark, 150),
1090: ('phase_3.5/maps/boardwalk_floor.jpg', None, 150), 1090: ('phase_3.5/maps/boardwalk_floor.png', None, 150),
1100: ('phase_3.5/maps/dustroad.jpg', None, 150), 1100: ('phase_3.5/maps/dustroad.png', None, 150),
1110: ('phase_5.5/maps/floor_woodtile_neutral.jpg', CTBasicWoodColorOnWhite, 150), 1110: ('phase_5.5/maps/floor_woodtile_neutral.png', CTBasicWoodColorOnWhite, 150),
1120: ('phase_5.5/maps/floor_tile_neutral.jpg', CTBasicWoodColorOnWhite + CTFlatColorDark, 150), 1120: ('phase_5.5/maps/floor_tile_neutral.png', CTBasicWoodColorOnWhite + CTFlatColorDark, 150),
1130: ('phase_5.5/maps/floor_tile_honeycomb_neutral.jpg', CTBasicWoodColorOnWhite, 150), 1130: ('phase_5.5/maps/floor_tile_honeycomb_neutral.png', CTBasicWoodColorOnWhite, 150),
1140: ('phase_5.5/maps/UWwaterFloor1.jpg', None, 150), 1140: ('phase_5.5/maps/UWwaterFloor1.png', None, 150),
1150: ('phase_5.5/maps/UWtileFloor4.jpg', None, 150), 1150: ('phase_5.5/maps/UWtileFloor4.png', None, 150),
1160: ('phase_5.5/maps/UWtileFloor3.jpg', None, 150), 1160: ('phase_5.5/maps/UWtileFloor3.png', None, 150),
1170: ('phase_5.5/maps/UWtileFloor2.jpg', None, 150), 1170: ('phase_5.5/maps/UWtileFloor2.png', None, 150),
1180: ('phase_5.5/maps/UWtileFloor1.jpg', None, 150), 1180: ('phase_5.5/maps/UWtileFloor1.png', None, 150),
1190: ('phase_5.5/maps/UWsandyFloor1.jpg', None, 150), 1190: ('phase_5.5/maps/UWsandyFloor1.png', None, 150),
10000: ('phase_5.5/maps/floor_icecube.jpg', CTWhite, 225), 10000: ('phase_5.5/maps/floor_icecube.png', CTWhite, 225),
10010: ('phase_5.5/maps/floor_snow.jpg', CTWhite, 225), 10010: ('phase_5.5/maps/floor_snow.png', CTWhite, 225),
11000: ('phase_5.5/maps/StPatsFloor1.jpg', CTWhite, 225), 11000: ('phase_5.5/maps/StPatsFloor1.png', CTWhite, 225),
11010: ('phase_5.5/maps/StPatsFloor2.jpg', CTWhite, 225)} 11010: ('phase_5.5/maps/StPatsFloor2.png', CTWhite, 225)}
class CatalogFlooringItem(CatalogSurfaceItem): class CatalogFlooringItem(CatalogSurfaceItem):

View file

@ -2,20 +2,20 @@ from .CatalogSurfaceItem import *
MTTextureName = 0 MTTextureName = 0
MTColor = 1 MTColor = 1
MTBasePrice = 2 MTBasePrice = 2
MouldingTypes = {1000: ('phase_3.5/maps/molding_wood1.jpg', CTBasicWoodColorOnWhite, 150), MouldingTypes = {1000: ('phase_3.5/maps/molding_wood1.png', CTBasicWoodColorOnWhite, 150),
1010: ('phase_5.5/maps/bd_grey_border1.jpg', CTFlatColorDark, 150), 1010: ('phase_5.5/maps/bd_grey_border1.png', CTFlatColorDark, 150),
1020: ('phase_5.5/maps/dental_Border_wood_neutral.jpg', CTFlatColorDark, 150), 1020: ('phase_5.5/maps/dental_Border_wood_neutral.png', CTFlatColorDark, 150),
1030: ('phase_5.5/maps/littleFlowers_border.jpg', CTWhite, 150), 1030: ('phase_5.5/maps/littleFlowers_border.png', CTWhite, 150),
1040: ('phase_5.5/maps/littleFlowers_border_neutral.jpg', CTFlatColorDark, 150), 1040: ('phase_5.5/maps/littleFlowers_border_neutral.png', CTFlatColorDark, 150),
1050: ('phase_5.5/maps/ladybugs2_Border.jpg', CTFlatColorDark, 150), 1050: ('phase_5.5/maps/ladybugs2_Border.png', CTFlatColorDark, 150),
1060: ('phase_5.5/maps/bd_grey_border1.jpg', CTValentinesColors, 150), 1060: ('phase_5.5/maps/bd_grey_border1.png', CTValentinesColors, 150),
1070: ('phase_5.5/maps/bd_grey_border1.jpg', CTUnderwaterColors, 150), 1070: ('phase_5.5/maps/bd_grey_border1.png', CTUnderwaterColors, 150),
1080: ('phase_5.5/maps/tt_t_ara_int_border_winterLights1.jpg', CTWhite, 150), 1080: ('phase_5.5/maps/tt_t_ara_int_border_winterLights1.png', CTWhite, 150),
1085: ('phase_5.5/maps/tt_t_ara_int_border_winterLights2.jpg', CTWhite, 150), 1085: ('phase_5.5/maps/tt_t_ara_int_border_winterLights2.png', CTWhite, 150),
1090: ('phase_5.5/maps/tt_t_ara_int_border_winterLights3.jpg', CTWhite, 150), 1090: ('phase_5.5/maps/tt_t_ara_int_border_winterLights3.png', CTWhite, 150),
1100: ('phase_5.5/maps/tt_t_ara_int_border_valentine_cupid.jpg', CTWhite, 150), 1100: ('phase_5.5/maps/tt_t_ara_int_border_valentine_cupid.png', CTWhite, 150),
1110: ('phase_5.5/maps/tt_t_ara_int_border_valentine_heart1.jpg', CTWhite, 150), 1110: ('phase_5.5/maps/tt_t_ara_int_border_valentine_heart1.png', CTWhite, 150),
1120: ('phase_5.5/maps/tt_t_ara_int_border_valentine_heart2.jpg', CTWhite, 150)} 1120: ('phase_5.5/maps/tt_t_ara_int_border_valentine_heart2.png', CTWhite, 150)}
class CatalogMouldingItem(CatalogSurfaceItem): class CatalogMouldingItem(CatalogSurfaceItem):

View file

@ -2,11 +2,11 @@ from .CatalogSurfaceItem import *
WSTTextureName = 0 WSTTextureName = 0
WSTColor = 1 WSTColor = 1
WSTBasePrice = 2 WSTBasePrice = 2
WainscotingTypes = {1000: ('phase_3.5/maps/wall_paper_b3.jpg', CTFlatColorDark, 200), WainscotingTypes = {1000: ('phase_3.5/maps/wall_paper_b3.png', CTFlatColorDark, 200),
1010: ('phase_5.5/maps/wall_paper_b4_greyscale.jpg', CTBasicWoodColorOnWhite, 200), 1010: ('phase_5.5/maps/wall_paper_b4_greyscale.png', CTBasicWoodColorOnWhite, 200),
1020: ('phase_5.5/maps/wainscotings_neutral.jpg', CTBasicWoodColorOnWhite, 200), 1020: ('phase_5.5/maps/wainscotings_neutral.png', CTBasicWoodColorOnWhite, 200),
1030: ('phase_3.5/maps/wall_paper_b3.jpg', CTValentinesColors, 200), 1030: ('phase_3.5/maps/wall_paper_b3.png', CTValentinesColors, 200),
1040: ('phase_3.5/maps/wall_paper_b3.jpg', CTUnderwaterColors, 200)} 1040: ('phase_3.5/maps/wall_paper_b3.png', CTUnderwaterColors, 200)}
class CatalogWainscotingItem(CatalogSurfaceItem): class CatalogWainscotingItem(CatalogSurfaceItem):

View file

@ -13,242 +13,242 @@ All = (1000,
1050, 1050,
1060, 1060,
1070) 1070)
WallpaperTypes = {1000: ('phase_5.5/maps/flat_wallpaper1.jpg', WallpaperTypes = {1000: ('phase_5.5/maps/flat_wallpaper1.png',
CTFlatColor, CTFlatColor,
(0, 1000), (0, 1000),
180), 180),
1100: ('phase_5.5/maps/big_stripes1.jpg', 1100: ('phase_5.5/maps/big_stripes1.png',
CTWhite, CTWhite,
(0, 1010), (0, 1010),
180), 180),
1110: ('phase_5.5/maps/big_stripes2.jpg', 1110: ('phase_5.5/maps/big_stripes2.png',
CTWhite, CTWhite,
(0, 1040), (0, 1040),
180), 180),
1120: ('phase_5.5/maps/big_stripes3.jpg', 1120: ('phase_5.5/maps/big_stripes3.png',
CTWhite, CTWhite,
(0, 1030), (0, 1030),
180), 180),
1130: ('phase_5.5/maps/big_stripes4.jpg', 1130: ('phase_5.5/maps/big_stripes4.png',
CTWhite, CTWhite,
(0, 1010), (0, 1010),
180), 180),
1140: ('phase_5.5/maps/big_stripes5.jpg', 1140: ('phase_5.5/maps/big_stripes5.png',
CTWhite, CTWhite,
(0, 1020), (0, 1020),
180), 180),
1150: ('phase_5.5/maps/big_stripes6.jpg', 1150: ('phase_5.5/maps/big_stripes6.png',
CTWhite, CTWhite,
(0, 1020), (0, 1020),
180), 180),
1200: ('phase_5.5/maps/stripeB1.jpg', 1200: ('phase_5.5/maps/stripeB1.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1210: ('phase_5.5/maps/stripeB2.jpg', 1210: ('phase_5.5/maps/stripeB2.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1220: ('phase_5.5/maps/stripeB3.jpg', 1220: ('phase_5.5/maps/stripeB3.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1230: ('phase_5.5/maps/stripeB4.jpg', 1230: ('phase_5.5/maps/stripeB4.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1240: ('phase_3.5/maps/stripeB5.jpg', 1240: ('phase_3.5/maps/stripeB5.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1250: ('phase_5.5/maps/stripeB6.jpg', 1250: ('phase_5.5/maps/stripeB6.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1260: ('phase_5.5/maps/stripeB7.jpg', 1260: ('phase_5.5/maps/stripeB7.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1300: ('phase_5.5/maps/squiggle1.jpg', 1300: ('phase_5.5/maps/squiggle1.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1310: ('phase_5.5/maps/squiggle2.jpg', 1310: ('phase_5.5/maps/squiggle2.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1320: ('phase_5.5/maps/squiggle3.jpg', 1320: ('phase_5.5/maps/squiggle3.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1330: ('phase_5.5/maps/squiggle4.jpg', 1330: ('phase_5.5/maps/squiggle4.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1340: ('phase_5.5/maps/squiggle5.jpg', 1340: ('phase_5.5/maps/squiggle5.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1350: ('phase_5.5/maps/squiggle6.jpg', 1350: ('phase_5.5/maps/squiggle6.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1400: ('phase_5.5/maps/stripes_cyan.jpg', 1400: ('phase_5.5/maps/stripes_cyan.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1410: ('phase_5.5/maps/stripes_green.jpg', 1410: ('phase_5.5/maps/stripes_green.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1420: ('phase_5.5/maps/stripes_magenta.jpg', 1420: ('phase_5.5/maps/stripes_magenta.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1430: ('phase_5.5/maps/two_stripes1.jpg', 1430: ('phase_5.5/maps/two_stripes1.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1440: ('phase_5.5/maps/two_stripes2.jpg', 1440: ('phase_5.5/maps/two_stripes2.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1450: ('phase_5.5/maps/two_stripes3.jpg', 1450: ('phase_5.5/maps/two_stripes3.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1500: ('phase_5.5/maps/leaves1.jpg', 1500: ('phase_5.5/maps/leaves1.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1510: ('phase_5.5/maps/leaves2.jpg', 1510: ('phase_5.5/maps/leaves2.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1520: ('phase_5.5/maps/leaves3.jpg', 1520: ('phase_5.5/maps/leaves3.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1600: ('phase_5.5/maps/diamonds2_cherries.jpg', 1600: ('phase_5.5/maps/diamonds2_cherries.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1610: ('phase_5.5/maps/diamonds3_cherries.jpg', 1610: ('phase_5.5/maps/diamonds3_cherries.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1620: ('phase_5.5/maps/diamonds3_cherry.jpg', 1620: ('phase_5.5/maps/diamonds3_cherry.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1630: ('phase_5.5/maps/diamonds4_cherries.jpg', 1630: ('phase_5.5/maps/diamonds4_cherries.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1640: ('phase_5.5/maps/diamonds4_cherry.jpg', 1640: ('phase_5.5/maps/diamonds4_cherry.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1650: ('phase_5.5/maps/diamonds5_cherries.jpg', 1650: ('phase_5.5/maps/diamonds5_cherries.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1660: ('phase_5.5/maps/diamonds6_cherry.jpg', 1660: ('phase_5.5/maps/diamonds6_cherry.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1700: ('phase_5.5/maps/moon1.jpg', 1700: ('phase_5.5/maps/moon1.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1710: ('phase_5.5/maps/moon2.jpg', 1710: ('phase_5.5/maps/moon2.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1720: ('phase_5.5/maps/moon3.jpg', 1720: ('phase_5.5/maps/moon3.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1730: ('phase_5.5/maps/moon4.jpg', 1730: ('phase_5.5/maps/moon4.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1740: ('phase_5.5/maps/moon5.jpg', 1740: ('phase_5.5/maps/moon5.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1750: ('phase_5.5/maps/moon6.jpg', 1750: ('phase_5.5/maps/moon6.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1760: ('phase_5.5/maps/moon7.jpg', 1760: ('phase_5.5/maps/moon7.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1800: ('phase_5.5/maps/stars1.jpg', 1800: ('phase_5.5/maps/stars1.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1810: ('phase_5.5/maps/stars2.jpg', 1810: ('phase_5.5/maps/stars2.png',
(CT_BLUE2, CT_PINK2, CT_RED), (CT_BLUE2, CT_PINK2, CT_RED),
(0,), (0,),
180), 180),
1820: ('phase_5.5/maps/stars3.jpg', 1820: ('phase_5.5/maps/stars3.png',
(CT_BLUE2, (CT_BLUE2,
CT_PINK2, CT_PINK2,
CT_RED, CT_RED,
CT_WHITE), CT_WHITE),
(0,), (0,),
180), 180),
1830: ('phase_5.5/maps/stars4.jpg', 1830: ('phase_5.5/maps/stars4.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1840: ('phase_5.5/maps/stars5.jpg', 1840: ('phase_5.5/maps/stars5.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1850: ('phase_5.5/maps/stars6.jpg', 1850: ('phase_5.5/maps/stars6.png',
CTWhite, CTWhite,
(0,), (0,),
180), 180),
1860: ('phase_5.5/maps/stars7.jpg', 1860: ('phase_5.5/maps/stars7.png',
(CT_BEIGE2, CT_WHITE), (CT_BEIGE2, CT_WHITE),
(0,), (0,),
180), 180),
1900: ('phase_5.5/maps/wall_paper_flower1.jpg', 1900: ('phase_5.5/maps/wall_paper_flower1.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1910: ('phase_5.5/maps/wall_paper_flower2.jpg', 1910: ('phase_5.5/maps/wall_paper_flower2.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1920: ('phase_5.5/maps/wall_paper_flower3.jpg', 1920: ('phase_5.5/maps/wall_paper_flower3.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1930: ('phase_5.5/maps/wall_paper_flower4.jpg', 1930: ('phase_5.5/maps/wall_paper_flower4.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1940: ('phase_5.5/maps/wall_paper_flower5.jpg', 1940: ('phase_5.5/maps/wall_paper_flower5.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
1950: ('phase_5.5/maps/wall_paper_flower6.jpg', 1950: ('phase_5.5/maps/wall_paper_flower6.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
2000: ('phase_5.5/maps/flat_wallpaper1.jpg', 2000: ('phase_5.5/maps/flat_wallpaper1.png',
(CT_BEIGE, CT_BEIGE2, CT_RED), (CT_BEIGE, CT_BEIGE2, CT_RED),
(1050,), (1050,),
180), 180),
2010: ('phase_5.5/maps/flat_wallpaper1.jpg', 2010: ('phase_5.5/maps/flat_wallpaper1.png',
(CT_BLUE2, CT_PINK2), (CT_BLUE2, CT_PINK2),
(1060,), (1060,),
180), 180),
2020: ('phase_5.5/maps/flat_wallpaper1.jpg', 2020: ('phase_5.5/maps/flat_wallpaper1.png',
(CT_BEIGE2, (CT_BEIGE2,
CT_BLUE2, CT_BLUE2,
CT_PINK2, CT_PINK2,
@ -256,207 +256,207 @@ WallpaperTypes = {1000: ('phase_5.5/maps/flat_wallpaper1.jpg',
CT_RED), CT_RED),
(1070,), (1070,),
180), 180),
2100: ('phase_5.5/maps/big_stripes1.jpg', 2100: ('phase_5.5/maps/big_stripes1.png',
CTWhite, CTWhite,
(1050,), (1050,),
180), 180),
2110: ('phase_5.5/maps/big_stripes2.jpg', 2110: ('phase_5.5/maps/big_stripes2.png',
CTWhite, CTWhite,
(1050,), (1050,),
180), 180),
2120: ('phase_5.5/maps/big_stripes3.jpg', 2120: ('phase_5.5/maps/big_stripes3.png',
CTWhite, CTWhite,
(1060,), (1060,),
180), 180),
2130: ('phase_5.5/maps/big_stripes3.jpg', 2130: ('phase_5.5/maps/big_stripes3.png',
CTWhite, CTWhite,
(1070,), (1070,),
180), 180),
2140: ('phase_5.5/maps/big_stripes6.jpg', 2140: ('phase_5.5/maps/big_stripes6.png',
CTWhite, CTWhite,
(1070,), (1070,),
180), 180),
2200: ('phase_5.5/maps/wall_paper_car.jpg', 2200: ('phase_5.5/maps/wall_paper_car.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
2210: ('phase_5.5/maps/wall_paper_car_neutral.jpg', 2210: ('phase_5.5/maps/wall_paper_car_neutral.png',
CTFlatColor, CTFlatColor,
(0, 1000), (0, 1000),
180), 180),
2300: ('phase_5.5/maps/wall_paper_football_neutral.jpg', 2300: ('phase_5.5/maps/wall_paper_football_neutral.png',
CTFlatColor, CTFlatColor,
(0, 1080), (0, 1080),
180), 180),
2400: ('phase_5.5/maps/wall_paper_clouds.jpg', 2400: ('phase_5.5/maps/wall_paper_clouds.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
2500: ('phase_5.5/maps/wall_paper_vine_neutral.jpg', 2500: ('phase_5.5/maps/wall_paper_vine_neutral.png',
CTFlatColorAll, CTFlatColorAll,
(0, 1090), (0, 1090),
180), 180),
2600: ('phase_5.5/maps/basket.jpg', 2600: ('phase_5.5/maps/basket.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
2610: ('phase_5.5/maps/basket_neutral.jpg', 2610: ('phase_5.5/maps/basket_neutral.png',
CTFlatColor, CTFlatColor,
(0, 1000), (0, 1000),
180), 180),
2700: ('phase_5.5/maps/doll.jpg', 2700: ('phase_5.5/maps/doll.png',
CTWhite, CTWhite,
(0, 1000, 1110), (0, 1000, 1110),
180), 180),
2710: ('phase_5.5/maps/doll_neutral.jpg', 2710: ('phase_5.5/maps/doll_neutral.png',
CTFlatColor, CTFlatColor,
(0, 1100, 1110), (0, 1100, 1110),
180), 180),
2800: ('phase_5.5/maps/littleFlowers.jpg', 2800: ('phase_5.5/maps/littleFlowers.png',
CTWhite, CTWhite,
(0, 1000), (0, 1000),
180), 180),
2810: ('phase_5.5/maps/littleFlowers_neutral.jpg', 2810: ('phase_5.5/maps/littleFlowers_neutral.png',
CTFlatColor, CTFlatColor,
(0, 1000), (0, 1000),
180), 180),
2900: ('phase_5.5/maps/UWwallPaperAngelFish.jpg', 2900: ('phase_5.5/maps/UWwallPaperAngelFish.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
2910: ('phase_5.5/maps/UWwallPaperAngelFishColor.jpg', 2910: ('phase_5.5/maps/UWwallPaperAngelFishColor.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
2920: ('phase_5.5/maps/UWwallPaperBubbles.jpg', 2920: ('phase_5.5/maps/UWwallPaperBubbles.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
2930: ('phase_5.5/maps/UWwallPaperBubbles2.jpg', 2930: ('phase_5.5/maps/UWwallPaperBubbles2.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
2940: ('phase_5.5/maps/UWwallPaperGreenFish.jpg', 2940: ('phase_5.5/maps/UWwallPaperGreenFish.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
2950: ('phase_5.5/maps/UWwallPaperRedFish.jpg', 2950: ('phase_5.5/maps/UWwallPaperRedFish.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
2960: ('phase_5.5/maps/UWwallPaperSea_horse.jpg', 2960: ('phase_5.5/maps/UWwallPaperSea_horse.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
2970: ('phase_5.5/maps/UWwallPaperShells.jpg', 2970: ('phase_5.5/maps/UWwallPaperShells.png',
CTWhite, CTWhite,
(0, 1140, 1150), (0, 1140, 1150),
180), 180),
2980: ('phase_5.5/maps/UWwaterFloor1.jpg', 2980: ('phase_5.5/maps/UWwaterFloor1.png',
(CT_WHITE, CT_PALE_GREEN, CT_LIGHT_BLUE), (CT_WHITE, CT_PALE_GREEN, CT_LIGHT_BLUE),
(0,), (0,),
180), 180),
3000: ('phase_5.5/maps/UWwallPaperBubbles.jpg', 3000: ('phase_5.5/maps/UWwallPaperBubbles.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
3100: ('phase_5.5/maps/UWwallPaperBubbles2.jpg', 3100: ('phase_5.5/maps/UWwallPaperBubbles2.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
3200: ('phase_5.5/maps/UWwallPaperGreenFish.jpg', 3200: ('phase_5.5/maps/UWwallPaperGreenFish.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
3300: ('phase_5.5/maps/UWwallPaperRedFish.jpg', 3300: ('phase_5.5/maps/UWwallPaperRedFish.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
3400: ('phase_5.5/maps/UWwallPaperSea_horse.jpg', 3400: ('phase_5.5/maps/UWwallPaperSea_horse.png',
CTWhite, CTWhite,
(0, 1120, 1160), (0, 1120, 1160),
180), 180),
3500: ('phase_5.5/maps/UWwallPaperShells.jpg', 3500: ('phase_5.5/maps/UWwallPaperShells.png',
(CT_WHITE, CT_SEA_GREEN, CT_LIGHT_BLUE), (CT_WHITE, CT_SEA_GREEN, CT_LIGHT_BLUE),
(0, 1140, 1150), (0, 1140, 1150),
180), 180),
3600: ('phase_5.5/maps/UWwaterFloor1.jpg', 3600: ('phase_5.5/maps/UWwaterFloor1.png',
(CT_WHITE, CT_PALE_GREEN, CT_LIGHT_BLUE), (CT_WHITE, CT_PALE_GREEN, CT_LIGHT_BLUE),
(0,), (0,),
180), 180),
3700: ('phase_5.5/maps/WesternBootWallpaper1.jpg', 3700: ('phase_5.5/maps/WesternBootWallpaper1.png',
CTWhite, CTWhite,
(0, 1170, 1180), (0, 1170, 1180),
180), 180),
3800: ('phase_5.5/maps/WesternCactusWallpaper1.jpg', 3800: ('phase_5.5/maps/WesternCactusWallpaper1.png',
CTWhite, CTWhite,
(0, 1170, 1180), (0, 1170, 1180),
180), 180),
3900: ('phase_5.5/maps/WesternHatWallpaper1.jpg', 3900: ('phase_5.5/maps/WesternHatWallpaper1.png',
CTWhite, CTWhite,
(0, 1170, 1180), (0, 1170, 1180),
180), 180),
10100: ('phase_5.5/maps/cats1.jpg', 10100: ('phase_5.5/maps/cats1.png',
CTWhite, CTWhite,
(0, 10010, 10020), (0, 10010, 10020),
400), 400),
10200: ('phase_5.5/maps/bats2.jpg', 10200: ('phase_5.5/maps/bats2.png',
CTWhite, CTWhite,
(0, 10010, 10020), (0, 10010, 10020),
400), 400),
11000: ('phase_5.5/maps/wall_paper_snowflakes.jpg', 11000: ('phase_5.5/maps/wall_paper_snowflakes.png',
CTWhite, CTWhite,
(0, 11000, 11010), (0, 11000, 11010),
400), 400),
11100: ('phase_5.5/maps/wall_paper_hollyleaf.jpg', 11100: ('phase_5.5/maps/wall_paper_hollyleaf.png',
CTWhite, CTWhite,
(0, 11000, 11010), (0, 11000, 11010),
400), 400),
11200: ('phase_5.5/maps/wall_paper_snowman.jpg', 11200: ('phase_5.5/maps/wall_paper_snowman.png',
CTWhite, CTWhite,
(0, 11000, 11010), (0, 11000, 11010),
400), 400),
12000: ('phase_5.5/maps/VdayWall1.jpg', 12000: ('phase_5.5/maps/VdayWall1.png',
CTWhite, CTWhite,
(0, (0,
12000, 12000,
12010, 12010,
12020), 12020),
400), 400),
12100: ('phase_5.5/maps/VdayWall2.jpg', 12100: ('phase_5.5/maps/VdayWall2.png',
CTWhite, CTWhite,
(0, (0,
12000, 12000,
12010, 12010,
12020), 12020),
400), 400),
12200: ('phase_5.5/maps/VdayWall3.jpg', 12200: ('phase_5.5/maps/VdayWall3.png',
CTWhite, CTWhite,
(0, (0,
12000, 12000,
12010, 12010,
12020), 12020),
400), 400),
12300: ('phase_5.5/maps/VdayWall4.jpg', 12300: ('phase_5.5/maps/VdayWall4.png',
CTWhite, CTWhite,
(0, (0,
12000, 12000,
12010, 12010,
12020), 12020),
400), 400),
13000: ('phase_5.5/maps/StPatWallpaper1.jpg', 13000: ('phase_5.5/maps/StPatWallpaper1.png',
CTWhite, CTWhite,
(0, 13000), (0, 13000),
400), 400),
13100: ('phase_5.5/maps/StPatWallpaper2.jpg', 13100: ('phase_5.5/maps/StPatWallpaper2.png',
CTWhite, CTWhite,
(0, 13000), (0, 13000),
400), 400),
13200: ('phase_5.5/maps/StPatWallpaper3.jpg', 13200: ('phase_5.5/maps/StPatWallpaper3.png',
CTWhite, CTWhite,
(0, 13000), (0, 13000),
400), 400),
13300: ('phase_5.5/maps/StPatWallpaper4.jpg', 13300: ('phase_5.5/maps/StPatWallpaper4.png',
CTWhite, CTWhite,
(0, 13000), (0, 13000),
400)} 400)}
@ -524,33 +524,33 @@ WallpaperGroups = {1100: (1100,
2700: (2700, 2710), 2700: (2700, 2710),
2800: (2800, 2810), 2800: (2800, 2810),
2900: (2900, 2910)} 2900: (2900, 2910)}
BorderTypes = {1000: ('phase_5.5/maps/bd_grey_border1.jpg', CTFlatColorDark), BorderTypes = {1000: ('phase_5.5/maps/bd_grey_border1.png', CTFlatColorDark),
1010: ('phase_5.5/maps/diamonds_border2.jpg', CTWhite), 1010: ('phase_5.5/maps/diamonds_border2.png', CTWhite),
1020: ('phase_5.5/maps/diamonds_border2ch.jpg', CTWhite), 1020: ('phase_5.5/maps/diamonds_border2ch.png', CTWhite),
1030: ('phase_5.5/maps/diamonds_border3ch.jpg', CTWhite), 1030: ('phase_5.5/maps/diamonds_border3ch.png', CTWhite),
1040: ('phase_5.5/maps/diamonds_border4ch.jpg', CTWhite), 1040: ('phase_5.5/maps/diamonds_border4ch.png', CTWhite),
1050: ('phase_5.5/maps/flower_border2.jpg', CTWhite), 1050: ('phase_5.5/maps/flower_border2.png', CTWhite),
1060: ('phase_5.5/maps/flower_border5.jpg', CTWhite), 1060: ('phase_5.5/maps/flower_border5.png', CTWhite),
1070: ('phase_5.5/maps/flower_border6.jpg', CTWhite), 1070: ('phase_5.5/maps/flower_border6.png', CTWhite),
1080: ('phase_5.5/maps/football_border_neutral.jpg', CTFlatColorDark), 1080: ('phase_5.5/maps/football_border_neutral.png', CTFlatColorDark),
1090: ('phase_5.5/maps/vine_border1.jpg', CTFlatColorDark), 1090: ('phase_5.5/maps/vine_border1.png', CTFlatColorDark),
1100: ('phase_5.5/maps/doll_board.jpg', CTWhite), 1100: ('phase_5.5/maps/doll_board.png', CTWhite),
1110: ('phase_5.5/maps/doll_board_neutral.jpg', CTFlatColorDark), 1110: ('phase_5.5/maps/doll_board_neutral.png', CTFlatColorDark),
1120: ('phase_5.5/maps/UWwallPaperPlantBorder.jpg', CTWhite), 1120: ('phase_5.5/maps/UWwallPaperPlantBorder.png', CTWhite),
1130: ('phase_5.5/maps/UWwallPaperSea_horseBorder.jpg', CTWhite), 1130: ('phase_5.5/maps/UWwallPaperSea_horseBorder.png', CTWhite),
1140: ('phase_5.5/maps/UWwallPaperShellBorder1.jpg', CTWhite), 1140: ('phase_5.5/maps/UWwallPaperShellBorder1.png', CTWhite),
1150: ('phase_5.5/maps/UWwallPaperShellBorder2.jpg', CTWhite), 1150: ('phase_5.5/maps/UWwallPaperShellBorder2.png', CTWhite),
1160: ('phase_5.5/maps/UWwallPaperWaveBorder.jpg', CTWhite), 1160: ('phase_5.5/maps/UWwallPaperWaveBorder.png', CTWhite),
1170: ('phase_5.5/maps/WesternSkullBorder.jpg', CTWhite), 1170: ('phase_5.5/maps/WesternSkullBorder.png', CTWhite),
1180: ('phase_5.5/maps/WesternStarBorder.jpg', CTWhite), 1180: ('phase_5.5/maps/WesternStarBorder.png', CTWhite),
10010: ('phase_5.5/maps/border_ScarryMoon1.jpg', CTWhite), 10010: ('phase_5.5/maps/border_ScarryMoon1.png', CTWhite),
10020: ('phase_5.5/maps/border_candy1.jpg', CTWhite), 10020: ('phase_5.5/maps/border_candy1.png', CTWhite),
11000: ('phase_5.5/maps/flakes_border.jpg', CTWhite), 11000: ('phase_5.5/maps/flakes_border.png', CTWhite),
11010: ('phase_5.5/maps/hollyleaf_border.jpg', CTWhite), 11010: ('phase_5.5/maps/hollyleaf_border.png', CTWhite),
12000: ('phase_5.5/maps/Vborder1a.jpg', CTWhite), 12000: ('phase_5.5/maps/Vborder1a.png', CTWhite),
12010: ('phase_5.5/maps/Vborder1b.jpg', CTWhite), 12010: ('phase_5.5/maps/Vborder1b.png', CTWhite),
12020: ('phase_5.5/maps/Vborder2b.jpg', CTWhite), 12020: ('phase_5.5/maps/Vborder2b.png', CTWhite),
13000: ('phase_5.5/maps/StPatBorder1.jpg', CTWhite)} 13000: ('phase_5.5/maps/StPatBorder1.png', CTWhite)}
class CatalogWallpaperItem(CatalogSurfaceItem): class CatalogWallpaperItem(CatalogSurfaceItem):

View file

@ -252,8 +252,8 @@ class Char(Avatar.Avatar):
self.eyesOpen = None self.eyesOpen = None
self.eyesClosed = None self.eyesClosed = None
if self._name == 'mickey' or self._name == 'minnie': if self._name == 'mickey' or self._name == 'minnie':
self.eyesOpen = loader.loadTexture('phase_3/maps/eyes1.jpg', 'phase_3/maps/eyes1_a.rgb') self.eyesOpen = loader.loadTexture('phase_3/maps/eyes1.png')
self.eyesClosed = loader.loadTexture('phase_3/maps/mickey_eyes_closed.jpg', 'phase_3/maps/mickey_eyes_closed_a.rgb') self.eyesClosed = loader.loadTexture('phase_3/maps/mickey_eyes_closed.png')
self.eyes = self.find('**/1200/**/eyes') self.eyes = self.find('**/1200/**/eyes')
self.eyes.setBin('transparent', 0) self.eyes.setBin('transparent', 0)
self.lpupil = self.find('**/1200/**/joint_pupilL') self.lpupil = self.find('**/1200/**/joint_pupilL')
@ -285,8 +285,8 @@ class Char(Avatar.Avatar):
part.hide() part.hide()
elif self._name == 'pluto': elif self._name == 'pluto':
self.eyesOpen = loader.loadTexture('phase_6/maps/plutoEyesOpen.jpg', 'phase_6/maps/plutoEyesOpen_a.rgb') self.eyesOpen = loader.loadTexture('phase_6/maps/plutoEyesOpen.png')
self.eyesClosed = loader.loadTexture('phase_6/maps/plutoEyesClosed.jpg', 'phase_6/maps/plutoEyesClosed_a.rgb') self.eyesClosed = loader.loadTexture('phase_6/maps/plutoEyesClosed.png')
self.eyes = self.find('**/1000/**/eyes') self.eyes = self.find('**/1000/**/eyes')
self.lpupil = self.find('**/1000/**/joint_pupilL') self.lpupil = self.find('**/1000/**/joint_pupilL')
self.rpupil = self.find('**/1000/**/joint_pupilR') self.rpupil = self.find('**/1000/**/joint_pupilR')
@ -317,8 +317,8 @@ class Char(Avatar.Avatar):
self.rpupil = self.find('**/joint_pupilR') self.rpupil = self.find('**/joint_pupilR')
self.drawInFront('joint_pupil?', 'eyes*', -3) self.drawInFront('joint_pupil?', 'eyes*', -3)
elif self._name == 'chip' or self._name == 'dale': elif self._name == 'chip' or self._name == 'dale':
self.eyesOpen = loader.loadTexture('phase_6/maps/dale_eye1.jpg', 'phase_6/maps/dale_eye1_a.rgb') self.eyesOpen = loader.loadTexture('phase_6/maps/dale_eye1.png')
self.eyesClosed = loader.loadTexture('phase_6/maps/chip_dale_eye1_blink.jpg', 'phase_6/maps/chip_dale_eye1_blink_a.rgb') self.eyesClosed = loader.loadTexture('phase_6/maps/chip_dale_eye1_blink.png')
self.eyes = self.find('**/eyes') self.eyes = self.find('**/eyes')
self.lpupil = self.find('**/pupil_left') self.lpupil = self.find('**/pupil_left')
self.rpupil = self.find('**/pupil_right') self.rpupil = self.find('**/pupil_right')

View file

@ -34,8 +34,8 @@ class DistributedCogdoBarrel(DistributedObject.DistributedObject):
cogdoBarrelsNode = render.attachNewNode('CogdoBarrels') cogdoBarrelsNode = render.attachNewNode('CogdoBarrels')
cogdoBarrelsNode.stash() cogdoBarrelsNode.stash()
self.model.reparentTo(cogdoBarrelsNode) self.model.reparentTo(cogdoBarrelsNode)
self.availableTex = loader.loadTexture('phase_5/maps/tt_t_ara_cbr_Barrel_notUsed.jpg') self.availableTex = loader.loadTexture('phase_5/maps/tt_t_ara_cbr_Barrel_notUsed.png')
self.usedTex = loader.loadTexture('phase_5/maps/tt_t_ara_cbr_Barrel_Used.jpg') self.usedTex = loader.loadTexture('phase_5/maps/tt_t_ara_cbr_Barrel_Used.png')
self.model.setTexture(self.availableTex, 100) self.model.setTexture(self.availableTex, 100)
def __addCollision(self): def __addCollision(self):

View file

@ -98,10 +98,10 @@ class DistributedToonStatuary(DistributedStatuary.DistributedStatuary):
for node in self.toon.findAllMatches('**/*'): for node in self.toon.findAllMatches('**/*'):
node.setState(RenderState.makeEmpty()) node.setState(RenderState.makeEmpty())
desatShirtTex = loader.loadTexture('phase_3/maps/desat_shirt_1.jpg') desatShirtTex = loader.loadTexture('phase_3/maps/desat_shirt_1.png')
desatSleeveTex = loader.loadTexture('phase_3/maps/desat_sleeve_1.jpg') desatSleeveTex = loader.loadTexture('phase_3/maps/desat_sleeve_1.png')
desatShortsTex = loader.loadTexture('phase_3/maps/desat_shorts_1.jpg') desatShortsTex = loader.loadTexture('phase_3/maps/desat_shorts_1.png')
desatSkirtTex = loader.loadTexture('phase_3/maps/desat_skirt_1.jpg') desatSkirtTex = loader.loadTexture('phase_3/maps/desat_skirt_1.png')
if self.toon.hasLOD(): if self.toon.hasLOD():
for lodName in self.toon.getLODNames(): for lodName in self.toon.getLODNames():
torso = self.toon.getPart('torso', lodName) torso = self.toon.getPart('torso', lodName)
@ -123,7 +123,7 @@ class DistributedToonStatuary(DistributedStatuary.DistributedStatuary):
def setStoneTexture(self): def setStoneTexture(self):
gray = VBase4(1.6, 1.6, 1.6, 1) gray = VBase4(1.6, 1.6, 1.6, 1)
self.toon.setColor(gray, 10) self.toon.setColor(gray, 10)
stoneTex = loader.loadTexture('phase_5.5/maps/smoothwall_1.jpg') stoneTex = loader.loadTexture('phase_5.5/maps/smoothwall_1.png')
ts = TextureStage('ts') ts = TextureStage('ts')
ts.setPriority(1) ts.setPriority(1)
self.toon.setTexture(ts, stoneTex) self.toon.setTexture(ts, stoneTex)

View file

@ -9,7 +9,7 @@ from toontown.toonbase import TTLocalizer
class StreetSign(DistributedObject.DistributedObject): class StreetSign(DistributedObject.DistributedObject):
RedownloadTaskName = 'RedownloadStreetSign' RedownloadTaskName = 'RedownloadStreetSign'
StreetSignFileName = config.GetString('street-sign-filename', 'texture.jpg') StreetSignFileName = config.GetString('street-sign-filename', 'texture.png')
StreetSignBaseDir = config.GetString('street-sign-base-dir', 'sign') StreetSignBaseDir = config.GetString('street-sign-base-dir', 'sign')
StreetSignUrl = base.config.GetString('street-sign-url', 'http://cdn.toontown.disney.go.com/toontown/en/street-signs/img/') StreetSignUrl = base.config.GetString('street-sign-url', 'http://cdn.toontown.disney.go.com/toontown/en/street-signs/img/')
notify = DirectNotifyGlobal.directNotify.newCategory('StreetSign') notify = DirectNotifyGlobal.directNotify.newCategory('StreetSign')

View file

@ -137,10 +137,10 @@ class DistributedTargetGame(DistributedMinigame):
UPDATE_RUBBER_BAND_PRIORITY = 2 UPDATE_RUBBER_BAND_PRIORITY = 2
COLLISION_DETECTION_PRIORITY = 5 COLLISION_DETECTION_PRIORITY = 5
UPDATE_SHADOWS_PRIORITY = 47 UPDATE_SHADOWS_PRIORITY = 47
UMBRELLA_TEXTURE_LIST = ['phase_4/maps/mg_slingshot_umbrella_blue.jpg', UMBRELLA_TEXTURE_LIST = ['phase_4/maps/mg_slingshot_umbrella_blue.png',
'phase_4/maps/mg_slingshot_umbrella_purple.jpg', 'phase_4/maps/mg_slingshot_umbrella_purple.png',
'phase_4/maps/mg_slingshot_umbrella_red.jpg', 'phase_4/maps/mg_slingshot_umbrella_red.png',
'phase_4/maps/mg_slingshot_umbrella_yellow.jpg'] 'phase_4/maps/mg_slingshot_umbrella_yellow.png']
RT_UNKNOWN = 0 RT_UNKNOWN = 0
RT_SUCCESS = 1 RT_SUCCESS = 1
RT_GROUPSUCCESS = 2 RT_GROUPSUCCESS = 2

View file

@ -51,15 +51,15 @@ class Purchase(PurchaseBase):
self.bg = loader.loadModel('phase_%s/models/modules/toon_interior' % interiorPhase) self.bg = loader.loadModel('phase_%s/models/modules/toon_interior' % interiorPhase)
self.bg.setPos(0.0, 5.0, -1.0) self.bg.setPos(0.0, 5.0, -1.0)
self.wt = self.bg.find('**/random_tc1_TI_wallpaper') self.wt = self.bg.find('**/random_tc1_TI_wallpaper')
wallTex = loader.loadTexture('phase_%s/maps/wall_paper_a5.jpg' % interiorPhase) wallTex = loader.loadTexture('phase_%s/maps/wall_paper_a5.png' % interiorPhase)
self.wt.setTexture(wallTex, 100) self.wt.setTexture(wallTex, 100)
self.wt.setColorScale(0.8, 0.67, 0.549, 1.0) self.wt.setColorScale(0.8, 0.67, 0.549, 1.0)
self.bt = self.bg.find('**/random_tc1_TI_wallpaper_border') self.bt = self.bg.find('**/random_tc1_TI_wallpaper_border')
wallTex = loader.loadTexture('phase_%s/maps/wall_paper_a5.jpg' % interiorPhase) wallTex = loader.loadTexture('phase_%s/maps/wall_paper_a5.png' % interiorPhase)
self.bt.setTexture(wallTex, 100) self.bt.setTexture(wallTex, 100)
self.bt.setColorScale(0.8, 0.67, 0.549, 1.0) self.bt.setColorScale(0.8, 0.67, 0.549, 1.0)
self.wb = self.bg.find('**/random_tc1_TI_wainscotting') self.wb = self.bg.find('**/random_tc1_TI_wainscotting')
wainTex = loader.loadTexture('phase_%s/maps/wall_paper_b4.jpg' % interiorPhase) wainTex = loader.loadTexture('phase_%s/maps/wall_paper_b4.png' % interiorPhase)
self.wb.setTexture(wainTex, 100) self.wb.setTexture(wainTex, 100)
self.wb.setColorScale(0.473, 0.675, 0.488, 1.0) self.wb.setColorScale(0.473, 0.675, 0.488, 1.0)
self.playAgain = DirectButton(parent=self.frame, relief=None, scale=1.04, pos=(0.72, 0, -0.24), image=(purchaseModels.find('**/PurchScrn_BTN_UP'), self.playAgain = DirectButton(parent=self.frame, relief=None, scale=1.04, pos=(0.72, 0, -0.24), image=(purchaseModels.find('**/PurchScrn_BTN_UP'),

View file

@ -111,7 +111,7 @@ class SwingVine(NodePath):
self.link1 = self.links[-2][0] self.link1 = self.links[-2][0]
self.rope = self.makeSpline() self.rope = self.makeSpline()
self.rope.reparentTo(self.root) self.rope.reparentTo(self.root)
myTexture = loader.loadTexture('phase_4/maps/swinging_vine.jpg') myTexture = loader.loadTexture('phase_4/maps/swinging_vine.png')
gameAssets = loader.loadModel('phase_4/models/minigames/vine_game') gameAssets = loader.loadModel('phase_4/models/minigames/vine_game')
vine = gameAssets.find('**/vine1') vine = gameAssets.find('**/vine1')
self.cableTex = vine.findTexture('*') self.cableTex = vine.findTexture('*')

View file

@ -9,7 +9,7 @@ class DistributedPartyJukebox40Activity(DistributedPartyJukeboxActivityBase):
def load(self): def load(self):
DistributedPartyJukeboxActivityBase.load(self) DistributedPartyJukeboxActivityBase.load(self)
newTexture = loader.loadTexture('phase_13/maps/tt_t_ara_pty_jukeboxBlue.jpg', 'phase_13/maps/tt_t_ara_pty_jukeboxBlue_a.rgb') newTexture = loader.loadTexture('phase_13/maps/tt_t_ara_pty_jukeboxBlue.png')
case = self.jukebox.find('**/jukeboxGlass') case = self.jukebox.find('**/jukeboxGlass')
if not case.isEmpty(): if not case.isEmpty():
case.setTexture(newTexture, 1) case.setTexture(newTexture, 1)

View file

@ -9,7 +9,7 @@ class DistributedPartyValentineJukebox40Activity(DistributedPartyJukeboxActivity
def load(self): def load(self):
DistributedPartyJukeboxActivityBase.load(self) DistributedPartyJukeboxActivityBase.load(self)
newTexture = loader.loadTexture('phase_13/maps/tt_t_ara_pty_jukeboxValentineB.jpg', 'phase_13/maps/tt_t_ara_pty_jukeboxValentineB_a.rgb') newTexture = loader.loadTexture('phase_13/maps/tt_t_ara_pty_jukeboxValentineB.png')
case = self.jukebox.find('**/jukeboxGlass') case = self.jukebox.find('**/jukeboxGlass')
if not case.isEmpty(): if not case.isEmpty():
case.setTexture(newTexture, 1) case.setTexture(newTexture, 1)

View file

@ -9,7 +9,7 @@ class DistributedPartyValentineJukeboxActivity(DistributedPartyJukeboxActivityBa
def load(self): def load(self):
DistributedPartyJukeboxActivityBase.load(self) DistributedPartyJukeboxActivityBase.load(self)
newTexture = loader.loadTexture('phase_13/maps/tt_t_ara_pty_jukeboxValentineA.jpg', 'phase_13/maps/tt_t_ara_pty_jukeboxValentineA_a.rgb') newTexture = loader.loadTexture('phase_13/maps/tt_t_ara_pty_jukeboxValentineA.png')
case = self.jukebox.find('**/jukeboxGlass') case = self.jukebox.find('**/jukeboxGlass')
if not case.isEmpty(): if not case.isEmpty():
case.setTexture(newTexture, 1) case.setTexture(newTexture, 1)

View file

@ -3,4 +3,4 @@ from toontown.parties.DistributedPartyTrampolineActivity import DistributedParty
class DistributedPartyValentineTrampolineActivity(DistributedPartyTrampolineActivity): class DistributedPartyValentineTrampolineActivity(DistributedPartyTrampolineActivity):
def __init__(self, cr, doJellyBeans = True, doTricks = False, texture = None): def __init__(self, cr, doJellyBeans = True, doTricks = False, texture = None):
DistributedPartyTrampolineActivity.__init__(self, cr, doJellyBeans, doTricks, 'phase_13/maps/tt_t_ara_pty_trampolineValentine.jpg') DistributedPartyTrampolineActivity.__init__(self, cr, doJellyBeans, doTricks, 'phase_13/maps/tt_t_ara_pty_trampolineValentine.png')

View file

@ -3,4 +3,4 @@ from toontown.parties.DistributedPartyTrampolineActivity import DistributedParty
class DistributedPartyVictoryTrampolineActivity(DistributedPartyTrampolineActivity): class DistributedPartyVictoryTrampolineActivity(DistributedPartyTrampolineActivity):
def __init__(self, cr, doJellyBeans = True, doTricks = False, texture = None): def __init__(self, cr, doJellyBeans = True, doTricks = False, texture = None):
DistributedPartyTrampolineActivity.__init__(self, cr, doJellyBeans, doTricks, 'phase_13/maps/tt_t_ara_pty_trampolineVictory.jpg') DistributedPartyTrampolineActivity.__init__(self, cr, doJellyBeans, doTricks, 'phase_13/maps/tt_t_ara_pty_trampolineVictory.png')

View file

@ -3,4 +3,4 @@ from toontown.parties.DistributedPartyTrampolineActivity import DistributedParty
class DistributedPartyWinterTrampolineActivity(DistributedPartyTrampolineActivity): class DistributedPartyWinterTrampolineActivity(DistributedPartyTrampolineActivity):
def __init__(self, cr, doJellyBeans = True, doTricks = False, texture = None): def __init__(self, cr, doJellyBeans = True, doTricks = False, texture = None):
DistributedPartyTrampolineActivity.__init__(self, cr, doJellyBeans, doTricks, 'phase_13/maps/tt_t_ara_pty_trampolineWinter.jpg') DistributedPartyTrampolineActivity.__init__(self, cr, doJellyBeans, doTricks, 'phase_13/maps/tt_t_ara_pty_trampolineWinter.png')

View file

@ -97,8 +97,7 @@ class PartyCogActivity(DirectObject):
signLocator = self.arena.find('**/eventSign_locator') signLocator = self.arena.find('**/eventSign_locator')
self.activity.sign.setPos(signLocator.getPos(self.root)) self.activity.sign.setPos(signLocator.getPos(self.root))
if self.texture: if self.texture:
textureAlpha = self.texture[:-4] + '_a.rgb' reskinTexture = loader.loadTexture(self.texture)
reskinTexture = loader.loadTexture(self.texture, textureAlpha)
self.arena.find('**/center_grp').setTexture(reskinTexture, 100) self.arena.find('**/center_grp').setTexture(reskinTexture, 100)
self.arena.find('**/leftSide_grp').setTexture(reskinTexture, 100) self.arena.find('**/leftSide_grp').setTexture(reskinTexture, 100)
self.arena.find('**/rightSide_grp').setTexture(reskinTexture, 100) self.arena.find('**/rightSide_grp').setTexture(reskinTexture, 100)

View file

@ -247,11 +247,11 @@ class Pet(Avatar.Avatar):
self.rightHighlight.hide() self.rightHighlight.hide()
self.leftHighlight.hide() self.leftHighlight.hide()
if self.style[8]: if self.style[8]:
self.eyesOpenTexture = loader.loadTexture('phase_4/maps/BeanEyeBoys2.jpg', 'phase_4/maps/BeanEyeBoys2_a.rgb') self.eyesOpenTexture = loader.loadTexture('phase_4/maps/BeanEyeBoys2.png')
self.eyesClosedTexture = loader.loadTexture('phase_4/maps/BeanEyeBoysBlink.jpg', 'phase_4/maps/BeanEyeBoysBlink_a.rgb') self.eyesClosedTexture = loader.loadTexture('phase_4/maps/BeanEyeBoysBlink.png')
else: else:
self.eyesOpenTexture = loader.loadTexture('phase_4/maps/BeanEyeGirlsNew.jpg', 'phase_4/maps/BeanEyeGirlsNew_a.rgb') self.eyesOpenTexture = loader.loadTexture('phase_4/maps/BeanEyeGirlsNew.png')
self.eyesClosedTexture = loader.loadTexture('phase_4/maps/BeanEyeGirlsBlinkNew.jpg', 'phase_4/maps/BeanEyeGirlsBlinkNew_a.rgb') self.eyesClosedTexture = loader.loadTexture('phase_4/maps/BeanEyeGirlsBlinkNew.png')
self.eyesOpenTexture.setMinfilter(Texture.FTLinear) self.eyesOpenTexture.setMinfilter(Texture.FTLinear)
self.eyesOpenTexture.setMagfilter(Texture.FTLinear) self.eyesOpenTexture.setMagfilter(Texture.FTLinear)
self.eyesClosedTexture.setMinfilter(Texture.FTLinear) self.eyesClosedTexture.setMinfilter(Texture.FTLinear)

View file

@ -21,13 +21,13 @@ EarParts = ['horns',
EarTextures = {'horns': None, EarTextures = {'horns': None,
'antennae': None, 'antennae': None,
'dogEars': None, 'dogEars': None,
'catEars': 'phase_4/maps/BeanCatEar6.jpg', 'catEars': 'phase_4/maps/BeanCatEar6.png',
'rabbitEars': 'phase_4/maps/BeanBunnyEar6.jpg'} 'rabbitEars': 'phase_4/maps/BeanBunnyEar6.png'}
ExoticEarTextures = {'horns': None, ExoticEarTextures = {'horns': None,
'antennae': None, 'antennae': None,
'dogEars': None, 'dogEars': None,
'catEars': 'phase_4/maps/BeanCatEar3Yellow.jpg', 'catEars': 'phase_4/maps/BeanCatEar3Yellow.png',
'rabbitEars': 'phase_4/maps/BeanBunnyEar6.jpg'} 'rabbitEars': 'phase_4/maps/BeanBunnyEar6.png'}
NoseParts = ['clownNose', NoseParts = ['clownNose',
'dogNose', 'dogNose',
'ovalNose', 'ovalNose',
@ -36,12 +36,12 @@ TailParts = ['catTail',
'longTail', 'longTail',
'birdTail', 'birdTail',
'bunnyTail'] 'bunnyTail']
TailTextures = {'catTail': 'phase_4/maps/beanCatTail6.jpg', TailTextures = {'catTail': 'phase_4/maps/beanCatTail6.png',
'longTail': 'phase_4/maps/BeanLongTail6.jpg', 'longTail': 'phase_4/maps/BeanLongTail6.png',
'birdTail': None, 'birdTail': None,
'bunnyTail': None} 'bunnyTail': None}
GiraffeTail = 'phase_4/maps/BeanLongTailGiraffe.jpg' GiraffeTail = 'phase_4/maps/BeanLongTailGiraffe.png'
LeopardTail = 'phase_4/maps/BeanLongTailLepord.jpg' LeopardTail = 'phase_4/maps/BeanLongTailLepord.png'
GenericBodies = ['dots', GenericBodies = ['dots',
'threeStripe', 'threeStripe',
'tigerStripe', 'tigerStripe',
@ -85,17 +85,17 @@ PetRarities = {'body': {ToontownGlobals.ToontownCentral: {'threeStripe': 50,
'turtle': 25, 'turtle': 25,
'giraffe': 20, 'giraffe': 20,
'leopard': 10}}} 'leopard': 10}}}
BodyTextures = {'dots': 'phase_4/maps/BeanbodyDots6.jpg', BodyTextures = {'dots': 'phase_4/maps/BeanbodyDots6.png',
'threeStripe': 'phase_4/maps/Beanbody3stripes6.jpg', 'threeStripe': 'phase_4/maps/Beanbody3stripes6.png',
'tigerStripe': 'phase_4/maps/BeanbodyZebraStripes6.jpg', 'tigerStripe': 'phase_4/maps/BeanbodyZebraStripes6.png',
'turtle': 'phase_4/maps/BeanbodyTurtle.jpg', 'turtle': 'phase_4/maps/BeanbodyTurtle.png',
'giraffe': 'phase_4/maps/BeanbodyGiraffe1.jpg', 'giraffe': 'phase_4/maps/BeanbodyGiraffe1.png',
'leopard': 'phase_4/maps/BeanbodyLepord2.jpg', 'leopard': 'phase_4/maps/BeanbodyLepord2.png',
'tummy': 'phase_4/maps/BeanbodyTummy6.jpg'} 'tummy': 'phase_4/maps/BeanbodyTummy6.png'}
FeetTextures = {'normal': 'phase_4/maps/BeanFoot6.jpg', FeetTextures = {'normal': 'phase_4/maps/BeanFoot6.png',
'turtle': 'phase_4/maps/BeanFootTurttle.jpg', 'turtle': 'phase_4/maps/BeanFootTurttle.png',
'giraffe': 'phase_4/maps/BeanFootYellow3.jpg', 'giraffe': 'phase_4/maps/BeanFootYellow3.png',
'leopard': 'phase_4/maps/BeanFootYellow3.jpg'} 'leopard': 'phase_4/maps/BeanFootYellow3.png'}
AllPetColors = (VBase4(1.0, 1.0, 1.0, 1.0), AllPetColors = (VBase4(1.0, 1.0, 1.0, 1.0),
VBase4(0.96875, 0.691406, 0.699219, 1.0), VBase4(0.96875, 0.691406, 0.699219, 1.0),
VBase4(0.933594, 0.265625, 0.28125, 1.0), VBase4(0.933594, 0.265625, 0.28125, 1.0),

View file

@ -41,7 +41,7 @@ class DistributedRace(DistributedObject.DistributedObject):
def __init__(self, cr): def __init__(self, cr):
self.qbox = loader.loadModel('phase_6/models/karting/qbox') self.qbox = loader.loadModel('phase_6/models/karting/qbox')
self.boostArrowTexture = loader.loadTexture('phase_6/maps/boost_arrow.jpg', 'phase_6/maps/boost_arrow_a.rgb') self.boostArrowTexture = loader.loadTexture('phase_6/maps/boost_arrow.png')
self.boostArrowTexture.setMinfilter(Texture.FTLinear) self.boostArrowTexture.setMinfilter(Texture.FTLinear)
DistributedObject.DistributedObject.__init__(self, cr) DistributedObject.DistributedObject.__init__(self, cr)
self.kartMap = {} self.kartMap = {}

View file

@ -315,7 +315,7 @@ class Kart(NodePath, ShadowCaster.ShadowCaster):
rimTexPath = getAccessory(getDefaultRim()) rimTexPath = getAccessory(getDefaultRim())
else: else:
rimTexPath = getAccessory(self.kartDNA[KartDNA.rimsType]) rimTexPath = getAccessory(self.kartDNA[KartDNA.rimsType])
rimTex = loader.loadTexture('%s.jpg' % rimTexPath, '%s_a.rgb' % rimTexPath) rimTex = loader.loadTexture('%s.png' % rimTexPath)
for kart in self.geom: for kart in self.geom:
leftFrontWheelRim = self.geom[kart].find('**/leftFrontWheelRim') leftFrontWheelRim = self.geom[kart].find('**/leftFrontWheelRim')
rightFrontWheelRim = self.geom[kart].find('**/rightFrontWheelRim') rightFrontWheelRim = self.geom[kart].find('**/rightFrontWheelRim')
@ -397,8 +397,8 @@ class Kart(NodePath, ShadowCaster.ShadowCaster):
if self.kartDNA[KartDNA.decalType] != InvalidEntry: if self.kartDNA[KartDNA.decalType] != InvalidEntry:
decalId = getAccessory(self.kartDNA[KartDNA.decalType]) decalId = getAccessory(self.kartDNA[KartDNA.decalType])
kartDecal = getDecalId(self.kartDNA[KartDNA.bodyType]) kartDecal = getDecalId(self.kartDNA[KartDNA.bodyType])
hoodDecalTex = loader.loadTexture('phase_6/maps/%s_HoodDecal_%s.jpg' % (kartDecal, decalId), 'phase_6/maps/%s_HoodDecal_%s_a.rgb' % (kartDecal, decalId)) hoodDecalTex = loader.loadTexture('phase_6/maps/%s_HoodDecal_%s.png' % (kartDecal, decalId))
sideDecalTex = loader.loadTexture('phase_6/maps/%s_SideDecal_%s.jpg' % (kartDecal, decalId), 'phase_6/maps/%s_SideDecal_%s_a.rgb' % (kartDecal, decalId)) sideDecalTex = loader.loadTexture('phase_6/maps/%s_SideDecal_%s.png' % (kartDecal, decalId))
hoodDecalTex.setMinfilter(Texture.FTLinearMipmapLinear) hoodDecalTex.setMinfilter(Texture.FTLinearMipmapLinear)
sideDecalTex.setMinfilter(Texture.FTLinearMipmapLinear) sideDecalTex.setMinfilter(Texture.FTLinearMipmapLinear)
for kart in self.geom: for kart in self.geom:

View file

@ -687,15 +687,15 @@ class KartShopGuiMgr(DirectObject.DirectObject, object):
KartDNA.fwwType, KartDNA.fwwType,
KartDNA.bwwType]: KartDNA.bwwType]:
texNodePath = getTexCardNode(accID) texNodePath = getTexCardNode(accID)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath, 'phase_6/maps/%s_a.rgb' % texNodePath) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath)
elif accType == KartDNA.rimsType: elif accType == KartDNA.rimsType:
if accID == InvalidEntry: if accID == InvalidEntry:
texNodePath = getTexCardNode(getDefaultRim()) texNodePath = getTexCardNode(getDefaultRim())
else: else:
texNodePath = getTexCardNode(accID) texNodePath = getTexCardNode(accID)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath, 'phase_6/maps/%s_a.rgb' % texNodePath) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath)
elif accType in [KartDNA.bodyColor, KartDNA.accColor]: elif accType in [KartDNA.bodyColor, KartDNA.accColor]:
tex = loader.loadTexture('phase_6/maps/Kartmenu_paintbucket.jpg', 'phase_6/maps/Kartmenu_paintbucket_a.rgb') tex = loader.loadTexture('phase_6/maps/Kartmenu_paintbucket.png')
if accID == InvalidEntry: if accID == InvalidEntry:
self.kartView.component('geom0').setColorScale(getDefaultColor()) self.kartView.component('geom0').setColorScale(getDefaultColor())
else: else:
@ -703,9 +703,9 @@ class KartShopGuiMgr(DirectObject.DirectObject, object):
elif accType == KartDNA.decalType: elif accType == KartDNA.decalType:
kartDecal = getDecalId(base.localAvatar.getKartBodyType()) kartDecal = getDecalId(base.localAvatar.getKartBodyType())
texNodePath = getTexCardNode(accID) texNodePath = getTexCardNode(accID)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath % kartDecal, 'phase_6/maps/%s_a.rgb' % texNodePath % kartDecal) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath % kartDecal)
else: else:
tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.jpg', 'phase_6/maps/NoAccessoryIcon3_a.rgb') tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.png')
tex.setMinfilter(Texture.FTLinearMipmapLinear) tex.setMinfilter(Texture.FTLinearMipmapLinear)
self.kartView.component('geom0').setTexture(tex, 1) self.kartView.component('geom0').setTexture(tex, 1)
self.initialize = True self.initialize = True
@ -747,15 +747,15 @@ class KartShopGuiMgr(DirectObject.DirectObject, object):
KartDNA.fwwType, KartDNA.fwwType,
KartDNA.bwwType]: KartDNA.bwwType]:
texNodePath = getTexCardNode(accID) texNodePath = getTexCardNode(accID)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath, 'phase_6/maps/%s_a.rgb' % texNodePath) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath)
elif accType == KartDNA.rimsType: elif accType == KartDNA.rimsType:
if accID == InvalidEntry: if accID == InvalidEntry:
texNodePath = getTexCardNode(getDefaultRim()) texNodePath = getTexCardNode(getDefaultRim())
else: else:
texNodePath = getTexCardNode(accID) texNodePath = getTexCardNode(accID)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath, 'phase_6/maps/%s_a.rgb' % texNodePath) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath)
elif accType in [KartDNA.bodyColor, KartDNA.accColor]: elif accType in [KartDNA.bodyColor, KartDNA.accColor]:
tex = loader.loadTexture('phase_6/maps/Kartmenu_paintbucket.jpg', 'phase_6/maps/Kartmenu_paintbucket_a.rgb') tex = loader.loadTexture('phase_6/maps/Kartmenu_paintbucket.png')
if accID == InvalidEntry: if accID == InvalidEntry:
self.kartView.component('geom0').setColorScale(getDefaultColor()) self.kartView.component('geom0').setColorScale(getDefaultColor())
else: else:
@ -763,9 +763,9 @@ class KartShopGuiMgr(DirectObject.DirectObject, object):
elif accType == KartDNA.decalType: elif accType == KartDNA.decalType:
kartDecal = getDecalId(base.localAvatar.getKartBodyType()) kartDecal = getDecalId(base.localAvatar.getKartBodyType())
texNodePath = getTexCardNode(accID) texNodePath = getTexCardNode(accID)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath % kartDecal, 'phase_6/maps/%s_a.rgb' % texNodePath % kartDecal) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath % kartDecal)
else: else:
tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.jpg', 'phase_6/maps/NoAccessoryIcon3_a.rgb') tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.png')
tex.setMinfilter(Texture.FTLinearMipmapLinear) tex.setMinfilter(Texture.FTLinearMipmapLinear)
self.kartView.component('geom0').setTexture(tex, 1) self.kartView.component('geom0').setTexture(tex, 1)
self.initialize = True self.initialize = True

View file

@ -34,6 +34,6 @@ class InGameNewsFrame(HtmlView.HtmlView):
filename = filename.replace('.', '-') filename = filename.replace('.', '-')
pngfilename = filename + '.png' pngfilename = filename + '.png'
self.writeTex(pngfilename) self.writeTex(pngfilename)
jpgfilename = filename + '.jpg' jpgfilename = filename + '.png'
self.writeTex(jpgfilename) self.writeTex(jpgfilename)
return jpgfilename return jpgfilename

View file

@ -23,7 +23,7 @@ class IssueFrame(DirectFrame):
-0.751666665077, -0.751666665077,
0.751666665077) 0.751666665077)
notify = DirectNotifyGlobal.directNotify.newCategory('IssueFrame') notify = DirectNotifyGlobal.directNotify.newCategory('IssueFrame')
ContentPattern = 'tt_i_art_%s_%s%d.jpg' ContentPattern = 'tt_i_art_%s_%s%d.png'
SectionIdents = ['hom', SectionIdents = ['hom',
'new', 'new',
'evt', 'evt',

View file

@ -366,7 +366,7 @@ class ItemSelector(DirectFrame):
self.locator2 = self.attachNewNode('locator2') self.locator2 = self.attachNewNode('locator2')
self.locator1.setPos(0, 0, 0.035) self.locator1.setPos(0, 0, 0.035)
self.locator2.setPos(0.0, 0.0, 0.0) self.locator2.setPos(0.0, 0.0, 0.0)
tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.jpg', 'phase_6/maps/NoAccessoryIcon3_a.rgb') tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.png')
self.uiImagePlane.component('geom0').setTexture(tex, self.texCount) self.uiImagePlane.component('geom0').setTexture(tex, self.texCount)
self.texCount += 1 self.texCount += 1
self.uiTextBox = DirectFrame(parent=self, relief=None, scale=1.0, text='', text_font=ToontownGlobals.getInterfaceFont(), text_fg=(0.5, 0, 0, 1), text_shadow=(0, 0, 0, 1), text_scale=0.0715, text_pos=(0.0, -0.23, 0.0)) self.uiTextBox = DirectFrame(parent=self, relief=None, scale=1.0, text='', text_font=ToontownGlobals.getInterfaceFont(), text_fg=(0.5, 0, 0, 1), text_shadow=(0, 0, 0, 1), text_scale=0.0715, text_pos=(0.0, -0.23, 0.0))
@ -526,15 +526,15 @@ class ItemSelector(DirectFrame):
KartDNA.fwwType, KartDNA.fwwType,
KartDNA.bwwType]: KartDNA.bwwType]:
texNodePath = getTexCardNode(self.currItem) texNodePath = getTexCardNode(self.currItem)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath, 'phase_6/maps/%s_a.rgb' % texNodePath) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath)
elif self.currAccessoryType == KartDNA.rimsType: elif self.currAccessoryType == KartDNA.rimsType:
if self.currItem == InvalidEntry: if self.currItem == InvalidEntry:
texNodePath = getTexCardNode(getDefaultRim()) texNodePath = getTexCardNode(getDefaultRim())
else: else:
texNodePath = getTexCardNode(self.currItem) texNodePath = getTexCardNode(self.currItem)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath, 'phase_6/maps/%s_a.rgb' % texNodePath) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath)
elif self.currAccessoryType in [KartDNA.bodyColor, KartDNA.accColor]: elif self.currAccessoryType in [KartDNA.bodyColor, KartDNA.accColor]:
tex = loader.loadTexture('phase_6/maps/Kartmenu_paintbucket.jpg', 'phase_6/maps/Kartmenu_paintbucket_a.rgb') tex = loader.loadTexture('phase_6/maps/Kartmenu_paintbucket.png')
if self.currItem == InvalidEntry: if self.currItem == InvalidEntry:
self.uiImagePlane.component('geom0').setColorScale(getDefaultColor()) self.uiImagePlane.component('geom0').setColorScale(getDefaultColor())
else: else:
@ -543,9 +543,9 @@ class ItemSelector(DirectFrame):
kart = self._parent._parent.getKartViewer().getKart() kart = self._parent._parent.getKartViewer().getKart()
kartDecal = getDecalId(kart.kartDNA[KartDNA.bodyType]) kartDecal = getDecalId(kart.kartDNA[KartDNA.bodyType])
texNodePath = getTexCardNode(self.currItem) texNodePath = getTexCardNode(self.currItem)
tex = loader.loadTexture('phase_6/maps/%s.jpg' % texNodePath % kartDecal, 'phase_6/maps/%s_a.rgb' % texNodePath % kartDecal) tex = loader.loadTexture('phase_6/maps/%s.png' % texNodePath % kartDecal)
else: else:
tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.jpg', 'phase_6/maps/NoAccessoryIcon3_a.rgb') tex = loader.loadTexture('phase_6/maps/NoAccessoryIcon3.png')
colorTypeList = [KartDNA.bodyColor, KartDNA.accColor] colorTypeList = [KartDNA.bodyColor, KartDNA.accColor]
if self.currItem == InvalidEntry: if self.currItem == InvalidEntry:
if self.currAccessoryType == KartDNA.rimsType: if self.currAccessoryType == KartDNA.rimsType:
@ -561,7 +561,7 @@ class ItemSelector(DirectFrame):
def __handleHideItem(self): def __handleHideItem(self):
self.uiImagePlane.component('geom0').setColorScale(1.0, 1.0, 1.0, 1.0) self.uiImagePlane.component('geom0').setColorScale(1.0, 1.0, 1.0, 1.0)
self.uiImagePlane.component('geom0').setTexture(loader.loadTexture('phase_6/maps/NoAccessoryIcon3.jpg', 'phase_6/maps/NoAccessoryIcon3_a.rgb'), self.texCount) self.uiImagePlane.component('geom0').setTexture(loader.loadTexture('phase_6/maps/NoAccessoryIcon3.png'), self.texCount)
self.texCount += 1 self.texCount += 1
def __handleItemDeleteConfirm(self): def __handleItemDeleteConfirm(self):

View file

@ -182,7 +182,7 @@ class PhotoAlbumPage(ShtikerPage.ShtikerPage):
files = os.listdir('.') files = os.listdir('.')
photos = [] photos = []
for fileName in files: for fileName in files:
if fileName[0:10] == 'screenshot' and fileName[-4:] == '.jpg': if fileName[0:10] == 'screenshot' and fileName[-4:] == '.png':
photos.append(fileName) photos.append(fileName)
return photos return photos

View file

@ -448,7 +448,7 @@ class Suit(Avatar.Avatar):
self.scale = 6.75 / cSize self.scale = 6.75 / cSize
self.handColor = VBase4(0.85, 0.55, 0.55, 1.0) self.handColor = VBase4(0.85, 0.55, 0.55, 1.0)
self.generateBody() self.generateBody()
self.headTexture = 'corporate-raider.jpg' self.headTexture = 'corporate-raider.png'
self.generateHead('flunky') self.generateHead('flunky')
self.setHeight(8.23) self.setHeight(8.23)
elif dna.name == 'tbc': elif dna.name == 'tbc':
@ -461,21 +461,21 @@ class Suit(Avatar.Avatar):
self.scale = 4.0 / cSize self.scale = 4.0 / cSize
self.handColor = SuitDNA.legalPolyColor self.handColor = SuitDNA.legalPolyColor
self.generateBody() self.generateBody()
self.headTexture = 'bottom-feeder.jpg' self.headTexture = 'bottom-feeder.png'
self.generateHead('tightwad') self.generateHead('tightwad')
self.setHeight(4.81) self.setHeight(4.81)
elif dna.name == 'b': elif dna.name == 'b':
self.scale = 4.375 / bSize self.scale = 4.375 / bSize
self.handColor = VBase4(0.95, 0.95, 1.0, 1.0) self.handColor = VBase4(0.95, 0.95, 1.0, 1.0)
self.generateBody() self.generateBody()
self.headTexture = 'blood-sucker.jpg' self.headTexture = 'blood-sucker.png'
self.generateHead('movershaker') self.generateHead('movershaker')
self.setHeight(6.17) self.setHeight(6.17)
elif dna.name == 'dt': elif dna.name == 'dt':
self.scale = 4.25 / aSize self.scale = 4.25 / aSize
self.handColor = SuitDNA.legalPolyColor self.handColor = SuitDNA.legalPolyColor
self.generateBody() self.generateBody()
self.headTexture = 'double-talker.jpg' self.headTexture = 'double-talker.png'
self.generateHead('twoface') self.generateHead('twoface')
self.setHeight(5.63) self.setHeight(5.63)
elif dna.name == 'ac': elif dna.name == 'ac':
@ -494,7 +494,7 @@ class Suit(Avatar.Avatar):
self.scale = 5.65 / bSize self.scale = 5.65 / bSize
self.handColor = VBase4(0.5, 0.8, 0.75, 1.0) self.handColor = VBase4(0.5, 0.8, 0.75, 1.0)
self.generateBody() self.generateBody()
self.headTexture = 'spin-doctor.jpg' self.headTexture = 'spin-doctor.png'
self.generateHead('telemarketer') self.generateHead('telemarketer')
self.setHeight(7.9) self.setHeight(7.9)
elif dna.name == 'le': elif dna.name == 'le':
@ -555,7 +555,7 @@ class Suit(Avatar.Avatar):
self.scale = 7.0 / aSize self.scale = 7.0 / aSize
self.handColor = SuitDNA.moneyPolyColor self.handColor = SuitDNA.moneyPolyColor
self.generateBody() self.generateBody()
self.headTexture = 'robber-baron.jpg' self.headTexture = 'robber-baron.png'
self.generateHead('yesman') self.generateHead('yesman')
self.setHeight(8.95) self.setHeight(8.95)
elif dna.name == 'cc': elif dna.name == 'cc':
@ -575,7 +575,7 @@ class Suit(Avatar.Avatar):
self.scale = 4.35 / aSize self.scale = 4.35 / aSize
self.handColor = SuitDNA.salesPolyColor self.handColor = SuitDNA.salesPolyColor
self.generateBody() self.generateBody()
self.headTexture = 'name-dropper.jpg' self.headTexture = 'name-dropper.png'
self.generateHead('numbercruncher') self.generateHead('numbercruncher')
self.setHeight(5.98) self.setHeight(5.98)
elif dna.name == 'gh': elif dna.name == 'gh':
@ -600,7 +600,7 @@ class Suit(Avatar.Avatar):
self.scale = 5.75 / aSize self.scale = 5.75 / aSize
self.handColor = SuitDNA.salesPolyColor self.handColor = SuitDNA.salesPolyColor
self.generateBody() self.generateBody()
self.headTexture = 'mingler.jpg' self.headTexture = 'mingler.png'
self.generateHead('twoface') self.generateHead('twoface')
self.setHeight(7.61) self.setHeight(7.61)
elif dna.name == 'mh': elif dna.name == 'mh':
@ -683,13 +683,13 @@ class Suit(Avatar.Avatar):
phase = 3.5 phase = 3.5
def __doItTheOldWay__(): def __doItTheOldWay__():
torsoTex = loader.loadTexture('phase_%s/maps/%s_blazer.jpg' % (phase, dept)) torsoTex = loader.loadTexture('phase_%s/maps/%s_blazer.png' % (phase, dept))
torsoTex.setMinfilter(Texture.FTLinearMipmapLinear) torsoTex.setMinfilter(Texture.FTLinearMipmapLinear)
torsoTex.setMagfilter(Texture.FTLinear) torsoTex.setMagfilter(Texture.FTLinear)
legTex = loader.loadTexture('phase_%s/maps/%s_leg.jpg' % (phase, dept)) legTex = loader.loadTexture('phase_%s/maps/%s_leg.png' % (phase, dept))
legTex.setMinfilter(Texture.FTLinearMipmapLinear) legTex.setMinfilter(Texture.FTLinearMipmapLinear)
legTex.setMagfilter(Texture.FTLinear) legTex.setMagfilter(Texture.FTLinear)
armTex = loader.loadTexture('phase_%s/maps/%s_sleeve.jpg' % (phase, dept)) armTex = loader.loadTexture('phase_%s/maps/%s_sleeve.png' % (phase, dept))
armTex.setMinfilter(Texture.FTLinearMipmapLinear) armTex.setMinfilter(Texture.FTLinearMipmapLinear)
armTex.setMagfilter(Texture.FTLinear) armTex.setMagfilter(Texture.FTLinear)
modelRoot.find('**/torso').setTexture(torsoTex, 1) modelRoot.find('**/torso').setTexture(torsoTex, 1)
@ -713,8 +713,8 @@ class Suit(Avatar.Avatar):
if self.find('**/body').isEmpty(): if self.find('**/body').isEmpty():
__doItTheOldWay__() __doItTheOldWay__()
else: else:
filepath = 'phase_3.5/maps/tt_t_ene_' + texType + '.jpg' filepath = 'phase_3.5/maps/tt_t_ene_' + texType + '.png'
if cogExists('/maps/tt_t_ene_' + texType + '.jpg'): if cogExists('/maps/tt_t_ene_' + texType + '.png'):
bodyTex = loader.loadTexture(filepath) bodyTex = loader.loadTexture(filepath)
self.find('**/body').setTexture(bodyTex, 1) self.find('**/body').setTexture(bodyTex, 1)
self.leftHand = self.find('**/def_joint_left_hold') self.leftHand = self.find('**/def_joint_left_hold')
@ -728,13 +728,13 @@ class Suit(Avatar.Avatar):
if not modelRoot: if not modelRoot:
modelRoot = self modelRoot = self
self.isWaiter = 1 self.isWaiter = 1
torsoTex = loader.loadTexture('phase_3.5/maps/waiter_m_blazer.jpg') torsoTex = loader.loadTexture('phase_3.5/maps/waiter_m_blazer.png')
torsoTex.setMinfilter(Texture.FTLinearMipmapLinear) torsoTex.setMinfilter(Texture.FTLinearMipmapLinear)
torsoTex.setMagfilter(Texture.FTLinear) torsoTex.setMagfilter(Texture.FTLinear)
legTex = loader.loadTexture('phase_3.5/maps/waiter_m_leg.jpg') legTex = loader.loadTexture('phase_3.5/maps/waiter_m_leg.png')
legTex.setMinfilter(Texture.FTLinearMipmapLinear) legTex.setMinfilter(Texture.FTLinearMipmapLinear)
legTex.setMagfilter(Texture.FTLinear) legTex.setMagfilter(Texture.FTLinear)
armTex = loader.loadTexture('phase_3.5/maps/waiter_m_sleeve.jpg') armTex = loader.loadTexture('phase_3.5/maps/waiter_m_sleeve.png')
armTex.setMinfilter(Texture.FTLinearMipmapLinear) armTex.setMinfilter(Texture.FTLinearMipmapLinear)
armTex.setMagfilter(Texture.FTLinear) armTex.setMagfilter(Texture.FTLinear)
modelRoot.find('**/torso').setTexture(torsoTex, 1) modelRoot.find('**/torso').setTexture(torsoTex, 1)
@ -745,10 +745,10 @@ class Suit(Avatar.Avatar):
if not modelRoot: if not modelRoot:
modelRoot = self.getGeomNode() modelRoot = self.getGeomNode()
if suitType == 's': if suitType == 's':
torsoTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_blazer.jpg') torsoTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_blazer.png')
legTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_leg.jpg') legTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_leg.png')
armTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_sleeve.jpg') armTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_sleeve.png')
handTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_hand.jpg') handTex = loader.loadTexture('phase_3.5/maps/tt_t_ene_sellbotRental_hand.png')
else: else:
self.notify.warning('No rental suit for cog type %s' % suitType) self.notify.warning('No rental suit for cog type %s' % suitType)
return return
@ -792,13 +792,13 @@ class Suit(Avatar.Avatar):
self.notify.warning('skelecog has no tie model!!!') self.notify.warning('skelecog has no tie model!!!')
return return
if dept == 'c': if dept == 'c':
tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_boss.jpg') tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_boss.png')
elif dept == 's': elif dept == 's':
tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_sales.jpg') tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_sales.png')
elif dept == 'l': elif dept == 'l':
tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_legal.jpg') tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_legal.png')
elif dept == 'm': elif dept == 'm':
tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_money.jpg') tieTex = loader.loadTexture('phase_5/maps/cog_robot_tie_money.png')
tieTex.setMinfilter(Texture.FTLinearMipmapLinear) tieTex.setMinfilter(Texture.FTLinearMipmapLinear)
tieTex.setMagfilter(Texture.FTLinear) tieTex.setMagfilter(Texture.FTLinear)
tie.setTexture(tieTex, 1) tie.setTexture(tieTex, 1)

View file

@ -1168,7 +1168,7 @@ class Toon(Avatar.Avatar, ToonHead):
for geom in geoms: for geom in geoms:
texName = ToonDNA.ShoesTextures[shoes[1]] texName = ToonDNA.ShoesTextures[shoes[1]]
if self.style.legs == 'l' and shoes[0] == 3: if self.style.legs == 'l' and shoes[0] == 3:
texName = texName[:-4] + 'LL.jpg' texName = texName[:-4] + 'LL.png'
tex = loader.loadTexture(texName, okMissing=True) tex = loader.loadTexture(texName, okMissing=True)
if tex is None: if tex is None:
self.sendLogSuspiciousEvent('failed to load texture %s' % texName) self.sendLogSuspiciousEvent('failed to load texture %s' % texName)

File diff suppressed because it is too large Load diff

View file

@ -50,31 +50,31 @@ DogMuzzleDict = {'dls': '/models/char/dogMM_Shorts-headMuzzles-',
class ToonHead(Actor.Actor): class ToonHead(Actor.Actor):
notify = DirectNotifyGlobal.directNotify.newCategory('ToonHead') notify = DirectNotifyGlobal.directNotify.newCategory('ToonHead')
EyesOpen = loader.loadTexture('phase_3/maps/eyes.jpg', 'phase_3/maps/eyes_a.rgb') EyesOpen = loader.loadTexture('phase_3/maps/eyes.png')
EyesOpen.setMinfilter(Texture.FTLinear) EyesOpen.setMinfilter(Texture.FTLinear)
EyesOpen.setMagfilter(Texture.FTLinear) EyesOpen.setMagfilter(Texture.FTLinear)
EyesClosed = loader.loadTexture('phase_3/maps/eyesClosed.jpg', 'phase_3/maps/eyesClosed_a.rgb') EyesClosed = loader.loadTexture('phase_3/maps/eyesClosed.png')
EyesClosed.setMinfilter(Texture.FTLinear) EyesClosed.setMinfilter(Texture.FTLinear)
EyesClosed.setMagfilter(Texture.FTLinear) EyesClosed.setMagfilter(Texture.FTLinear)
EyesSadOpen = loader.loadTexture('phase_3/maps/eyesSad.jpg', 'phase_3/maps/eyesSad_a.rgb') EyesSadOpen = loader.loadTexture('phase_3/maps/eyesSad.png')
EyesSadOpen.setMinfilter(Texture.FTLinear) EyesSadOpen.setMinfilter(Texture.FTLinear)
EyesSadOpen.setMagfilter(Texture.FTLinear) EyesSadOpen.setMagfilter(Texture.FTLinear)
EyesSadClosed = loader.loadTexture('phase_3/maps/eyesSadClosed.jpg', 'phase_3/maps/eyesSadClosed_a.rgb') EyesSadClosed = loader.loadTexture('phase_3/maps/eyesSadClosed.png')
EyesSadClosed.setMinfilter(Texture.FTLinear) EyesSadClosed.setMinfilter(Texture.FTLinear)
EyesSadClosed.setMagfilter(Texture.FTLinear) EyesSadClosed.setMagfilter(Texture.FTLinear)
EyesAngryOpen = loader.loadTexture('phase_3/maps/eyesAngry.jpg', 'phase_3/maps/eyesAngry_a.rgb') EyesAngryOpen = loader.loadTexture('phase_3/maps/eyesAngry.png')
EyesAngryOpen.setMinfilter(Texture.FTLinear) EyesAngryOpen.setMinfilter(Texture.FTLinear)
EyesAngryOpen.setMagfilter(Texture.FTLinear) EyesAngryOpen.setMagfilter(Texture.FTLinear)
EyesAngryClosed = loader.loadTexture('phase_3/maps/eyesAngryClosed.jpg', 'phase_3/maps/eyesAngryClosed_a.rgb') EyesAngryClosed = loader.loadTexture('phase_3/maps/eyesAngryClosed.png')
EyesAngryClosed.setMinfilter(Texture.FTLinear) EyesAngryClosed.setMinfilter(Texture.FTLinear)
EyesAngryClosed.setMagfilter(Texture.FTLinear) EyesAngryClosed.setMagfilter(Texture.FTLinear)
EyesSurprised = loader.loadTexture('phase_3/maps/eyesSurprised.jpg', 'phase_3/maps/eyesSurprised_a.rgb') EyesSurprised = loader.loadTexture('phase_3/maps/eyesSurprised.png')
EyesSurprised.setMinfilter(Texture.FTLinear) EyesSurprised.setMinfilter(Texture.FTLinear)
EyesSurprised.setMagfilter(Texture.FTLinear) EyesSurprised.setMagfilter(Texture.FTLinear)
Muzzle = loader.loadTexture('phase_3/maps/muzzleShrtGeneric.jpg') Muzzle = loader.loadTexture('phase_3/maps/muzzleShrtGeneric.png')
Muzzle.setMinfilter(Texture.FTLinear) Muzzle.setMinfilter(Texture.FTLinear)
Muzzle.setMagfilter(Texture.FTLinear) Muzzle.setMagfilter(Texture.FTLinear)
MuzzleSurprised = loader.loadTexture('phase_3/maps/muzzleShortSurprised.jpg') MuzzleSurprised = loader.loadTexture('phase_3/maps/muzzleShortSurprised.png')
MuzzleSurprised.setMinfilter(Texture.FTLinear) MuzzleSurprised.setMinfilter(Texture.FTLinear)
MuzzleSurprised.setMagfilter(Texture.FTLinear) MuzzleSurprised.setMagfilter(Texture.FTLinear)
LeftA = Point3(0.06, 0.0, 0.14) LeftA = Point3(0.06, 0.0, 0.14)

View file

@ -386,13 +386,11 @@ class Street(BattlePlace.BattlePlace):
streetSign = base.cr.streetSign streetSign = base.cr.streetSign
signTexturePath = streetSign.StreetSignBaseDir + '/' + streetSign.StreetSignFileName signTexturePath = streetSign.StreetSignBaseDir + '/' + streetSign.StreetSignFileName
loaderTexturePath = Filename(str(signTexturePath)) loaderTexturePath = Filename(str(signTexturePath))
alphaPath = 'phase_4/maps/tt_t_ara_gen_tunnelAheadSign_a.rgb'
inDreamland = False inDreamland = False
if place.zoneId and ZoneUtil.getCanonicalHoodId(place.zoneId) == ToontownGlobals.DonaldsDreamland: if place.zoneId and ZoneUtil.getCanonicalHoodId(place.zoneId) == ToontownGlobals.DonaldsDreamland:
inDreamland = True inDreamland = True
alphaPath = 'phase_4/maps/tt_t_ara_gen_tunnelAheadSign_a.rgb'
if Filename(signTexturePath).exists(): if Filename(signTexturePath).exists():
signTexture = loader.loadTexture(loaderTexturePath, alphaPath) signTexture = loader.loadTexture(loaderTexturePath)
for sign in signs: for sign in signs:
if Filename(signTexturePath).exists(): if Filename(signTexturePath).exists():
sign.setTexture(signTexture, 1) sign.setTexture(signTexture, 1)