More replacements

This commit is contained in:
Rob Pearce 2008-11-19 01:42:40 +00:00
parent 86459b6b68
commit e2ee647731
3 changed files with 7 additions and 7 deletions

2
defs.h
View File

@ -487,7 +487,7 @@
#define P_CANDLE 139
#define P_PIZZA 140
#define P_SUNDAE 141
#define P_CANDY 142
#define P_CAKE 142
#define P_CHOCOLATE 143

2
rc.c
View File

@ -103,7 +103,7 @@ int fruittypes[] = {
P_BURGER,
P_PIZZA,
P_SUNDAE,
P_CANDY,
P_CAKE,
P_CHOCOLATE,
-1
};

View File

@ -1356,8 +1356,8 @@ int loadimagesets(void) {
loadspriteimage(P_SUNDAE,F_WALK1, "sprites/sundae.png");
imageset[P_SUNDAE].numimages = 1;
loadspriteimage(P_CANDY,F_WALK1, "sprites/candy.png");
imageset[P_CANDY].numimages = 1;
loadspriteimage(P_CAKE,F_WALK1, "sprites/cake.png");
imageset[P_CAKE].numimages = 1;
loadspriteimage(P_CHOCOLATE,F_WALK1, "sprites/chocolate.png");
imageset[P_CHOCOLATE].numimages = 1;
@ -2351,7 +2351,7 @@ int isfruit(int id) {
case P_BURGER:
case P_PIZZA:
case P_SUNDAE:
case P_CANDY:
case P_CAKE:
case P_CHOCOLATE:
case P_DIAMOND:
return FT_FRUIT;
@ -2926,7 +2926,7 @@ int getpoints(int id) {
case P_SUNDAE:
points = 3000;
break;
case P_CANDY:
case P_CAKE:
points = 3500;
break;
case P_CHOCOLATE:
@ -3224,7 +3224,7 @@ void setfruitinfo(void) {
setinfo(P_DIAMOND, "Diamond", "", "diamond.png");
setinfo(P_PIZZA, "Pizza", "", "pizza.png");
setinfo(P_SUNDAE, "Sundae", "", "sundae.png");
setinfo(P_CANDY, "Candy", "", "candy.png");
setinfo(P_CAKE, "Cake", "", "cake.png");
setinfo(P_CHOCOLATE, "Chocolate", "", "chocolate.png");
setinfo(P_FLOWERYELLOW, "Sunflower", "", "flower-yellow.png");
setinfo(P_FLOWERRED, "Tulip", "", "flower-red.png");