From a35472befe3a0d38dc3aea746f9acb32be62974e Mon Sep 17 00:00:00 2001 From: kmdreko Date: Tue, 3 Nov 2015 18:13:11 -0600 Subject: [PATCH] properly format function comment --- src/interface/viewport.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/interface/viewport.c b/src/interface/viewport.c index 355d333268..a7878405b1 100644 --- a/src/interface/viewport.c +++ b/src/interface/viewport.c @@ -275,16 +275,18 @@ void sub_683326(int left, int top, int right, int bottom) RCT2_CALLPROC_X(0x00683359, left, top, right, bottom, 0, 0, 0); } -// shifts pixels from the region in a direction. Used when a viewport moves; -// consider putting in src/drawing/drawing.c or src/drawing/rect.c -// -// 0x00683359 -// ax = x -// bx = y; -// cx = width; -// dx = height; -// di = dx; -// si = dy; +/** + * shifts pixels from the region in a direction. Used when a viewport moves; + * consider putting in src/drawing/drawing.c or src/drawing/rect.c + * + * rct2: 0x00683359 + * ax = x + * bx = y; + * cx = width; + * dx = height; + * di = dx; + * si = dy; + */ void gfx_move_screen_rect(int x, int y, int width, int height, int dx, int dy) { // nothing to do