/[enigma]/enigma/src/stones_simple.cc
ViewVC logotype

Diff of /enigma/src/stones_simple.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.26 by reallysoft, Sun Jun 29 00:57:13 2003 UTC revision 1.27 by ant_39, Mon Jun 30 19:28:09 2003 UTC
# Line 214  namespace Line 214  namespace
214              // tested with per.oxyd              // tested with per.oxyd
215              return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND;              return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND;
216          }          }
217            bool on_laserhit(Direction) {return true;};
218      };      };
219      class Grate2 : public Stone {      class Grate2 : public Stone {
220          SINGLETONOBJ(Grate2);          SINGLETONOBJ(Grate2);
# Line 224  namespace Line 225  namespace
225              // tested with per.oxyd              // tested with per.oxyd
226              return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND;              return sc.actor->is_on_floor() ? STONE_PASS : STONE_REBOUND;
227          }          }
228            bool on_laserhit(Direction) {return true;};
229      };      };
230  }  }
231    
# Line 248  namespace Line 250  namespace
250              else              else
251                  return STONE_REBOUND;                  return STONE_REBOUND;
252          }          }
253            bool on_laserhit(Direction) {return true;};
254      };      };
255  }  }
256    
# Line 609  namespace Line 612  namespace
612    
613  /** \page st-brick_magic Magic Brick Stone  /** \page st-brick_magic Magic Brick Stone
614    
615  This stone does initially looks like a "st-brick".  If touched by the  This stone does initially look like a "st-brick". If touched by the
616  actor, having a magic wand, it turns into a "st-glass" stone and  actor, having a magic wand, it turns into a "st-glass" stone and
617  allows lasers to go through it.  allows lasers to go through it.
618    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26