plib-cvs Mailing List for PLIB (Page 10)
Brought to you by:
sjbaker
You can subscribe to this list here.
2002 |
Jan
(25) |
Feb
(10) |
Mar
(60) |
Apr
(49) |
May
(54) |
Jun
(94) |
Jul
(82) |
Aug
(251) |
Sep
(366) |
Oct
(17) |
Nov
(20) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(12) |
Feb
(8) |
Mar
(2) |
Apr
(4) |
May
(5) |
Jun
(8) |
Jul
(23) |
Aug
(8) |
Sep
(7) |
Oct
(5) |
Nov
(20) |
Dec
(20) |
2004 |
Jan
(19) |
Feb
(70) |
Mar
(108) |
Apr
(24) |
May
(6) |
Jun
(5) |
Jul
|
Aug
(8) |
Sep
(18) |
Oct
(27) |
Nov
|
Dec
(13) |
2005 |
Jan
(19) |
Feb
(13) |
Mar
(1) |
Apr
|
May
(10) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
(2) |
Oct
(2) |
Nov
(6) |
Dec
(4) |
2006 |
Jan
(9) |
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Wolfram K. <wol...@us...> - 2004-03-25 18:36:55
|
Update of /cvsroot/plib/plib/examples/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30372/examples/src/pw Modified Files: pw_demo.dsp pw_pui.dsp Log Message: Removing "Source Code Control" flag. Index: pw_demo.dsp =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_demo.dsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pw_demo.dsp 23 Feb 2004 11:58:57 -0000 1.2 +++ pw_demo.dsp 25 Mar 2004 18:26:05 -0000 1.3 @@ -23,8 +23,6 @@ # Begin Project # PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe Index: pw_pui.dsp =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_pui.dsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- pw_pui.dsp 23 Feb 2004 11:58:57 -0000 1.2 +++ pw_pui.dsp 25 Mar 2004 18:26:05 -0000 1.3 @@ -23,8 +23,6 @@ # Begin Project # PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe |
From: Wolfram K. <wol...@us...> - 2004-03-25 18:36:55
|
Update of /cvsroot/plib/plib/examples/src/ssg/load_save In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30372/examples/src/ssg/load_save Modified Files: load.dsp save.dsp Log Message: Removing "Source Code Control" flag. Index: load.dsp =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/load_save/load.dsp,v retrieving revision 1.13 retrieving revision 1.14 diff -u -d -r1.13 -r1.14 --- load.dsp 25 Aug 2002 15:36:45 -0000 1.13 +++ load.dsp 25 Mar 2004 18:26:06 -0000 1.14 @@ -23,8 +23,6 @@ # Begin Project # PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "load" -# PROP Scc_LocalPath "." CPP=cl.exe RSC=rc.exe Index: save.dsp =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/load_save/save.dsp,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- save.dsp 30 Aug 2002 13:13:23 -0000 1.14 +++ save.dsp 25 Mar 2004 18:26:06 -0000 1.15 @@ -23,8 +23,6 @@ # Begin Project # PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "save" -# PROP Scc_LocalPath "." CPP=cl.exe RSC=rc.exe |
From: Wolfram K. <wol...@us...> - 2004-03-25 18:36:55
|
Update of /cvsroot/plib/plib/examples/src/ssg/dynamics In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30372/examples/src/ssg/dynamics Modified Files: dynamics.dsp Log Message: Removing "Source Code Control" flag. Index: dynamics.dsp =================================================================== RCS file: /cvsroot/plib/plib/examples/src/ssg/dynamics/dynamics.dsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- dynamics.dsp 25 Aug 2002 15:36:45 -0000 1.2 +++ dynamics.dsp 25 Mar 2004 18:26:06 -0000 1.3 @@ -23,8 +23,6 @@ # Begin Project # PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "dynamics" -# PROP Scc_LocalPath "." CPP=cl.exe RSC=rc.exe |
From: Wolfram K. <wol...@us...> - 2004-03-24 17:29:41
|
Update of /cvsroot/plib/plib/examples/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9811 Modified Files: pw_pui.cxx Log Message: Fixing compiler warning. Index: pw_pui.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_pui.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pw_pui.cxx 24 Feb 2004 02:06:03 -0000 1.4 +++ pw_pui.cxx 24 Mar 2004 17:19:02 -0000 1.5 @@ -63,7 +63,7 @@ pwSetCallbacks ( kbFunc, msFunc, mpFunc, rsFunc, exFunc ) ; while ( 1 ) { - glClearColor ( 0.5, 0.1, 0.1, 1.0 ) ; + glClearColor ( 0.5f, 0.1f, 0.1f, 1.0f ) ; glClear ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ) ; puDisplay () ; pwSwapBuffers () ; |
From: Wolfram K. <wol...@us...> - 2004-03-24 16:09:15
|
Update of /cvsroot/plib/plib/src/ssgAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25899 Modified Files: ssgAux.dsp Log Message: ssgaScreenDump.h was copied in debug, but not release builds. Index: ssgAux.dsp =================================================================== RCS file: /cvsroot/plib/plib/src/ssgAux/ssgAux.dsp,v retrieving revision 1.19 retrieving revision 1.20 diff -u -d -r1.19 -r1.20 --- ssgAux.dsp 24 Mar 2004 10:52:34 -0000 1.19 +++ ssgAux.dsp 24 Mar 2004 15:58:37 -0000 1.20 @@ -85,7 +85,8 @@ # Begin Special Build Tool SOURCE="$(InputPath)" PostBuild_Desc=Copy Library to plib directory -PostBuild_Cmds=copy debug\*.lib ..\..\*.* copy ssgAux.h ..\..\ssgAux.h copy ssgaFire.h ..\..\ssgaFire.h copy ssgaLensFlare.h ..\..\ssgaLensFlare.h copy ssgaParticleSystem.h ..\..\ssgaParticleSystem.h copy ssgaShapes.h ..\..\ssgaShapes.h copy ssgaWaveSystem.h ..\..\ssgaWaveSystem.h copy ssgaSky.h ..\..\ssgaSky.h +PostBuild_Cmds=copy debug\*.lib ..\..\*.* copy ssgAux.h ..\..\ssgAux.h copy ssgaFire.h ..\..\ssgaFire.h copy ssgaLensFlare.h ..\..\ssgaLensFlare.h copy ssgaParticleSystem.h ..\..\ssgaParticleSystem.h copy ssgaShapes.h ..\..\ssgaShapes.h copy ssgaWaveSystem.h ..\..\ssgaWaveSystem.h copy ssgaSky.h ..\..\ssgaSky.h copy ssgaScreenDump.h ..\..\ssgaScreenDump.h + # End Special Build Tool !ENDIF |
From: Wolfram K. <wol...@us...> - 2004-03-24 16:07:57
|
Update of /cvsroot/plib/plib/src/js In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25579 Modified Files: jsWindows.cxx Log Message: Removed compiler warning by adding a "#undef". Added comment. Index: jsWindows.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/js/jsWindows.cxx,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- jsWindows.cxx 29 Nov 2002 19:39:48 -0000 1.1 +++ jsWindows.cxx 24 Mar 2004 15:57:09 -0000 1.2 @@ -25,6 +25,9 @@ #ifdef UL_WIN32 +// Since we use joyGetPosEx to request the joystick values, +// we have never more than 8 axes to worry about: +#undef _JS_MAX_AXES #define _JS_MAX_AXES 8 /* X,Y,Z,R,U,V,POV_X,POV_Y */ |
From: Nick M. <nm...@us...> - 2004-03-24 11:30:34
|
Update of /cvsroot/plib/plib/examples/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1900/examples/src/pw Modified Files: pw_demo.cxx Log Message: Fixed build warning Index: pw_demo.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_demo.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- pw_demo.cxx 24 Mar 2004 01:24:33 -0000 1.6 +++ pw_demo.cxx 24 Mar 2004 11:19:57 -0000 1.7 @@ -78,7 +78,7 @@ while ( 1 ) { - glClearColor ( 0.5, 0.1, 0.1, 1.0 ) ; + glClearColor ( 0.5f, 0.1f, 0.1f, 1.0 ) ; glClear ( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ) ; pwSwapBuffers () ; } |
From: Nick M. <nm...@us...> - 2004-03-24 11:29:46
|
Update of /cvsroot/plib/plib/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1741/src/pw Modified Files: pwWindows.cxx Log Message: Added pwGetModifiers Index: pwWindows.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwWindows.cxx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- pwWindows.cxx 24 Mar 2004 01:30:41 -0000 1.7 +++ pwWindows.cxx 24 Mar 2004 11:19:04 -0000 1.8 @@ -35,7 +35,7 @@ #include "pw.h" static int initialised = 0 ; - +static int modifiers = 0 ; static int origin [2] = { 0, 0 } ; static int size [2] = { 640, 480 } ; @@ -58,6 +58,16 @@ } +static void refreshModifiers () +{ + modifiers = 0 ; + + if( ( GetKeyState ( VK_SHIFT ) & 0x8000 ) != 0 ) modifiers |= PW_SHIFT ; + if( ( GetKeyState ( VK_CONTROL ) & 0x8000 ) != 0 ) modifiers |= PW_CTRL ; + if( ( GetKeyState ( VK_MENU ) & 0x8000 ) != 0 ) modifiers |= PW_ALT ; +} + + LRESULT CALLBACK WndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam ) { int key = -1 ; @@ -67,6 +77,8 @@ static int lastx = 0 ; static int lasty = 0 ; + refreshModifiers () ; + switch (uMsg) { case WM_LBUTTONDOWN: @@ -362,6 +374,12 @@ } +int pwGetModifiers () +{ + return modifiers ; +} + + static void getEvents () { MSG msg; |
From: Nick M. <nm...@us...> - 2004-03-24 11:05:32
|
Update of /cvsroot/plib/plib/examples/src/psl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28417/examples/src/psl Modified Files: psl_demo.cxx Log Message: Fixed build warning Index: psl_demo.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/psl/psl_demo.cxx,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- psl_demo.cxx 6 Jan 2003 05:10:13 -0000 1.15 +++ psl_demo.cxx 24 Mar 2004 10:54:56 -0000 1.16 @@ -122,6 +122,8 @@ fprintf(stderr, "%fs runtime elapsed\n", ck.getDeltaTime () ) ; exit ( 0 ) ; + + return 0 ; } |
From: Nick M. <nm...@us...> - 2004-03-24 11:03:40
|
Update of /cvsroot/plib/plib/examples/src/psl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27432/examples/src/psl Modified Files: psl_demo.dsp Log Message: Updated DSP files (courtesy of Frederic Bouvier) Index: psl_demo.dsp =================================================================== RCS file: /cvsroot/plib/plib/examples/src/psl/psl_demo.dsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- psl_demo.dsp 5 Sep 2002 21:11:56 -0000 1.1 +++ psl_demo.dsp 24 Mar 2004 10:52:31 -0000 1.2 @@ -50,7 +50,8 @@ # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib psl.lib ul.lib /nologo /subsystem:console /machine:I386 /out:"psl_demo.exe" /libpath:"..\..\..\..\plib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib psl.lib ul.lib /nologo /subsystem:console /machine:I386 /out:"psl_demo.exe" /libpath:"..\..\..\..\plib" +# SUBTRACT LINK32 /pdb:none !ELSEIF "$(CFG)" == "psl_demo - Win32 Debug" @@ -74,7 +75,8 @@ # ADD BSC32 /nologo LINK32=link.exe # ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib psl_d.lib ul_d.lib /nologo /subsystem:console /debug /machine:I386 /out:"psl_demo.exe" /pdbtype:sept /libpath:"..\..\..\..\plib" +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib psl_d.lib ul_d.lib /nologo /subsystem:console /debug /machine:I386 /out:"psl_demo.exe" /pdbtype:sept /libpath:"..\..\..\..\plib" +# SUBTRACT LINK32 /pdb:none !ENDIF |
From: Nick M. <nm...@us...> - 2004-03-24 11:03:40
|
Update of /cvsroot/plib/plib/src/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27432/src/net Modified Files: net.dsp Log Message: Updated DSP files (courtesy of Frederic Bouvier) Index: net.dsp =================================================================== RCS file: /cvsroot/plib/plib/src/net/net.dsp,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- net.dsp 17 Dec 2001 22:46:03 -0000 1.12 +++ net.dsp 24 Mar 2004 10:52:33 -0000 1.13 @@ -40,6 +40,7 @@ # PROP Output_Dir "Release" # PROP Intermediate_Dir "Release" # PROP Target_Dir "" +LINK32=link.exe -lib # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /O2 /I "..\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /c # SUBTRACT CPP /YX @@ -51,42 +52,10 @@ LIB32=link.exe -lib # ADD BASE LIB32 /nologo # ADD LIB32 /nologo [...72 lines suppressed...] -"$(ProjDir)\..\..\netChat.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(ProjDir)\..\..\netMessage.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(ProjDir)\..\..\netMonitor.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) - -"$(ProjDir)\..\..\netSocket.h" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - $(BuildCmds) -# End Custom Build # Begin Special Build Tool SOURCE="$(InputPath)" PostBuild_Desc=Copy Library to plib directory -PostBuild_Cmds=copy debug\*.lib ..\..\*.* +PostBuild_Cmds=copy debug\*.lib ..\..\*.* copy net.h ..\..\net.h copy netBuffer.h ..\..\netBuffer.h copy netChannel.h ..\..\netChannel.h copy netChat.h ..\..\netChat.h copy netMessage.h ..\..\netMessage.h copy netMonitor.h ..\..\netMonitor.h copy netSocket.h ..\..\netSocket.h # End Special Build Tool !ENDIF |
From: Nick M. <nm...@us...> - 2004-03-24 11:03:38
|
Update of /cvsroot/plib/plib/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27432/examples Modified Files: plib_examples.dsw Log Message: Updated DSP files (courtesy of Frederic Bouvier) Index: plib_examples.dsw =================================================================== RCS file: /cvsroot/plib/plib/examples/plib_examples.dsw,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- plib_examples.dsw 23 Feb 2004 11:52:30 -0000 1.24 +++ plib_examples.dsw 24 Mar 2004 10:52:30 -0000 1.25 @@ -257,6 +257,18 @@ Begin Project Dependency Project_Dep_Name psl_demo End Project Dependency + Begin Project Dependency + Project_Dep_Name pw_demo + End Project Dependency + Begin Project Dependency + Project_Dep_Name pw_pui + End Project Dependency + Begin Project Dependency + Project_Dep_Name sky + End Project Dependency + Begin Project Dependency + Project_Dep_Name stest + End Project Dependency }}} ############################################################################### |
From: Nick M. <nm...@us...> - 2004-03-24 11:03:12
|
Update of /cvsroot/plib/plib/src/ssgAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27432/src/ssgAux Modified Files: ssgAux.dsp Log Message: Updated DSP files (courtesy of Frederic Bouvier) Index: ssgAux.dsp =================================================================== RCS file: /cvsroot/plib/plib/src/ssgAux/ssgAux.dsp,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- ssgAux.dsp 26 Jul 2003 06:28:43 -0000 1.18 +++ ssgAux.dsp 24 Mar 2004 10:52:34 -0000 1.19 @@ -40,6 +40,7 @@ # PROP Output_Dir "Release" # PROP Intermediate_Dir "Release" # PROP Target_Dir "" +LINK32=link.exe -lib # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /Zi /O2 /I "..\sg" /I "..\util" /I "..\ssg" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /FD /c # SUBTRACT CPP /YX @@ -54,7 +55,7 @@ # Begin Special Build Tool SOURCE="$(InputPath)" PostBuild_Desc=Copy Library to plib directory -PostBuild_Cmds=copy release\*.lib ..\..\*.* copy ssgAux.h ..\..\ssgAux.h copy ssgaFire.h ..\..\ssgaFire.h copy ssgaLensFlare.h ..\..\ssgaLensFlare.h copy ssgaParticleSystem.h ..\..\ssgaParticleSystem.h copy ssgaShapes.h ..\..\ssgaShapes.h copy ssgaWaveSystem.h ..\..\ssgaWaveSystem.h copy ssgaSky.h ..\..\ssgaSky.h +PostBuild_Cmds=copy release\*.lib ..\..\*.* copy ssgAux.h ..\..\ssgAux.h copy ssgaFire.h ..\..\ssgaFire.h copy ssgaLensFlare.h ..\..\ssgaLensFlare.h copy ssgaParticleSystem.h ..\..\ssgaParticleSystem.h copy ssgaShapes.h ..\..\ssgaShapes.h copy ssgaWaveSystem.h ..\..\ssgaWaveSystem.h copy ssgaSky.h ..\..\ssgaSky.h copy ssgaScreenDump.h ..\..\ssgaScreenDump.h # End Special Build Tool !ELSEIF "$(CFG)" == "ssgAux - Win32 Debug" @@ -69,6 +70,7 @@ # PROP Output_Dir "Debug" # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" +LINK32=link.exe -lib # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c # ADD CPP /nologo /MTd /W3 /GX /Zi /Od /I "..\sg" /I "..\util" /I "..\ssg" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /FD /GZ /c # SUBTRACT CPP /YX |
From: Nick M. <nm...@us...> - 2004-03-24 11:03:12
|
Update of /cvsroot/plib/plib/src/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27432/src/puAux Modified Files: puAux.dsp Log Message: Updated DSP files (courtesy of Frederic Bouvier) Index: puAux.dsp =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAux.dsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- puAux.dsp 22 Mar 2004 21:14:30 -0000 1.2 +++ puAux.dsp 24 Mar 2004 10:52:33 -0000 1.3 @@ -23,8 +23,8 @@ # Begin Project # PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" +# PROP Scc_ProjName "puAux" +# PROP Scc_LocalPath "." CPP=cl.exe RSC=rc.exe @@ -40,8 +40,9 @@ [...100 lines suppressed...] +SOURCE=.\puAuxSelectBox.cxx +# End Source File +# Begin Source File + +SOURCE=.\puAuxSliderWithInput.cxx +# End Source File +# Begin Source File + +SOURCE=.\puAuxSpinBox.cxx +# End Source File +# Begin Source File + +SOURCE=.\puAuxTriSlider.cxx +# End Source File +# Begin Source File + +SOURCE=.\puAuxVerticalMenu.cxx +# End Source File # End Target # End Project |
From: Nick M. <nm...@us...> - 2004-03-24 11:03:11
|
Update of /cvsroot/plib/plib/src/ssg In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27432/src/ssg Modified Files: ssg.dsp Log Message: Updated DSP files (courtesy of Frederic Bouvier) Index: ssg.dsp =================================================================== RCS file: /cvsroot/plib/plib/src/ssg/ssg.dsp,v retrieving revision 1.48 retrieving revision 1.49 diff -u -d -r1.48 -r1.49 --- ssg.dsp 10 Feb 2004 14:07:15 -0000 1.48 +++ ssg.dsp 24 Mar 2004 10:52:35 -0000 1.49 @@ -40,6 +40,7 @@ # PROP Output_Dir "Release" # PROP Intermediate_Dir "Release" # PROP Target_Dir "" +LINK32=link.exe -lib # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c # ADD CPP /nologo /MT /W3 /GX /Zi /O2 /I "..\sg" /I "..\util" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "PROXY_TEXTURES_ARE_NOT_BROKEN" /FD /c # SUBTRACT CPP /YX @@ -69,6 +70,7 @@ # PROP Output_Dir "Debug" # PROP Intermediate_Dir "Debug" # PROP Target_Dir "" +LINK32=link.exe -lib # ADD BASE CPP /nologo /W3 /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c # ADD CPP /nologo /MTd /W3 /GX /Zi /Od /I "..\sg" /I "..\util" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "PROXY_TEXTURES_ARE_NOT_BROKEN" /FD /GZ /c # SUBTRACT CPP /YX @@ -402,6 +404,10 @@ # End Source File # Begin Source File +SOURCE=.\ssgStatistics.cxx +# End Source File +# Begin Source File + SOURCE=.\ssgStats.cxx # End Source File # Begin Source File |
From: Nick M. <nm...@us...> - 2004-03-24 11:01:28
|
Update of /cvsroot/plib/plib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27087 Modified Files: plib.dsw Log Message: Updated DSP files (courtesy of Frederic Bouvier) Index: plib.dsw =================================================================== RCS file: /cvsroot/plib/plib/plib.dsw,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- plib.dsw 22 Mar 2004 21:14:29 -0000 1.16 +++ plib.dsw 24 Mar 2004 10:50:52 -0000 1.17 @@ -3,7 +3,7 @@ ############################################################################### -Project: "fnt"=.\src\fnt\fnt.dsp - Package Owner=<4> +Project: "fnt"=".\src\fnt\fnt.dsp" - Package Owner=<4> Package=<5> {{{ @@ -15,7 +15,7 @@ ############################################################################### [...95 lines suppressed...] Package=<5> {{{ @@ -165,7 +171,7 @@ ############################################################################### -Project: "ssgAux"=.\src\ssgAux\ssgAux.dsp - Package Owner=<4> +Project: "ssgAux"=".\src\ssgAux\ssgAux.dsp" - Package Owner=<4> Package=<5> {{{ @@ -177,7 +183,7 @@ ############################################################################### -Project: "ul"=.\src\util\ul.dsp - Package Owner=<4> +Project: "ul"=".\src\util\ul.dsp" - Package Owner=<4> Package=<5> {{{ |
From: Steve B. <sj...@us...> - 2004-03-24 01:41:12
|
Update of /cvsroot/plib/plib/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28160/plib/src/pw Modified Files: pw.h pwMacOSX.cxx pwWindows.cxx Log Message: Added copyright messages. Index: pw.h =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pw.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pw.h 24 Feb 2004 02:06:03 -0000 1.4 +++ pw.h 24 Mar 2004 01:30:41 -0000 1.5 @@ -1,3 +1,27 @@ +/* + PLIB - A Suite of Portable Game Libraries + Copyright (C) 1998,2002 Steve Baker + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + + #ifndef _PW_H_ #define _PW_H_ 1 Index: pwMacOSX.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwMacOSX.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- pwMacOSX.cxx 24 Mar 2004 01:16:50 -0000 1.5 +++ pwMacOSX.cxx 24 Mar 2004 01:30:41 -0000 1.6 @@ -1,18 +1,45 @@ +/* + PLIB - A Suite of Portable Game Libraries + Copyright (C) 1998,2002 Steve Baker + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ /* * - with Mac OS 8.6 to 9.2: - * - must be linked with the following libraries: - * InterfaceLib, accessors.o, AppearanceLib and OpenGL (it contains agl) + * - must be linked with the following libraries: + * InterfaceLib, accessors.o, AppearanceLib and OpenGL (it contains agl) * - * - ACTIVE_SLEEPTIME must be defined to 0 for the fastest execution; + * - ACTIVE_SLEEPTIME must be defined to 0 for the fastest execution; * but it will not let other app to get events. * * - with Mac OS X: must be linked with the following frameworks: - * Carbon, AGL + * Carbon, AGL * */ +#include <stdlib.h> +#include <stdio.h> +#include "ul.h" +#include "pw.h" + #if defined(UL_MACINTOSH) || defined(UL_MAC_OSX) #ifdef UL_MAC_OSX @@ -33,12 +60,6 @@ # include <agl.h> #endif -#include <stdlib.h> -#include <stdio.h> -#include "ul.h" -#include "pw.h" - - /* Apple menu: */ #define mApple 128 #define iAbout 1 Index: pwWindows.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwWindows.cxx,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- pwWindows.cxx 28 Feb 2004 22:29:11 -0000 1.6 +++ pwWindows.cxx 24 Mar 2004 01:30:41 -0000 1.7 @@ -1,3 +1,26 @@ +/* + PLIB - A Suite of Portable Game Libraries + Copyright (C) 1998,2002 Steve Baker + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + For further information visit http://plib.sourceforge.net + + $Id$ +*/ + #include "ul.h" |
From: Steve B. <sj...@us...> - 2004-03-24 01:35:04
|
Update of /cvsroot/plib/plib/examples/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27074/plib/examples/src/pw Modified Files: pw_demo.cxx Log Message: Added a pwSetSize test. Index: pw_demo.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/pw/pw_demo.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- pw_demo.cxx 20 Mar 2004 02:21:18 -0000 1.5 +++ pw_demo.cxx 24 Mar 2004 01:24:33 -0000 1.6 @@ -57,6 +57,11 @@ } fprintf ( stderr, "\n" ) ; + + if ( key == '<' ) pwSetSize ( 100, 100 ) ; + else + if ( key == '>' ) pwSetSize ( 640, 480 ) ; + if ( key == 0x1B ) /* ESC */ { pwCleanup () ; |
From: Steve B. <sj...@us...> - 2004-03-24 01:27:36
|
Update of /cvsroot/plib/plib/src/pw In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25056/plib/src/pw Modified Files: pwMacOSX.cxx Log Message: Fixes for MacOSX/Mac Index: pwMacOSX.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pw/pwMacOSX.cxx,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- pwMacOSX.cxx 28 Feb 2004 22:35:03 -0000 1.4 +++ pwMacOSX.cxx 24 Mar 2004 01:16:50 -0000 1.5 @@ -1,72 +1,858 @@ -#include "ul.h" -/* ONLY COMPILE THIS FILE FOR MAC-OS/X SYSTEMS */ +/* + * - with Mac OS 8.6 to 9.2: + * - must be linked with the following libraries: + * InterfaceLib, accessors.o, AppearanceLib and OpenGL (it contains agl) + * + * - ACTIVE_SLEEPTIME must be defined to 0 for the fastest execution; + * but it will not let other app to get events. [...839 lines suppressed...] void pwCleanup () { + if (!pwInitialized) + { + ulSetError(UL_WARNING, "call to pwCleanup without call to pwInit"); + return; + } + + if (currContext != NULL) + { + aglSetDrawable (currContext, NULL); + aglSetCurrentContext (NULL); + aglDestroyContext ( currContext ); + } + if (pwWindow != NULL) DisposeWindow(GRAFPTR pwWindow); } |
From: Steve B. <sj...@us...> - 2004-03-22 21:24:51
|
Update of /cvsroot/plib/plib/src/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28243/plib/src/util Modified Files: ul.h Log Message: New DSP files (courtesy of John Fay) Fixed version number in ul.h ready for next release. Index: ul.h =================================================================== RCS file: /cvsroot/plib/plib/src/util/ul.h,v retrieving revision 1.65 retrieving revision 1.66 diff -u -d -r1.65 -r1.66 --- ul.h 14 Mar 2004 18:27:05 -0000 1.65 +++ ul.h 22 Mar 2004 21:14:30 -0000 1.66 @@ -151,8 +151,8 @@ /* PLIB version macros */ #define PLIB_MAJOR_VERSION 1 -#define PLIB_MINOR_VERSION 7 -#define PLIB_TINY_VERSION 0 +#define PLIB_MINOR_VERSION 8 +#define PLIB_TINY_VERSION 2 #define PLIB_VERSION (PLIB_MAJOR_VERSION*100 \ +PLIB_MINOR_VERSION*10 \ |
From: Steve B. <sj...@us...> - 2004-03-22 21:24:50
|
Update of /cvsroot/plib/plib/src/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28243/plib/src/puAux Modified Files: puAux.dsp Log Message: New DSP files (courtesy of John Fay) Fixed version number in ul.h ready for next release. Index: puAux.dsp =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAux.dsp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- puAux.dsp 20 Mar 2004 04:22:05 -0000 1.1 +++ puAux.dsp 22 Mar 2004 21:14:30 -0000 1.2 @@ -1,34 +1,34 @@ -# Microsoft Developer Studio Project File - Name="pui" - Package Owner=<4> +# Microsoft Developer Studio Project File - Name="puAux" - Package Owner=<4> # Microsoft Developer Studio Generated Build File, Format Version 6.00 # ** DO NOT EDIT ** # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=pui - Win32 Debug +CFG=puAux - Win32 Debug !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run [...237 lines suppressed...] -SOURCE=.\puTriSlider.cxx -# End Source File -# Begin Source File +# Name "puAux - Win32 Release" +# Name "puAux - Win32 Debug" +# Begin Group "Source Files" -SOURCE=.\puValue.cxx -# End Source File -# Begin Source File +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" +# End Group +# Begin Group "Header Files" -SOURCE=.\puVerticalMenu.cxx -# End Source File +# PROP Default_Filter "h;hpp;hxx;hm;inl" +# End Group # End Target # End Project |
From: Steve B. <sj...@us...> - 2004-03-22 21:24:49
|
Update of /cvsroot/plib/plib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28243/plib Modified Files: configure.in plib.dsw Log Message: New DSP files (courtesy of John Fay) Fixed version number in ul.h ready for next release. Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/configure.in,v retrieving revision 1.58 retrieving revision 1.59 diff -u -d -r1.58 -r1.59 --- configure.in 21 Mar 2004 19:29:25 -0000 1.58 +++ configure.in 22 Mar 2004 21:14:29 -0000 1.59 @@ -1,7 +1,17 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/js/js.h) -AM_INIT_AUTOMAKE(plib, 1.8.1) + +# **WARNING**WARNING**WARNING**WARNING**WARNING**WARNING** +# +# When you make a new release, there are TWO places where you +# have to change the version number: +# 1) Right below this comment. +# 2) In 'ul.h' where PLIB_VERSION is created. +# +# **WARNING**WARNING**WARNING**WARNING**WARNING**WARNING** + +AM_INIT_AUTOMAKE(plib, 1.8.2) # This AC_PREFIX_DEFAULT will place the library files # into /usr/lib - but will put the include files into Index: plib.dsw =================================================================== RCS file: /cvsroot/plib/plib/plib.dsw,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- plib.dsw 23 Feb 2004 11:44:24 -0000 1.15 +++ plib.dsw 22 Mar 2004 21:14:29 -0000 1.16 @@ -3,7 +3,7 @@ ############################################################################### -Project: "fnt"=".\src\fnt\fnt.dsp" - Package Owner=<4> +Project: "fnt"=.\src\fnt\fnt.dsp - Package Owner=<4> Package=<5> {{{ @@ -15,7 +15,7 @@ ############################################################################### [...88 lines suppressed...] ############################################################################### -Project: "ul"=".\src\util\ul.dsp" - Package Owner=<4> +Project: "ssgAux"=.\src\ssgAux\ssgAux.dsp - Package Owner=<4> + +Package=<5> +{{{ +}}} + +Package=<4> +{{{ +}}} + +############################################################################### + +Project: "ul"=.\src\util\ul.dsp - Package Owner=<4> Package=<5> {{{ |
From: Steve B. <sj...@us...> - 2004-03-22 19:55:13
|
Update of /cvsroot/plib/plib/examples/src/net/client_server In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5846/plib/examples/src/net/client_server Modified Files: README Log Message: Fixed some odd network library issues. Index: README =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/client_server/README,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- README 21 Mar 2004 17:12:59 -0000 1.1 +++ README 22 Mar 2004 19:44:50 -0000 1.2 @@ -19,5 +19,7 @@ The default for the client is to use port 5501 on 'localhost'. The default to the server is to listen on port 5501 and to allow anyone -to send to it. +to send to it. The name "<broadcast>" refers to the broadcast address. +(To enter it on the command line, you'll need to escape the < and > +symbols like this: \<broadcast\> ) |
From: Steve B. <sj...@us...> - 2004-03-22 19:55:13
|
Update of /cvsroot/plib/plib/doc/net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5846/plib/doc/net Modified Files: index.html Log Message: Fixed some odd network library issues. Index: index.html =================================================================== RCS file: /cvsroot/plib/plib/doc/net/index.html,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- index.html 21 Mar 2004 17:12:59 -0000 1.8 +++ index.html 22 Mar 2004 19:44:50 -0000 1.9 @@ -35,7 +35,7 @@ within <code>#define</code> tokens may be separated with underscores to make them readable. <H2>Initialisation.</H2> -The first Pegasus call in any program must always be netInit(). +The first NET call in any program must always be netInit(). <H2>Classes</H2> The following class hierarchy makes up the core package - which can be extended to add functionality or to change some underlying @@ -112,6 +112,35 @@ void print ( FILE *fd = stderr ) const ; }; [...63 lines suppressed...] + sock -> open ( false ) ; + sock -> setBlocking ( false ) ; + sock -> bind ( host, port ) ; + + while ( !done ) + if ( (len = sock -> recv(msg, maxlen, 0)) >= 0 ) + ...use the data... + + sock -> close () ; +</pre> +</TD> +</TR> +</TABLE> +This code produces a 'Datagram' connection - which is fast but unreliable +(using UDP protocol). Passing a 'true' to sock->open() would produce a +'Stream' connection (using TCP). + <H2><code>class netChannel</code></h2> netChannel adds event-handling to the low-level netSocket class. Otherwise, it can be treated as |
From: Steve B. <sj...@us...> - 2004-03-22 19:55:13
|
Update of /cvsroot/plib/plib/examples/src/net/http_get In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5846/plib/examples/src/net/http_get Modified Files: http_get.cxx Log Message: Fixed some odd network library issues. Index: http_get.cxx =================================================================== RCS file: /cvsroot/plib/plib/examples/src/net/http_get/http_get.cxx,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- http_get.cxx 21 Mar 2004 18:19:11 -0000 1.5 +++ http_get.cxx 22 Mar 2004 19:44:50 -0000 1.6 @@ -23,9 +23,10 @@ #include <plib/net.h> - class HTTPClient : public netBufferChannel { + FILE *fpout ; + public: HTTPClient ( const char* host, const char* path ) @@ -33,28 +34,42 @@ open () ; connect ( host, 80 ) ; - const char *s = netFormat ( "GET %s HTTP/1.0\r\n\r\n", path ) ; - + const char* s = netFormat ( "GET %s HTTP/1.1\r\n", path ) ; bufferSend ( s, strlen(s) ) ; + const char* h = netFormat ( "host: %s\r\n", host ) ; + bufferSend ( h, strlen(h) ) ; + const char *c = netFormat ( "Connection: close\r\n\r\n" ) ; + bufferSend ( c, strlen(c) ) ; } - virtual void handleBufferRead ( netBuffer& buffer ) + ~HTTPClient () { - const char* s = buffer.getData () ; - while ( *s ) - fputc ( *s++, stdout ) ; + if( fpout ) + fclose( fpout ); + } - buffer . remove () ; + virtual void handleBufferRead (netBuffer& buffer) + { + const char* s = buffer.getData(); + + while (*s) + fputc(*s++,stdout); + + buffer.remove(); } } ; int main ( int argc, char * argv[] ) { - netInit () ; + netInit ( &argc, argv ) ; + + new HTTPClient ( "plib.sourceforge.net", "/index.html" ) ; - new HTTPClient ( "www.opengl.org", "/index.html" ) ; netChannel::loop ( 0 ) ; return 0 ; } + + + |