<commit_before>/*
 * Made By: <NAME>
 * Date: 1/7/16
 * Project: Space Game
 */

#include <GL/gl.h>
#include <GL/freeglut.h>
#include <iostream>
#include <ctime>
#include "player.h"
#include "Stars.h"

void init();
void g_display();
void g_reshape(GLint width, GLint height);
void g_spKeyboard(int key, int x, int y);
void g_keyboard(unsigned char key, int x, int y);
void g_mouse(int button, int state, int x, int y);
void g_idle();

std::clock_t g_PreviousTicks;
std::clock_t g_CurrentTicks;

bool Debug = false;

using std::cout;
using std::endl;

player ship;
Stars star;

int main (int argc, char** argv)
{
    glutInit(&argc, argv);
    glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGB|GLUT_DEPTH);

    glutInitWindowSize(600, 600);
    glutInitWindowPosition(100, 100);

    glutCreateWindow("Space Game");

    init();

    glutDisplayFunc(g_display);
    glutReshapeFunc(g_reshape);
    glutSpecialFunc(g_spKeyboard);
    glutKeyboardFunc(g_keyboard);
    glutMouseFunc(g_mouse);
    glutIdleFunc(g_idle);
    glutMainLoop();
}

void init()
{
    if(Debug)
    {
        cout << "openGL Init" << endl;
    }
    ship.Debug = Debug;
    star.Debug = Debug;<commit_msg>implementing chunks (starting)<commit_after>/*
 * Made By: <NAME>
 * Date: 1/7/16
 * Project: Space Game
 */

#include <GL/gl.h>
#include <GL/freeglut.h>
#include <iostream>
#include <ctime>
#include "player.h"
#include "Stars.h"

void init();
void g_display();
void g_reshape(GLint width, GLint height);
void g_spKeyboard(int key, int x, int y);
void g_keyboard(unsigned char key, int x, int y);
void g_mouse(int button, int state, int x, int y);
void g_idle();

std::clock_t g_PreviousTicks;
std::clock_t g_CurrentTicks;

bool Debug = false;

using std::cout;
using std::endl;

player ship;
Stars star;

int main(int argc, char** argv) {
    glutInit(&argc, argv);
    glutInitDisplayMode(GLUT_DOUBLE|GLUT_RGB|GLUT_DEPTH);

    glutInitWindowSize(600, 600);
    glutInitWindowPosition(100, 100);

    glutCreateWindow("Space Game");

    init();

    glutDisplayFunc(g_display);
    glutReshapeFunc(g_reshape);
    glutSpecialFunc(g_spKeyboard);
    glutKeyboardFunc(g_keyboard);
    glutMouseFunc(g_mouse);
    glutIdleFunc(g_idle);
    glutMainLoop();
}

void init()
{
    if(Debug)
    {
        cout << "openGL Init" << endl;
    }
    ship.Debug = Debug;
    star.Debug = Debug;
{'fraction_non_alphanumeric': 0.13678844519966016, 'fraction_numerical': 0.013593882752761258, 'mean_word_length': 4.187224669603524, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 13, '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': '3982465', 'n_tokens_mistral': 922, 'n_tokens_neox': 871, 'n_words': 210}