void Virtue_stone_object::set_pos ( unsigned char tilex, unsigned char tiley, unsigned char schunk, unsigned char lift ) { pos.tx = (schunk%12)*c_tiles_per_schunk + tilex; pos.ty = (schunk/12)*c_tiles_per_schunk + tiley; pos.tz = lift; }
void set_pos(Tile_coord t) { pos = t; }
void Virtue_stone_object::set_pos	(	unsigned char tilex,		// Tx within superchunk.	unsigned char tiley,		// Ty within superchunk,	unsigned char schunk,		// Superchunk	unsigned char lift	)	{	pos.tx = (schunk%12)*c_tiles_per_schunk + tilex;	pos.ty = (schunk/12)*c_tiles_per_schunk + tiley;	pos.tz = lift;	}