(20130126)

This commit is contained in:
2013-01-26 00:00:00 +01:00
parent 23c81ceb32
commit e283956e98
77 changed files with 1489 additions and 603 deletions

View File

@@ -65,6 +65,8 @@ int GameMapAux_IsFloor(char c){
c=='<' ||
c=='>' ||
c=='r' ||
c=='T' ||
c=='D' ||
c=='l' )
{
return(1);
@@ -185,6 +187,16 @@ int GameMap_CreateLevel(int level,int point){
// ArrowShooter up
GameMapAux_CreateEnt(ent_arrowshooter_up,i,j);
}else
if(line[i2]=='T'){
// Teleporter
Entity *ent=GameMapAux_CreateEnt(ent_teleporter,i,j);
ent->A=line[i2+1]-'0';
}else
if(line[i2]=='D'){
// Teleporter Destination
Entity *ent=GameMapAux_CreateEnt(ent_teleporter_dest,i,j);
ent->A=line[i2+1]-'0';
}else
{}
}