projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed indentation (no functional change) (more)
[rocksndiamonds.git]
/
src
/
libgame
/
sdl.c
diff --git
a/src/libgame/sdl.c
b/src/libgame/sdl.c
index 096eeb709fdcd7e78441774bfd5d15564af1fae9..dce249365e940efd5b1e9a43d6462904d31fe240 100644
(file)
--- a/
src/libgame/sdl.c
+++ b/
src/libgame/sdl.c
@@
-70,13
+70,13
@@
static void FinalizeScreen(int draw_target)
if (gfx.draw_envelope_request_function != NULL)
gfx.draw_envelope_request_function(draw_target);
if (gfx.draw_envelope_request_function != NULL)
gfx.draw_envelope_request_function(draw_target);
- // copy global animations to render target buffer, if defined (mouse pointer)
- if (gfx.draw_global_anim_function != NULL)
- gfx.draw_global_anim_function(draw_target, DRAW_GLOBAL_ANIM_STAGE_3);
-
// copy tile selection cursor to render target buffer, if defined (part 2)
if (gfx.draw_tile_cursor_function != NULL)
gfx.draw_tile_cursor_function(draw_target, FALSE);
// copy tile selection cursor to render target buffer, if defined (part 2)
if (gfx.draw_tile_cursor_function != NULL)
gfx.draw_tile_cursor_function(draw_target, FALSE);
+
+ // copy global animations to render target buffer, if defined (mouse pointer)
+ if (gfx.draw_global_anim_function != NULL)
+ gfx.draw_global_anim_function(draw_target, DRAW_GLOBAL_ANIM_STAGE_3);
}
static void UpdateScreenExt(SDL_Rect *rect, boolean with_frame_delay)
}
static void UpdateScreenExt(SDL_Rect *rect, boolean with_frame_delay)
@@
-1463,7
+1463,7
@@
void SDLDrawLines(SDL_Surface *surface, struct XY *points,
continue;
sge_Line(surface, points[i].x + dx, points[i].y + dy,
continue;
sge_Line(surface, points[i].x + dx, points[i].y + dy,
- points[i
+1].x + dx, points[i+
1].y + dy, color);
+ points[i
+ 1].x + dx, points[i +
1].y + dy, color);
}
}
}
}
}
}