d3d_transform_set_identity();
d3d_transform_add_rotation_axis( x, y, z, 0 );
d3d_transform_add_rotation_z(10);
d3d_draw_wall( x, y, x + sprite_get_width( spr_gracz ), y + sprite_get_height( spr_gracz ), sprite_get_texture( spr_gracz, image_index ), 1, 1 );
d3d_transform_set_identity();