aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/gfx_operations.h
diff options
context:
space:
mode:
authorMax Horn2009-02-15 22:32:57 +0000
committerMax Horn2009-02-15 22:32:57 +0000
commit78e0d055eae23f701b1fc2467c1b2f90041c3679 (patch)
tree930e456e591a3d02428094164269f30d68d9de4a /engines/sci/include/gfx_operations.h
parent5ecfecd3bc795446581186eb7f0e04b1c0caa0e3 (diff)
downloadscummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.tar.gz
scummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.tar.bz2
scummvm-rg350-78e0d055eae23f701b1fc2467c1b2f90041c3679.zip
SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: include dir
svn-id: r38319
Diffstat (limited to 'engines/sci/include/gfx_operations.h')
-rw-r--r--engines/sci/include/gfx_operations.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/engines/sci/include/gfx_operations.h b/engines/sci/include/gfx_operations.h
index c1dbe350b1..89987bdeb1 100644
--- a/engines/sci/include/gfx_operations.h
+++ b/engines/sci/include/gfx_operations.h
@@ -71,7 +71,7 @@ typedef enum {
/* possible with alphaing, but there is no way to check for
** alpha capability of gfx_driver->draw_filled_rect() yet
*/
- ,GFX_BOX_SHADE_RIGHT_DOWN,
+ , GFX_BOX_SHADE_RIGHT_DOWN,
GFX_BOX_SHADE_LEFT_DOWN,
GFX_BOX_SHADE_RIGHT_UP,
GFX_BOX_SHADE_LEFT_UP
@@ -164,7 +164,7 @@ gfxop_init_default(gfx_state_t *state, gfx_options_t *options, void *misc_info);
int
gfxop_init(gfx_state_t *state, int xfact, int yfact, gfx_color_mode_t bpp,
- gfx_options_t *options, void *misc_info);
+ gfx_options_t *options, void *misc_info);
/* Initializes a custom graphics mode
** Parameters: (gfx_state_t *) state: The state to initialize
** (int x int) xfact, yfact: Horizontal and vertical scale factors
@@ -244,9 +244,9 @@ gfxop_have_mouse(gfx_state_t *state);
int
gfxop_draw_line(gfx_state_t *state,
- point_t start, point_t end,
- gfx_color_t color, gfx_line_mode_t line_mode,
- gfx_line_style_t line_style);
+ point_t start, point_t end,
+ gfx_color_t color, gfx_line_mode_t line_mode,
+ gfx_line_style_t line_style);
/* Renders a clipped line to the back buffer
** Parameters: (gfx_state_t *) state: The state affected
** (point_t) start: Starting point of the line
@@ -259,7 +259,7 @@ gfxop_draw_line(gfx_state_t *state,
int
gfxop_draw_rectangle(gfx_state_t *state, rect_t rect, gfx_color_t color, gfx_line_mode_t line_mode,
- gfx_line_style_t line_style);
+ gfx_line_style_t line_style);
/* Draws a non-filled rectangular box to the back buffer
** Parameters: (gfx_state_t *) state: The affected state
** (rect_t) rect: The rectangular area the box is drawn to
@@ -272,7 +272,7 @@ gfxop_draw_rectangle(gfx_state_t *state, rect_t rect, gfx_color_t color, gfx_lin
int
gfxop_draw_box(gfx_state_t *state, rect_t box, gfx_color_t color1, gfx_color_t color2,
- gfx_box_shade_t shade_type);
+ gfx_box_shade_t shade_type);
/* Draws a filled box to the back buffer
** Parameters: (gfx_state_t *) state: The affected state
** (rect_t) box: The area to draw to
@@ -349,7 +349,7 @@ gfxop_disable_dirty_frames(gfx_state_t *state);
int
gfxop_set_color(gfx_state_t *state, gfx_color_t *color, int r, int g, int b, int a,
- int priority, int control);
+ int priority, int control);
/* Maps an r/g/b value to a color and sets a gfx_color_t structure
** Parameters: (gfx_state_t *) state: The current state
** (gfx_color_t *) color: Pointer to the structure to write to
@@ -503,7 +503,7 @@ gfxop_overflow_cel(gfx_state_t *state, int nr, int *loop, int *cel);
int
gfxop_get_cel_parameters(gfx_state_t *state, int nr, int loop, int cel,
- int *width, int *height, point_t *offset);
+ int *width, int *height, point_t *offset);
/* Retreives the width and height of a cel
** Parameters: (gfx_state_t *) state: The state to use
** (int) nr: Number of the view
@@ -518,7 +518,7 @@ gfxop_get_cel_parameters(gfx_state_t *state, int nr, int loop, int cel,
int
gfxop_draw_cel(gfx_state_t *state, int nr, int loop, int cel, point_t pos,
- gfx_color_t color, int palette);
+ gfx_color_t color, int palette);
/* Draws (part of) a cel to the back buffer
** Parameters: (gfx_state_t *) state: The state encapsulating the driver to draw with
** (int) nr: Number of the view to draw
@@ -533,7 +533,7 @@ gfxop_draw_cel(gfx_state_t *state, int nr, int loop, int cel, point_t pos,
int
gfxop_draw_cel_static(gfx_state_t *state, int nr, int loop, int cel, point_t pos,
- gfx_color_t color, int palette);
+ gfx_color_t color, int palette);
/* Draws a cel to the static buffer; no clipping is performed
** Parameters: (gfx_state_t *) state: The state encapsulating the driver to draw with
** (int) nr: Number of the view to draw
@@ -549,7 +549,7 @@ gfxop_draw_cel_static(gfx_state_t *state, int nr, int loop, int cel, point_t pos
int
gfxop_draw_cel_static_clipped(gfx_state_t *state, int nr, int loop, int cel, point_t pos,
- gfx_color_t color, int palette);
+ gfx_color_t color, int palette);
/* Draws (part of) a clipped cel to the static buffer
** Parameters: (gfx_state_t *) state: The state encapsulating the driver to draw with
** (int) nr: Number of the view to draw
@@ -617,8 +617,8 @@ gfxop_get_font_height(gfx_state_t *state, int font_nr);
int
gfxop_get_text_params(gfx_state_t *state, int font_nr, const char *text,
- int maxwidth, int *width, int *height, int flags,
- int *lines_nr, int *lineheight, int *lastline_width);
+ int maxwidth, int *width, int *height, int flags,
+ int *lines_nr, int *lineheight, int *lastline_width);
/* Calculates the width and height of a specified text in a specified font
** Parameters: (gfx_state_t *) state: The state to use
** (int) font_nr: Font number to use for the calculation
@@ -636,9 +636,9 @@ gfxop_get_text_params(gfx_state_t *state, int font_nr, const char *text,
gfx_text_handle_t *
gfxop_new_text(gfx_state_t *state, int font_nr, char *text, int maxwidth,
- gfx_alignment_t halign, gfx_alignment_t valign,
- gfx_color_t color1, gfx_color_t color2, gfx_color_t bg_color,
- int flags);
+ gfx_alignment_t halign, gfx_alignment_t valign,
+ gfx_color_t color1, gfx_color_t color2, gfx_color_t bg_color,
+ int flags);
/* Generates a new text handle that can be used to draw any text
** Parameters: (gfx_state_t *) state: The state to use
** (int) font_nr: Font number to use for the calculation