Ignore:
Timestamp:
Apr 22, 2011, 7:32:17 PM (11 years ago)
Author:
Sam Hocevar
Message:

imlib: remove a lot of dead code, especially from the linked list and
the WAV reader.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/imlib/sprite.cpp

    r524 r534  
    5050{ sprites.add_end(sp); }
    5151
     52#define loopt(type,controll,first,inside) { controll=(type *)(first); \
     53  if (first) do { inside controll=(type *)(controll->Next()); } \
     54  while (controll!=(type *)(first)); }
     55
    5256void sprite_controller::remove_sprites()
    5357{ sprite *sp; loopt(sprite,sp,sprites.first(),sp->restore_background(); ); }
     
    8286  delete sp;
    8387}
     88
Note: See TracChangeset for help on using the changeset viewer.