<commit_before>#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h>
#include <sys/syslimits.h>

#define SCREEN_WIDTH 800
#define SCREEN_HEIGHT 600

#define LETTERS 26

bool kfcTextToTex(const char *, SDL_Texture **, SDL_Color, int);
void kfcRenderChar(const char);
void kfcRenderTex(SDL_Texture *, int, int);
char kfcRandomLetter(void);
bool kfcInitSound(void);
void kfcQuitSound(void);
void logErrorSDL(const char *);

static const char *fontname = "/Library/Fonts/Arial Black.ttf";
static const char *vf_bravo = "audio/bravo.mp3";
static const char *vf_find = "audio/find.mp3";

static SDL_Color white = { 255, 255, 255 };
static SDL_Window *win;
static SDL_Renderer *ren;

static Mix_Music *v_bravo;
static Mix_Music *v_find;
static Mix_Music *v_alpha[LETTERS];

int main (int argc, char *argv[]) 
{
	char c;

	if (SDL_Init(SDL_INIT_EVERYTHING) != 0){
		logErrorSDL("SDL_Init Error");
		return 1;
	}

	win = SDL_CreateWindow("KFC!", 100, 100, SCREEN_WIDTH, 
	    SCREEN_HEIGHT, SDL_WINDOW_SHOWN);	
	if (win == NULL) {
		logErrorSDL("SDL_CreateWindow Error");
		SDL_Quit();
		return 1;
	}

	ren = SDL_CreateRenderer(win, -1, 
	    SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
	if (ren == NULL) {
		SDL_DestroyWindow(win);
		SDL_Quit();
		return 1;<commit_msg>Make it work in full screen.<commit_after>#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <SDL2/SDL.h>
#include <SDL2/SDL_ttf.h>
#include <SDL2/SDL_mixer.h>
#include <sys/syslimits.h>

#define SCREEN_WIDTH 1440
#define SCREEN_HEIGHT 900

#define LETTERS 26

bool kfcTextToTex(const char *, SDL_Texture **, SDL_Color, int);
void kfcRenderChar(const char);
void kfcRenderTex(SDL_Texture *, int, int);
char kfcRandomLetter(void);
bool kfcInitSound(void);
void kfcQuitSound(void);
void logErrorSDL(const char *);

static const char *fontname = "/Library/Fonts/Arial Black.ttf";
static const char *vf_bravo = "audio/bravo.mp3";
static const char *vf_find = "audio/find.mp3";

static SDL_Color white = { 255, 255, 255 };
static SDL_Window *win;
static SDL_Renderer *ren;

static Mix_Music *v_bravo;
static Mix_Music *v_find;
static Mix_Music *v_alpha[LETTERS];

int main (int argc, char *argv[]) 
{
	char c;

	if (SDL_Init(SDL_INIT_EVERYTHING) != 0){
		logErrorSDL("SDL_Init Error");
		return 1;
	}

	win = SDL_CreateWindow("KFC!", 100, 100, SCREEN_WIDTH, 
	    SCREEN_HEIGHT, SDL_WINDOW_SHOWN | SDL_WINDOW_FULLSCREEN_DESKTOP);	
	if (win == NULL) {
		logErrorSDL("SDL_CreateWindow Error");
		SDL_Quit();
		return 1;
	}

	ren = SDL_CreateRenderer(win, -1, 
	    SDL_RENDERER_ACCELERATED | SDL_RENDERER_PRESENTVSYNC);
	if (ren == NULL) {
		SDL_DestroyWindow(win);
		SDL_Quit();
		return 1;
{'fraction_non_alphanumeric': 0.13062409288824384, 'fraction_numerical': 0.024310595065312045, 'mean_word_length': 5.3672055427251735, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5026054', 'n_tokens_mistral': 1227, 'n_tokens_neox': 1075, 'n_words': 253}