Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.54 KB | None | 0 0
  1. /*
  2.  * Main header file.
  3.  */
  4.  
  5. #ifndef MAIN_H
  6. #define MAIN_H
  7.  
  8. /* Includes */
  9. #include <GL/gl.h>
  10. #include <GL/glut.h>
  11. #include "game.h"
  12.  
  13. /* Prototypes */
  14. void                    callDraw();
  15. void                    callLogic();
  16. void                    callKeyboard(unsigned char key, int x, int y);
  17. void                    callMovement(int key, int x, int y);
  18. void                    callMovementRelease(int key, int x, int y);
  19.  
  20. /* Timing to limit fps */
  21. clock_t                 timeNow;
  22. clock_t                 timeMovement = 0;
  23.  
  24.  
  25. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement