white space changes
authorHolger Schemel <holger.schemel@virtion.de>
Thu, 12 Sep 2024 19:03:57 +0000 (21:03 +0200)
committerHolger Schemel <holger.schemel@virtion.de>
Thu, 12 Sep 2024 19:07:55 +0000 (21:07 +0200)
src/game_bd/bd_caveengine.c
src/game_bd/bd_gameplay.h
src/tools.c

index cfe930c0174066c890bc7317907feb76a8ebed3b..79749a61eee98aa85c7194651bbd73c42067afb5 100644 (file)
@@ -2944,7 +2944,8 @@ void gd_cave_iterate(GdCave *cave, GdDirection player_move, boolean player_fire,
        case O_BLADDER_8:
          // bladder with any delay state: try to convert to clock.
          if (is_element_dir(cave, x, y, opposite[grav_compat], cave->bladder_converts_by) ||
-             is_element_dir(cave, x, y, cw_fourth[grav_compat], cave->bladder_converts_by) || is_element_dir(cave, x, y, ccw_fourth[grav_compat], cave->bladder_converts_by))
+             is_element_dir(cave, x, y, cw_fourth[grav_compat], cave->bladder_converts_by) ||
+              is_element_dir(cave, x, y, ccw_fourth[grav_compat], cave->bladder_converts_by))
          {
            // if touches the specified element, let it be a clock
            store(cave, x, y, O_PRE_CLOCK_1);
index e6471f8517dea2b544d23d4225463bbbe7a01bd7..490ffa7e253ae6157714cd5893ebf869899f055f 100644 (file)
@@ -94,7 +94,7 @@ typedef struct _gd_game
   int cycle_counter;
 
   int replay_no_more_movements;
-  boolean show_story;          // to remember that story for a particular cave was already shown.
+  boolean show_story;           // to remember that story for a particular cave was already shown.
 
   boolean use_old_engine;      // for game engine compatibility with old replays
 } GdGame;
index 273cb6ae261fa2c587d228806f3e5f770b520d48..b473d9f8db0613937ac674bf352e36d57e476dac 100644 (file)
@@ -4412,7 +4412,7 @@ static void DrawPlayerExt(struct PlayerInfo *player, int drawing_stage)
     int frame = getGraphicAnimationFrame(graphic, player->Frame);
 
     if (player_is_opaque)
-      DrawGraphicShifted(sx,sy, sxx,syy, graphic, frame, NO_CUTTING,NO_MASKING);
+      DrawGraphicShifted(sx,sy, sxx,syy, graphic, frame, NO_CUTTING, NO_MASKING);
     else
       DrawGraphicShiftedThruMask(sx, sy, sxx, syy, graphic, frame, NO_CUTTING);