<commit_before>
#include "utils.h"
#include <stdio.h> 
#include <time.h>
#include <stdlib.h>
#include <vector>
#include "state.h"

using namespace std;

state st;

int main(int argc, char** argv) {

  // OpenGL/glut setup
  glutInit(&argc, argv);		
  glutInitDisplayMode(GLUT_ALPHA | GLUT_DOUBLE | GLUT_RGBA | GLUT_MULTISAMPLE | GLUT_DEPTH );

  glutInitWindowSize(800, 800);
  glutInitWindowPosition(50, 50);
  
  glutCreateWindow("final project - <NAME>");      

  glEnable(GL_LIGHTING);
  glEnable(GL_DEPTH_TEST);  
  glEnable(GL_COLOR_MATERIAL);
  glEnable(GL_NORMALIZE); 
  glEnable( GL_TEXTURE_2D );

  st.texture = loadTextureRAW("images/Ice.rgb", true); 


  // Set up all callback functions.
  glutKeyboardFunc      ([] (unsigned char a, int b, int c) { st.keyboard(a,b,c);         });
  glutDisplayFunc       ([] ()                              { st.display();               });
  glutSpecialFunc       ([] (int a, int b, int c)           { st.specialKey(a,b,c);       });
  glutMouseFunc         ([] (int a, int b, int c, int d)    { st.mousePressed(a,b,c,d);   });
  glutMotionFunc        ([] (int a, int b)                  { st.mouseMoved(a,b);         }); 
  glutPassiveMotionFunc ([] (int a, int b)                  { st.passiveMouseMoved(a,b);  }); 
  glutReshapeFunc       ([] (int a, int b)                  { st.reshape(a,b);            }); 
  glutIdleFunc          ([] ()                              { st.step();                  });
  
  
  // New game menu
  int diffMenu = glutCreateMenu ([] (int i) { st.difficulty = i; st.menuHandler(2); });
  glutAddMenuEntry("Easy", 0);<commit_msg>names<commit_after>
#include "utils.h"
#include <stdio.h> 
#include <time.h>
#include <stdlib.h>
#include <vector>
#include "state.h"

using namespace std;

state st;

int main(int argc, char** argv) {

  // OpenGL/glut setup
  glutInit(&argc, argv);		
  glutInitDisplayMode(GLUT_ALPHA | GLUT_DOUBLE | GLUT_RGBA | GLUT_MULTISAMPLE | GLUT_DEPTH );

  glutInitWindowSize(800, 800);
  glutInitWindowPosition(50, 50);
  
  glutCreateWindow("CS3GC3 - Final project - <NAME>, <NAME>");      

  glEnable(GL_LIGHTING);
  glEnable(GL_DEPTH_TEST);  
  glEnable(GL_COLOR_MATERIAL);
  glEnable(GL_NORMALIZE); 
  glEnable( GL_TEXTURE_2D );

  st.texture = loadTextureRAW("images/Ice.rgb", true); 


  // Set up all callback functions.
  glutKeyboardFunc      ([] (unsigned char a, int b, int c) { st.keyboard(a,b,c);         });
  glutDisplayFunc       ([] ()                              { st.display();               });
  glutSpecialFunc       ([] (int a, int b, int c)           { st.specialKey(a,b,c);       });
  glutMouseFunc         ([] (int a, int b, int c, int d)    { st.mousePressed(a,b,c,d);   });
  glutMotionFunc        ([] (int a, int b)                  { st.mouseMoved(a,b);         }); 
  glutPassiveMotionFunc ([] (int a, int b)                  { st.passiveMouseMoved(a,b);  }); 
  glutReshapeFunc       ([] (int a, int b)                  { st.reshape(a,b);            }); 
  glutIdleFunc          ([] ()                              { st.step();                  });
  
  
  // New game menu
  int diffMenu = glutCreateMenu ([] (int i) { st.difficulty = i; st.menuHandler(2); });
  glutAddMenuEntry("Easy", 0);
{'fraction_non_alphanumeric': 0.1509433962264151, 'fraction_numerical': 0.008660686668728735, 'mean_word_length': 2.205153617443013, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3162434', 'n_tokens_mistral': 1207, 'n_tokens_neox': 1088, 'n_words': 231}