-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7ae8ac
commit 0ef117d
Showing
24 changed files
with
188 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
680.000 456.000 | ||
90.100 | ||
90.000 | ||
64 64 | ||
1 0 0 | ||
0 1 0 | ||
0 0 0 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
2.000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
584.000 360.000 | ||
90.100 | ||
90.000 | ||
64 64 | ||
0 0 1 | ||
0 1 0 | ||
0 0 0 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
2.000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
680.000 360.000 | ||
90.100 | ||
0.000 | ||
64 64 | ||
0 0 0 | ||
0 1 0 | ||
0 0 0 | ||
1 | ||
0 | ||
1 | ||
1 | ||
0 | ||
1.000 | ||
0.000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
776.000 360.000 | ||
90.100 | ||
90.000 | ||
64 64 | ||
1 1 0 | ||
0 1 0 | ||
0 0 0 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
2.000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
680.000 264.000 | ||
90.100 | ||
90.000 | ||
64 64 | ||
0 1 0 | ||
0 1 0 | ||
0 0 0 | ||
1 | ||
0 | ||
0 | ||
1 | ||
0 | ||
2.000 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
/* This file is a part of 2DWorld - The Generic 2D Game Engine | ||
Copyright (C) 2014 James Nakano | ||
2DWorld is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
2DWorld is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with the rest of 2DWorld. If not, see <http://www.gnu.org/licenses/>.*/ | ||
|
||
#ifndef GRAPHICS_H | ||
#define GRAPHICS_H | ||
#ifdef __APPLE__ | ||
#include <OpenGL/gl.h> | ||
#include <OpenGL/glu.h> | ||
#include <GLUT/glut.h> | ||
#else | ||
#ifdef _WIN32 | ||
#include <windows.h> | ||
#endif | ||
#include <GL/gl.h> | ||
#include <GL/glu.h> | ||
#include <GL/glut.h> | ||
#endif | ||
|
||
namespace graphics | ||
{ | ||
extern GLuint texture; | ||
void load(); | ||
}; | ||
|
||
#endif // GRAPHICS_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.