Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/core/orxonox.cc @ 1849

Last change on this file since 1849 was 1849, checked in by patrick, 20 years ago

orxonox: Makefile for core

File size: 796 bytes
Line 
1/* class definition header */
2#include "orxonox.h"
3
4/* standard headers */
5#include <iostream>
6#include <cstdio>
7
8/* openGL Headers */
9#include <GL/glut.h>
10
11using namespace std;
12
13
14
15Orxonox::Orxonox() {}
16Orxonox::~Orxonox() {}
17
18
19int Orxonox::globalInit(int argc, char** argv) 
20{
21  glutInit(&argc, argv);
22  glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB);
23  glutInitWindowSize(500, 500);
24  glutInitWindowPosition(100, 100);
25  glutCreateWindow("orxOnox");
26  /* window event dispatchers */
27  /*
28    glutDisplayFunc(display);
29    glutReshapeFunc(resphape);
30    glutMainLoop();
31  */
32}
33
34
35int Orxonox::menuInit()
36{
37  glClearColor(0.0, 0.0, 0.0, 0.0);
38
39}
40
41
42
43int Orxonox::gameInit() 
44{
45
46}
47
48
49int main( int argc, char** argv ) 
50{ 
51  Orxonox orx;
52  orx.globalInit(argc, argv);
53  orx.menuInit();
54 
55  return 0;
56}
Note: See TracBrowser for help on using the repository browser.