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

Diff of /enigma/src/world.cc

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

revision 1.64 by dheck, Thu Jul 17 20:24:13 2003 UTC revision 1.65 by reallysoft, Mon Jul 21 08:21:35 2003 UTC
# Line 1414  world::ReplaceStone(GridPos p, Stone* st Line 1414  world::ReplaceStone(GridPos p, Stone* st
1414      SetStone(p, st);      SetStone(p, st);
1415  }  }
1416    
1417    #if 0 // currently unused
1418  void  void
1419  world::SwapStones(GridPos p, GridPos newp)  world::SwapStones(GridPos p, GridPos newp)
1420  {  {
# Line 1431  world::SwapStones(GridPos p, GridPos new Line 1432  world::SwapStones(GridPos p, GridPos new
1432          player::IncMoveCounter(2);          player::IncMoveCounter(2);
1433      }      }
1434  }  }
1435    #endif
1436    
1437    void world::MoveStone(GridPos oldPos, GridPos newPos) {
1438        display::Model *m = display::YieldModel(GridLoc(GRID_STONES, oldPos));
1439        SetStone(newPos, YieldStone(oldPos));
1440        display::SetModel(GridLoc(GRID_STONES, newPos), m);
1441    }
1442    
1443  void  void
1444  world::SetScrambleIntensity(int intensity) {  world::SetScrambleIntensity(int intensity) {

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65

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