projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
replaced glib function calls to g_strcompress()
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_graphics.c
diff --git
a/src/game_bd/bd_graphics.c
b/src/game_bd/bd_graphics.c
index ac84de400c9329c275e06d9ceae1e02364e9153f..b88f5bdb3ebbfefc15037f8e87d948228adb5349 100644
(file)
--- a/
src/game_bd/bd_graphics.c
+++ b/
src/game_bd/bd_graphics.c
@@
-318,7
+318,9
@@
static void gd_drawcave_tile(Bitmap *dest, GdGame *game, int x, int y, boolean d
int tile = game->element_buffer[y][x];
int frame = game->animcycle;
struct GraphicInfo_BD *g = &graphic_info_bd_object[tile][frame];
int tile = game->element_buffer[y][x];
int frame = game->animcycle;
struct GraphicInfo_BD *g = &graphic_info_bd_object[tile][frame];
- boolean use_smooth_movements = TRUE;
+ boolean use_smooth_movements =
+ ((setup.bd_smooth_movements == TRUE) ||
+ (setup.bd_smooth_movements == AUTO && !use_native_bd_graphics_engine()));
#if DO_GFX_SANITY_CHECK
if (use_native_bd_graphics_engine() && !setup.small_game_graphics && !program.headless)
#if DO_GFX_SANITY_CHECK
if (use_native_bd_graphics_engine() && !setup.small_game_graphics && !program.headless)