<commit_before>#include <stdint.h>

#define BIT_ENTRANCE    0x01
#define BIT_DOOR_NORTH  0x02
#define BIT_DOOR_EAST   0x04
#define BIT_DOOR_SOUTH  0x08
#define BIT_DOOR_WEST   0x10
#define BIT_STAIR_BELOW 0x20
#define BIT_STAIR_UP    0x40

// Grid cell: int:
// bit 0: 1 if there is a door leading to the outside, 0 else
// bits 1 to 4: 1 if there is a door leading to the next cell, 0 else
//      bit 1: north
//      bit 2: east
//      bit 3: south
//      bit 4: west
// bits 5: 1 if there is a stair leading to the floor below, 0 else
// bits 6: 1 if there is a stair leading to the floor below, 0 else
typedef struct {
	uint8_t* grid;
	int width;
	int height;
} s_dungeon;

s_dungeon generate_dungeon(s_dungeon d);
void display_dungeon(s_dungeon d);
<commit_msg>bit added<commit_after>#include <stdint.h>

#define BIT_USED_ROOM   0x01
#define BIT_ENTRANCE    0x02
#define BIT_DOOR_NORTH  0x04
#define BIT_DOOR_EAST   0x08
#define BIT_DOOR_SOUTH  0x10
#define BIT_DOOR_WEST   0x20
#define BIT_STAIR_BELOW 0x40
#define BIT_STAIR_UP    0x80

// Grid cell: int:
// bit 0: 1 if there is a door leading to the outside, 0 else
// bits 1 to 4: 1 if there is a door leading to the next cell, 0 else
//      bit 1: north
//      bit 2: east
//      bit 3: south
//      bit 4: west
// bits 5: 1 if there is a stair leading to the floor below, 0 else
// bits 6: 1 if there is a stair leading to the floor below, 0 else
typedef struct {
	uint8_t* grid;
	int width;
	int height;
} s_dungeon;

s_dungeon generate_dungeon(s_dungeon d);
void display_dungeon(s_dungeon d);

{'fraction_non_alphanumeric': 0.07613563659628919, 'fraction_numerical': 0.05182341650671785, 'mean_word_length': 3.215633423180593, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4275641', 'n_tokens_mistral': 660, 'n_tokens_neox': 600, 'n_words': 232}