// Shave and a Haircut // (c) 2019 Epic Games // US Patent 6720962 //#include #include "math.h" //#define GLUT_DISABLE_ATEXIT_HACK 1 //#define GLUT_BUILDING_LIB 1 #define _MAC 1 #define MAC 1 int GLOBAL_VERBOSE =1; #define NOTBROKEN 1 // you need this for anything #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 BROKEN 1 // is this a demo version? //#define NOLIB 1 // this is the interactive #define SOFTIMAGE 1 #define MAYA3D 1 //#define C4D 1 //#define EXTERNAL_COLLISION 1 //#define PUBLICSDK 1 #include "newshave.h" #ifdef _MAC #define HUGE 100000000.0f; #endif #include "miscops.c" HWND globhWnd; //#include "lwran.h" #include "platform.c" void MOVE_SLIDERS( int, int ); // 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 ) { // INITIALIZE GLUT INTERFACE, OPEN WINDOW GlutInit( &argc, argv, 800, 600 ); // glutInit_ATEXIT_HACK(&argc, argv, 800, 600); globhWnd = GetForegroundWindow( ); G_loaded = 2; if( slcheck( ) ) joemain( ); // initializes menus etc //if (!slcheck()) DRAW_STATUS(neg1); glutMainLoop( ); return ( 0 ); } #endif #include "mathstuff.c" #include "test.c"