// Globals.h : Global declarations
// Copyright (c) 1999 ID8 Media
// Written by Edwin P. Berlin, Jr., Secret Software

/////////////////////////////////////////////////////////////////////////////
// Global declarations

#include "gypsy.h"					//Interface to Gypsy.dll
#include "matrix.h"

//Values for RenderType
#define RENDER_NOTHING		0
#define RENDER_WIREFRAME	1
#define RENDER_SOLID		2
#define RENDER_RAW			3

///////////
//Variables
extern BOOL ShowAxes;
extern BOOL ShowGrid;
extern BOOL ShowFootShadow;
extern BOOL ShowContactPoints;
extern BOOL ShowNodeNames;
extern BOOL ShowNodes;
extern BOOL FollowCharacter;
extern BOOL ForceAngleChannelsToZero;
extern BOOL ForcePositionChannelsToZero;
extern BOOL ZeroPotChannels;
extern int RenderType;
extern int CurrentFrame;
extern Skeleton skeleton;
extern BOOL Live;
extern BOOL Play;
extern BOOL Record;
extern Frame LiveFrame;
extern Matrix View;
extern float Scale;
extern float OffsetX;
extern float OffsetY;
extern int ClientWidth;
extern int ClientHeight;

///////////
//Functions
BOOL ApplyFrame();
void RenderFigure(CDC *dc);
