summaryrefslogtreecommitdiffstats
path: root/1.4.0/fx/include/cfxWin.h
diff options
context:
space:
mode:
Diffstat (limited to '1.4.0/fx/include/cfxWin.h')
-rw-r--r--1.4.0/fx/include/cfxWin.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/1.4.0/fx/include/cfxWin.h b/1.4.0/fx/include/cfxWin.h
new file mode 100644
index 0000000..079d20e
--- /dev/null
+++ b/1.4.0/fx/include/cfxWin.h
@@ -0,0 +1,39 @@
+/*
+* Copyright 2006 Sony Computer Entertainment Inc.
+*
+* Licensed under the MIT Open Source License, for details please see license.txt or the website
+* http://www.opensource.org/licenses/mit-license.php
+*
+*/
+#ifndef _CFX_WIN_H_
+#define _CFX_WIN_H_
+
+#include <windows.h>
+#include <gl/gl.h>
+#include <gl/glext.h>
+#include <gl/glu.h>
+//#include <gl/glaux.h>
+//#ifndef _LIB
+#include <Cg/cg.h>
+#include <Cg/cgGL.h>
+//#else
+//#include <cfxNoCg.h>
+//#endif
+
+#include <assert.h>
+
+#define CG_FILE_TYPE CG_SOURCE
+
+inline void cfxPrint(const char* str, ...)
+{
+ va_list valist;
+ char tempStr[4096];
+
+ va_start(valist, str); // LMessage is the last argument before the varargs
+ vsprintf(tempStr, str, valist);
+ va_end(valist);
+
+ OutputDebugString( tempStr );
+}
+
+#endif