textpsys

diff src/main.cc @ 1:57c6f7b70126

renamed to textpsys
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 19 Aug 2015 09:17:20 +0300
parents a4ffd9e6984c
children 4b1360a5d54d
line diff
     1.1 --- a/src/main.cc	Wed Aug 19 09:13:48 2015 +0300
     1.2 +++ b/src/main.cc	Wed Aug 19 09:17:20 2015 +0300
     1.3 @@ -6,7 +6,7 @@
     1.4  #else
     1.5  #include <GLUT/glut.h>
     1.6  #endif
     1.7 -#include "tbomb.h"
     1.8 +#include "effect.h"
     1.9  
    1.10  void display();
    1.11  void idle();
    1.12 @@ -38,10 +38,10 @@
    1.13  	glutReshapeFunc(reshape);
    1.14  	glutKeyboardFunc(keyboard);
    1.15  
    1.16 -	if(!tbomb_init()) {
    1.17 +	if(!fx_init()) {
    1.18  		return 1;
    1.19  	}
    1.20 -	atexit(tbomb_cleanup);
    1.21 +	atexit(fx_cleanup);
    1.22  
    1.23  	start_time = glutGet(GLUT_ELAPSED_TIME);
    1.24  	glutMainLoop();
    1.25 @@ -54,7 +54,7 @@
    1.26  
    1.27  	glClear(GL_COLOR_BUFFER_BIT);
    1.28  
    1.29 -	tbomb_draw(msec);
    1.30 +	fx_draw(msec);
    1.31  
    1.32  	glutSwapBuffers();
    1.33  	assert(glGetError() == GL_NO_ERROR);
    1.34 @@ -93,7 +93,7 @@
    1.35  		break;
    1.36  
    1.37  	case ' ':
    1.38 -		tbomb_dbg();
    1.39 +		fx_dbg();
    1.40  		break;
    1.41  	}
    1.42  }