X-Git-Url: http://royale.zerezo.com/git/?p=zeRace;a=blobdiff_plain;f=bot_anticip.c;h=1d5ec2d684a4ab568dcc1f909cd7a7339ba1af2c;hp=424e8758754e6ff9e73e88f90f602045fcb05549;hb=a649266e00696290ecf09f15c9dfa09f1cd35244;hpb=1be6de5da72b6218e87c20e29782ce6f9d99196e diff --git a/bot_anticip.c b/bot_anticip.c index 424e875..1d5ec2d 100644 --- a/bot_anticip.c +++ b/bot_anticip.c @@ -88,6 +88,60 @@ void bot_ia(char *trackname,struct _car *car,SDL_Surface *fun,int *ku,int *kd,in s=car->speed/3.3+0.4; og=120; } + else if (strcmp(trackname,"wave")==0) + { + a1=150; + a2=130; + o=1.5; + m=0.1; + s=car->speed/3.3+0.4; + og=120; + } + else if (strcmp(trackname,"bio")==0) + { + a1=190; + a2=180; + o=0.3; + m=0.1; + s=car->speed/3.3+0.4; + og=120; + } + else if (strcmp(trackname,"city")==0) + { + a1=150; + a2=130; + o=1.2; + m=0.1; + s=car->speed/3.3+0.4; + og=120; + } + else if (strcmp(trackname,"desert")==0) + { + a1=150; + a2=130; + o=1.0; + m=0.1; + s=car->speed/3.3+0.4; + og=120; + } + else if (strcmp(trackname,"http")==0) + { + a1=190; + a2=170; + o=1.2; + m=0.3; + s=car->speed/3.4+0.4; + og=240; + } + else if (strcmp(trackname,"kart")==0) + { + a1=180; + a2=160; + o=0.8; + m=0.8; + s=car->speed/3.3+0.4; + og=120; + } /* some default values that may work on some tracks */ else {