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 |
{ |
{ |
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) { |