[Plib-cvs] plib/examples/src/pw pw_demo.dsp,NONE,1.1 pw_pui.dsp,NONE,1.1 pw_demo.cxx,1.1,1.2 pw_pui.
Brought to you by:
sjbaker
From: Nick M. <nm...@us...> - 2004-02-23 12:04:27
|
Update of /cvsroot/plib/plib/examples/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25755/examples/src/pw Modified Files: pw_demo.cxx pw_pui.cxx Added Files: pw_demo.dsp pw_pui.dsp Log Message: Added PW demo --- NEW FILE: pw_demo.dsp --- # Microsoft Developer Studio Project File - Name="pw_demo" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Console Application" 0x0103 CFG=pw_demo - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "pw_demo.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "pw_demo.mak" CFG="pw_demo - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE [...63 lines suppressed...] # Name "pw_demo - Win32 Release" # Name "pw_demo - Win32 Debug" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=.\pw_demo.cxx # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target # End Project --- NEW FILE: pw_pui.dsp --- # Microsoft Developer Studio Project File - Name="pw_pui" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Console Application" 0x0103 CFG=pw_pui - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE !MESSAGE NMAKE /f "pw_pui.mak". !MESSAGE !MESSAGE You can specify a configuration when running NMAKE !MESSAGE by defining the macro CFG on the command line. For example: !MESSAGE !MESSAGE NMAKE /f "pw_pui.mak" CFG="pw_pui - Win32 Debug" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE [...63 lines suppressed...] # Name "pw_pui - Win32 Release" # Name "pw_pui - Win32 Debug" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" # Begin Source File SOURCE=.\pw_pui.cxx # End Source File # End Group # Begin Group "Header Files" # PROP Default_Filter "h;hpp;hxx;hm;inl" # End Group # Begin Group "Resource Files" # PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" # End Group # End Target # End Project Index: pw_demo.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_demo.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pw_demo.cxx 16 Feb 2004 02:26:27 -0000 1.1 +++ pw_demo.cxx 23 Feb 2004 11:50:50 -0000 1.2 @@ -1,4 +1,9 @@ +#ifdef WIN32 +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -57,6 +62,8 @@ glClear ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ) ; pwSwapBuffers () ; } + + return 0; } Index: pw_pui.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_pui.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pw_pui.cxx 17 Feb 2004 01:43:21 -0000 1.1 +++ pw_pui.cxx 23 Feb 2004 11:50:50 -0000 1.2 @@ -1,4 +1,9 @@ +#ifdef WIN32 +#define WIN32_LEAN_AND_MEAN +#include <windows.h> +#endif + #include <stdio.h> #include <stdlib.h> #include <ctype.h> @@ -63,6 +68,8 @@ puDisplay () ; pwSwapBuffers () ; } + + return 0; } |