<commit_before>#include "Pipe.h"
#include "Log.h"

const int Pipe::pipe_size_middle = (PIPE_SIZE / 2);
const int Pipe::pipe_size_middle_start = Pipe::pipe_size_middle - 1;

Pipe::Pipe(SDL_Surface *sprite_param, SDL_Surface *alt_sprite_param, bool top_param, bool right_param, bool down_param, bool left_param)
{
    init(sprite_param, alt_sprite_param, top_param, right_param, down_param, left_param);
}

Pipe::Pipe(SDL_Surface *sprite_param, SDL_Surface *alt_sprite_param)
{
    int sum;

    bool t = rand() & 0x1;
    bool r = rand() & 0x1;
    bool d = rand() & 0x1;
    bool l = rand() & 0x1;

    do {
        t = rand() & 0x1;
        r = rand() & 0x1;
        d = rand() & 0x1;
        l = rand() & 0x1;

        sum = t + r + d + l;
    } while (sum != 2);
<commit_msg>Re-enable all kinds of pipes.<commit_after>#include "Pipe.h"
#include "Log.h"

const int Pipe::pipe_size_middle = (PIPE_SIZE / 2);
const int Pipe::pipe_size_middle_start = Pipe::pipe_size_middle - 1;

Pipe::Pipe(SDL_Surface *sprite_param, SDL_Surface *alt_sprite_param, bool top_param, bool right_param, bool down_param, bool left_param)
{
    init(sprite_param, alt_sprite_param, top_param, right_param, down_param, left_param);
}

Pipe::Pipe(SDL_Surface *sprite_param, SDL_Surface *alt_sprite_param)
{
    bool t = rand() & 0x1;
    bool r = rand() & 0x1;
    bool d = rand() & 0x1;
    bool l = rand() & 0x1;

{'fraction_non_alphanumeric': 0.1316546762589928, 'fraction_numerical': 0.020863309352517987, 'mean_word_length': 3.829861111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4064585', 'n_tokens_mistral': 576, 'n_tokens_neox': 546, 'n_words': 131}