Commit 878be93d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

puzzle: use UTF-8 encoding

parent c06e3ed9
......@@ -67,7 +67,7 @@ typedef struct {
int32_t i_original_row, i_original_col;
int32_t i_top_shape, i_btm_shape, i_right_shape, i_left_shape;
float f_pos_x, f_pos_y;
int8_t i_actual_angle; /* 0 = 0, 1 = 90... rotation center = top-left corner */
int8_t i_actual_angle; /* 0 = 0°, 1 = 90°... rotation center = top-left corner */
int32_t i_actual_mirror; /* +1 = without mirror ; -1 = with mirror */
} save_piece_t;
......
......@@ -291,7 +291,7 @@ void puzzle_rotate_pce( filter_t *p_filter, int32_t i_piece, int8_t i_rotate_mir
for ( uint8_t i=0; i < abs( i_rotate_mirror ); i++) {
int32_t i_tempx, i_tempy;
/* piece has to be rotated by 90 */
/* piece has to be rotated by 90° */
if ( i_rotate_mirror > 0 ) {
ps_piece->i_actual_angle++;
ps_piece->i_actual_angle &= 0x03;
......
......@@ -77,7 +77,7 @@ typedef struct {
bool b_finished;
bool b_overlap;
int8_t i_actual_angle; /* 0 = 0, 1 = 90... rotation center = top-left corner */
int8_t i_actual_angle; /* 0 = 0°, 1 = 90°... rotation center = top-left corner */
int32_t i_actual_mirror; /* +1 = without mirror ; -1 = with mirror */
int32_t i_step_x_x, i_step_x_y, i_step_y_y, i_step_y_x;
int32_t i_ORx, i_OTy, i_OLx, i_OBy; /* location of original piece's edges */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment