Updated RaknetLib.lib to version 3.4

Added all raknet headers for full raknet support
Added Testclass "TestCB.cpp" which is a test implementation for raknet plugin "File List Transfer". We will use this plugin for file transfer in multiplayer

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2638 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2009-03-28 15:30:07 +00:00
parent 6a740eb82b
commit e383a4080c
129 changed files with 22483 additions and 284 deletions
+30
View File
@@ -0,0 +1,30 @@
#ifndef __RAKNET_TIME_H
#define __RAKNET_TIME_H
// Define __GET_TIME_64BIT if you want to use large types for GetTime (takes more bandwidth when you transmit time though!)
// You would want to do this if your system is going to run long enough to overflow the millisecond counter (over a month)
#ifdef __GET_TIME_64BIT
#if defined(_MSC_VER) && _MSC_VER < 1300
typedef unsigned __int64 RakNetTime;
typedef unsigned __int64 RakNetTimeNS;
typedef unsigned __int64 RakNetTimeMS;
typedef unsigned __int64 RakNetTimeUS;
#else
typedef unsigned long long RakNetTime;
typedef unsigned long long RakNetTimeNS;
typedef unsigned long long RakNetTimeMS;
typedef unsigned long long RakNetTimeUS;
#endif
#else
typedef unsigned int RakNetTime;
typedef unsigned int RakNetTimeMS;
#if defined(_MSC_VER) && _MSC_VER < 1300
typedef unsigned __int64 RakNetTimeNS;
typedef unsigned __int64 RakNetTimeUS;
#else
typedef unsigned long long RakNetTimeNS;
typedef unsigned long long RakNetTimeUS;
#endif
#endif
#endif