Structs.hh
/**
 * Conversion from weapon to char.
 */
Conversion from weapon to char.
Conversion from weapon to char .
inline char WeaponType2char (int f) {
  switch (f) {
  case Hammer:   return 'h';
  case Gun:      return 'g';
  case Bazooka:  return 'b';
  default:       return 'n';
  }
}
inline char WeaponType2char ( int f ) { switch ( f ) { case Hammer : return ' ' ; case Gun : return ' ' ; case Bazooka : return ' ' ; default : return ' ' ; } }
Conversion from weapon to char.
Conversion from weapon to char .