removed a few useless DEBUG_MSGs :)
authorTobias Gläßer <tobi.web@gmx.de>
Sat, 28 Feb 2004 18:18:00 +0000 (18:18 +0000)
committerTobias Gläßer <tobi.web@gmx.de>
Sat, 28 Feb 2004 18:18:00 +0000 (18:18 +0000)
SVN-Revision: 152

src/leveleditor.c
src/player.c

index 1e3756f..68c3b33 100644 (file)
@@ -220,14 +220,11 @@ int leveleditor(int levelnb)
                 default:
                   if(i != -1)
                     {
-                      printf("%d",i);
-                      printf("Load %s\n",level_subsets[i-2]);
                       subset_load(&le_level_subset,level_subsets[i-2]);
                       leveleditor_menu.item[3].kind = MN_GOTO;
                       le_level = 1;
                       arrays_init();
                       loadshared();
-                     printf("%s\n",le_level_subset.name);
                      le_current_level = (st_level*) malloc(sizeof(st_level));
                       if(level_load(le_current_level, le_level_subset.name, le_level) != 0)
                         {
index 919596c..3d4871e 100644 (file)
@@ -155,7 +155,6 @@ void player_action(player_type* pplayer)
             {
               physic_set_state(&pplayer->vphysic,PH_VT);
               physic_set_start_vy(&pplayer->vphysic,0.);
-             DEBUG_MSG("Ich bin jetzt ordentlich am Punkten"); 
             }
           pplayer->base.ym = physic_get_velocity(&pplayer->vphysic);
         }
@@ -166,7 +165,6 @@ void player_action(player_type* pplayer)
           if (pplayer->base.ym > 0)
             {
               pplayer->base.y = (int)(((int)(pplayer->base.y +1) / 32) * 32);
-             printf("%f",pplayer->base.y);
               pplayer->base.ym = 0;
             }
           physic_init(&pplayer->vphysic);
@@ -195,7 +193,6 @@ void player_action(player_type* pplayer)
           if (isbrick(pplayer->base.x, pplayer->base.y) ||
               isfullbox(pplayer->base.x, pplayer->base.y))
             {
-              DEBUG_MSG("My sear");
               trygrabdistro(pplayer->base.x, pplayer->base.y - 32,BOUNCE);
               trybumpbadguy(pplayer->base.x, pplayer->base.y - 64);
 
@@ -230,7 +227,6 @@ void player_action(player_type* pplayer)
                   add_bouncy_distro((((int)pplayer->base.x)
                                      / 32) * 32,
                                     ((int)pplayer->base.y / 32) * 32);
-                  DEBUG_MSG("should work");
                   if (counting_distros == NO)
                     {
                       counting_distros = YES;
@@ -250,7 +246,6 @@ void player_action(player_type* pplayer)
                   add_bouncy_distro((((int)pplayer->base.x + 31)
                                      / 32) * 32,
                                     ((int)pplayer->base.y / 32) * 32);
-                  DEBUG_MSG("+31?");
                   if (counting_distros == NO)
                     {
                       counting_distros = YES;
@@ -834,16 +829,13 @@ void player_handle_vertical_input(player_type *pplayer)
            if(physic_get_velocity(&pplayer->vphysic) < 0.)
            {
                        physic_set_state(&pplayer->vphysic,PH_VT);
-                           DEBUG_MSG("DUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUDE");
               physic_set_start_vy(&pplayer->vphysic,0);
              }
             }
           else
             {
-           DEBUG_MSG("CHUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUHHHHAAA");
               if(!physic_is_set(&pplayer->vphysic))
                 {
-                           DEBUG_MSG("CHUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUHHHHAAA");
                   physic_set_state(&pplayer->vphysic,PH_VT);
                 }
             }