opentnl-cvs Mailing List for Torque Network Library (Page 4)
Brought to you by:
mark_frohnmayer,
s_alanet
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(141) |
May
(232) |
Jun
(103) |
Jul
(36) |
Aug
(35) |
Sep
(19) |
Oct
(20) |
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
|
Feb
(26) |
Mar
(2) |
Apr
(84) |
May
(5) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Mark F. <mar...@us...> - 2005-04-28 17:08:35
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/encauth/gcm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16919/gcm Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/encauth/gcm added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:52
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/ciphers/twofish In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15957/twofish Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/ciphers/twofish added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:50
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/ciphers/safer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15957/safer Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/ciphers/safer added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:50
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/ciphers/aes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15957/aes Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/ciphers/aes added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:15
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/prngs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/prngs Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/prngs added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:15
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/pk In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/pk Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/pk added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:13
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/modes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/modes Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/modes added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:13
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/misc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/misc Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/misc added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:12
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/mac In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/mac Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/mac added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:11
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/headers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/headers Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/headers added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:11
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/encauth In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/encauth Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/encauth added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:10
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/ciphers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/ciphers Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/ciphers added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:10
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/Debug In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/Debug Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/Debug added to the repository |
From: Mark F. <mar...@us...> - 2005-04-28 17:06:10
|
Update of /cvsroot/opentnl/tnl/libtomcrypt/hashes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15538/hashes Log Message: Directory /cvsroot/opentnl/tnl/libtomcrypt/hashes added to the repository |
From: Mark F. <mar...@us...> - 2005-03-27 07:03:46
|
Update of /cvsroot/opentnl/tnl/tnl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28334/tnl Modified Files: netObject.cpp tnlMethodDispatch.h tnlTypes.h Log Message: Updated method dispatch functors so that classes with multiple inheritance can still use the RPC system Added IBM POWER architectiure PPC switch in tnlTypes Index: tnlTypes.h =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/tnlTypes.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** tnlTypes.h 28 Sep 2004 18:45:25 -0000 1.10 --- tnlTypes.h 27 Mar 2005 07:03:30 -0000 1.11 *************** *** 306,310 **** # endif ! #elif defined(__ppc__) # define TNL_CPU_STRING "PowerPC" # define TNL_CPU_PPC --- 306,310 ---- # endif ! #elif defined(__ppc__) || defined(__powerpc__) || defined (PPC) # define TNL_CPU_STRING "PowerPC" # define TNL_CPU_PPC Index: netObject.cpp =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/netObject.cpp,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** netObject.cpp 21 Feb 2005 07:48:14 -0000 1.5 --- netObject.cpp 27 Mar 2005 07:03:28 -0000 1.6 *************** *** 258,265 **** return; - void *thisPointer = (void *) mDestObject.getPointer(); - NetObject::mRPCSourceConnection = (GhostConnection *) ps; ! mFunctor->dispatch(thisPointer); NetObject::mRPCSourceConnection = NULL; --- 258,263 ---- return; NetObject::mRPCSourceConnection = (GhostConnection *) ps; ! mFunctor->dispatch(mDestObject); NetObject::mRPCSourceConnection = NULL; Index: tnlMethodDispatch.h =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/tnlMethodDispatch.h,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** tnlMethodDispatch.h 22 Feb 2005 18:04:52 -0000 1.12 --- tnlMethodDispatch.h 27 Mar 2005 07:03:30 -0000 1.13 *************** *** 180,184 **** virtual void write(BitStream &stream) = 0; /// Dispatch the function represented by the Functor. ! virtual void dispatch(void *t) = 0; }; --- 180,184 ---- virtual void write(BitStream &stream) = 0; /// Dispatch the function represented by the Functor. ! virtual void dispatch(Object *t) = 0; }; *************** *** 193,197 **** void read(BitStream &stream) {} void write(BitStream &stream) {} ! void dispatch(void *t) { } }; template <class T> --- 193,197 ---- void read(BitStream &stream) {} void write(BitStream &stream) {} ! void dispatch(Object *t) { } }; template <class T> *************** *** 203,207 **** void read(BitStream &stream) {} void write(BitStream &stream) {} ! void dispatch(void *t) { ((T *)t->*ptr)(); } }; template <class T, class A> --- 203,207 ---- void read(BitStream &stream) {} void write(BitStream &stream) {} ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(); } }; template <class T, class A> *************** *** 213,217 **** void read(BitStream &stream) { Types::read(stream, &a); } void write(BitStream &stream) { Types::write(stream, a); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a); } }; template <class T, class A, class B> --- 213,217 ---- void read(BitStream &stream) { Types::read(stream, &a); } void write(BitStream &stream) { Types::write(stream, a); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a); } }; template <class T, class A, class B> *************** *** 223,227 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b); } }; --- 223,227 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b); } }; *************** *** 234,238 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c); } }; --- 234,238 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c); } }; *************** *** 245,249 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c, d); } }; --- 245,249 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c, d); } }; *************** *** 256,260 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c, d, e); } }; --- 256,260 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c, d, e); } }; *************** *** 267,271 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c, d, e, f); } }; --- 267,271 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c, d, e, f); } }; *************** *** 278,282 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c, d, e, f, g); } }; --- 278,282 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c, d, e, f, g); } }; *************** *** 289,293 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); Types::read(stream, &h); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); Types::write(stream, h); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c, d, e, f, g, h); } }; --- 289,293 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); Types::read(stream, &h); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); Types::write(stream, h); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c, d, e, f, g, h); } }; *************** *** 300,304 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); Types::read(stream, &h); Types::read(stream, &i); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); Types::write(stream, h); Types::write(stream, i); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c, d, e, f, g, h, i); } }; --- 300,304 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); Types::read(stream, &h); Types::read(stream, &i); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); Types::write(stream, h); Types::write(stream, i); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c, d, e, f, g, h, i); } }; *************** *** 311,315 **** void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); Types::read(stream, &h); Types::read(stream, &i); Types::read(stream, &j); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); Types::write(stream, h); Types::write(stream, i); Types::write(stream, j); } ! void dispatch(void *t) { (((T *)t)->*ptr)(a, b, c, d, e, f, g, h, i, j); } }; --- 311,315 ---- void read(BitStream &stream) { Types::read(stream, &a); Types::read(stream, &b); Types::read(stream, &c); Types::read(stream, &d); Types::read(stream, &e); Types::read(stream, &f); Types::read(stream, &g); Types::read(stream, &h); Types::read(stream, &i); Types::read(stream, &j); } void write(BitStream &stream) { Types::write(stream, a); Types::write(stream, b); Types::write(stream, c); Types::write(stream, d); Types::write(stream, e); Types::write(stream, f); Types::write(stream, g); Types::write(stream, h); Types::write(stream, i); Types::write(stream, j); } ! void dispatch(Object *t) { (static_cast<T *>(t)->*ptr)(a, b, c, d, e, f, g, h, i, j); } }; |
From: Mark F. <mar...@us...> - 2005-03-22 09:18:46
|
Update of /cvsroot/opentnl/tnl/tnl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14197/tnl Modified Files: platform.cpp tnlPlatform.h Log Message: Fixed va_list parameter issue for dVsprintf Index: platform.cpp =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/platform.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** platform.cpp 20 Aug 2004 18:26:58 -0000 1.7 --- platform.cpp 22 Mar 2005 09:18:35 -0000 1.8 *************** *** 448,457 **** ! S32 dVsprintf(char *buffer, U32 bufferSize, const char *format, void *arglist) { #ifdef TNL_COMPILER_VISUALC ! S32 len = _vsnprintf(buffer, bufferSize, format, (va_list) arglist); #else ! S32 len = vsnprintf(buffer, bufferSize, format, (char *) arglist); #endif return len; --- 448,457 ---- ! S32 dVsprintf(char *buffer, U32 bufferSize, const char *format, va_list arglist) { #ifdef TNL_COMPILER_VISUALC ! S32 len = _vsnprintf(buffer, bufferSize, format, arglist); #else ! S32 len = vsnprintf(buffer, bufferSize, format, arglist); #endif return len; Index: tnlPlatform.h =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/tnlPlatform.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** tnlPlatform.h 28 Sep 2004 18:45:25 -0000 1.2 --- tnlPlatform.h 22 Mar 2005 09:18:36 -0000 1.3 *************** *** 32,35 **** --- 32,37 ---- #endif + #include <stdarg.h> + namespace TNL { *************** *** 106,110 **** /// /// This will print into the specified string until the buffer size is reached. ! extern int dVsprintf(char *buffer, U32 bufferSize, const char *format, void *arglist); ///< compiler independent inline char dToupper(const char c) { if (c >= char('a') && c <= char('z')) return char(c + 'A' - 'a'); else return c; } ///< Converts an ASCII character to upper case. --- 108,112 ---- /// /// This will print into the specified string until the buffer size is reached. ! extern int dVsprintf(char *buffer, U32 bufferSize, const char *format, va_list arglist); ///< compiler independent inline char dToupper(const char c) { if (c >= char('a') && c <= char('z')) return char(c + 'A' - 'a'); else return c; } ///< Converts an ASCII character to upper case. |
From: Mark F. <mar...@us...> - 2005-02-25 16:50:26
|
Update of /cvsroot/opentnl/tnl/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30864/test Modified Files: testGame.cpp Log Message: FIxed mac crash on click issue Index: testGame.cpp =================================================================== RCS file: /cvsroot/opentnl/tnl/test/testGame.cpp,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** testGame.cpp 21 Feb 2005 07:48:13 -0000 1.9 --- testGame.cpp 25 Feb 2005 16:50:15 -0000 1.10 *************** *** 301,305 **** TNL::NetClassGroupGameMask, TNL::RPCGuaranteedOrdered, TNL::RPCToGhostParent, 0) { ! TNL::logprintf("Expecting a player move from the connection: %s", testString); } --- 301,305 ---- TNL::NetClassGroupGameMask, TNL::RPCGuaranteedOrdered, TNL::RPCToGhostParent, 0) { ! TNL::logprintf("Expecting a player move from the connection: %s", testString.getString()); } |
From: Mark F. <mar...@us...> - 2005-02-25 16:45:42
|
Update of /cvsroot/opentnl/tnl/osx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29524/osx Modified Files: MyOpenGLView.mm Log Message: Integrated mac fixes Index: MyOpenGLView.mm =================================================================== RCS file: /cvsroot/opentnl/tnl/osx/MyOpenGLView.mm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** MyOpenGLView.mm 20 Apr 2004 04:27:17 -0000 1.1 --- MyOpenGLView.mm 25 Feb 2005 16:45:24 -0000 1.2 *************** *** 30,34 **** #include "testGame.h" ! class TestGameLog : public LogConsumer { id myView; --- 30,34 ---- #include "testGame.h" ! class TestGameLog : public TNL::LogConsumer { id myView; *************** *** 98,104 **** { if(clientGame) ! clientGame->renderFrame((U32) rect.size.width, (U32) rect.size.height); else if(serverGame) ! serverGame->renderFrame((U32) rect.size.width, (U32) rect.size.height); [[self openGLContext] flushBuffer]; --- 98,104 ---- { if(clientGame) ! clientGame->renderFrame((TNL::U32) rect.size.width, (TNL::U32) rect.size.height); else if(serverGame) ! serverGame->renderFrame((TNL::U32) rect.size.width, (TNL::U32) rect.size.height); [[self openGLContext] flushBuffer]; *************** *** 129,134 **** delete clientGame; ! serverGame = new TestGame(true, Address(IPProtocol, Address::Any, 28999), ! Address("IP:Broadcast:28999")); clientGame = NULL; } --- 129,134 ---- delete clientGame; ! serverGame = new TestGame(true, TNL::Address(TNL::IPProtocol, TNL::Address::Any, 28999), ! TNL::Address("IP:Broadcast:28999")); clientGame = NULL; } *************** *** 139,144 **** delete clientGame; serverGame = NULL; ! clientGame = new TestGame(false, Address(IPProtocol, Address::Any, 0), ! Address("IP:localhost:28999")); } --- 139,144 ---- delete clientGame; serverGame = NULL; ! clientGame = new TestGame(false, TNL::Address(TNL::IPProtocol, TNL::Address::Any, 0), ! TNL::Address("IP:localhost:28999")); } *************** *** 148,153 **** delete clientGame; serverGame = NULL; ! clientGame = new TestGame(false, Address(IPProtocol, Address::Any, 0), ! Address("IP:broadcast:28999")); } --- 148,153 ---- delete clientGame; serverGame = NULL; ! clientGame = new TestGame(false, TNL::Address(TNL::IPProtocol, TNL::Address::Any, 0), ! TNL::Address("IP:broadcast:28999")); } *************** *** 156,163 **** delete serverGame; delete clientGame; ! serverGame = new TestGame(true, Address(IPProtocol, Address::Any, 28999), ! Address("IP:Broadcast:28999")); ! clientGame = new TestGame(false, Address(IPProtocol, Address::Any, 0), ! Address("IP:broadcast:28999")); clientGame->createLocalConnection(serverGame); --- 156,163 ---- delete serverGame; delete clientGame; ! serverGame = new TestGame(true, TNL::Address(TNL::IPProtocol, TNL::Address::Any, 28999), ! TNL::Address("IP:Broadcast:28999")); ! clientGame = new TestGame(false, TNL::Address(TNL::IPProtocol, TNL::Address::Any, 0), ! TNL::Address("IP:broadcast:28999")); clientGame->createLocalConnection(serverGame); |
From: Mark F. <mar...@us...> - 2005-02-25 16:43:29
|
Update of /cvsroot/opentnl/tnl/libtomcrypt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28784/libtomcrypt Modified Files: mycrypt.h Log Message: Fixed quotes in libtomcrypt includes Index: mycrypt.h =================================================================== RCS file: /cvsroot/opentnl/tnl/libtomcrypt/mycrypt.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mycrypt.h 20 Apr 2004 04:27:14 -0000 1.1 --- mycrypt.h 25 Feb 2005 16:43:19 -0000 1.2 *************** *** 10,14 **** /* if there is a custom definition header file use it */ ! #include <mycrypt_custom.h> #ifdef __cplusplus --- 10,14 ---- /* if there is a custom definition header file use it */ ! #include "mycrypt_custom.h" #ifdef __cplusplus *************** *** 62,75 **** /* ch1-01-1 */ ! #include <mycrypt_cfg.h> ! #include <mycrypt_macros.h> ! #include <mycrypt_cipher.h> ! #include <mycrypt_hash.h> ! #include <mycrypt_prng.h> ! #include <mycrypt_pk.h> ! #include <mycrypt_gf.h> ! #include <mycrypt_misc.h> ! #include <mycrypt_kr.h> ! #include <mycrypt_argchk.h> #ifdef __cplusplus --- 62,75 ---- /* ch1-01-1 */ ! #include "mycrypt_cfg.h" ! #include "mycrypt_macros.h" ! #include "mycrypt_cipher.h" ! #include "mycrypt_hash.h" ! #include "mycrypt_prng.h" ! #include "mycrypt_pk.h" ! #include "mycrypt_gf.h" ! #include "mycrypt_misc.h" ! #include "mycrypt_kr.h" ! #include "mycrypt_argchk.h" #ifdef __cplusplus |
From: Mark F. <mar...@us...> - 2005-02-25 16:15:25
|
Update of /cvsroot/opentnl/tnl/tnl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22317/tnl Modified Files: tnlVector.h Log Message: Fixed Vector template compile on GCC 3.4.2 Updated dox generator Index: tnlVector.h =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl/tnlVector.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** tnlVector.h 14 Feb 2005 06:15:28 -0000 1.5 --- tnlVector.h 25 Feb 2005 16:15:15 -0000 1.6 *************** *** 95,103 **** bool empty() const; - T& front(); - const T& front() const; - T& back(); - const T& back() const; - void push_front(const T&); void push_back(const T&); --- 95,98 ---- *************** *** 298,321 **** } - template<class T> inline T& Vector<T>::front() - { - return *begin(); - } - - template<class T> inline const T& Vector<T>::front() const - { - return *begin(); - } - - template<class T> inline T& Vector<T>::back() - { - return *end(); - } - - template<class T> inline const T& Vector<T>::back() const - { - return *end(); - } - template<class T> inline void Vector<T>::push_front(const T &x) { --- 293,296 ---- |
From: Mark F. <mar...@us...> - 2005-02-25 16:15:25
|
Update of /cvsroot/opentnl/tnl/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22317/docs Modified Files: doxygen.html.cfg Log Message: Fixed Vector template compile on GCC 3.4.2 Updated dox generator Index: doxygen.html.cfg =================================================================== RCS file: /cvsroot/opentnl/tnl/docs/doxygen.html.cfg,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** doxygen.html.cfg 23 Feb 2005 18:53:10 -0000 1.5 --- doxygen.html.cfg 25 Feb 2005 16:15:15 -0000 1.6 *************** *** 62,66 **** ./master/ \ ./test/ \ - ./zap/ \ FILE_PATTERNS = *.h \ --- 62,65 ---- |
From: Mark F. <mar...@us...> - 2005-02-23 20:53:46
|
Update of /cvsroot/opentnl/tnl/tnlping In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11043/tnlping Added Files: tnlping.cpp tnlping.vcproj Log Message: Added tnlping utility to check whether a TNL program is up on a remote address --- NEW FILE: tnlping.cpp --- //----------------------------------------------------------------------------------- // // Torque Network Library - TNL Network program reachability tester // Copyright (C) 2004 GarageGames.com, Inc. // For more information see http://www.opentnl.org // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2 of the License, or // (at your option) any later version. // // For use in products that are not compatible with the terms of the GNU // General Public License, alternative licensing options are available // from GarageGames.com. // // This program 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 General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // //------------------------------------------------------------------------------------ #include "tnl.h" #include "tnlNetInterface.h" #include "tnlLog.h" #include "tnlNonce.h" #include "tnlRandom.h" #include <stdio.h> using namespace TNL; int main(int argc, const char **argv) { if(argc < 2) { printf("Usage: tnlping <remoteAddress> [sourceAddress]"); return 1; } U8 randData[sizeof(U32) + sizeof(S64)]; *((U32 *) randData) = Platform::getRealMilliseconds(); *((S64 *) (randData + sizeof(U32))) = Platform::getHighPrecisionTimerValue(); TNL::Random::addEntropy(randData, sizeof(randData)); Address remoteAddress(argv[1]); Address sourceAddress(argc > 2 ? argv[2] : "IP:Any:0"); Nonce clientNonce; clientNonce.getRandom(); Socket sourceSocket(sourceAddress); PacketStream out; out.write(U8(NetInterface::ConnectChallengeRequest)); clientNonce.write(&out); out.writeFlag(false); out.writeFlag(false); for(U32 tryCount = 0; tryCount < 5; tryCount++) { U32 time = Platform::getRealMilliseconds(); out.sendto(sourceSocket, remoteAddress); for(;;) { PacketStream incoming; Address incomingAddress; if(incoming.recvfrom(sourceSocket, &incomingAddress) == NoError) { U8 packetType; Nonce theNonce; incoming.read(&packetType); theNonce.read(&incoming); if(packetType == NetInterface::ConnectChallengeResponse && theNonce == clientNonce) { printf("TNL Service is UP (pingtime = %d)", Platform::getRealMilliseconds() - time); return 0; } } Platform::sleep(1); if(Platform::getRealMilliseconds() - time > 1000) break; } } printf("TNL Service is DOWN."); return 1; } --- NEW FILE: tnlping.vcproj --- <?xml version="1.0" encoding="Windows-1252"?> <VisualStudioProject ProjectType="Visual C++" Version="7.10" Name="tnlping" ProjectGUID="{1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}" Keyword="Win32Proj"> <Platforms> <Platform Name="Win32"/> </Platforms> <Configurations> <Configuration Name="Debug|Win32" OutputDirectory="../exe" IntermediateDirectory="Debug" ConfigurationType="1" CharacterSet="2"> <Tool Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../tnl" PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" RuntimeLibrary="5" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="4"/> <Tool Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" AdditionalDependencies="wsock32.lib" OutputFile="$(OutDir)/tnlping.exe" LinkIncremental="2" GenerateDebugInformation="TRUE" ProgramDatabaseFile="$(OutDir)/tnlping.pdb" SubSystem="1" TargetMachine="1"/> <Tool Name="VCMIDLTool"/> <Tool Name="VCPostBuildEventTool"/> <Tool Name="VCPreBuildEventTool"/> <Tool Name="VCPreLinkEventTool"/> <Tool Name="VCResourceCompilerTool"/> <Tool Name="VCWebServiceProxyGeneratorTool"/> <Tool Name="VCXMLDataGeneratorTool"/> <Tool Name="VCWebDeploymentTool"/> <Tool Name="VCManagedWrapperGeneratorTool"/> <Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> <Configuration Name="Release|Win32" OutputDirectory="../exe" IntermediateDirectory="Release" ConfigurationType="1" CharacterSet="2"> <Tool Name="VCCLCompilerTool" AdditionalIncludeDirectories="../tnl" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" RuntimeLibrary="4" UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="TRUE" DebugInformationFormat="3"/> <Tool Name="VCCustomBuildTool"/> <Tool Name="VCLinkerTool" AdditionalDependencies="wsock32.lib" OutputFile="$(OutDir)/tnlping.exe" LinkIncremental="1" GenerateDebugInformation="TRUE" SubSystem="1" OptimizeReferences="2" EnableCOMDATFolding="2" TargetMachine="1"/> <Tool Name="VCMIDLTool"/> <Tool Name="VCPostBuildEventTool"/> <Tool Name="VCPreBuildEventTool"/> <Tool Name="VCPreLinkEventTool"/> <Tool Name="VCResourceCompilerTool"/> <Tool Name="VCWebServiceProxyGeneratorTool"/> <Tool Name="VCXMLDataGeneratorTool"/> <Tool Name="VCWebDeploymentTool"/> <Tool Name="VCManagedWrapperGeneratorTool"/> <Tool Name="VCAuxiliaryManagedWrapperGeneratorTool"/> </Configuration> </Configurations> <References> </References> <Files> <File RelativePath=".\tnlping.cpp"> </File> </Files> <Globals> </Globals> </VisualStudioProject> |
From: Mark F. <mar...@us...> - 2005-02-23 20:53:45
|
Update of /cvsroot/opentnl/tnl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11043 Modified Files: tnl.sln Log Message: Added tnlping utility to check whether a TNL program is up on a remote address Index: tnl.sln =================================================================== RCS file: /cvsroot/opentnl/tnl/tnl.sln,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** tnl.sln 3 Jul 2004 20:01:46 -0000 1.7 --- tnl.sln 23 Feb 2005 20:53:34 -0000 1.8 *************** *** 39,42 **** --- 39,48 ---- EndProjectSection EndProject + Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tnlping", "tnlping\tnlping.vcproj", "{1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}" + ProjectSection(ProjectDependencies) = postProject + {5FAF4911-1DA7-44FE-9DA1-49AE25B11250} = {5FAF4911-1DA7-44FE-9DA1-49AE25B11250} + {3F7F7B79-4473-4CAB-A54E-4274A9F1A01A} = {3F7F7B79-4473-4CAB-A54E-4274A9F1A01A} + EndProjectSection + EndProject Global GlobalSection(SolutionConfiguration) = preSolution *************** *** 127,130 **** --- 133,148 ---- {F1A0916C-3232-4C2E-B52B-368955AA4C62}.Release Xbox.ActiveCfg = Release|Win32 {F1A0916C-3232-4C2E-B52B-368955AA4C62}.Release Xbox.Build.0 = Release|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Debug.ActiveCfg = Debug|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Debug.Build.0 = Debug|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Debug Win32.ActiveCfg = Debug|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Debug Win32.Build.0 = Debug|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Debug Xbox.ActiveCfg = Debug|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Debug Xbox.Build.0 = Debug|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Release.ActiveCfg = Release|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Release.Build.0 = Release|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Release Win32.ActiveCfg = Release|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Release Win32.Build.0 = Release|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Release Xbox.ActiveCfg = Release|Win32 + {1CBEC210-5C02-43D4-AFA1-8A3EC67A3239}.Release Xbox.Build.0 = Release|Win32 EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution |
From: Mark F. <mar...@us...> - 2005-02-23 20:51:33
|
Update of /cvsroot/opentnl/tnl/tnlping In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10246/tnlping Log Message: Directory /cvsroot/opentnl/tnl/tnlping added to the repository |
From: Mark F. <mar...@us...> - 2005-02-23 19:26:29
|
Update of /cvsroot/opentnl/tnl/zap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26138/zap Modified Files: gameObject.h gameType.h sfx.h voiceCodec.h Log Message: Updated some class derivations to make the class hierarchy prettier in Doxygen Index: gameObject.h =================================================================== RCS file: /cvsroot/opentnl/tnl/zap/gameObject.h,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** gameObject.h 1 Oct 2004 00:21:40 -0000 1.28 --- gameObject.h 23 Feb 2005 19:25:37 -0000 1.29 *************** *** 77,81 **** }; ! class GameObject : public NetObject { friend class GridDatabase; --- 77,81 ---- }; ! class GameObject : public TNL::NetObject { friend class GridDatabase; Index: voiceCodec.h =================================================================== RCS file: /cvsroot/opentnl/tnl/zap/voiceCodec.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** voiceCodec.h 20 May 2004 20:16:08 -0000 1.4 --- voiceCodec.h 23 Feb 2005 19:25:38 -0000 1.5 *************** *** 43,47 **** /// original buffer is modified to contain any samples that were not used /// due to unfilled frame sizing. ! class VoiceEncoder : public Object { virtual U32 getSamplesPerFrame() = 0; --- 43,47 ---- /// original buffer is modified to contain any samples that were not used /// due to unfilled frame sizing. ! class VoiceEncoder : public TNL::Object { virtual U32 getSamplesPerFrame() = 0; *************** *** 57,61 **** /// with the appropriate VoiceEncoder analogue and returns the decompressed /// 16 bit sample buffer. ! class VoiceDecoder : public Object { virtual U32 getSamplesPerFrame() = 0; --- 57,61 ---- /// with the appropriate VoiceEncoder analogue and returns the decompressed /// 16 bit sample buffer. ! class VoiceDecoder : public TNL::Object { virtual U32 getSamplesPerFrame() = 0; Index: gameType.h =================================================================== RCS file: /cvsroot/opentnl/tnl/zap/gameType.h,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** gameType.h 22 Feb 2005 09:46:33 -0000 1.40 --- gameType.h 23 Feb 2005 19:25:38 -0000 1.41 *************** *** 41,45 **** class Item; ! class ClientRef : public Object { public: --- 41,45 ---- class Item; ! class ClientRef : public TNL::Object { public: Index: sfx.h =================================================================== RCS file: /cvsroot/opentnl/tnl/zap/sfx.h,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** sfx.h 2 Aug 2004 18:11:54 -0000 1.19 --- sfx.h 23 Feb 2005 19:25:38 -0000 1.20 *************** *** 107,111 **** }; ! class SFXObject : public Object { static Point mListenerPosition; --- 107,111 ---- }; ! class SFXObject : public TNL::Object { static Point mListenerPosition; |