Skip to content

Commit

Permalink
glide: Rename some glitch source files for clarity.
Browse files Browse the repository at this point in the history
main.h -> glitchmain.h
glState.cpp -> OGLESwrappers.h
  • Loading branch information
littleguy77 committed Jan 7, 2015
1 parent 6c2cc67 commit 12af19b
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <math.h>
#include <stdio.h>
#include "glide.h"
#include "main.h"
#include "glitchmain.h"

#include "../Glide64/winlnxdefs.h"
#include "../Glide64/rdp.h" // for settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <windows.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include "../Glide64/winlnxdefs.h"
#include "../Glide64/rdp.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <math.h>
#include "glide.h"
#include "g3ext.h"
#include "main.h"
#include "glitchmain.h"
#include "m64p.h"

#define OPENGL_CHECK_ERRORS { const GLenum errcode = glGetError(); if (errcode != GL_NO_ERROR) LOG("OpenGL Error code %i in '%s' line %i\n", errcode, __FILE__, __LINE__-1); }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <stdlib.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include <stdio.h>

/* Napalm extensions to GrTextureFormat_t */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <math.h>
#include <stdio.h>
#include "glide.h"
#include "main.h"
#include "glitchmain.h"

static int fct[4], source0[4], operand0[4], source1[4], operand1[4], source2[4], operand2[4];
static int fcta[4],sourcea0[4],operanda0[4],sourcea1[4],operanda1[4],sourcea2[4],operanda2[4];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <windows.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include "../Glide64/winlnxdefs.h"
#include "../Glide64/rdp.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include <math.h>
#include "glide.h"
#include "g3ext.h"
#include "main.h"
#include "glitchmain.h"
#include "m64p.h"

#ifdef VPDEBUG
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <stdlib.h>
#endif // _WIN32
#include "glide.h"
#include "main.h"
#include "glitchmain.h"
#include <stdio.h>

/* Napalm extensions to GrTextureFormat_t */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ extern "C" {
#error SDL is not build with OpenGL ES2 support. Try USE_GLES=0
#endif
#include <SDL_opengles2.h>
#include "OGLESwrappers.h"
#else
#ifndef SDL_VIDEO_OPENGL
#error SDL is not build with OpenGL support. Try USE_GLES=1
Expand All @@ -124,7 +125,6 @@ extern "C" {
#endif
#endif // _WIN32
#include "glide.h"
#include "glState.cpp"

void display_warning(const unsigned char *text, ...);
void display_warning(const char *text, ...);
Expand Down

0 comments on commit 12af19b

Please sign in to comment.