Network and Multiplayer

所属分类:游戏
开发工具:Visual C++
文件大小:40KB
下载次数:31
上传日期:2004-09-04 22:09:56
上 传 者saifengshuoxue
说明:  学习VC网络编程以及处理多个玩家的例子。
(learning VC network programming and handling multi-player example.)

文件列表:
Network and Multiplayer\build\test_results\linux_rh71.out (6074, 2003-06-26)
Network and Multiplayer\build\test_results\linux_rh71_tag.out (7332, 2003-06-26)
Network and Multiplayer\build\test_results\netbsd_sparc.out (6074, 2003-06-26)
Network and Multiplayer\build\test_results\netbsd_sparc_tag.out (7332, 2003-06-26)
Network and Multiplayer\build\test_results\win32_cygwin.out (6074, 2003-06-26)
Network and Multiplayer\build\test_results\win32_cygwin_tag.out (7332, 2003-06-26)
Network and Multiplayer\build\test_results\win32_msvc.out (6273, 2003-06-26)
Network and Multiplayer\build\test_results\win32_msvc_tag.out (7531, 2003-06-26)
Network and Multiplayer\build\test_results (0, 2004-09-04)
Network and Multiplayer\build\unix-gcc\Makefile (1066, 2003-06-26)
Network and Multiplayer\build\unix-gcc (0, 2004-09-04)
Network and Multiplayer\build\win32-cygwin\Makefile (963, 2003-06-26)
Network and Multiplayer\build\win32-cygwin (0, 2004-09-04)
Network and Multiplayer\build\win32-msvc\serialize.dsw (827, 2003-06-26)
Network and Multiplayer\build\win32-msvc\serializelib.dsp (4444, 2003-06-26)
Network and Multiplayer\build\win32-msvc\test.dsp (5167, 2003-06-26)
Network and Multiplayer\build\win32-msvc (0, 2004-09-04)
Network and Multiplayer\build (0, 2004-09-04)
Network and Multiplayer\src\basetypes.cpp (701, 2003-06-26)
Network and Multiplayer\src\basetypes.h (2509, 2003-06-26)
Network and Multiplayer\src\buffer.cpp (1642, 2003-06-26)
Network and Multiplayer\src\buffer.h (2600, 2003-06-26)
Network and Multiplayer\src\byteorder.cpp (2236, 2003-06-26)
Network and Multiplayer\src\byteorder.h (1640, 2003-06-26)
Network and Multiplayer\src\keyedserializer.h (4984, 2003-06-26)
Network and Multiplayer\src\misc.h (470, 2003-06-26)
Network and Multiplayer\src\platform.h (1368, 2003-06-26)
Network and Multiplayer\src\ser_deque.h (780, 2003-06-26)
Network and Multiplayer\src\ser_hashmap.h (1843, 2003-06-26)
Network and Multiplayer\src\ser_hashset.h (1717, 2003-06-26)
Network and Multiplayer\src\ser_list.h (770, 2003-06-26)
Network and Multiplayer\src\ser_map.h (1608, 2003-06-26)
Network and Multiplayer\src\ser_pair.h (807, 2003-06-26)
Network and Multiplayer\src\ser_set.h (1392, 2003-06-26)
Network and Multiplayer\src\ser_stl.h (1225, 2003-06-26)
Network and Multiplayer\src\ser_vector.h (790, 2003-06-26)
Network and Multiplayer\src\serdefs.cpp (249, 2003-06-26)
Network and Multiplayer\src\serdefs.h (3031, 2003-06-26)
Network and Multiplayer\src\serializer.cpp (6713, 2003-06-26)
... ...

Game Programming Gems 3 Template-Based Object Serialization Author: Jason Beardsley January 25, 2002 MANIFEST src/ Source for serialization library and a test driver stl/ Place to put the appropriate STL (see below) build/ Build directories for tested platforms STL Many compilers do not ship with a fully functional STL, and even so the non-standard hashed containers are not consistent across different STL implementations. I highly recommend that you go out and get a "good" one, either STLport (www.stlport.org) or the SGI one (www.sgi.com/tech/stl). Then, install it in the "stl" directory, where the make files will search for it. Due to potential redistribution restrictions that I'm not willing to even research, I cannot supply you with a good STL. If it's not possible for you to download and use an alternate STL, you might have to remove or rework the support for the hashed containers. PLATFORMS - Linux/x86 * RedHat Linux 7.1 / gcc 2.96 + SGI STL v3.3 The stock gcc 2.96 STL does not work, and if you use it you should really switch to something newer anyway - the default string class is not thread-safe and will core dump in threaded code. * RedHat Linux 7.2 / gcc 3.0.2 The provided STL works fine. Use 'make gcc3-all'. - NetBSD/sparc * NetBSD 1.5 / gcc 2.95.2 + SGI STL v3.3 You also have to use GNU make (gmake) to build, or redo the Makefile. I tested this on a SparcStation 5, which is not a ***-bit CPU. I'm interested in finding out if there are any changes needed to make it work on a true ***-bit architecture. - Win32 * Windows 2000 / MSVC6 (SP5) + STLport 4.0 A workspace (serialize.dsw) is provided. Install STLport before even thinking about compiling. * Windows 2000 / cygwin gcc 2.95.3 + SGI STL v3.3 TEST RESULTS I've included the output from the test driver for each platform that I tested on. There should be no differences between them, except for one line in test5(), where a float*** is written into a Buffer without byteorder conversion; this will differ between x86 and sparc. BUG REPORTS Please send any bug reports, patches, comments, or enhancements to me via email, with "GEM3" in the header. I'll try to put up some kind of public site where fixes can be accessed, if there is any interest.

近期下载者

相关文件


收藏者