summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-25 16:59:41 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-05-25 16:59:41 +0200
commit67154217a2be5f66eeaeedd10bcc24d26ce473c2 (patch)
tree4aa33083136074cc45df4d0aa6f33e01eca2e977
parentAdded all new bindings, refactored Debuggers; new Debuggers function. (diff)
downloadcuberite-67154217a2be5f66eeaeedd10bcc24d26ce473c2.tar
cuberite-67154217a2be5f66eeaeedd10bcc24d26ce473c2.tar.gz
cuberite-67154217a2be5f66eeaeedd10bcc24d26ce473c2.tar.bz2
cuberite-67154217a2be5f66eeaeedd10bcc24d26ce473c2.tar.lz
cuberite-67154217a2be5f66eeaeedd10bcc24d26ce473c2.tar.xz
cuberite-67154217a2be5f66eeaeedd10bcc24d26ce473c2.tar.zst
cuberite-67154217a2be5f66eeaeedd10bcc24d26ce473c2.zip
-rw-r--r--VC2008/CryptoPP.cbp311
-rw-r--r--VC2008/JsonCpp.cbp81
-rw-r--r--VC2008/Lua.cbp184
-rw-r--r--VC2008/MCServer.cbp611
-rw-r--r--VC2008/Squirrel3.cbp109
-rw-r--r--VC2008/ToLua.cbp102
-rw-r--r--VC2008/WebServer.cbp77
-rw-r--r--VC2008/expat.cbp77
-rw-r--r--VC2008/resource.hbin904 -> 0 bytes
-rw-r--r--VC2008/resource_MCServer.h5
-rw-r--r--VC2008/zlib.cbp121
-rw-r--r--source/Log.cpp6
-rw-r--r--source/OSSupport/Socket.cpp37
-rw-r--r--source/main.cpp8
14 files changed, 1711 insertions, 18 deletions
diff --git a/VC2008/CryptoPP.cbp b/VC2008/CryptoPP.cbp
new file mode 100644
index 000000000..f9f10e7a7
--- /dev/null
+++ b/VC2008/CryptoPP.cbp
@@ -0,0 +1,311 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="CryptoPP" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32/CryptoPP" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DNDEBUG" />
+ <Add option="-D_WINDOWS" />
+ <Add option="-DUSE_PRECOMPILED_HEADERS" />
+ <Add option="-DWIN32" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32/CryptoPP" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-D_DEBUG" />
+ <Add option="-D_WINDOWS" />
+ <Add option="-DUSE_PRECOMPILED_HEADERS" />
+ <Add option="-DWIN32" />
+ <Add option="-W" />
+ <Add option="-g" />
+ <Add option="-O0" />
+ </Compiler>
+ </Target>
+ <Target title="Release x64">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Win32/CryptoPP/Release x64" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DNDEBUG" />
+ <Add option="-D_WINDOWS" />
+ <Add option="-DUSE_PRECOMPILED_HEADERS" />
+ <Add option="-DWIN32" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ <Target title="DLL-Import Release x64">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Win32/CryptoPP/DLL-Import Release x64" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DNDEBUG" />
+ <Add option="-D_WINDOWS" />
+ <Add option="-DUSE_PRECOMPILED_HEADERS" />
+ <Add option="-DWIN32" />
+ <Add option="-DCRYPTOPP_IMPORTS" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ <Target title="Debug x64">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Win32/CryptoPP/Debug x64" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-D_DEBUG" />
+ <Add option="-D_WINDOWS" />
+ <Add option="-DUSE_PRECOMPILED_HEADERS" />
+ <Add option="-DWIN32" />
+ <Add option="-W" />
+ <Add option="-O0" />
+ </Compiler>
+ </Target>
+ <Target title="DLL-Import Debug x64">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Win32/CryptoPP/DLL-Import Debug x64" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-D_DEBUG" />
+ <Add option="-D_WINDOWS" />
+ <Add option="-DUSE_PRECOMPILED_HEADERS" />
+ <Add option="-DWIN32" />
+ <Add option="-DCRYPTOPP_IMPORTS" />
+ <Add option="-W" />
+ <Add option="-O0" />
+ </Compiler>
+ </Target>
+ </Build>
+ <Unit filename="../CryptoPP/Doxyfile" />
+ <Unit filename="../CryptoPP/GNUmakefile" />
+ <Unit filename="../CryptoPP/License.txt" />
+ <Unit filename="../CryptoPP/Readme.txt" />
+ <Unit filename="../CryptoPP/adler32.cpp" />
+ <Unit filename="../CryptoPP/adler32.h" />
+ <Unit filename="../CryptoPP/aes.h" />
+ <Unit filename="../CryptoPP/algebra.cpp" />
+ <Unit filename="../CryptoPP/algebra.h" />
+ <Unit filename="../CryptoPP/algparam.cpp" />
+ <Unit filename="../CryptoPP/algparam.h" />
+ <Unit filename="../CryptoPP/arc4.h" />
+ <Unit filename="../CryptoPP/argnames.h" />
+ <Unit filename="../CryptoPP/asn.cpp" />
+ <Unit filename="../CryptoPP/asn.h" />
+ <Unit filename="../CryptoPP/authenc.cpp" />
+ <Unit filename="../CryptoPP/authenc.h" />
+ <Unit filename="../CryptoPP/base32.cpp" />
+ <Unit filename="../CryptoPP/base32.h" />
+ <Unit filename="../CryptoPP/base64.cpp" />
+ <Unit filename="../CryptoPP/base64.h" />
+ <Unit filename="../CryptoPP/basecode.cpp" />
+ <Unit filename="../CryptoPP/basecode.h" />
+ <Unit filename="../CryptoPP/cbcmac.cpp" />
+ <Unit filename="../CryptoPP/cbcmac.h" />
+ <Unit filename="../CryptoPP/ccm.cpp" />
+ <Unit filename="../CryptoPP/ccm.h" />
+ <Unit filename="../CryptoPP/channels.cpp" />
+ <Unit filename="../CryptoPP/channels.h" />
+ <Unit filename="../CryptoPP/cmac.cpp" />
+ <Unit filename="../CryptoPP/cmac.h" />
+ <Unit filename="../CryptoPP/config.h" />
+ <Unit filename="../CryptoPP/cpu.cpp" />
+ <Unit filename="../CryptoPP/cpu.h" />
+ <Unit filename="../CryptoPP/crc.cpp" />
+ <Unit filename="../CryptoPP/crc.h" />
+ <Unit filename="../CryptoPP/cryptlib.cpp" />
+ <Unit filename="../CryptoPP/cryptlib.h" />
+ <Unit filename="../CryptoPP/default.cpp" />
+ <Unit filename="../CryptoPP/default.h" />
+ <Unit filename="../CryptoPP/des.cpp" />
+ <Unit filename="../CryptoPP/des.h" />
+ <Unit filename="../CryptoPP/dessp.cpp" />
+ <Unit filename="../CryptoPP/dh.cpp" />
+ <Unit filename="../CryptoPP/dh.h" />
+ <Unit filename="../CryptoPP/dh2.cpp" />
+ <Unit filename="../CryptoPP/dh2.h" />
+ <Unit filename="../CryptoPP/dll.cpp" />
+ <Unit filename="../CryptoPP/dmac.h" />
+ <Unit filename="../CryptoPP/dsa.cpp" />
+ <Unit filename="../CryptoPP/dsa.h" />
+ <Unit filename="../CryptoPP/eax.cpp" />
+ <Unit filename="../CryptoPP/eax.h" />
+ <Unit filename="../CryptoPP/ec2n.cpp" />
+ <Unit filename="../CryptoPP/ec2n.h" />
+ <Unit filename="../CryptoPP/eccrypto.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../CryptoPP/eccrypto.h" />
+ <Unit filename="../CryptoPP/ecp.cpp" />
+ <Unit filename="../CryptoPP/ecp.h" />
+ <Unit filename="../CryptoPP/elgamal.cpp" />
+ <Unit filename="../CryptoPP/elgamal.h" />
+ <Unit filename="../CryptoPP/emsa2.cpp" />
+ <Unit filename="../CryptoPP/emsa2.h" />
+ <Unit filename="../CryptoPP/eprecomp.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../CryptoPP/eprecomp.h" />
+ <Unit filename="../CryptoPP/esign.cpp" />
+ <Unit filename="../CryptoPP/esign.h" />
+ <Unit filename="../CryptoPP/files.cpp" />
+ <Unit filename="../CryptoPP/files.h" />
+ <Unit filename="../CryptoPP/filters.cpp" />
+ <Unit filename="../CryptoPP/filters.h" />
+ <Unit filename="../CryptoPP/fips140.cpp" />
+ <Unit filename="../CryptoPP/fips140.h" />
+ <Unit filename="../CryptoPP/fltrimpl.h" />
+ <Unit filename="../CryptoPP/gcm.cpp" />
+ <Unit filename="../CryptoPP/gcm.h" />
+ <Unit filename="../CryptoPP/gf256.cpp" />
+ <Unit filename="../CryptoPP/gf256.h" />
+ <Unit filename="../CryptoPP/gf2_32.cpp" />
+ <Unit filename="../CryptoPP/gf2_32.h" />
+ <Unit filename="../CryptoPP/gf2n.cpp" />
+ <Unit filename="../CryptoPP/gf2n.h" />
+ <Unit filename="../CryptoPP/gfpcrypt.cpp" />
+ <Unit filename="../CryptoPP/gfpcrypt.h" />
+ <Unit filename="../CryptoPP/gzip.h" />
+ <Unit filename="../CryptoPP/hex.cpp" />
+ <Unit filename="../CryptoPP/hex.h" />
+ <Unit filename="../CryptoPP/hmac.cpp" />
+ <Unit filename="../CryptoPP/hmac.h" />
+ <Unit filename="../CryptoPP/hrtimer.cpp" />
+ <Unit filename="../CryptoPP/hrtimer.h" />
+ <Unit filename="../CryptoPP/integer.cpp" />
+ <Unit filename="../CryptoPP/integer.h" />
+ <Unit filename="../CryptoPP/iterhash.cpp" />
+ <Unit filename="../CryptoPP/iterhash.h" />
+ <Unit filename="../CryptoPP/lubyrack.h" />
+ <Unit filename="../CryptoPP/luc.cpp" />
+ <Unit filename="../CryptoPP/luc.h" />
+ <Unit filename="../CryptoPP/md2.cpp" />
+ <Unit filename="../CryptoPP/md2.h" />
+ <Unit filename="../CryptoPP/md4.cpp" />
+ <Unit filename="../CryptoPP/md4.h" />
+ <Unit filename="../CryptoPP/md5.cpp" />
+ <Unit filename="../CryptoPP/md5.h" />
+ <Unit filename="../CryptoPP/mdc.h" />
+ <Unit filename="../CryptoPP/misc.cpp" />
+ <Unit filename="../CryptoPP/misc.h" />
+ <Unit filename="../CryptoPP/modarith.h" />
+ <Unit filename="../CryptoPP/modes.cpp" />
+ <Unit filename="../CryptoPP/modes.h" />
+ <Unit filename="../CryptoPP/modexppc.h" />
+ <Unit filename="../CryptoPP/mqueue.cpp" />
+ <Unit filename="../CryptoPP/mqueue.h" />
+ <Unit filename="../CryptoPP/mqv.cpp" />
+ <Unit filename="../CryptoPP/mqv.h" />
+ <Unit filename="../CryptoPP/nbtheory.cpp" />
+ <Unit filename="../CryptoPP/nbtheory.h" />
+ <Unit filename="../CryptoPP/network.cpp" />
+ <Unit filename="../CryptoPP/network.h" />
+ <Unit filename="../CryptoPP/nr.h" />
+ <Unit filename="../CryptoPP/oaep.cpp" />
+ <Unit filename="../CryptoPP/oaep.h" />
+ <Unit filename="../CryptoPP/oids.h" />
+ <Unit filename="../CryptoPP/osrng.cpp" />
+ <Unit filename="../CryptoPP/osrng.h" />
+ <Unit filename="../CryptoPP/pch.cpp" />
+ <Unit filename="../CryptoPP/pch.h" />
+ <Unit filename="../CryptoPP/pkcspad.cpp" />
+ <Unit filename="../CryptoPP/pkcspad.h" />
+ <Unit filename="../CryptoPP/polynomi.cpp" />
+ <Unit filename="../CryptoPP/polynomi.h" />
+ <Unit filename="../CryptoPP/pssr.cpp" />
+ <Unit filename="../CryptoPP/pssr.h" />
+ <Unit filename="../CryptoPP/pubkey.cpp" />
+ <Unit filename="../CryptoPP/pubkey.h" />
+ <Unit filename="../CryptoPP/pwdbased.h" />
+ <Unit filename="../CryptoPP/queue.cpp" />
+ <Unit filename="../CryptoPP/queue.h" />
+ <Unit filename="../CryptoPP/rabin.cpp" />
+ <Unit filename="../CryptoPP/rabin.h" />
+ <Unit filename="../CryptoPP/randpool.cpp" />
+ <Unit filename="../CryptoPP/randpool.h" />
+ <Unit filename="../CryptoPP/rdtables.cpp" />
+ <Unit filename="../CryptoPP/rijndael.cpp" />
+ <Unit filename="../CryptoPP/rijndael.h" />
+ <Unit filename="../CryptoPP/rng.cpp" />
+ <Unit filename="../CryptoPP/rng.h" />
+ <Unit filename="../CryptoPP/rsa.cpp" />
+ <Unit filename="../CryptoPP/rsa.h" />
+ <Unit filename="../CryptoPP/rw.cpp" />
+ <Unit filename="../CryptoPP/rw.h" />
+ <Unit filename="../CryptoPP/safer.cpp" />
+ <Unit filename="../CryptoPP/safer.h" />
+ <Unit filename="../CryptoPP/seal.cpp" />
+ <Unit filename="../CryptoPP/seal.h" />
+ <Unit filename="../CryptoPP/secblock.h" />
+ <Unit filename="../CryptoPP/seckey.h" />
+ <Unit filename="../CryptoPP/seed.cpp" />
+ <Unit filename="../CryptoPP/seed.h" />
+ <Unit filename="../CryptoPP/sha.cpp" />
+ <Unit filename="../CryptoPP/sha.h" />
+ <Unit filename="../CryptoPP/shacal2.cpp" />
+ <Unit filename="../CryptoPP/shacal2.h" />
+ <Unit filename="../CryptoPP/simple.cpp" />
+ <Unit filename="../CryptoPP/simple.h" />
+ <Unit filename="../CryptoPP/smartptr.h" />
+ <Unit filename="../CryptoPP/socketft.cpp" />
+ <Unit filename="../CryptoPP/socketft.h" />
+ <Unit filename="../CryptoPP/square.cpp" />
+ <Unit filename="../CryptoPP/square.h" />
+ <Unit filename="../CryptoPP/squaretb.cpp" />
+ <Unit filename="../CryptoPP/stdcpp.h" />
+ <Unit filename="../CryptoPP/strciphr.cpp" />
+ <Unit filename="../CryptoPP/strciphr.h" />
+ <Unit filename="../CryptoPP/tea.cpp" />
+ <Unit filename="../CryptoPP/tea.h" />
+ <Unit filename="../CryptoPP/tiger.cpp" />
+ <Unit filename="../CryptoPP/tiger.h" />
+ <Unit filename="../CryptoPP/tigertab.cpp" />
+ <Unit filename="../CryptoPP/trdlocal.cpp" />
+ <Unit filename="../CryptoPP/trdlocal.h" />
+ <Unit filename="../CryptoPP/trunhash.h" />
+ <Unit filename="../CryptoPP/ttmac.cpp" />
+ <Unit filename="../CryptoPP/ttmac.h" />
+ <Unit filename="../CryptoPP/vmac.cpp" />
+ <Unit filename="../CryptoPP/vmac.h" />
+ <Unit filename="../CryptoPP/wait.cpp" />
+ <Unit filename="../CryptoPP/wait.h" />
+ <Unit filename="../CryptoPP/wake.h" />
+ <Unit filename="../CryptoPP/winpipes.cpp" />
+ <Unit filename="../CryptoPP/winpipes.h" />
+ <Unit filename="../CryptoPP/words.h" />
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/JsonCpp.cbp b/VC2008/JsonCpp.cbp
new file mode 100644
index 000000000..35aa6ea81
--- /dev/null
+++ b/VC2008/JsonCpp.cbp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="JsonCpp" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32/JsonCpp" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-W" />
+ <Add option="-g" />
+ <Add option="-O0" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ </ResourceCompiler>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32/JsonCpp" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ </ResourceCompiler>
+ </Target>
+ <Target title="Release profiled Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release profiled Win32/JsonCpp" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ </ResourceCompiler>
+ </Target>
+ </Build>
+ <Unit filename="../jsoncpp-src-0.5.0/src/lib_json/json_batchallocator.h" />
+ <Unit filename="../jsoncpp-src-0.5.0/src/lib_json/json_internalarray.inl" />
+ <Unit filename="../jsoncpp-src-0.5.0/src/lib_json/json_internalmap.inl" />
+ <Unit filename="../jsoncpp-src-0.5.0/src/lib_json/json_reader.cpp" />
+ <Unit filename="../jsoncpp-src-0.5.0/src/lib_json/json_value.cpp" />
+ <Unit filename="../jsoncpp-src-0.5.0/src/lib_json/json_valueiterator.inl" />
+ <Unit filename="../jsoncpp-src-0.5.0/src/lib_json/json_writer.cpp" />
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/Lua.cbp b/VC2008/Lua.cbp
new file mode 100644
index 000000000..208bf42f4
--- /dev/null
+++ b/VC2008/Lua.cbp
@@ -0,0 +1,184 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="Lua" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32/Lua" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-g" />
+ <Add option="-O0" />
+ </Compiler>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32/Lua" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ <Target title="Release profiled Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release profiled Win32/Lua" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ </Build>
+ <Unit filename="../lua-5.1.4/src/lapi.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lapi.h" />
+ <Unit filename="../lua-5.1.4/src/lauxlib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lauxlib.h" />
+ <Unit filename="../lua-5.1.4/src/lbaselib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lcode.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lcode.h" />
+ <Unit filename="../lua-5.1.4/src/ldblib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/ldebug.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/ldebug.h" />
+ <Unit filename="../lua-5.1.4/src/ldo.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/ldo.h" />
+ <Unit filename="../lua-5.1.4/src/ldump.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lfunc.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lfunc.h" />
+ <Unit filename="../lua-5.1.4/src/lgc.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lgc.h" />
+ <Unit filename="../lua-5.1.4/src/linit.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/liolib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/llex.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/llex.h" />
+ <Unit filename="../lua-5.1.4/src/llimits.h" />
+ <Unit filename="../lua-5.1.4/src/lmathlib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lmem.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lmem.h" />
+ <Unit filename="../lua-5.1.4/src/loadlib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lobject.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lobject.h" />
+ <Unit filename="../lua-5.1.4/src/lopcodes.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lopcodes.h" />
+ <Unit filename="../lua-5.1.4/src/loslib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lparser.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lparser.h" />
+ <Unit filename="../lua-5.1.4/src/lstate.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lstate.h" />
+ <Unit filename="../lua-5.1.4/src/lstring.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lstring.h" />
+ <Unit filename="../lua-5.1.4/src/lstrlib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/ltable.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/ltable.h" />
+ <Unit filename="../lua-5.1.4/src/ltablib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/ltm.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/ltm.h" />
+ <Unit filename="../lua-5.1.4/src/lua.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lua.h" />
+ <Unit filename="../lua-5.1.4/src/luac.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/luaconf.h" />
+ <Unit filename="../lua-5.1.4/src/lualib.h" />
+ <Unit filename="../lua-5.1.4/src/lundump.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lundump.h" />
+ <Unit filename="../lua-5.1.4/src/lvm.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lvm.h" />
+ <Unit filename="../lua-5.1.4/src/lzio.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../lua-5.1.4/src/lzio.h" />
+ <Unit filename="../lua-5.1.4/src/print.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/MCServer.cbp b/VC2008/MCServer.cbp
new file mode 100644
index 000000000..9bc715f8c
--- /dev/null
+++ b/VC2008/MCServer.cbp
@@ -0,0 +1,611 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="MCServer" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="C:/Programovani/Programy/cizi/mc-server/VC2008/../MCServer/MCServer_debug" prefix_auto="1" extension_auto="1" />
+ <Option object_output="Debug" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_CONSOLE" />
+ <Add option="-DXML_STATIC" />
+ <Add option="-W" />
+ <Add option="-O0" />
+ <Add directory="../zlib-1.2.7" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ <Add directory="../lua-5.1.4/src" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ <Add directory="../squirrel_3_0_1_stable" />
+ <Add directory="../squirrel_3_0_1_stable/sqrat" />
+ <Add directory=".." />
+ <Add directory="../expat" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../zlib-1.2.7" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ <Add directory="../lua-5.1.4/src" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ <Add directory="../squirrel_3_0_1_stable" />
+ <Add directory="../squirrel_3_0_1_stable/sqrat" />
+ <Add directory=".." />
+ <Add directory="../expat" />
+ </ResourceCompiler>
+ <Linker>
+ <Add library="ws2_32" />
+ <Add library="Psapi" />
+ </Linker>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="C:/Programovani/Programy/cizi/mc-server/VC2008/../MCServer/MCServer" prefix_auto="1" extension_auto="1" />
+ <Option object_output="Release" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_CONSOLE" />
+ <Add option="-DXML_STATIC" />
+ <Add option="-W" />
+ <Add option="-O3" />
+ <Add directory="../zlib-1.2.7" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ <Add directory="../lua-5.1.4/src" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ <Add directory="../squirrel_3_0_1_stable" />
+ <Add directory="../squirrel_3_0_1_stable/sqrat" />
+ <Add directory=".." />
+ <Add directory="../expat" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../zlib-1.2.7" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ <Add directory="../lua-5.1.4/src" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ <Add directory="../squirrel_3_0_1_stable" />
+ <Add directory="../squirrel_3_0_1_stable/sqrat" />
+ <Add directory=".." />
+ <Add directory="../expat" />
+ </ResourceCompiler>
+ <Linker>
+ <Add library="ws2_32" />
+ <Add library="Psapi" />
+ </Linker>
+ </Target>
+ <Target title="Release profiled Win32">
+ <Option output="C:/Programovani/Programy/cizi/mc-server/VC2008/../MCServer/MCServer_profiled" prefix_auto="1" extension_auto="1" />
+ <Option object_output="Release profiled Win32" />
+ <Option type="1" />
+ <Option compiler="gcc" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_CONSOLE" />
+ <Add option="-DXML_STATIC" />
+ <Add option="-W" />
+ <Add option="-O3" />
+ <Add directory="../zlib-1.2.7" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ <Add directory="../lua-5.1.4/src" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ <Add directory="../squirrel_3_0_1_stable" />
+ <Add directory="../squirrel_3_0_1_stable/sqrat" />
+ <Add directory=".." />
+ <Add directory="../expat" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../zlib-1.2.7" />
+ <Add directory="../jsoncpp-src-0.5.0/include" />
+ <Add directory="../lua-5.1.4/src" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ <Add directory="../squirrel_3_0_1_stable" />
+ <Add directory="../squirrel_3_0_1_stable/sqrat" />
+ <Add directory=".." />
+ <Add directory="../expat" />
+ </ResourceCompiler>
+ <Linker>
+ <Add library="ws2_32" />
+ <Add library="Psapi" />
+ </Linker>
+ </Target>
+ </Build>
+ <Unit filename="../Android/jni/Android.mk">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../Android/jni/Application.mk">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../Android/jni/ToJava.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../Android/jni/ToJava.h">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../Android/jni/app-android.cpp">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../MCServer/API.txt" />
+ <Unit filename="../MCServer/Plugins/ChatLog/plugin.lua" />
+ <Unit filename="../MCServer/Plugins/Core/ban.lua" />
+ <Unit filename="../MCServer/Plugins/Core/console.lua" />
+ <Unit filename="../MCServer/Plugins/Core/coords.lua" />
+ <Unit filename="../MCServer/Plugins/Core/gamemode.lua" />
+ <Unit filename="../MCServer/Plugins/Core/gotoworld.lua" />
+ <Unit filename="../MCServer/Plugins/Core/help.lua" />
+ <Unit filename="../MCServer/Plugins/Core/item.lua" />
+ <Unit filename="../MCServer/Plugins/Core/kick.lua" />
+ <Unit filename="../MCServer/Plugins/Core/main.lua" />
+ <Unit filename="../MCServer/Plugins/Core/motd.lua" />
+ <Unit filename="../MCServer/Plugins/Core/onblockdig.lua" />
+ <Unit filename="../MCServer/Plugins/Core/onblockplace.lua" />
+ <Unit filename="../MCServer/Plugins/Core/oncraftingnorecipe.lua" />
+ <Unit filename="../MCServer/Plugins/Core/onkilled.lua" />
+ <Unit filename="../MCServer/Plugins/Core/onlogin.lua" />
+ <Unit filename="../MCServer/Plugins/Core/onplayerjoin.lua" />
+ <Unit filename="../MCServer/Plugins/Core/playerlist.lua" />
+ <Unit filename="../MCServer/Plugins/Core/pluginlist.lua" />
+ <Unit filename="../MCServer/Plugins/Core/regeneratechunk.lua" />
+ <Unit filename="../MCServer/Plugins/Core/reload.lua" />
+ <Unit filename="../MCServer/Plugins/Core/spawn.lua" />
+ <Unit filename="../MCServer/Plugins/Core/stop.lua" />
+ <Unit filename="../MCServer/Plugins/Core/teleport.lua" />
+ <Unit filename="../MCServer/Plugins/Core/time.lua" />
+ <Unit filename="../MCServer/Plugins/Core/top.lua" />
+ <Unit filename="../MCServer/Plugins/Core/unban.lua" />
+ <Unit filename="../MCServer/Plugins/Core/viewdistance.lua" />
+ <Unit filename="../MCServer/Plugins/Core/web_chat.lua" />
+ <Unit filename="../MCServer/Plugins/Core/web_manageplugins.lua" />
+ <Unit filename="../MCServer/Plugins/Core/web_permissions.lua" />
+ <Unit filename="../MCServer/Plugins/Core/web_playerlist.lua" />
+ <Unit filename="../MCServer/Plugins/Core/web_serversettings.lua" />
+ <Unit filename="../MCServer/Plugins/Core/web_whitelist.lua" />
+ <Unit filename="../MCServer/crafting.txt" />
+ <Unit filename="../MCServer/furnace.txt" />
+ <Unit filename="../MCServer/groups.ini" />
+ <Unit filename="../MCServer/items.ini" />
+ <Unit filename="../MCServer/monsters.ini" />
+ <Unit filename="../MCServer/settings.ini" />
+ <Unit filename="../MCServer/terrain.ini" />
+ <Unit filename="../MCServer/users.ini" />
+ <Unit filename="../MCServer/webadmin.ini" />
+ <Unit filename="../iniFile/iniFile.cpp" />
+ <Unit filename="../iniFile/iniFile.h" />
+ <Unit filename="../source/AllToLua.pkg">
+ <Option target="&lt;{~None~}&gt;" />
+ </Unit>
+ <Unit filename="../source/Authenticator.cpp" />
+ <Unit filename="../source/Authenticator.h" />
+ <Unit filename="../source/Bindings.cpp" />
+ <Unit filename="../source/Bindings.h" />
+ <Unit filename="../source/BlockArea.cpp" />
+ <Unit filename="../source/BlockArea.h" />
+ <Unit filename="../source/BlockEntity.h" />
+ <Unit filename="../source/BlockEntityWithItems.h" />
+ <Unit filename="../source/BlockID.cpp" />
+ <Unit filename="../source/BlockID.h" />
+ <Unit filename="../source/Blocks/BlockBed.cpp" />
+ <Unit filename="../source/Blocks/BlockBed.h" />
+ <Unit filename="../source/Blocks/BlockBrewingStand.h" />
+ <Unit filename="../source/Blocks/BlockCactus.h" />
+ <Unit filename="../source/Blocks/BlockCauldron.h" />
+ <Unit filename="../source/Blocks/BlockChest.h" />
+ <Unit filename="../source/Blocks/BlockCloth.h" />
+ <Unit filename="../source/Blocks/BlockCobWeb.h" />
+ <Unit filename="../source/Blocks/BlockCrops.h" />
+ <Unit filename="../source/Blocks/BlockDirt.h" />
+ <Unit filename="../source/Blocks/BlockDispenser.h" />
+ <Unit filename="../source/Blocks/BlockDoor.cpp" />
+ <Unit filename="../source/Blocks/BlockDoor.h" />
+ <Unit filename="../source/Blocks/BlockEnderchest.h" />
+ <Unit filename="../source/Blocks/BlockEntity.h" />
+ <Unit filename="../source/Blocks/BlockFarmland.h" />
+ <Unit filename="../source/Blocks/BlockFenceGate.h" />
+ <Unit filename="../source/Blocks/BlockFire.h" />
+ <Unit filename="../source/Blocks/BlockFlower.h" />
+ <Unit filename="../source/Blocks/BlockFlowerPot.h" />
+ <Unit filename="../source/Blocks/BlockFluid.h" />
+ <Unit filename="../source/Blocks/BlockFurnace.h" />
+ <Unit filename="../source/Blocks/BlockGlass.h" />
+ <Unit filename="../source/Blocks/BlockGlowstone.h" />
+ <Unit filename="../source/Blocks/BlockGravel.h" />
+ <Unit filename="../source/Blocks/BlockHandler.cpp" />
+ <Unit filename="../source/Blocks/BlockHandler.h" />
+ <Unit filename="../source/Blocks/BlockIce.h" />
+ <Unit filename="../source/Blocks/BlockLadder.h" />
+ <Unit filename="../source/Blocks/BlockLeaves.h" />
+ <Unit filename="../source/Blocks/BlockLever.cpp" />
+ <Unit filename="../source/Blocks/BlockLever.h" />
+ <Unit filename="../source/Blocks/BlockMelon.h" />
+ <Unit filename="../source/Blocks/BlockMushroom.h" />
+ <Unit filename="../source/Blocks/BlockMycelium.h" />
+ <Unit filename="../source/Blocks/BlockNote.h" />
+ <Unit filename="../source/Blocks/BlockOre.h" />
+ <Unit filename="../source/Blocks/BlockPiston.cpp" />
+ <Unit filename="../source/Blocks/BlockPiston.h" />
+ <Unit filename="../source/Blocks/BlockRail.h" />
+ <Unit filename="../source/Blocks/BlockRedstone.cpp" />
+ <Unit filename="../source/Blocks/BlockRedstone.h" />
+ <Unit filename="../source/Blocks/BlockRedstoneOre.h" />
+ <Unit filename="../source/Blocks/BlockRedstoneRepeater.cpp" />
+ <Unit filename="../source/Blocks/BlockRedstoneRepeater.h" />
+ <Unit filename="../source/Blocks/BlockRedstoneTorch.h" />
+ <Unit filename="../source/Blocks/BlockSand.h" />
+ <Unit filename="../source/Blocks/BlockSapling.h" />
+ <Unit filename="../source/Blocks/BlockSign.h" />
+ <Unit filename="../source/Blocks/BlockSlab.h" />
+ <Unit filename="../source/Blocks/BlockSnow.h" />
+ <Unit filename="../source/Blocks/BlockStairs.h" />
+ <Unit filename="../source/Blocks/BlockStems.h" />
+ <Unit filename="../source/Blocks/BlockStone.h" />
+ <Unit filename="../source/Blocks/BlockSugarcane.h" />
+ <Unit filename="../source/Blocks/BlockTNT.h" />
+ <Unit filename="../source/Blocks/BlockTallGrass.h" />
+ <Unit filename="../source/Blocks/BlockTorch.h" />
+ <Unit filename="../source/Blocks/BlockVine.h" />
+ <Unit filename="../source/Blocks/BlockWood.h" />
+ <Unit filename="../source/Blocks/BlockWorkbench.h" />
+ <Unit filename="../source/ByteBuffer.cpp" />
+ <Unit filename="../source/ByteBuffer.h" />
+ <Unit filename="../source/ChatColor.cpp" />
+ <Unit filename="../source/ChatColor.h" />
+ <Unit filename="../source/ChestEntity.cpp" />
+ <Unit filename="../source/ChestEntity.h" />
+ <Unit filename="../source/Chunk.cpp" />
+ <Unit filename="../source/Chunk.h" />
+ <Unit filename="../source/Chunk.inl.h" />
+ <Unit filename="../source/ChunkDef.h" />
+ <Unit filename="../source/ChunkMap.cpp" />
+ <Unit filename="../source/ChunkMap.h" />
+ <Unit filename="../source/ChunkSender.cpp" />
+ <Unit filename="../source/ChunkSender.h" />
+ <Unit filename="../source/ClientHandle.cpp" />
+ <Unit filename="../source/ClientHandle.h" />
+ <Unit filename="../source/CraftingRecipes.cpp" />
+ <Unit filename="../source/CraftingRecipes.h" />
+ <Unit filename="../source/Cuboid.cpp" />
+ <Unit filename="../source/Cuboid.h" />
+ <Unit filename="../source/Defines.h" />
+ <Unit filename="../source/DispenserEntity.cpp" />
+ <Unit filename="../source/DispenserEntity.h" />
+ <Unit filename="../source/Doors.h" />
+ <Unit filename="../source/DropperEntity.h" />
+ <Unit filename="../source/Endianness.h" />
+ <Unit filename="../source/Entity.cpp" />
+ <Unit filename="../source/Entity.h" />
+ <Unit filename="../source/FallingBlock.cpp" />
+ <Unit filename="../source/FallingBlock.h" />
+ <Unit filename="../source/FurnaceEntity.cpp" />
+ <Unit filename="../source/FurnaceEntity.h" />
+ <Unit filename="../source/FurnaceRecipe.cpp" />
+ <Unit filename="../source/FurnaceRecipe.h" />
+ <Unit filename="../source/Generating/BioGen.cpp" />
+ <Unit filename="../source/Generating/BioGen.h" />
+ <Unit filename="../source/Generating/Caves.cpp" />
+ <Unit filename="../source/Generating/Caves.h" />
+ <Unit filename="../source/Generating/ChunkDesc.cpp" />
+ <Unit filename="../source/Generating/ChunkDesc.h" />
+ <Unit filename="../source/Generating/ChunkGenerator.cpp" />
+ <Unit filename="../source/Generating/ChunkGenerator.h" />
+ <Unit filename="../source/Generating/CompoGen.cpp" />
+ <Unit filename="../source/Generating/CompoGen.h" />
+ <Unit filename="../source/Generating/ComposableGenerator.cpp" />
+ <Unit filename="../source/Generating/ComposableGenerator.h" />
+ <Unit filename="../source/Generating/DistortedHeightmap.cpp" />
+ <Unit filename="../source/Generating/DistortedHeightmap.h" />
+ <Unit filename="../source/Generating/FinishGen.cpp" />
+ <Unit filename="../source/Generating/FinishGen.h" />
+ <Unit filename="../source/Generating/HeiGen.cpp" />
+ <Unit filename="../source/Generating/HeiGen.h" />
+ <Unit filename="../source/Generating/MineShafts.cpp" />
+ <Unit filename="../source/Generating/MineShafts.h" />
+ <Unit filename="../source/Generating/Noise3DGenerator.cpp" />
+ <Unit filename="../source/Generating/Noise3DGenerator.h" />
+ <Unit filename="../source/Generating/Ravines.cpp" />
+ <Unit filename="../source/Generating/Ravines.h" />
+ <Unit filename="../source/Generating/StructGen.cpp" />
+ <Unit filename="../source/Generating/StructGen.h" />
+ <Unit filename="../source/Generating/Trees.cpp" />
+ <Unit filename="../source/Generating/Trees.h" />
+ <Unit filename="../source/Globals.cpp" />
+ <Unit filename="../source/Globals.h" />
+ <Unit filename="../source/Group.cpp" />
+ <Unit filename="../source/Group.h" />
+ <Unit filename="../source/GroupManager.cpp" />
+ <Unit filename="../source/GroupManager.h" />
+ <Unit filename="../source/Inventory.cpp" />
+ <Unit filename="../source/Inventory.h" />
+ <Unit filename="../source/Item.cpp" />
+ <Unit filename="../source/Item.h" />
+ <Unit filename="../source/ItemGrid.cpp" />
+ <Unit filename="../source/ItemGrid.h" />
+ <Unit filename="../source/Items/ItemBed.h" />
+ <Unit filename="../source/Items/ItemBrewingStand.h" />
+ <Unit filename="../source/Items/ItemBucket.h" />
+ <Unit filename="../source/Items/ItemCauldron.h" />
+ <Unit filename="../source/Items/ItemCloth.h" />
+ <Unit filename="../source/Items/ItemDoor.h" />
+ <Unit filename="../source/Items/ItemDye.h" />
+ <Unit filename="../source/Items/ItemFlowerPot.h" />
+ <Unit filename="../source/Items/ItemFood.h" />
+ <Unit filename="../source/Items/ItemHandler.cpp" />
+ <Unit filename="../source/Items/ItemHandler.h" />
+ <Unit filename="../source/Items/ItemHoe.h" />
+ <Unit filename="../source/Items/ItemLeaves.h" />
+ <Unit filename="../source/Items/ItemLighter.h" />
+ <Unit filename="../source/Items/ItemMinecart.h" />
+ <Unit filename="../source/Items/ItemPickaxe.h" />
+ <Unit filename="../source/Items/ItemRedstoneDust.h" />
+ <Unit filename="../source/Items/ItemRedstoneRepeater.h" />
+ <Unit filename="../source/Items/ItemSapling.h" />
+ <Unit filename="../source/Items/ItemSeeds.h" />
+ <Unit filename="../source/Items/ItemShears.h" />
+ <Unit filename="../source/Items/ItemShovel.h" />
+ <Unit filename="../source/Items/ItemSign.h" />
+ <Unit filename="../source/Items/ItemSlab.h" />
+ <Unit filename="../source/Items/ItemSpawnEgg.h" />
+ <Unit filename="../source/Items/ItemSugarcane.h" />
+ <Unit filename="../source/Items/ItemSword.h" />
+ <Unit filename="../source/Items/ItemWood.h" />
+ <Unit filename="../source/JukeboxEntity.cpp" />
+ <Unit filename="../source/JukeboxEntity.h" />
+ <Unit filename="../source/Ladder.h" />
+ <Unit filename="../source/LeakFinder.cpp">
+ <Option target="Debug Win32" />
+ </Unit>
+ <Unit filename="../source/LeakFinder.h" />
+ <Unit filename="../source/LightingThread.cpp" />
+ <Unit filename="../source/LightingThread.h" />
+ <Unit filename="../source/LinearInterpolation.cpp" />
+ <Unit filename="../source/LinearInterpolation.h" />
+ <Unit filename="../source/LinearUpscale.h" />
+ <Unit filename="../source/Log.cpp" />
+ <Unit filename="../source/Log.h" />
+ <Unit filename="../source/LuaExpat/lxplib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../source/LuaExpat/lxplib.h" />
+ <Unit filename="../source/LuaFunctions.h" />
+ <Unit filename="../source/MCLogger.cpp" />
+ <Unit filename="../source/MCLogger.h" />
+ <Unit filename="../source/ManualBindings.cpp" />
+ <Unit filename="../source/ManualBindings.h" />
+ <Unit filename="../source/Matrix4f.cpp" />
+ <Unit filename="../source/Matrix4f.h" />
+ <Unit filename="../source/MemoryLeak.h" />
+ <Unit filename="../source/MersenneTwister.h" />
+ <Unit filename="../source/Minecart.cpp" />
+ <Unit filename="../source/Minecart.h" />
+ <Unit filename="../source/Mobs/AggressiveMonster.cpp" />
+ <Unit filename="../source/Mobs/AggressiveMonster.h" />
+ <Unit filename="../source/Mobs/Bat.h" />
+ <Unit filename="../source/Mobs/Blaze.cpp" />
+ <Unit filename="../source/Mobs/Blaze.h" />
+ <Unit filename="../source/Mobs/Cavespider.cpp" />
+ <Unit filename="../source/Mobs/Cavespider.h" />
+ <Unit filename="../source/Mobs/Chicken.cpp" />
+ <Unit filename="../source/Mobs/Chicken.h" />
+ <Unit filename="../source/Mobs/Cow.cpp" />
+ <Unit filename="../source/Mobs/Cow.h" />
+ <Unit filename="../source/Mobs/Creeper.cpp" />
+ <Unit filename="../source/Mobs/Creeper.h" />
+ <Unit filename="../source/Mobs/Enderman.cpp" />
+ <Unit filename="../source/Mobs/Enderman.h" />
+ <Unit filename="../source/Mobs/Ghast.cpp" />
+ <Unit filename="../source/Mobs/Ghast.h" />
+ <Unit filename="../source/Mobs/Magmacube.cpp" />
+ <Unit filename="../source/Mobs/Magmacube.h" />
+ <Unit filename="../source/Mobs/Monster.cpp" />
+ <Unit filename="../source/Mobs/Monster.h" />
+ <Unit filename="../source/Mobs/Mooshroom.cpp" />
+ <Unit filename="../source/Mobs/Mooshroom.h" />
+ <Unit filename="../source/Mobs/Ocelot.h" />
+ <Unit filename="../source/Mobs/PassiveAggressiveMonster.cpp" />
+ <Unit filename="../source/Mobs/PassiveAggressiveMonster.h" />
+ <Unit filename="../source/Mobs/PassiveMonster.cpp" />
+ <Unit filename="../source/Mobs/PassiveMonster.h" />
+ <Unit filename="../source/Mobs/Pig.cpp" />
+ <Unit filename="../source/Mobs/Pig.h" />
+ <Unit filename="../source/Mobs/Sheep.cpp" />
+ <Unit filename="../source/Mobs/Sheep.h" />
+ <Unit filename="../source/Mobs/Silverfish.h" />
+ <Unit filename="../source/Mobs/Skeleton.cpp" />
+ <Unit filename="../source/Mobs/Skeleton.h" />
+ <Unit filename="../source/Mobs/Slime.cpp" />
+ <Unit filename="../source/Mobs/Slime.h" />
+ <Unit filename="../source/Mobs/Spider.cpp" />
+ <Unit filename="../source/Mobs/Spider.h" />
+ <Unit filename="../source/Mobs/Squid.cpp" />
+ <Unit filename="../source/Mobs/Squid.h" />
+ <Unit filename="../source/Mobs/Villager.cpp" />
+ <Unit filename="../source/Mobs/Villager.h" />
+ <Unit filename="../source/Mobs/Witch.cpp" />
+ <Unit filename="../source/Mobs/Witch.h" />
+ <Unit filename="../source/Mobs/Wolf.h" />
+ <Unit filename="../source/Mobs/Zombie.cpp" />
+ <Unit filename="../source/Mobs/Zombie.h" />
+ <Unit filename="../source/Mobs/Zombiepigman.cpp" />
+ <Unit filename="../source/Mobs/Zombiepigman.h" />
+ <Unit filename="../source/MonsterConfig.cpp" />
+ <Unit filename="../source/MonsterConfig.h" />
+ <Unit filename="../source/Noise.cpp" />
+ <Unit filename="../source/Noise.h" />
+ <Unit filename="../source/NoteEntity.cpp" />
+ <Unit filename="../source/NoteEntity.h" />
+ <Unit filename="../source/OSSupport/BlockingTCPLink.cpp" />
+ <Unit filename="../source/OSSupport/BlockingTCPLink.h" />
+ <Unit filename="../source/OSSupport/CriticalSection.cpp" />
+ <Unit filename="../source/OSSupport/CriticalSection.h" />
+ <Unit filename="../source/OSSupport/Event.cpp" />
+ <Unit filename="../source/OSSupport/Event.h" />
+ <Unit filename="../source/OSSupport/File.cpp" />
+ <Unit filename="../source/OSSupport/File.h" />
+ <Unit filename="../source/OSSupport/GZipFile.cpp" />
+ <Unit filename="../source/OSSupport/GZipFile.h" />
+ <Unit filename="../source/OSSupport/IsThread.cpp" />
+ <Unit filename="../source/OSSupport/IsThread.h" />
+ <Unit filename="../source/OSSupport/ListenThread.cpp" />
+ <Unit filename="../source/OSSupport/ListenThread.h" />
+ <Unit filename="../source/OSSupport/MakeDir.cpp" />
+ <Unit filename="../source/OSSupport/MakeDir.h" />
+ <Unit filename="../source/OSSupport/Semaphore.cpp" />
+ <Unit filename="../source/OSSupport/Semaphore.h" />
+ <Unit filename="../source/OSSupport/Sleep.cpp" />
+ <Unit filename="../source/OSSupport/Sleep.h" />
+ <Unit filename="../source/OSSupport/Socket.cpp" />
+ <Unit filename="../source/OSSupport/Socket.h" />
+ <Unit filename="../source/OSSupport/SocketThreads.cpp" />
+ <Unit filename="../source/OSSupport/SocketThreads.h" />
+ <Unit filename="../source/OSSupport/Thread.cpp" />
+ <Unit filename="../source/OSSupport/Thread.h" />
+ <Unit filename="../source/OSSupport/Timer.cpp" />
+ <Unit filename="../source/OSSupport/Timer.h" />
+ <Unit filename="../source/Pawn.cpp" />
+ <Unit filename="../source/Pawn.h" />
+ <Unit filename="../source/Pickup.cpp" />
+ <Unit filename="../source/Pickup.h" />
+ <Unit filename="../source/Piston.cpp" />
+ <Unit filename="../source/Piston.h" />
+ <Unit filename="../source/Player.cpp" />
+ <Unit filename="../source/Player.h" />
+ <Unit filename="../source/Plugin.cpp" />
+ <Unit filename="../source/Plugin.h" />
+ <Unit filename="../source/PluginManager.cpp" />
+ <Unit filename="../source/PluginManager.h" />
+ <Unit filename="../source/Plugin_NewLua.cpp" />
+ <Unit filename="../source/Plugin_NewLua.h" />
+ <Unit filename="../source/Plugin_Squirrel.cpp" />
+ <Unit filename="../source/Plugin_Squirrel.h" />
+ <Unit filename="../source/ProbabDistrib.cpp" />
+ <Unit filename="../source/ProbabDistrib.h" />
+ <Unit filename="../source/Protocol/ChunkDataSerializer.cpp" />
+ <Unit filename="../source/Protocol/ChunkDataSerializer.h" />
+ <Unit filename="../source/Protocol/Protocol.h" />
+ <Unit filename="../source/Protocol/Protocol125.cpp" />
+ <Unit filename="../source/Protocol/Protocol125.h" />
+ <Unit filename="../source/Protocol/Protocol132.cpp" />
+ <Unit filename="../source/Protocol/Protocol132.h" />
+ <Unit filename="../source/Protocol/Protocol14x.cpp" />
+ <Unit filename="../source/Protocol/Protocol14x.h" />
+ <Unit filename="../source/Protocol/Protocol15x.cpp" />
+ <Unit filename="../source/Protocol/Protocol15x.h" />
+ <Unit filename="../source/Protocol/ProtocolRecognizer.cpp" />
+ <Unit filename="../source/Protocol/ProtocolRecognizer.h" />
+ <Unit filename="../source/ReferenceManager.cpp" />
+ <Unit filename="../source/ReferenceManager.h" />
+ <Unit filename="../source/Root.cpp" />
+ <Unit filename="../source/Root.h" />
+ <Unit filename="../source/SQLite/lsqlite3.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../source/SQLite/sqlite3.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../source/SQLite/sqlite3.h" />
+ <Unit filename="../source/SQLite/urls.txt" />
+ <Unit filename="../source/Server.cpp" />
+ <Unit filename="../source/Server.h" />
+ <Unit filename="../source/Sign.h" />
+ <Unit filename="../source/SignEntity.cpp" />
+ <Unit filename="../source/SignEntity.h" />
+ <Unit filename="../source/Simulator/DelayedFluidSimulator.cpp" />
+ <Unit filename="../source/Simulator/DelayedFluidSimulator.h" />
+ <Unit filename="../source/Simulator/FireSimulator.cpp" />
+ <Unit filename="../source/Simulator/FireSimulator.h" />
+ <Unit filename="../source/Simulator/FloodyFluidSimulator.cpp" />
+ <Unit filename="../source/Simulator/FloodyFluidSimulator.h" />
+ <Unit filename="../source/Simulator/FluidSimulator.cpp" />
+ <Unit filename="../source/Simulator/FluidSimulator.h" />
+ <Unit filename="../source/Simulator/NoopFluidSimulator.h" />
+ <Unit filename="../source/Simulator/RedstoneSimulator.cpp" />
+ <Unit filename="../source/Simulator/RedstoneSimulator.h" />
+ <Unit filename="../source/Simulator/SandSimulator.cpp" />
+ <Unit filename="../source/Simulator/SandSimulator.h" />
+ <Unit filename="../source/Simulator/Simulator.cpp" />
+ <Unit filename="../source/Simulator/Simulator.h" />
+ <Unit filename="../source/Simulator/SimulatorManager.cpp" />
+ <Unit filename="../source/Simulator/SimulatorManager.h" />
+ <Unit filename="../source/Simulator/VaporizeFluidSimulator.cpp" />
+ <Unit filename="../source/Simulator/VaporizeFluidSimulator.h" />
+ <Unit filename="../source/SquirrelCommandBinder.cpp" />
+ <Unit filename="../source/SquirrelCommandBinder.h" />
+ <Unit filename="../source/StackWalker.cpp">
+ <Option target="Debug Win32" />
+ </Unit>
+ <Unit filename="../source/StackWalker.h" />
+ <Unit filename="../source/Stairs.h" />
+ <Unit filename="../source/StringCompression.cpp" />
+ <Unit filename="../source/StringCompression.h" />
+ <Unit filename="../source/StringMap.cpp" />
+ <Unit filename="../source/StringMap.h" />
+ <Unit filename="../source/StringUtils.cpp" />
+ <Unit filename="../source/StringUtils.h" />
+ <Unit filename="../source/TNTEntity.cpp" />
+ <Unit filename="../source/TNTEntity.h" />
+ <Unit filename="../source/Torch.h" />
+ <Unit filename="../source/Tracer.cpp" />
+ <Unit filename="../source/Tracer.h" />
+ <Unit filename="../source/UI/SlotArea.cpp" />
+ <Unit filename="../source/UI/SlotArea.h" />
+ <Unit filename="../source/UI/Window.cpp" />
+ <Unit filename="../source/UI/Window.h" />
+ <Unit filename="../source/UI/WindowOwner.h" />
+ <Unit filename="../source/Vector3d.cpp" />
+ <Unit filename="../source/Vector3d.h" />
+ <Unit filename="../source/Vector3f.cpp" />
+ <Unit filename="../source/Vector3f.h" />
+ <Unit filename="../source/Vector3i.cpp" />
+ <Unit filename="../source/Vector3i.h" />
+ <Unit filename="../source/Vine.h" />
+ <Unit filename="../source/WebAdmin.cpp" />
+ <Unit filename="../source/WebAdmin.h" />
+ <Unit filename="../source/WebPlugin.cpp" />
+ <Unit filename="../source/WebPlugin.h" />
+ <Unit filename="../source/World.cpp" />
+ <Unit filename="../source/World.h" />
+ <Unit filename="../source/WorldStorage/FastNBT.cpp" />
+ <Unit filename="../source/WorldStorage/FastNBT.h" />
+ <Unit filename="../source/WorldStorage/NBTChunkSerializer.cpp" />
+ <Unit filename="../source/WorldStorage/NBTChunkSerializer.h" />
+ <Unit filename="../source/WorldStorage/WSSAnvil.cpp" />
+ <Unit filename="../source/WorldStorage/WSSAnvil.h" />
+ <Unit filename="../source/WorldStorage/WSSCompact.cpp" />
+ <Unit filename="../source/WorldStorage/WSSCompact.h" />
+ <Unit filename="../source/WorldStorage/WorldStorage.cpp" />
+ <Unit filename="../source/WorldStorage/WorldStorage.h" />
+ <Unit filename="../source/main.cpp" />
+ <Unit filename="../source/md5/md5.cpp" />
+ <Unit filename="../source/md5/md5.h" />
+ <Unit filename="../source/squirrelbindings/SquirrelArray.h" />
+ <Unit filename="../source/squirrelbindings/SquirrelBaseClass.h" />
+ <Unit filename="../source/squirrelbindings/SquirrelBindings.cpp" />
+ <Unit filename="../source/squirrelbindings/SquirrelBindings.h" />
+ <Unit filename="../source/squirrelbindings/SquirrelFunctions.cpp" />
+ <Unit filename="../source/squirrelbindings/SquirrelFunctions.h" />
+ <Unit filename="../source/squirrelbindings/SquirrelObject.h" />
+ <Unit filename="../source/tolua++.h" />
+ <Unit filename="../source/tolua_base.h" />
+ <Unit filename="../webadmin/template.html" />
+ <Unit filename="MCServer.rc">
+ <Option compilerVar="WINDRES" />
+ </Unit>
+ <Unit filename="icon.ico" />
+ <Unit filename="resource.h" />
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/Squirrel3.cbp b/VC2008/Squirrel3.cbp
new file mode 100644
index 000000000..fd145c420
--- /dev/null
+++ b/VC2008/Squirrel3.cbp
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="Squirrel3" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32/Squirrel3" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-O0" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ </ResourceCompiler>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32/Squirrel3" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ </ResourceCompiler>
+ </Target>
+ <Target title="Release profiled Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release profiled Win32/Squirrel3" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../squirrel_3_0_1_stable/include" />
+ </ResourceCompiler>
+ </Target>
+ </Build>
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdaux.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdblob.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdblobimpl.h" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdio.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdmath.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdrex.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdstream.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdstream.h" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdstring.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/sqstdlib/sqstdsystem.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqapi.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqarray.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqbaselib.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqclass.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqclass.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqclosure.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqcompiler.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqcompiler.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqdebug.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqfuncproto.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqfuncstate.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqfuncstate.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqlexer.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqlexer.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqmem.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqobject.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqobject.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqopcodes.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqpcheader.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqstate.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqstate.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqstring.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqtable.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqtable.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/squserdata.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/squtils.h" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqvm.cpp" />
+ <Unit filename="../squirrel_3_0_1_stable/squirrel/sqvm.h" />
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/ToLua.cbp b/VC2008/ToLua.cbp
new file mode 100644
index 000000000..f22bfda4a
--- /dev/null
+++ b/VC2008/ToLua.cbp
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="ToLua" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32/ToLua" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-g" />
+ <Add option="-O0" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../lua-5.1.4/src" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../lua-5.1.4/src" />
+ </ResourceCompiler>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32/ToLua" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../lua-5.1.4/src" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../lua-5.1.4/src" />
+ </ResourceCompiler>
+ </Target>
+ <Target title="Release profiled Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release profiled Win32/tolua" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../lua-5.1.4/src" />
+ </Compiler>
+ <ResourceCompiler>
+ <Add directory="../tolua++-1.0.93/include" />
+ <Add directory="../lua-5.1.4/src" />
+ </ResourceCompiler>
+ </Target>
+ </Build>
+ <Unit filename="../tolua++-1.0.93/src/bin/tolua.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../tolua++-1.0.93/src/lib/tolua_event.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../tolua++-1.0.93/src/lib/tolua_event.h" />
+ <Unit filename="../tolua++-1.0.93/src/lib/tolua_is.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../tolua++-1.0.93/src/lib/tolua_map.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../tolua++-1.0.93/src/lib/tolua_push.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../tolua++-1.0.93/src/lib/tolua_to.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/WebServer.cbp b/VC2008/WebServer.cbp
new file mode 100644
index 000000000..41fb405c2
--- /dev/null
+++ b/VC2008/WebServer.cbp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="WebServer" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32/webserver" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-W" />
+ <Add option="-g" />
+ <Add option="-O0" />
+ </Compiler>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32/webserver" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ <Target title="Release profiled Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release profiled Win32/webserver" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ </Build>
+ <Unit filename="../WebServer/Events.cpp" />
+ <Unit filename="../WebServer/Events.h" />
+ <Unit filename="../WebServer/Globals.cpp" />
+ <Unit filename="../WebServer/Globals.h" />
+ <Unit filename="../WebServer/Socket.cpp" />
+ <Unit filename="../WebServer/Socket.h" />
+ <Unit filename="../WebServer/StdHelpers.cpp" />
+ <Unit filename="../WebServer/StdHelpers.h" />
+ <Unit filename="../WebServer/Tracer.h" />
+ <Unit filename="../WebServer/UrlHelper.cpp" />
+ <Unit filename="../WebServer/UrlHelper.h" />
+ <Unit filename="../WebServer/WebServer.cpp" />
+ <Unit filename="../WebServer/WebServer.h" />
+ <Unit filename="../WebServer/base64.cpp" />
+ <Unit filename="../WebServer/base64.h" />
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/expat.cbp b/VC2008/expat.cbp
new file mode 100644
index 000000000..6cd3f6234
--- /dev/null
+++ b/VC2008/expat.cbp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="expat" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-DCOMPILED_FROM_DSP" />
+ <Add option="-W" />
+ <Add option="-g" />
+ <Add option="-O0" />
+ </Compiler>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-DCOMPILED_FROM_DSP" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ </Build>
+ <Unit filename="../expat/ascii.h" />
+ <Unit filename="../expat/asciitab.h" />
+ <Unit filename="../expat/expat.h" />
+ <Unit filename="../expat/expat_external.h" />
+ <Unit filename="../expat/iasciitab.h" />
+ <Unit filename="../expat/internal.h" />
+ <Unit filename="../expat/latin1tab.h" />
+ <Unit filename="../expat/nametab.h" />
+ <Unit filename="../expat/utf8tab.h" />
+ <Unit filename="../expat/winconfig.h" />
+ <Unit filename="../expat/xmlparse.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../expat/xmlrole.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../expat/xmlrole.h" />
+ <Unit filename="../expat/xmltok.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../expat/xmltok.h" />
+ <Unit filename="../expat/xmltok_impl.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../expat/xmltok_impl.h" />
+ <Unit filename="../expat/xmltok_ns.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/VC2008/resource.h b/VC2008/resource.h
deleted file mode 100644
index 02b28b22f..000000000
--- a/VC2008/resource.h
+++ /dev/null
Binary files differ
diff --git a/VC2008/resource_MCServer.h b/VC2008/resource_MCServer.h
new file mode 100644
index 000000000..2b306eb98
--- /dev/null
+++ b/VC2008/resource_MCServer.h
@@ -0,0 +1,5 @@
+#ifndef IDC_STATIC
+#define IDC_STATIC (-1)
+#endif
+
+#define IDI_ICON1 101
diff --git a/VC2008/zlib.cbp b/VC2008/zlib.cbp
new file mode 100644
index 000000000..2b7d759da
--- /dev/null
+++ b/VC2008/zlib.cbp
@@ -0,0 +1,121 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<CodeBlocks_project_file>
+ <FileVersion major="1" minor="6" />
+ <Project>
+ <Option title="zlib" />
+ <Option pch_mode="2" />
+ <Option compiler="gcc" />
+ <Build>
+ <Target title="Debug Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Debug Win32/zlib" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-D_DEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-g" />
+ <Add option="-O0" />
+ </Compiler>
+ </Target>
+ <Target title="Release Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release Win32/zlib" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ <Target title="Release profiled Win32">
+ <Option output="lib" prefix_auto="1" extension_auto="1" />
+ <Option working_dir="" />
+ <Option object_output="Release profiled Win32/zlib" />
+ <Option type="2" />
+ <Option compiler="gcc" />
+ <Option createDefFile="1" />
+ <Compiler>
+ <Add option="-DWIN32" />
+ <Add option="-DNDEBUG" />
+ <Add option="-D_LIB" />
+ <Add option="-D_CRT_SECURE_NO_WARNINGS" />
+ <Add option="-W" />
+ <Add option="-O2" />
+ </Compiler>
+ </Target>
+ </Build>
+ <Unit filename="../zlib-1.2.7/adler32.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/compress.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/crc32.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/crc32.h" />
+ <Unit filename="../zlib-1.2.7/deflate.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/deflate.h" />
+ <Unit filename="../zlib-1.2.7/gzclose.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/gzguts.h" />
+ <Unit filename="../zlib-1.2.7/gzlib.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/gzread.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/gzwrite.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/infback.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/inffast.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/inffast.h" />
+ <Unit filename="../zlib-1.2.7/inffixed.h" />
+ <Unit filename="../zlib-1.2.7/inflate.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/inflate.h" />
+ <Unit filename="../zlib-1.2.7/inftrees.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/inftrees.h" />
+ <Unit filename="../zlib-1.2.7/trees.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/trees.h" />
+ <Unit filename="../zlib-1.2.7/uncompr.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/zconf.h" />
+ <Unit filename="../zlib-1.2.7/zlib.h" />
+ <Unit filename="../zlib-1.2.7/zutil.c">
+ <Option compilerVar="CC" />
+ </Unit>
+ <Unit filename="../zlib-1.2.7/zutil.h" />
+ <Extensions>
+ <code_completion />
+ <envvars />
+ <debugger />
+ </Extensions>
+ </Project>
+</CodeBlocks_project_file>
diff --git a/source/Log.cpp b/source/Log.cpp
index ed1a9beb8..5f78bba1b 100644
--- a/source/Log.cpp
+++ b/source/Log.cpp
@@ -70,7 +70,7 @@ void cLog::CloseLog()
void cLog::OpenLog( const char* a_FileName )
{
if(m_File) fclose (m_File);
- #ifdef _WIN32
+ #ifdef _MSC_VER
fopen_s( &m_File, a_FileName, "a+" );
#else
m_File = fopen(a_FileName, "a+" );
@@ -83,7 +83,7 @@ void cLog::OpenLog( const char* a_FileName )
void cLog::ClearLog()
{
- #ifdef _WIN32
+ #ifdef _MSC_VER
if( fopen_s( &m_File, "log.txt", "w" ) == 0)
fclose (m_File);
#else
@@ -107,7 +107,7 @@ void cLog::Log(const char * a_Format, va_list argList)
time ( &rawtime );
struct tm* timeinfo;
-#ifdef _WIN32
+#ifdef _MSC_VER
struct tm timeinforeal;
timeinfo = &timeinforeal;
localtime_s(timeinfo, &rawtime );
diff --git a/source/OSSupport/Socket.cpp b/source/OSSupport/Socket.cpp
index b4ac62993..48bfc6cfd 100644
--- a/source/OSSupport/Socket.cpp
+++ b/source/OSSupport/Socket.cpp
@@ -294,17 +294,32 @@ cSocket cSocket::AcceptIPv6(void)
if (SClient.IsValid())
{
#if defined(_WIN32)
- // Windows XP doesn't have inet_ntop, so we need to improvise:
- Printf(SClient.m_IPString, "%x:%x:%x:%x:%x:%x:%x:%x",
- from.sin6_addr.u.Word[0],
- from.sin6_addr.u.Word[1],
- from.sin6_addr.u.Word[2],
- from.sin6_addr.u.Word[3],
- from.sin6_addr.u.Word[4],
- from.sin6_addr.u.Word[5],
- from.sin6_addr.u.Word[6],
- from.sin6_addr.u.Word[7]
- );
+ // Windows XP doesn't have inet_ntop, so we need to improvise. And MSVC has different headers than GCC
+ #ifdef _MSC_VER
+ // MSVC version
+ Printf(SClient.m_IPString, "%x:%x:%x:%x:%x:%x:%x:%x",
+ from.sin6_addr.u.Word[0],
+ from.sin6_addr.u.Word[1],
+ from.sin6_addr.u.Word[2],
+ from.sin6_addr.u.Word[3],
+ from.sin6_addr.u.Word[4],
+ from.sin6_addr.u.Word[5],
+ from.sin6_addr.u.Word[6],
+ from.sin6_addr.u.Word[7]
+ );
+ #else // _MSC_VER
+ // MinGW
+ Printf(SClient.m_IPString, "%x:%x:%x:%x:%x:%x:%x:%x",
+ from.sin6_addr.s6_addr16[0],
+ from.sin6_addr.s6_addr16[1],
+ from.sin6_addr.s6_addr16[2],
+ from.sin6_addr.s6_addr16[3],
+ from.sin6_addr.s6_addr16[4],
+ from.sin6_addr.s6_addr16[5],
+ from.sin6_addr.s6_addr16[6],
+ from.sin6_addr.s6_addr16[7]
+ );
+ #endif // else _MSC_VER
#else
char buffer[INET6_ADDRSTRLEN];
inet_ntop(AF_INET6, &(from.sin6_addr), buffer, sizeof(buffer));
diff --git a/source/main.cpp b/source/main.cpp
index 71110c265..baf41a845 100644
--- a/source/main.cpp
+++ b/source/main.cpp
@@ -11,9 +11,9 @@
#include "squirrelbindings/SquirrelBindings.h"
#endif
-#ifdef _WIN32
+#ifdef _MSC_VER
#include <dbghelp.h>
-#endif // _WIN32
+#endif // _MSC_VER
@@ -51,7 +51,7 @@ void ShowCrashReport(int)
-#if defined(_WIN32) && !defined(_WIN64)
+#if defined(_WIN32) && !defined(_WIN64) && defined(_MSC_VER)
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Windows 32-bit stuff: when the server crashes, create a "dump file" containing the callstack of each thread and some variables; let the user send us that crash file for analysis
@@ -128,7 +128,7 @@ int main( int argc, char **argv )
#endif
// Magic code to produce dump-files on Windows if the server crashes:
- #if defined(_WIN32) && !defined(_WIN64)
+ #if defined(_WIN32) && !defined(_WIN64) && defined(_MSC_VER)
HINSTANCE hDbgHelp = LoadLibrary("DBGHELP.DLL");
g_WriteMiniDump = (pMiniDumpWriteDump)GetProcAddress(hDbgHelp, "MiniDumpWriteDump");
if (g_WriteMiniDump != NULL)