Ignore:
Timestamp:
May 14, 2011, 4:00:53 PM (9 years ago)
Author:
Sam Hocevar
Message:

imlib: remove unused code and tag unused method arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/objects.h

    r555 r653  
    6363  int decide();        // returns 0 if you want to be deleted
    6464  int type() { return otype; }
    65   ifield *make_fields(int ystart, ifield *Next) { return NULL ; }
    66   void gather_input(InputManager *inm) { ; }
     65  ifield *make_fields(int ystart, ifield *Next)
     66  {
     67    (void)ystart; (void)Next;
     68    return NULL;
     69  }
     70  void gather_input(InputManager *inm) { (void)inm; }
    6771  int hurt_all() { return figures[otype]->get_cflag(CFLAG_HURT_ALL); }
    6872  int stoppable() { return figures[otype]->get_cflag(CFLAG_STOPPABLE); }
     
    8791
    8892  void note_attack(game_object *whom);
    89   void recieve_signal(long singal) { ; }
     93  void receive_signal(long signal) { (void)signal; }
    9094  int push_range();
    9195  int can_hurt(game_object *who);     // collision checking will ask first to see if you
Note: See TracChangeset for help on using the changeset viewer.