aboutsummaryrefslogtreecommitdiff
path: root/libexe/shavelib1forAW.c
blob: 3510ec95b3050771d94ac5a39d80870718bd15b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Shave and a Haircut
// (c) 2019 Epic Games
// US Patent 6720962

//#include <ri.h>
#include "math.h"
//#define GLUT_DISABLE_ATEXIT_HACK 1
//#define GLUT_BUILDING_LIB 1
//#define _MAC 1
//#define MAC 1
// joe  ---- #ifndef _DEBUG
#define SOFTIMAGE 1 // turn this off if you turn on BROKEN
//#define BROKEN 1 // is this a demo version?
#define NOTBROKEN 1				// you need this for anything
//#endif
#define LIB	1					// you need this for  lw, maya and soft
//#define RENDERLW 1  // you need this for  lw
//#define VOLUMETRICLW 1
//#define DLL 1       // you need this for rman & LW
//#define MKVOX 1     // you need this for rman
//#define NOLIB 1 // this is the interactive
//#define C4D 1
#define MAYA3D 1
//#define MAYABETA 1 // no protection! <---- turn this on for vlad's demo and testroot
//#define EXTERNAL_COLLISION 1
//#define PUBLICSDK 1
#include "newshave.h"
#ifdef _MAC
#define HUGE 100000000.0f;
#endif

#include "miscops.c"
static HWND     globhWnd;
//#include "lwran.h"
#include "platform.c"

#ifdef BROKEN
unsigned long gethostid2(void)
{
	return(1);
}
#endif

void            MOVE_SLIDERS( int, int );

// Change viewing volume and viewport.  Called when window is resized
void
ChangeSize( int w, int h )
{
}

// This function does any needed initialization on the rendering
// context.  Here it sets up and initializes the lighting for
// the scene.

char            thewholepath[255];

VERT            vxm( Matrix, VERT );


int             main_entry( int argc, char **argv );
int             slcheck( void );

#ifdef NOLIB
int
main_entry( int argc, char **argv )
{
}

#endif

#include "mathstuff.c"
#include "test.c"