[Glide64] Other cleanups like changing __WINDOWS__ to WIN32
This commit is contained in:
parent
606189f8de
commit
549e2f78fb
|
@ -38,6 +38,13 @@
|
||||||
//****************************************************************
|
//****************************************************************
|
||||||
|
|
||||||
#include "Gfx #1.3.h"
|
#include "Gfx #1.3.h"
|
||||||
|
extern "C" {
|
||||||
|
#ifndef NOSSE
|
||||||
|
#include <xmmintrin.h>
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
#include <math.h>
|
||||||
#include "3dmath.h"
|
#include "3dmath.h"
|
||||||
|
|
||||||
void calc_light (VERTEX *v)
|
void calc_light (VERTEX *v)
|
||||||
|
|
|
@ -70,7 +70,7 @@ int grid = 0;
|
||||||
static const char *tri_type[4] = { "TRIANGLE", "TEXRECT", "FILLRECT", "BACKGROUND" };
|
static const char *tri_type[4] = { "TRIANGLE", "TEXRECT", "FILLRECT", "BACKGROUND" };
|
||||||
|
|
||||||
//Platform-specific stuff
|
//Platform-specific stuff
|
||||||
#ifndef __WINDOWS__
|
#ifndef WIN32
|
||||||
typedef struct dbgPOINT {
|
typedef struct dbgPOINT {
|
||||||
int x;
|
int x;
|
||||||
int y;
|
int y;
|
||||||
|
|
|
@ -105,7 +105,7 @@ typedef unsigned char boolean;
|
||||||
#define GLIDE64_CATCH catch (...)
|
#define GLIDE64_CATCH catch (...)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __WINDOWS__
|
#ifndef WIN32
|
||||||
typedef void* HWND;
|
typedef void* HWND;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue