├── .gitattributes ├── .gitignore ├── vendor ├── zstd-1.5.7 │ ├── build │ │ ├── LICENSE │ │ ├── cmake │ │ │ ├── lib │ │ │ │ └── .gitignore │ │ │ ├── programs │ │ │ │ └── .gitignore │ │ │ ├── tests │ │ │ │ └── .gitignore │ │ │ ├── .gitignore │ │ │ ├── zstdConfig.cmake.in │ │ │ ├── CMakeModules │ │ │ │ └── GetZstdLibraryVersion.cmake │ │ │ └── contrib │ │ │ │ └── CMakeLists.txt │ │ ├── single_file_libs │ │ │ ├── examples │ │ │ │ └── testcard.png │ │ │ ├── .gitignore │ │ │ ├── create_single_file_library.sh │ │ │ └── create_single_file_decoder.sh │ │ ├── VS_scripts │ │ │ ├── build.VS2012.cmd │ │ │ ├── build.VS2010.cmd │ │ │ ├── build.VS2013.cmd │ │ │ ├── build.VS2015.cmd │ │ │ ├── build.VS2017.cmd │ │ │ ├── build.VSPreview.cmd │ │ │ ├── build.VS2017Community.cmd │ │ │ ├── build.VS2017Enterprise.cmd │ │ │ └── build.VS2017Professional.cmd │ │ ├── VS2010 │ │ │ └── CompileAsCpp.props │ │ ├── .gitignore │ │ └── meson │ │ │ └── contrib │ │ │ └── meson.build │ ├── tests │ │ ├── cli-tests │ │ │ ├── bin │ │ │ │ ├── unzstd │ │ │ │ ├── zstdcat │ │ │ │ ├── zstdgrep │ │ │ │ ├── zstdless │ │ │ │ ├── datagen │ │ │ │ ├── println │ │ │ │ ├── die │ │ │ │ └── zstd │ │ │ ├── basic │ │ │ │ ├── args.sh.exit │ │ │ │ ├── version.sh │ │ │ │ ├── output_dir.sh.stdout.exact │ │ │ │ ├── version.sh.stdout.glob │ │ │ │ ├── help.sh │ │ │ │ ├── output_dir.sh.stderr.exact │ │ │ │ ├── output_dir.sh │ │ │ │ ├── args.sh │ │ │ │ ├── memlimit.sh.stdout.exact │ │ │ │ └── args.sh.stderr.glob │ │ │ ├── cltools │ │ │ │ ├── zstdgrep.sh.exit │ │ │ │ ├── setup │ │ │ │ ├── zstdgrep.sh.stdout.glob │ │ │ │ ├── zstdgrep.sh.stderr.exact │ │ │ │ ├── zstdless.sh.stdout.glob │ │ │ │ ├── zstdless.sh.stderr.exact │ │ │ │ ├── zstdgrep.sh │ │ │ │ └── zstdless.sh │ │ │ ├── dict-builder │ │ │ │ ├── no-inputs.sh.exit │ │ │ │ ├── no-inputs.sh │ │ │ │ ├── empty-input.sh.stderr.exact │ │ │ │ ├── empty-input.sh │ │ │ │ └── no-inputs.sh.stderr.exact │ │ │ ├── compression │ │ │ │ ├── window-resize.sh.stderr.ignore │ │ │ │ ├── verbose-wlog.sh.stderr.glob │ │ │ │ ├── window-resize.sh.stdout.glob │ │ │ │ ├── setup │ │ │ │ ├── verbose-wlog.sh.stdout.glob │ │ │ │ ├── long-distance-matcher.sh │ │ │ │ ├── row-match-finder.sh │ │ │ │ ├── stream-size.sh │ │ │ │ ├── multiple-files.sh.stdout.exact │ │ │ │ ├── verbose-wlog.sh │ │ │ │ ├── window-resize.sh │ │ │ │ ├── compress-literals.sh │ │ │ │ ├── format.sh │ │ │ │ ├── multi-threaded.sh.stderr.exact │ │ │ │ ├── adapt.sh │ │ │ │ ├── golden.sh │ │ │ │ ├── multiple-files.sh │ │ │ │ └── multi-threaded.sh │ │ │ ├── file-handling │ │ │ │ ├── directory-mirror.sh.stderr.exact │ │ │ │ └── directory-mirror.sh.stdout.exact │ │ │ ├── .gitignore │ │ │ ├── dictionaries │ │ │ │ ├── setup │ │ │ │ ├── golden.sh │ │ │ │ ├── dictionary-mismatch.sh.stderr.exact │ │ │ │ ├── setup_once │ │ │ │ └── dictionary-mismatch.sh │ │ │ ├── zstd-symlinks │ │ │ │ ├── zstdcat.sh.stdout.exact │ │ │ │ ├── setup │ │ │ │ └── zstdcat.sh │ │ │ ├── decompression │ │ │ │ ├── golden.sh │ │ │ │ ├── detectErrors.sh │ │ │ │ ├── pass-through.sh.stdout.exact │ │ │ │ └── pass-through.sh.stderr.exact │ │ │ ├── file-stat │ │ │ │ ├── decompress-file-to-stdout.sh │ │ │ │ ├── compress-file-to-stdout.sh │ │ │ │ ├── decompress-stdin-to-file.sh │ │ │ │ ├── decompress-stdin-to-stdout.sh │ │ │ │ ├── compress-stdin-to-file.sh │ │ │ │ ├── compress-stdin-to-stdout.sh │ │ │ │ ├── decompress-file-to-file.sh │ │ │ │ ├── compress-file-to-file.sh │ │ │ │ ├── compress-file-to-dir-without-write-perm.sh │ │ │ │ ├── decompress-stdin-to-stdout.sh.stderr.exact │ │ │ │ ├── decompress-file-to-stdout.sh.stderr.exact │ │ │ │ └── compress-stdin-to-stdout.sh.stderr.exact │ │ │ └── common │ │ │ │ ├── format.sh │ │ │ │ ├── mtime.sh │ │ │ │ └── permissions.sh │ │ ├── golden-decompression-errors │ │ │ ├── .gitignore │ │ │ ├── off0.bin.zst │ │ │ ├── zeroSeq_extraneous.zst │ │ │ └── truncated_huff_state.zst │ │ ├── regression │ │ │ └── .gitignore │ │ ├── gzip │ │ │ ├── hufts-segv.gz │ │ │ └── init.cfg │ │ ├── dict-files │ │ │ └── zero-weight-dict │ │ ├── golden-decompression │ │ │ ├── block-128k.zst │ │ │ ├── empty-block.zst │ │ │ ├── zeroSeq_2B.zst │ │ │ └── rle-first-block.zst │ │ ├── golden-compression │ │ │ ├── huffman-compressed-larger │ │ │ ├── large-literal-and-match-lengths │ │ │ └── PR-3517-block-splitter-corruption-test │ │ ├── golden-dictionaries │ │ │ └── http-dict-missing-symbols │ │ ├── loremOut.h │ │ └── fuzz │ │ │ ├── .gitignore │ │ │ └── seq_prod_fuzz_example │ │ │ ├── README.md │ │ │ └── Makefile │ ├── .buckversion │ ├── contrib │ │ ├── pzstd │ │ │ ├── .gitignore │ │ │ ├── images │ │ │ │ ├── Cspeed.png │ │ │ │ └── Dspeed.png │ │ │ └── utils │ │ │ │ └── Portability.h │ │ ├── seekable_format │ │ │ ├── tests │ │ │ │ └── .gitignore │ │ │ └── examples │ │ │ │ └── .gitignore │ │ ├── diagnose_corruption │ │ │ └── .gitignore │ │ ├── largeNbDicts │ │ │ └── .gitignore │ │ ├── linux-kernel │ │ │ ├── .gitignore │ │ │ └── test │ │ │ │ └── include │ │ │ │ └── linux │ │ │ │ ├── errno.h │ │ │ │ ├── limits.h │ │ │ │ ├── printk.h │ │ │ │ ├── stddef.h │ │ │ │ ├── types.h │ │ │ │ ├── math64.h │ │ │ │ └── swab.h │ │ ├── gen_html │ │ │ ├── .gitignore │ │ │ └── gen-zstd-manual.sh │ │ ├── externalSequenceProducer │ │ │ ├── .gitignore │ │ │ └── README.md │ │ ├── cleanTabs │ │ ├── VS2005 │ │ │ └── README.md │ │ ├── premake │ │ │ └── premake4.lua │ │ └── docker │ │ │ └── README.md │ ├── doc │ │ ├── educational_decoder │ │ │ └── .gitignore │ │ └── images │ │ │ ├── CSpeed2.png │ │ │ ├── DSpeed3.png │ │ │ ├── dict-cr.png │ │ │ ├── dict-cs.png │ │ │ ├── dict-ds.png │ │ │ ├── DCspeed5.png │ │ │ ├── cdict_v136.png │ │ │ ├── zstd_logo86.png │ │ │ └── zstd_cdict_v1_3_5.png │ ├── lib │ │ ├── .gitignore │ │ ├── libzstd.pc.in │ │ └── common │ │ │ └── xxhash.c │ ├── programs │ │ ├── windres │ │ │ ├── zstd32.res │ │ │ ├── zstd64.res │ │ │ └── verrsrc.h │ │ ├── zstdless │ │ ├── zstdless.1.md │ │ ├── zstdless.1 │ │ ├── .gitignore │ │ └── zstdcli_trace.h │ ├── .github │ │ ├── dependabot.yml │ │ └── ISSUE_TEMPLATE │ │ │ └── feature_request.md │ ├── .cirrus.yml │ ├── CODE_OF_CONDUCT.md │ ├── examples │ │ └── .gitignore │ ├── zlibWrapper │ │ ├── .gitignore │ │ └── BUCK │ ├── .buckconfig │ └── .gitattributes ├── cryptopp │ ├── pch.cpp │ ├── TestData │ │ ├── skipjack.dat │ │ ├── ed25519.dat │ │ ├── x25519.dat │ │ ├── x25519v0.dat │ │ ├── defdmac1.bin │ │ ├── defdmac2.bin │ │ ├── ed25519v0.dat │ │ ├── lucd512.dat │ │ ├── ed25519v1.dat │ │ ├── x25519v1.dat │ │ ├── xtrdh171.dat │ │ ├── 3desval.dat │ │ ├── dh1024.dat │ │ ├── rsa400pb.dat │ │ ├── cast128v.dat │ │ ├── lucd1024.dat │ │ ├── 3wayval.dat │ │ ├── rc5val.dat │ │ ├── xtrdh342.dat │ │ ├── lucc512.dat │ │ ├── cast256v.dat │ │ ├── dsa512.dat │ │ ├── lucs512.dat │ │ ├── ecies_p160.dat │ │ ├── ecies_t163.dat │ │ ├── fhmqv160.dat │ │ ├── fhmqv256.dat │ │ ├── hmqv160.dat │ │ ├── hmqv256.dat │ │ ├── esig1023.dat │ │ ├── sharkval.dat │ │ ├── dh2048.dat │ │ ├── mqv1024.dat │ │ ├── elgc1024.dat │ │ ├── dlie1024.dat │ │ ├── fhmqv384.dat │ │ ├── hmqv384.dat │ │ ├── lucc1024.dat │ │ ├── dsa1024.dat │ │ ├── nr1024.dat │ │ ├── esig1536.dat │ │ ├── rw1024.dat │ │ ├── luc1024.dat │ │ ├── rabi1024.dat │ │ └── lucs1024.dat │ ├── bds10.zip │ ├── cryptopp.rc │ ├── vs2005.zip │ ├── TestPrograms │ │ ├── test_cxx11_auto.cpp │ │ ├── test_arm_acle_header.cpp │ │ ├── test_arm_neon_header.cpp │ │ ├── test_cxx.cpp │ │ ├── test_cxx11_alignas.cpp │ │ ├── test_cxx11_nullptr.cpp │ │ ├── test_cxx11_alignof.cpp │ │ ├── test_cxx11_initializer.cpp │ │ ├── test_glibc.cpp │ │ ├── test_newlib.cpp │ │ ├── test_x86_sse42.cpp │ │ ├── test_cxx11_sync.cpp │ │ ├── test_32bit.cpp │ │ ├── test_64bit.cpp │ │ ├── test_cxx14.cpp │ │ ├── test_cxx17.cpp │ │ ├── test_x86_avx.cpp │ │ ├── test_x86_sse2.cpp │ │ ├── test_cxx11_atomic.cpp │ │ ├── test_x86_cpuid.cpp │ │ ├── test_cxx11_deletefn.cpp │ │ ├── test_cxx11_enumtype.cpp │ │ ├── test_cxx11_vartemplates.cpp │ │ ├── test_x86_sse3.cpp │ │ ├── test_cxx11_constexpr.cpp │ │ ├── test_x86_ssse3.cpp │ │ ├── test_x86_avx512.cpp │ │ ├── test_x86_clmul.cpp │ │ ├── test_cxx11_lambda.cpp │ │ ├── test_arm_asimd.cpp │ │ ├── test_arm_neon.cpp │ │ ├── test_cxx11_assert.cpp │ │ ├── test_cxx17_assert.cpp │ │ ├── test_cxx98_exception.cpp │ │ ├── test_cxx11.cpp │ │ ├── test_x86_avx2.cpp │ │ ├── test_x86_rdrand.cpp │ │ ├── test_x86_rdseed.cpp │ │ ├── test_x86_sse41.cpp │ │ ├── test_arm_sha1.cpp │ │ ├── test_cxx17_exceptions.cpp │ │ ├── test_cxx11_staticinit.cpp │ │ ├── test_arm_aes.cpp │ │ ├── test_x86_aes.cpp │ │ ├── test_arm_sha256.cpp │ │ ├── test_pthreads.cpp │ │ ├── test_ppc_altivec.cpp │ │ ├── test_arm_sm4.cpp │ │ ├── test_x86_sha.cpp │ │ ├── test_arm_crc.cpp │ │ ├── test_arm_sha512.cpp │ │ ├── test_arm_sha3.cpp │ │ ├── test_arm_sm3.cpp │ │ └── test_ppc_vmull.cpp │ ├── TestVectors │ │ ├── sha1_fips_180.txt │ │ ├── blake2.txt │ │ ├── lsh.txt │ │ ├── aead.txt │ │ ├── sha2.txt │ │ ├── sha3.txt │ │ ├── sha2_fips_180.txt │ │ └── sha3_fips_202.txt │ ├── cryptopp.supp │ ├── simple.cpp │ ├── nr.h │ ├── cryptest.vcxproj.user │ ├── dh.cpp │ ├── resource.h │ ├── dlltest.vcxproj.filters │ ├── elgamal.cpp │ ├── sha1_armv4.h │ └── gf256.cpp ├── mio │ ├── .gitignore │ ├── cmake │ │ ├── CTestCustom.cmake │ │ └── mio-config.cmake.in │ ├── include │ │ └── mio │ │ │ ├── detail │ │ │ └── CMakeLists.txt │ │ │ └── CMakeLists.txt │ └── third_party │ │ └── config.json ├── DirectXMath │ └── build │ │ ├── DirectXMath-config.cmake.in │ │ └── DirectXMath.pc.in ├── lzo-2.10 │ └── CMakeLists.txt └── CMakeLists.txt ├── extern ├── CMakeLists.txt ├── include │ ├── miniaudio.c │ ├── python │ │ ├── ast.h │ │ ├── enumobject.h │ │ ├── pgen.h │ │ ├── intrcheck.h │ │ ├── metagrammar.h │ │ ├── dtoa.h │ │ ├── pygetopt.h │ │ ├── pystrcmp.h │ │ ├── iterobject.h │ │ ├── timefuncs.h │ │ ├── eval.h │ │ ├── moduleobject.h │ │ └── warnings.h │ └── discord_register.h └── library │ ├── DirectX │ ├── d3d9.lib │ ├── d3dx9.lib │ ├── dinput8.lib │ ├── dxguid.lib │ └── CMakeLists.txt │ ├── Granny │ ├── granny2_static.lib │ └── CMakeLists.txt │ ├── Python │ ├── python27_static.lib │ └── CMakeLists.txt │ ├── SpeedTree │ ├── speedtree_static.lib │ ├── speedtree_staticd.lib │ └── CMakeLists.txt │ ├── WebView │ ├── WebView2LoaderStatic.lib │ └── CMakeLists.txt │ └── CMakeLists.txt └── src ├── AudioLib ├── Stdafx.cpp ├── Stdafx.h └── CMakeLists.txt ├── EffectLib ├── StdAfx.cpp └── CMakeLists.txt ├── EterGrnLib ├── StdAfx.cpp ├── CMakeLists.txt ├── Deform.h ├── Util.h ├── StdAfx.h └── Motion.h ├── EterBase ├── Poly │ ├── StdAfx.h │ ├── SymTable.cpp │ ├── SymTable.h │ ├── Base.cpp │ └── Base.h ├── error.h ├── StdAfx.cpp ├── CMakeLists.txt ├── Random.h ├── TempFile.h ├── CRC32.h ├── TempFile.cpp ├── FileDir.h └── tea.h ├── ScriptLib ├── PythonDebugModule.h ├── CMakeLists.txt ├── PythonMarshal.h ├── StdAfx.cpp └── Resource.h ├── UserInterface ├── Test.h ├── metin2.ico ├── UserInterface.aps ├── UserInterface.rc ├── Cursors │ ├── cursor.cur │ ├── cursor_buy.cur │ ├── cursor_no.cur │ ├── cursor_chair.cur │ ├── cursor_door.cur │ ├── cursor_hsize.cur │ ├── cursor_pick.cur │ ├── cursor_sell.cur │ ├── cursor_talk.cur │ ├── cursor_vsize.cur │ ├── cursor_attack.cur │ ├── cursor_hvsize.cur │ └── cursor_camera_rotate.cur ├── Version.h ├── ProcessCRC.h ├── StdAfx.cpp ├── Locale_inc.h ├── ProcessScanner.h ├── AbstractChat.h ├── PythonExceptionSender.h ├── AbstractCharacterManager.h ├── PythonNetworkStreamPhaseOffline.cpp ├── InstanceBaseEvent.cpp ├── InsultChecker.h ├── PythonNetworkStreamEvent.cpp ├── AbstractSingleton.h ├── PythonFlyModule.cpp ├── ServerStateChecker.h ├── AffectFlagContainer.h └── PythonNetworkDatagramModule.cpp ├── SpeedTreeLib ├── SpeedTreeWrapper.h ├── SpeedTreeForest.cpp ├── SpeedTreeForestDirectX8.cpp ├── StdAfx.h ├── StdAfx.cpp └── CMakeLists.txt ├── EterImageLib ├── STBImageImplementation.cpp ├── StdAfx.cpp └── CMakeLists.txt ├── Discord ├── CMakeLists.txt ├── dllmain.cpp └── connection.h ├── SphereLib ├── CMakeLists.txt ├── StdAfx.cpp └── StdAfx.h ├── EterLocale ├── Japanese.h ├── StdAfx.cpp ├── StringCodec_Vietnamese.h ├── CMakeLists.txt ├── StdAfx.h ├── Arabic.h └── StringCodec.h ├── GameLib ├── StdAfx.cpp ├── CMakeLists.txt ├── Interface.h ├── ActorInstanceInterface.h ├── FlyHandler.h └── PropertyLoader.h ├── EterPythonLib ├── StdAfx.cpp ├── CMakeLists.txt └── StdAfx.h ├── EterLib ├── CMakeLists.txt ├── NetDevice.h ├── Mutex.h ├── GrpVertexBufferStatic.h ├── StdAfx.cpp ├── Mutex.cpp ├── GrpVertexBufferDynamic.h ├── GrpD3DXBuffer.h ├── GrpPixelShader.h ├── GrpVertexShader.h ├── GrpVertexBufferStatic.cpp ├── ReferenceObject.h ├── ScreenFilter.h ├── MSApplication.h ├── PathStack.h ├── EnvironmentMap.cpp ├── NetDatagramSender.h ├── TextBar.h ├── GrpRatioInstance.h ├── JpegFile.h ├── NetPacketHeaderMap.cpp ├── NetDatagram.h ├── GrpTexture.h ├── GrpVertexBufferDynamic.cpp ├── NetDevice.cpp ├── BlockTexture.h ├── NetPacketHeaderMap.h ├── Thread.h ├── GrpColor.h ├── EnvironmentMap.h ├── GrpDIB.h ├── Thread.cpp ├── TextTag.h ├── NetDatagramReceiver.h └── GrpText.h ├── PRTerrainLib ├── CMakeLists.txt └── StdAfx.cpp ├── PackLib ├── CMakeLists.txt ├── Pack.h └── PackManager.h ├── PackMaker └── CMakeLists.txt └── CMakeLists.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /extern/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(library) -------------------------------------------------------------------------------- /src/AudioLib/Stdafx.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/pch.cpp: -------------------------------------------------------------------------------- 1 | #include "pch.h" 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/unzstd: -------------------------------------------------------------------------------- 1 | zstd -------------------------------------------------------------------------------- /src/EffectLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/zstdcat: -------------------------------------------------------------------------------- 1 | zstd -------------------------------------------------------------------------------- /src/EterGrnLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/args.sh.exit: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/zstdgrep.sh.exit: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /src/EterBase/Poly/StdAfx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include "..\StdAfx.h" 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dict-builder/no-inputs.sh.exit: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression-errors/.gitignore: -------------------------------------------------------------------------------- 1 | !*.zst 2 | -------------------------------------------------------------------------------- /src/EterBase/error.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | extern void SetEterExceptionHandler(); -------------------------------------------------------------------------------- /src/ScriptLib/PythonDebugModule.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | void initdbg(); 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/.buckversion: -------------------------------------------------------------------------------- 1 | c8dec2e8da52d483f6dd7c6cd2ad694e8e6fed2b 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/pzstd/.gitignore: -------------------------------------------------------------------------------- 1 | # compilation result 2 | pzstd 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/seekable_format/tests/.gitignore: -------------------------------------------------------------------------------- 1 | seekable_tests 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/window-resize.sh.stderr.ignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/diagnose_corruption/.gitignore: -------------------------------------------------------------------------------- 1 | check_flipped_bits 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/zstdgrep: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | "$ZSTDGREP_BIN" $@ 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/zstdless: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | "$ZSTDLESS_BIN" $@ 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-handling/directory-mirror.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-handling/directory-mirror.sh.stdout.exact: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/UserInterface/Test.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | extern bool __IS_TEST_SERVER_MODE__; 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/cmake/lib/.gitignore: -------------------------------------------------------------------------------- 1 | # cmake build artefact 2 | libzstd.pc 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/largeNbDicts/.gitignore: -------------------------------------------------------------------------------- 1 | # build artifacts 2 | largeNbDicts 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/educational_decoder/.gitignore: -------------------------------------------------------------------------------- 1 | # Build artifacts 2 | harness 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/datagen: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | "$DATAGEN_BIN" $@ 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/println: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | printf '%b\n' "${*}" 3 | -------------------------------------------------------------------------------- /extern/include/miniaudio.c: -------------------------------------------------------------------------------- 1 | #define MINIAUDIO_IMPLEMENTATION 2 | #include "miniaudio.h" 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/lib/.gitignore: -------------------------------------------------------------------------------- 1 | # make install artefact 2 | libzstd.pc 3 | libzstd-nomt 4 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/skipjack.dat: -------------------------------------------------------------------------------- 1 | 11223344556677889900 aabbccdd00112233 00d3127ae2ca8725 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/.gitignore: -------------------------------------------------------------------------------- 1 | !lib/zstd 2 | !lib/zstd/* 3 | *.o 4 | *.a 5 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/die: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | println "${*}" 1>&2 4 | exit 1 5 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/gen_html/.gitignore: -------------------------------------------------------------------------------- 1 | # make artefact 2 | gen_html 3 | zstd_manual.html 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dict-builder/no-inputs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -v 3 | zstd --train 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dict-builder/empty-input.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | zstd -q --train empty file* 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/bds10.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/cryptopp/bds10.zip -------------------------------------------------------------------------------- /vendor/mio/.gitignore: -------------------------------------------------------------------------------- 1 | test/** 2 | !test/test.cpp 3 | !test/example.cpp 4 | !test/CMakeLists.txt 5 | build/ 6 | -------------------------------------------------------------------------------- /vendor/mio/cmake/CTestCustom.cmake: -------------------------------------------------------------------------------- 1 | set(CTEST_CUSTOM_COVERAGE_EXCLUDE 2 | ".*test.*" 3 | ".*c[+][+].*") 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/externalSequenceProducer/.gitignore: -------------------------------------------------------------------------------- 1 | # build artifacts 2 | externalSequenceProducer 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/regression/.gitignore: -------------------------------------------------------------------------------- 1 | # regression test artifacts 2 | data-cache 3 | cache 4 | test 5 | -------------------------------------------------------------------------------- /vendor/cryptopp/cryptopp.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/cryptopp/cryptopp.rc -------------------------------------------------------------------------------- /vendor/cryptopp/vs2005.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/cryptopp/vs2005.zip -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/.gitignore: -------------------------------------------------------------------------------- 1 | !bin/ 2 | !datagen 3 | !zstdcat 4 | 5 | scratch/ 6 | bin/symlinks 7 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/version.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | zstd -V 6 | zstd --version 7 | -------------------------------------------------------------------------------- /src/UserInterface/metin2.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/metin2.ico -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/cmake/programs/.gitignore: -------------------------------------------------------------------------------- 1 | # produced by make 2 | zstd 3 | zstd-frugal 4 | unzstd 5 | zstdcat 6 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/setup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | echo "1234" > file 6 | zstd file 7 | -------------------------------------------------------------------------------- /extern/library/DirectX/d3d9.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/DirectX/d3d9.lib -------------------------------------------------------------------------------- /extern/library/DirectX/d3dx9.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/DirectX/d3dx9.lib -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/cmake/tests/.gitignore: -------------------------------------------------------------------------------- 1 | # produced by make 2 | datagen 3 | fullbench 4 | fuzzer 5 | paramgrill 6 | 7 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/zstdgrep.sh.stdout.glob: -------------------------------------------------------------------------------- 1 | + good path 2 | file:1234 3 | file.zst:1234 4 | + bad path 5 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/verbose-wlog.sh.stderr.glob: -------------------------------------------------------------------------------- 1 | ... 2 | *wlog=23* 3 | ... 4 | *wlog=27* 5 | ... 6 | -------------------------------------------------------------------------------- /extern/library/DirectX/dinput8.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/DirectX/dinput8.lib -------------------------------------------------------------------------------- /extern/library/DirectX/dxguid.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/DirectX/dxguid.lib -------------------------------------------------------------------------------- /src/SpeedTreeLib/SpeedTreeWrapper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/SpeedTreeLib/SpeedTreeWrapper.h -------------------------------------------------------------------------------- /src/UserInterface/UserInterface.aps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/UserInterface.aps -------------------------------------------------------------------------------- /src/UserInterface/UserInterface.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/UserInterface.rc -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/ed25519.dat: -------------------------------------------------------------------------------- 1 | 302E020100300506032B65700422042098C59D3F097FB23D44BA90791281B453258D691A55AF5CE4F1EE712FDF91AE6D -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/x25519.dat: -------------------------------------------------------------------------------- 1 | 302E020100300506032B656E0422042030D407BB0CC97D0EC493BDB00A4A8EFA06A50D2388F5BA62947030E7D9873F49 -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/x25519v0.dat: -------------------------------------------------------------------------------- 1 | 302E020100300506032B656E042204202818E54DE6B88EEF3E99E25042CB98E69373B222E4C1E8B3FB10AC9B26C1007B -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/window-resize.sh.stdout.glob: -------------------------------------------------------------------------------- 1 | ... 2 | Window Size: 1.000 GiB (1073741824 B) 3 | ... 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dictionaries/setup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | cp -r ../files . 6 | cp -r ../dicts . 7 | -------------------------------------------------------------------------------- /src/SpeedTreeLib/SpeedTreeForest.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/SpeedTreeLib/SpeedTreeForest.cpp -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor.cur -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/defdmac1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/cryptopp/TestData/defdmac1.bin -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/defdmac2.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/cryptopp/TestData/defdmac2.bin -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/ed25519v0.dat: -------------------------------------------------------------------------------- 1 | 302E020100300506032B65700422042030BF776A497D7F1E0E26AC4FB03F5BE7E187DDFEFB914CD292A6FEDB7F70CE6B -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/zstdgrep.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | zstd: can't stat bad.zst : No such file or directory -- ignored 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/zstdless.sh.stdout.glob: -------------------------------------------------------------------------------- 1 | + good path 2 | 1234 3 | + pass parameters 4 | 1234 5 | + bad path 6 | -------------------------------------------------------------------------------- /extern/library/Granny/granny2_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/Granny/granny2_static.lib -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_buy.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_buy.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_no.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_no.cur -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_auto.cpp: -------------------------------------------------------------------------------- 1 | int main(int argc, char* argv[]) 2 | { 3 | auto a = 1 + 2; 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/CSpeed2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/CSpeed2.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/DSpeed3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/DSpeed3.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/dict-cr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/dict-cr.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/dict-cs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/dict-cs.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/dict-ds.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/dict-ds.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/output_dir.sh.stdout.exact: -------------------------------------------------------------------------------- 1 | + zstd -r * --output-dir-mirror="" 2 | + zstd -r * --output-dir-flat="" 3 | -------------------------------------------------------------------------------- /extern/library/Python/python27_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/Python/python27_static.lib -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_chair.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_chair.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_door.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_door.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_hsize.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_hsize.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_pick.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_pick.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_sell.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_sell.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_talk.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_talk.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_vsize.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_vsize.cur -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/DCspeed5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/DCspeed5.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/setup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen > file 6 | datagen > file0 7 | datagen > file1 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/gzip/hufts-segv.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/gzip/hufts-segv.gz -------------------------------------------------------------------------------- /extern/library/SpeedTree/speedtree_static.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/SpeedTree/speedtree_static.lib -------------------------------------------------------------------------------- /src/SpeedTreeLib/SpeedTreeForestDirectX8.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/SpeedTreeLib/SpeedTreeForestDirectX8.cpp -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_attack.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_attack.cur -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_hvsize.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_hvsize.cur -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_acle_header.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char* argv[]) 4 | { 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_neon_header.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char* argv[]) 4 | { 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/sha1_fips_180.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA1 FIPS 180 collection 3 | Test: TestVectors/sha1_160_fips_180.txt 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/cdict_v136.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/cdict_v136.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/zstd_logo86.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/zstd_logo86.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/windres/zstd32.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/programs/windres/zstd32.res -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/windres/zstd64.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/programs/windres/zstd64.res -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/zstd-symlinks/zstdcat.sh.stdout.exact: -------------------------------------------------------------------------------- 1 | hello 2 | hello 3 | world 4 | hello 5 | world 6 | hello 7 | world 8 | hello 9 | -------------------------------------------------------------------------------- /extern/library/SpeedTree/speedtree_staticd.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/SpeedTree/speedtree_staticd.lib -------------------------------------------------------------------------------- /extern/library/WebView/WebView2LoaderStatic.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/extern/library/WebView/WebView2LoaderStatic.lib -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | unsigned int x=0; 5 | return x; 6 | } 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_alignas.cpp: -------------------------------------------------------------------------------- 1 | int main(int argc, char* argv[]) 2 | { 3 | alignas(8) unsigned char x[16]; 4 | return 0; 5 | } 6 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/verbose-wlog.sh.stdout.glob: -------------------------------------------------------------------------------- 1 | ... 2 | *Window Size: 8388608 B* 3 | ... 4 | *Window Size: 134217728 B* 5 | ... 6 | -------------------------------------------------------------------------------- /src/UserInterface/Cursors/cursor_camera_rotate.cur: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/src/UserInterface/Cursors/cursor_camera_rotate.cur -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/pzstd/images/Cspeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/contrib/pzstd/images/Cspeed.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/pzstd/images/Dspeed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/contrib/pzstd/images/Dspeed.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/doc/images/zstd_cdict_v1_3_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/doc/images/zstd_cdict_v1_3_5.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/zstd-symlinks/setup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | println "hello" > hello 5 | println "world" > world 6 | zstd hello world 7 | -------------------------------------------------------------------------------- /src/UserInterface/Version.h: -------------------------------------------------------------------------------- 1 | #define VER_FILE_VERSION 1,0,28249,0 2 | #define VER_FILE_VERSION_STR "1.0.28249.1" 3 | int METIN2_GET_VERSION() { return 28249; } 4 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_nullptr.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | int* p = nullptr; 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/blake2.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: blake2.txt collection 3 | Test: TestVectors/blake2s.txt 4 | Test: TestVectors/blake2b.txt 5 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/dict-files/zero-weight-dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/dict-files/zero-weight-dict -------------------------------------------------------------------------------- /vendor/mio/include/mio/detail/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | target_sources(mio-headers INTERFACE 2 | "${prefix}/mio/detail/mmap.ipp" 3 | "${prefix}/mio/detail/string_util.hpp") 4 | -------------------------------------------------------------------------------- /extern/library/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(DirectX) 2 | add_subdirectory(Granny) 3 | add_subdirectory(Python) 4 | add_subdirectory(SpeedTree) 5 | add_subdirectory(WebView) -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/version.sh.stdout.glob: -------------------------------------------------------------------------------- 1 | *** Zstandard CLI (*-bit) v1.*.*, by Yann Collet *** 2 | *** Zstandard CLI (*-bit) v1.*.*, by Yann Collet *** 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/zstdless.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | zstd: can't stat bad.zst : No such file or directory -- ignored 2 | bad.zst: No such file or directory 3 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_alignof.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main (int argc, char* argv[]) 3 | { 4 | std::size_t n = alignof(int); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_initializer.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | std::vector v{0,1,2,3,4}; 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | version: 2 2 | updates: 3 | - package-ecosystem: "github-actions" 4 | directory: "/" 5 | schedule: 6 | interval: "weekly" 7 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/cleanTabs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | sed -i '' $'s/\t/ /g' ../lib/**/*.{h,c} ../programs/*.{h,c} ../tests/*.c ./**/*.{h,cpp} ../examples/*.c ../zlibWrapper/*.{h,c} 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression/block-128k.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-decompression/block-128k.zst -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression/empty-block.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-decompression/empty-block.zst -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression/zeroSeq_2B.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-decompression/zeroSeq_2B.zst -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_glibc.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | #ifndef __GLIBCXX__ 5 | int x[-1]; 6 | #endif 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_newlib.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | #ifndef __NEWLIB__ 5 | int x[-1]; 6 | #endif 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/single_file_libs/examples/testcard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/build/single_file_libs/examples/testcard.png -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/decompression/golden.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | GOLDEN_DIR="$ZSTD_REPO_DIR/tests/golden-decompression/" 6 | 7 | zstd -r -t "$GOLDEN_DIR" 8 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/lucd512.dat: -------------------------------------------------------------------------------- 1 | 3046024100C339D027E5812ED5D9DE044F3697D0273625E5EA9EC4EF3FB89ADBFA9CD1FBF4D8C0EC 2 | 1118C44609F499EF644EEAECE2F38B3F67FAC81A075F31A60B5757A87D020109 3 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/lsh.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: LSH test vectors 3 | Test: TestVectors/lsh256.txt 4 | Test: TestVectors/lsh512.txt 5 | Test: TestVectors/lsh512_256.txt 6 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/seekable_format/examples/.gitignore: -------------------------------------------------------------------------------- 1 | seekable_compression 2 | seekable_decompression 3 | seekable_decompression_mem 4 | parallel_processing 5 | parallel_compression 6 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/decompress-file-to-stdout.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen | zstd -q > file.zst 6 | 7 | zstd -dcq --trace-file-stat file.zst > file 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression-errors/off0.bin.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-decompression-errors/off0.bin.zst -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression/rle-first-block.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-decompression/rle-first-block.zst -------------------------------------------------------------------------------- /vendor/DirectXMath/build/DirectXMath-config.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake) 4 | 5 | check_required_components("@PROJECT_NAME@") 6 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_sse42.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | unsigned int x=32; 5 | x=_mm_crc32_u8(x,4); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/compress-file-to-stdout.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen > file 6 | 7 | zstd file -cq --trace-file-stat > file.zst 8 | zstd -tq file.zst 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/decompress-stdin-to-file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen | zstd -q > file.zst 6 | 7 | zstd -dcq --trace-file-stat < file.zst -o file 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/decompress-stdin-to-stdout.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen | zstd -q > file.zst 6 | 7 | zstd -dcq --trace-file-stat < file.zst > file 8 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_sync.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | std::mutex m; 5 | std::lock_guard l(m); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/cryptopp/cryptopp.supp: -------------------------------------------------------------------------------- 1 | # Valgrind suppression file 2 | 3 | { 4 | # https://github.com/weidai11/cryptopp/issues/543 5 | __memcmp_sse4_1 6 | Memcheck:Cond 7 | fun:__memcmp_sse4_1 8 | } 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/single_file_libs/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # build artifacts 3 | zstddeclib.c 4 | zstdenclib.c 5 | zstd.c 6 | zstd.h 7 | zstd_errors.h 8 | 9 | # test artifacts 10 | temp* 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/zstdgrep.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | println "+ good path" 6 | zstdgrep "1234" file file.zst 7 | println "+ bad path" 8 | zstdgrep "1234" bad.zst 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/compress-stdin-to-file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen > file 6 | 7 | zstd < file -q --trace-file-stat -o file.zst 8 | zstd -tq file.zst 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/compress-stdin-to-stdout.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen > file 6 | 7 | zstd < file -cq --trace-file-stat > file.zst 8 | zstd -tq file.zst 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-compression/huffman-compressed-larger: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-compression/huffman-compressed-larger -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-dictionaries/http-dict-missing-symbols: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-dictionaries/http-dict-missing-symbols -------------------------------------------------------------------------------- /src/UserInterface/ProcessCRC.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | extern bool GetExeCRC(DWORD & r_dwProcCRC, DWORD & r_dwFileCRC); 4 | 5 | extern void BuildProcessCRC(); 6 | extern BYTE GetProcessCRCMagicCubePiece(); 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/ed25519v1.dat: -------------------------------------------------------------------------------- 1 | 3053020101300506032B6570042204206861FD53C7643DABDCDF4C3969CE44A156BAC261242A5AAEC140EDE510071C6CA12303210029CF90E6C1CF1ADC7105720303B2EE303412D2B682C6FEEF3D8736A286B2E27F -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/x25519v1.dat: -------------------------------------------------------------------------------- 1 | 3053020101300506032B656E04220420A00FADD6D29BE764B851F64F7620E80B700DF65914BED31E486362281BB5D061A123032100E9AD4CC54DAA36F312D98B253854F0076E2BC26FCE5802B3AC79A5B59B3D2C4F -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_32bit.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | enum {N = (sizeof(std::size_t) == 4 ? 4 : -1)}; 5 | int x[N]; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_64bit.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | enum {N = (sizeof(std::size_t) == 8 ? 8 : -1)}; 5 | int x[N]; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/VS2005/README.md: -------------------------------------------------------------------------------- 1 | ## Project Support Notice 2 | 3 | The VS2005 Project directory has been moved to the contrib directory in order to indicate that it will no longer be supported. 4 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/decompress-file-to-file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen | zstd -q > file.zst 6 | chmod 642 file.zst 7 | 8 | zstd -dq --trace-file-stat file.zst 9 | -------------------------------------------------------------------------------- /src/AudioLib/Stdafx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | //#include 4 | 5 | #include "EterBase/CRC32.h" 6 | #include "EterBase/Utils.h" 7 | #include "EterBase/Debug.h" 8 | 9 | #include 10 | -------------------------------------------------------------------------------- /src/SpeedTreeLib/StdAfx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include "UserInterface/Locale_inc.h" 5 | //#include 6 | 7 | //#include "Forest.h" 8 | #include "SpeedTreeForestDirectX8.h" 9 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx14.cpp: -------------------------------------------------------------------------------- 1 | int main(int argc, char* argv[]) 2 | { 3 | #if __cplusplus >= 201402L 4 | int x[1]; 5 | #else 6 | int x[-1]; 7 | #endif 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx17.cpp: -------------------------------------------------------------------------------- 1 | int main(int argc, char* argv[]) 2 | { 3 | #if __cplusplus >= 201703L 4 | int x[1]; 5 | #else 6 | int x[-1]; 7 | #endif 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_avx.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | __m256d x = _mm256_setzero_pd(); 5 | x=_mm256_addsub_pd(x,x); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_sse2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | __m128i x = _mm_setzero_si128(); 5 | x=_mm_add_epi64(x,x); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/help.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | println "+ zstd -h" 6 | zstd -h 7 | println "+ zstd -H" 8 | zstd -H 9 | println "+ zstd --help" 10 | zstd --help 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/long-distance-matcher.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | # Test --long 6 | zstd -f file --long ; zstd -t file.zst 7 | zstd -f file --long=20; zstd -t file.zst 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/row-match-finder.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | # Test --[no-]row-match-finder 6 | zstd file -7f --row-match-finder 7 | zstd file -7f --no-row-match-finder 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-compression/large-literal-and-match-lengths: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-compression/large-literal-and-match-lengths -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression-errors/zeroSeq_extraneous.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-decompression-errors/zeroSeq_extraneous.zst -------------------------------------------------------------------------------- /src/EterImageLib/STBImageImplementation.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | 3 | #define STB_IMAGE_IMPLEMENTATION 4 | #define STB_IMAGE_WRITE_IMPLEMENTATION 5 | 6 | #include 7 | #include 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-decompression-errors/truncated_huff_state.zst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-decompression-errors/truncated_huff_state.zst -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_atomic.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | std::atomic_flag f = ATOMIC_FLAG_INIT; 5 | std::atomic g (false); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_cpuid.cpp: -------------------------------------------------------------------------------- 1 | int main(int argc, char* argv[]) 2 | { 3 | unsigned int a, b, c, d; 4 | asm volatile ( "cpuid" : "+a"(a), "=b"(b), "+c"(c), "=d"(d) ); 5 | 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /src/Discord/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(Discord STATIC ${FILE_SOURCES}) 4 | 5 | # target_link_libraries(Discord 6 | # ) 7 | 8 | GroupSourcesByFolder(Discord) 9 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_deletefn.cpp: -------------------------------------------------------------------------------- 1 | struct S { 2 | S() = delete; 3 | explicit S(int n) { } 4 | }; 5 | 6 | int main (int argc, char* rgv[]) 7 | { 8 | S s(1); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_enumtype.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | enum Size : std::size_t { Zero=0, One=1, Two=2 }; 5 | Size s(Size::Zero); 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/aead.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: aead.txt collection 3 | Test: TestVectors/ccm.txt 4 | Test: TestVectors/eax.txt 5 | Test: TestVectors/gcm.txt 6 | Test: TestVectors/chacha20poly1305.txt 7 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/cmake/.gitignore: -------------------------------------------------------------------------------- 1 | # cmake working directory 2 | cmakeBuild 3 | 4 | # cmake artefacts 5 | CMakeCache.txt 6 | CMakeFiles 7 | Makefile 8 | cmake_install.cmake 9 | cmake_uninstall.cmake 10 | *.1 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/output_dir.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | error: output dir cannot be empty string (did you mean to pass '.' instead?) 2 | error: output dir cannot be empty string (did you mean to pass '.' instead?) 3 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dict-builder/empty-input.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | for i in $(seq 50); do 4 | datagen -s$i > file$i 5 | done 6 | touch empty 7 | 8 | set -v 9 | zstd -q --train empty file* 10 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/compress-file-to-file.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | datagen > file 6 | chmod 642 file 7 | 8 | zstd file -q --trace-file-stat -o file.zst 9 | zstd -tq file.zst 10 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/golden-compression/PR-3517-block-splitter-corruption-test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/d1str4ught/m2dev-client-src/HEAD/vendor/zstd-1.5.7/tests/golden-compression/PR-3517-block-splitter-corruption-test -------------------------------------------------------------------------------- /src/SphereLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(SphereLib STATIC ${FILE_SOURCES}) 4 | 5 | # target_link_libraries(SphereLib 6 | # ) 7 | 8 | GroupSourcesByFolder(SphereLib) 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2012.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2012 Win32 Release v110 5 | rem build 64-bit 6 | call "%~p0%build.generic.cmd" VS2012 x64 Release v110 -------------------------------------------------------------------------------- /src/Discord/dllmain.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | // outsmart GCC's missing-declarations warning 4 | BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID); 5 | BOOL WINAPI DllMain(HMODULE, DWORD, LPVOID) 6 | { 7 | return TRUE; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_vartemplates.cpp: -------------------------------------------------------------------------------- 1 | int main(int argc, char* argv[]) 2 | { 3 | #if __cpp_variadic_templates >= 200704L 4 | int x[1]; 5 | #else 6 | int x[-1]; 7 | #endif 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_sse3.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | __m128d x = _mm_setzero_pd(); 6 | x=_mm_addsub_pd(x,x); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2010.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2010 Win32 Release v100 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" VS2010 x64 Release v100 -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2013.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2013 Win32 Release v120 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" VS2013 x64 Release v120 -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2015.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2015 Win32 Release v140 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" VS2015 x64 Release v140 -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2017.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2017 Win32 Release v141 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" VS2017 x64 Release v141 -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/stream-size.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | # Test stream size & hint 6 | datagen -g7654 | zstd --stream-size=7654 | zstd -t 7 | datagen -g7654 | zstd --size-hint=7000 | zstd -t 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/gzip/init.cfg: -------------------------------------------------------------------------------- 1 | # This file is sourced by init.sh, *before* its initialization. 2 | 3 | # This goes hand in hand with the "exec 9>&2;" in Makefile.am's 4 | # TESTS_ENVIRONMENT definition. 5 | stderr_fileno_=9 6 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_constexpr.cpp: -------------------------------------------------------------------------------- 1 | constexpr int fact(int n) 2 | { 3 | return n <= 1 ? 1 : (n * fact(n - 1)); 4 | } 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | fact(4); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_ssse3.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | __m128i x = _mm_setzero_si128(); 6 | x=_mm_alignr_epi8(x,x,2); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VSPreview.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" preview Win32 Release v143 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" preview x64 Release v143 -------------------------------------------------------------------------------- /extern/library/Python/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Python INTERFACE) 2 | target_include_directories(Python INTERFACE "${CMAKE_SOURCE_DIR}/extern/include") 3 | target_link_libraries(Python INTERFACE "${CMAKE_CURRENT_LIST_DIR}/python27_static.lib") 4 | -------------------------------------------------------------------------------- /src/EterBase/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // eterBase.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /src/EterLocale/Japanese.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | BOOL ShiftJIS_IsLeadByte( const char chByte ); 4 | BOOL ShiftJIS_IsTrailByte( const char chByte ); 5 | int ShiftJIS_StringCompareCI( LPCSTR szStringLeft, LPCSTR szStringRight, size_t sizeLength ); 6 | -------------------------------------------------------------------------------- /src/GameLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // gamelib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/xtrdh171.dat: -------------------------------------------------------------------------------- 1 | 305F02160559DCD66A95A57249A15BAD6B431BF2CD58615B901D02153365CFA0D3B1B6577B2DB243 2 | DDE45EDB91C18B0F5F0216032F4EBA0911B3D0B14F6F1292A74DFFD4A8FCF22C1802160211CB3EDA 3 | 809FA0FF8C3A8AE691EC4C95A06A3395CF 4 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_avx512.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | uint64_t x[8] = {0}; 6 | __m512i y = _mm512_loadu_si512((__m512i*)x); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /src/EterBase/Poly/SymTable.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "SymTable.h" 3 | 4 | CSymTable::CSymTable(int aTok, std::string aStr) : dVal(0), token(aTok), strlex(aStr) 5 | { 6 | } 7 | 8 | CSymTable::~CSymTable() 9 | { 10 | } 11 | 12 | -------------------------------------------------------------------------------- /src/EterLocale/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // eterImageLib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /src/EterLocale/StringCodec_Vietnamese.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int EL_String_Decode_Vietnamese(const char* multi, int multiLen, wchar_t* wide, int wideLen); 4 | int EL_String_Encode_Vietnamese(const wchar_t* wide, int wideLen, char* multi, int multiLen); -------------------------------------------------------------------------------- /src/SphereLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // SphereLib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_clmul.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | __m128i x = _mm_setzero_si128(); 6 | x=_mm_clmulepi64_si128(x,x,0x11); 7 | return 0; 8 | } 9 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/bin/zstd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | zstdname=$(basename $0) 4 | 5 | if [ -z "$EXEC_PREFIX" ]; then 6 | "$ZSTD_SYMLINK_DIR/$zstdname" $@ 7 | else 8 | $EXEC_PREFIX "$ZSTD_SYMLINK_DIR/$zstdname" $@ 9 | fi 10 | -------------------------------------------------------------------------------- /src/EterImageLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // eterImageLib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /src/EterPythonLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // eterPythonLib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /src/SpeedTreeLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // SpeedTreeLib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /src/UserInterface/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // UserInterface.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | -------------------------------------------------------------------------------- /src/EterLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(EterLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(EterLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(EterLib) 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2017Community.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2017Community Win32 Release v141 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" VS2017Community x64 Release v141 -------------------------------------------------------------------------------- /src/AudioLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(AudioLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(AudioLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(AudioLib) 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2017Enterprise.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2017Enterprise Win32 Release v141 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" VS2017Enterprise x64 Release v141 -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/premake/premake4.lua: -------------------------------------------------------------------------------- 1 | -- Include zstd.lua in your GENie or premake4 file, which exposes a project_zstd function 2 | dofile('zstd.lua') 3 | 4 | solution 'example' 5 | configurations { 'Debug', 'Release' } 6 | project_zstd('../../lib/') 7 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/zstdless: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | zstd=${ZSTD:-zstd} 4 | 5 | # TODO: Address quirks and bugs tied to old versions of less, provide a mechanism to pass flags directly to zstd 6 | 7 | export LESSOPEN="|-${zstd} -cdfq %s" 8 | exec less "$@" 9 | -------------------------------------------------------------------------------- /src/EffectLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(EffectLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(EffectLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(EffectLib) 11 | -------------------------------------------------------------------------------- /src/EterGrnLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(EterGrnLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(EterGrnLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(EterGrnLib) 11 | -------------------------------------------------------------------------------- /src/EterLocale/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(EterLocale STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(EterLocale 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(EterLocale) 11 | -------------------------------------------------------------------------------- /src/GameLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(GameLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(GameLib 6 | lzo2 7 | cryptopp-static 8 | mio 9 | ) 10 | 11 | GroupSourcesByFolder(GameLib) 12 | -------------------------------------------------------------------------------- /src/ScriptLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(ScriptLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(ScriptLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(ScriptLib) 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_lambda.cpp: -------------------------------------------------------------------------------- 1 | // https://en.cppreference.com/w/cpp/feature_test 2 | int main(int argc, char* argv[]) 3 | { 4 | #if __cpp_lambdas >= 200907L 5 | int x[1]; 6 | #else 7 | int x[-1]; 8 | #endif 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS_scripts/build.VS2017Professional.cmd: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | rem build 32-bit 4 | call "%~p0%build.generic.cmd" VS2017Professional Win32 Release v141 5 | 6 | rem build 64-bit 7 | call "%~p0%build.generic.cmd" VS2017Professional x64 Release v141 -------------------------------------------------------------------------------- /src/EterBase/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(EterBase STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(EterBase 6 | lzo2 7 | cryptopp-static 8 | mio 9 | ) 10 | 11 | GroupSourcesByFolder(EterBase) 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/sha2.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA2 FIPS 180 collection 3 | Test: TestVectors/sha2_224_fips_180.txt 4 | Test: TestVectors/sha2_256_fips_180.txt 5 | Test: TestVectors/sha2_384_fips_180.txt 6 | Test: TestVectors/sha2_512_fips_180.txt 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/sha3.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA3 FIPS 202 collection 3 | Test: TestVectors/sha3_224_fips_202.txt 4 | Test: TestVectors/sha3_256_fips_202.txt 5 | Test: TestVectors/sha3_384_fips_202.txt 6 | Test: TestVectors/sha3_512_fips_202.txt 7 | -------------------------------------------------------------------------------- /src/EterImageLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(EterImageLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(EterImageLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(EterImageLib) 11 | -------------------------------------------------------------------------------- /src/GameLib/Interface.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // 2004.07.05.myevan.궁신탄영 맵에 끼이는 문제해결 4 | class IBackground : public CSingleton 5 | { 6 | public: 7 | IBackground() {} 8 | virtual ~IBackground() {} 9 | 10 | virtual bool IsBlock(int x, int y) = 0; 11 | }; -------------------------------------------------------------------------------- /src/PRTerrainLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(PRTerrainLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(PRTerrainLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(PRTerrainLib) 11 | -------------------------------------------------------------------------------- /src/PackLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(PackLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(PackLib 6 | libzstd_static 7 | cryptopp-static 8 | mio 9 | ) 10 | 11 | GroupSourcesByFolder(PackLib) 12 | -------------------------------------------------------------------------------- /src/SpeedTreeLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(SpeedTreeLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(SpeedTreeLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(SpeedTreeLib) 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_asimd.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | uint32x4_t x={0}; 9 | x=veorq_u32(x,x); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_neon.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | uint32x4_t x={0}; 9 | x=veorq_u32(x,x); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_assert.cpp: -------------------------------------------------------------------------------- 1 | // https://en.cppreference.com/w/cpp/feature_test 2 | int main(int argc, char* argv[]) 3 | { 4 | #if __cpp_static_assert >= 200410L 5 | int x[1]; 6 | #else 7 | int x[-1]; 8 | #endif 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx17_assert.cpp: -------------------------------------------------------------------------------- 1 | // https://en.cppreference.com/w/cpp/feature_test 2 | int main(int argc, char* argv[]) 3 | { 4 | #if __cpp_static_assert >= 201411L 5 | int x[1]; 6 | #else 7 | int x[-1]; 8 | #endif 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /extern/library/Granny/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(Granny STATIC IMPORTED GLOBAL) 2 | 3 | set_target_properties(Granny PROPERTIES 4 | INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/extern/include" 5 | IMPORTED_LOCATION "${CMAKE_CURRENT_LIST_DIR}/granny2_static.lib" 6 | ) 7 | -------------------------------------------------------------------------------- /src/EterPythonLib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_library(EterPythonLib STATIC ${FILE_SOURCES}) 4 | 5 | target_link_libraries(EterPythonLib 6 | cryptopp-static 7 | mio 8 | ) 9 | 10 | GroupSourcesByFolder(EterPythonLib) 11 | -------------------------------------------------------------------------------- /src/UserInterface/Locale_inc.h: -------------------------------------------------------------------------------- 1 | #define _IMPROVED_PACKET_ENCRYPTION_ 2 | 3 | #define LOCALE_SERVICE_GLOBAL 4 | #define ENABLE_COSTUME_SYSTEM 5 | #define ENABLE_ENERGY_SYSTEM 6 | #define ENABLE_DRAGON_SOUL_SYSTEM 7 | #define ENABLE_NEW_EQUIPMENT_SYSTEM 8 | //#define ENABLE_DISCORD_RPC 9 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/3desval.dat: -------------------------------------------------------------------------------- 1 | 0123456789abcdeffedcba9876543210 0123456789abcde7 7f1d0a77826b8aff 2 | 0123456789abcdeffedcba987654321089abcdef01234567 0123456789abcde7 de0b7c06ae5e0ed5 3 | 0123456789ABCDEF01010101010101011011121314151617 94DBE082549A14EF 9011121314151617 4 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/sha2_fips_180.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA2 FIPS 180 collection 3 | Test: TestVectors/sha2_224_fips_180.txt 4 | Test: TestVectors/sha2_256_fips_180.txt 5 | Test: TestVectors/sha2_384_fips_180.txt 6 | Test: TestVectors/sha2_512_fips_180.txt 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestVectors/sha3_fips_202.txt: -------------------------------------------------------------------------------- 1 | AlgorithmType: FileList 2 | Name: SHA3 FIPS 202 collection 3 | Test: TestVectors/sha3_224_fips_202.txt 4 | Test: TestVectors/sha3_256_fips_202.txt 5 | Test: TestVectors/sha3_384_fips_202.txt 6 | Test: TestVectors/sha3_512_fips_202.txt 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/simple.cpp: -------------------------------------------------------------------------------- 1 | // simple.cpp - originally written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | 5 | #ifndef CRYPTOPP_IMPORTS 6 | 7 | #include "simple.h" 8 | 9 | NAMESPACE_BEGIN(CryptoPP) 10 | 11 | NAMESPACE_END 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx98_exception.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | struct S { 3 | S() {} 4 | virtual ~S() { 5 | bool b = std::uncaught_exception(); 6 | } 7 | }; 8 | int main(int argc, char* argv[]) 9 | { 10 | S s; 11 | return 0; 12 | } 13 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/.cirrus.yml: -------------------------------------------------------------------------------- 1 | task: 2 | name: FreeBSD (make check) 3 | freebsd_instance: 4 | matrix: 5 | image_family: freebsd-14-2 6 | install_script: pkg install -y gmake coreutils 7 | script: | 8 | MOREFLAGS="-Werror" gmake -j all 9 | gmake check 10 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/multiple-files.sh.stdout.exact: -------------------------------------------------------------------------------- 1 | Test zstd ./file1 - file2 2 | stdin 3 | file1 4 | file2 5 | Test zstd -d ./file1.zst - file2.zst 6 | stdin 7 | file1 8 | file2 9 | zstd -d ./file1.zst - file2.zst -c 10 | file1 11 | stdin 12 | file2 13 | -------------------------------------------------------------------------------- /extern/library/WebView/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(WebView STATIC IMPORTED GLOBAL) 2 | 3 | set_target_properties(WebView PROPERTIES 4 | INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/extern/include" 5 | IMPORTED_LOCATION "${CMAKE_CURRENT_LIST_DIR}/WebView2LoaderStatic.lib" 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/cryptopp/nr.h: -------------------------------------------------------------------------------- 1 | // nr.h - originally written and placed in the public domain by Wei Dai 2 | 3 | /// \file nr.h 4 | /// \brief Classes for Nyberg-Rueppel signature scheme 5 | 6 | #ifndef CRYPTOPP_NR_H 7 | #define CRYPTOPP_NR_H 8 | 9 | #include "gfpcrypt.h" 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/verbose-wlog.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | . "$COMMON/platform.sh" 6 | 7 | zstd < file -vv -19 -o file.19.zst 8 | zstd -vv -l file.19.zst 9 | 10 | zstd < file -vv -19 --long -o file.19.long.zst 11 | zstd -vv -l file.19.long.zst 12 | -------------------------------------------------------------------------------- /src/ScriptLib/PythonMarshal.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_ETERMARSHAL_H__ 2 | #define __INC_ETERMARSHAL_H__ 3 | 4 | extern PyObject * _PyMarshal_ReadObjectFromFile(FILE* fp); 5 | extern PyObject * _PyMarshal_ReadLastObjectFromFile(FILE* fp); 6 | extern long _PyMarshal_ReadLongFromFile(FILE *fp); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /src/UserInterface/ProcessScanner.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | typedef std::pair CRCPair; 4 | 5 | void ProcessScanner_Destroy(); 6 | bool ProcessScanner_Create(); 7 | void ProcessScanner_ReleaseQuitEvent(); 8 | 9 | bool ProcessScanner_PopProcessQueue(std::vector* pkVct_crcPair); -------------------------------------------------------------------------------- /vendor/cryptopp/cryptest.vcxproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | v 5 | 6 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | Facebook has adopted a Code of Conduct that we expect project participants to adhere to. 4 | Please read the [full text](https://code.fb.com/codeofconduct/) 5 | so that you can understand what actions will and will not be tolerated. 6 | -------------------------------------------------------------------------------- /src/EterBase/Random.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_ETERBASE_RANDOM_H__ 2 | #define __INC_ETERBASE_RANDOM_H__ 3 | 4 | extern void srandom(unsigned long seed); 5 | extern unsigned long random(); 6 | extern float frandom(float flLow, float flHigh); 7 | extern long random_range(long from, long to); 8 | 9 | #endif -------------------------------------------------------------------------------- /src/EterLib/NetDevice.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CNetworkDevice 4 | { 5 | public: 6 | CNetworkDevice(); 7 | virtual ~CNetworkDevice(); 8 | 9 | void Destroy(); 10 | bool Create(); 11 | 12 | protected: 13 | void Initialize(); 14 | 15 | protected: 16 | bool m_isWSA; 17 | }; 18 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11.cpp: -------------------------------------------------------------------------------- 1 | // Real C++11 libraries provide 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | #if __cplusplus >= 201103L 6 | std::forward_list x; 7 | #else 8 | int x[-1]; 9 | #endif 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/decompression/detectErrors.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | GOLDEN_DIR="$ZSTD_REPO_DIR/tests/golden-decompression-errors/" 6 | 7 | for file in "$GOLDEN_DIR"/*; do 8 | zstd -t $file && die "should have detected an error" 9 | done 10 | exit 0 11 | 12 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/compress-file-to-dir-without-write-perm.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # motivated by issue #3523 4 | 5 | datagen > file 6 | mkdir out 7 | chmod 000 out 8 | 9 | zstd file -q --trace-file-stat -o out/file.zst 10 | zstd -tq out/file.zst 11 | 12 | chmod 777 out 13 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/dh1024.dat: -------------------------------------------------------------------------------- 1 | 30818702818100DA9A18547FF03B385CC16508C173A7EF4EB61CB40EF8FEF3B31F145051676166BCDC3FE6B799FC394D08C26385F9413F896E09117E46209D6923602683CEA100924A6EE695281775C619DAA94EA8CB3691B4275B0183F1D39639EBC92995FE645D6C1BC28D409E585549BBD2C5DCDD6C208B04EADD8B7A6D997F72CBAD88390F020102 2 | -------------------------------------------------------------------------------- /extern/include/python/ast.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_AST_H 2 | #define Py_AST_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(mod_ty) PyAST_FromNode(const node *, PyCompilerFlags *flags, 8 | const char *, PyArena *); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | #endif /* !Py_AST_H */ 14 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/rsa400pb.dat: -------------------------------------------------------------------------------- 1 | 30 4c 30 0d 06 09 2a 86 2 | 48 86 f7 0d 01 01 01 05 3 | 00 03 3b 00 30 38 02 33 4 | 00 a3 07 9a 90 df 0d fd 5 | 72 ac 09 0c cc 2a 78 b8 6 | 74 13 13 3e 40 75 9c 98 7 | fa f8 20 4f 35 8a 0b 26 8 | 3c 67 70 e7 83 a9 3b 69 9 | 71 b7 37 79 d2 71 7b e8 10 | 34 77 cf 02 01 03 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/cmake/zstdConfig.cmake.in: -------------------------------------------------------------------------------- 1 | @PACKAGE_INIT@ 2 | 3 | include(CMakeFindDependencyMacro) 4 | if(@ZSTD_MULTITHREAD_SUPPORT@ AND "@UNIX@") 5 | find_dependency(Threads) 6 | endif() 7 | 8 | include("${CMAKE_CURRENT_LIST_DIR}/zstdTargets.cmake") 9 | 10 | check_required_components("zstd") 11 | -------------------------------------------------------------------------------- /src/EterLib/Mutex.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_ETERLIB_MUTEX_H__ 2 | #define __INC_ETERLIB_MUTEX_H__ 3 | 4 | class Mutex 5 | { 6 | public: 7 | Mutex(); 8 | ~Mutex(); 9 | 10 | void Lock(); 11 | void Unlock(); 12 | bool Trylock(); 13 | 14 | private: 15 | CRITICAL_SECTION lock; 16 | }; 17 | 18 | #endif 19 | -------------------------------------------------------------------------------- /src/EterLocale/StdAfx.h: -------------------------------------------------------------------------------- 1 | // stdafx.h : include file for standard system include files, 2 | // or project specific include files that are used frequently, but 3 | // are changed infrequently 4 | // 5 | 6 | #pragma once 7 | 8 | #include 9 | #include 10 | 11 | #include "CodePageId.h" 12 | -------------------------------------------------------------------------------- /src/SphereLib/StdAfx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | //#define SPHERELIB_STRICT 4 | //#include 5 | 6 | #include 7 | #include 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | 15 | #include "EterBase/StdAfx.h" 16 | -------------------------------------------------------------------------------- /src/UserInterface/AbstractChat.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "AbstractSingleton.h" 4 | 5 | class IAbstractChat : public TAbstractSingleton 6 | { 7 | public: 8 | IAbstractChat() {} 9 | virtual ~IAbstractChat() {} 10 | 11 | virtual void AppendChat(int iType, const char * c_szChat) = 0; 12 | }; -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/VS2010/CompileAsCpp.props: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CompileAsCpp 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/EterGrnLib/Deform.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | 4 | void DeformPWNT3432toGrannyPNGBT33332(granny_int32x Count, void const* SourceInit, void* DestInit, 5 | granny_int32x const* TransformTable, granny_matrix_4x4 const* Transforms, 6 | granny_int32x CopySize, granny_int32x SourceStride, granny_int32x DestStride); -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/cast128v.dat: -------------------------------------------------------------------------------- 1 | 01 23 45 67 12 34 56 78 23 45 67 89 34 56 78 9A 2 | 01 23 45 67 89 AB CD EF 3 | 23 8B 4F E5 84 7E 44 B2 4 | 5 | 01 23 45 67 12 34 56 78 23 45 6 | 01 23 45 67 89 AB CD EF 7 | EB 6A 71 1A 2C 02 27 1B 8 | 9 | 01 23 45 67 12 10 | 01 23 45 67 89 AB CD EF 11 | 7A C8 16 D1 6E 9B 30 2E 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/lucd1024.dat: -------------------------------------------------------------------------------- 1 | 30818702818100EE9C91E2C1D8B0AB999B3F32B3115A36AA95A36B23CC8507D2340FA21EAAF6F6EB 2 | 1B900839CD9F8AFBFC155467F91FD8917DD46EAC55A266B246DFFFEDDDA79D674F77884D34709DB3 3 | 452C2C1E2578CCC0CCA91C504039C52762F23F2A391A58B2CAD2DB05666DDF5B9E3C1AC33DB487B7 4 | 70C82B7E7DCDEE4381562FCEE427FD02010A 5 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_avx2.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | // _mm256_broadcastsi128_si256 due to Clang 5 | __m128i x = _mm_setzero_si128 (); 6 | __m256i y = _mm256_broadcastsi128_si256 (x); 7 | y = _mm256_add_epi64 (y,y); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dict-builder/no-inputs.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | zstd --train 2 | ! Warning : nb of samples too low for proper processing ! 3 | ! Please provide _one file per sample_. 4 | ! Alternatively, split files into fixed-size blocks representative of samples, with -B# 5 | Error 14 : nb of samples too low 6 | -------------------------------------------------------------------------------- /src/EterLib/GrpVertexBufferStatic.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "GrpVertexBuffer.h" 4 | 5 | class CStaticVertexBuffer : public CGraphicVertexBuffer 6 | { 7 | public: 8 | CStaticVertexBuffer(); 9 | virtual ~CStaticVertexBuffer(); 10 | 11 | bool Create(int vtxCount, DWORD fvf, bool isManaged=true); 12 | }; 13 | 14 | -------------------------------------------------------------------------------- /src/EterLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // Model.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | // TODO: reference any additional headers you need in STDAFX.H 8 | // and not in this file 9 | -------------------------------------------------------------------------------- /src/UserInterface/PythonExceptionSender.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CPythonExceptionSender : public IPythonExceptionSender 4 | { 5 | public: 6 | CPythonExceptionSender(); 7 | virtual ~CPythonExceptionSender(); 8 | 9 | void Send(); 10 | 11 | protected: 12 | std::set m_kSet_dwSendedExceptionCRC; 13 | }; 14 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_rdrand.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #if (__GNUC__ >= 5) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) 3 | # include 4 | #endif 5 | int main(int argc, char* argv[]) 6 | { 7 | unsigned int x=0; 8 | (void)_rdrand32_step (&x); 9 | return x == 0 ? 0 : 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_rdseed.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #if (__GNUC__ >= 5) || ((__GNUC__ == 4) && (__GNUC_MINOR__ >= 6)) 3 | # include 4 | #endif 5 | int main(int argc, char* argv[]) 6 | { 7 | unsigned int x=0; 8 | (void)_rdseed32_step (&x); 9 | return x == 0 ? 0 : 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_sse41.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | __m128i x = _mm_setzero_si128(); 6 | __m128i a = _mm_setzero_si128(); 7 | __m128i b = _mm_setzero_si128(); 8 | x=_mm_blend_epi16(a,b,4); 9 | return 0; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/output_dir.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | println "+ zstd -r * --output-dir-mirror=\"\"" 4 | zstd -r * --output-dir-mirror="" && die "Should not allow empty output dir!" 5 | println "+ zstd -r * --output-dir-flat=\"\"" 6 | zstd -r * --output-dir-flat="" && die "Should not allow empty output dir!" 7 | exit 0 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/zstd-symlinks/zstdcat.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | # Test zstdcat symlink in bin/ 5 | zstdcat hello.zst 6 | zstdcat hello.zst world 7 | zstdcat hello world.zst 8 | zstdcat hello.zst world.zst 9 | 10 | # Test local zstdcat symlink 11 | ln -s $(which zstd) ./zstdcat 12 | ./zstdcat hello.zst 13 | -------------------------------------------------------------------------------- /src/EterBase/Poly/SymTable.h: -------------------------------------------------------------------------------- 1 | #ifndef __POLY_SYMTABLE_H__ 2 | #define __POLY_SYMTABLE_H__ 3 | 4 | #include 5 | 6 | class CSymTable 7 | { 8 | public: 9 | CSymTable(int aTok, std::string aStr); 10 | virtual ~CSymTable(); 11 | 12 | double dVal; 13 | int token; 14 | std::string strlex; 15 | }; 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /src/PackMaker/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | file(GLOB_RECURSE FILE_SOURCES "*.h" "*.c" "*.cpp") 2 | 3 | add_executable(PackMaker ${FILE_SOURCES}) 4 | set_target_properties(PackMaker PROPERTIES 5 | RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin 6 | ) 7 | 8 | target_link_libraries(PackMaker 9 | libzstd_static 10 | cryptopp-static 11 | ) 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_sha1.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | uint32x4_t y = {0}; 9 | y=vsha1cq_u32(y,0,y); 10 | y=vsha1mq_u32(y,1,y); 11 | y=vsha1pq_u32(y,2,y); 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx17_exceptions.cpp: -------------------------------------------------------------------------------- 1 | // https://en.cppreference.com/w/cpp/feature_test 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | #if __cpp_lib_uncaught_exceptions >= 201411L 6 | int x = std::uncaught_exceptions(); 7 | #else 8 | int x[-1]; 9 | #endif 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/window-resize.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | datagen -g1G > file 3 | zstd --long=30 -1 --single-thread --no-content-size -f file 4 | zstd -l -v file.zst 5 | 6 | # We want to ignore stderr (its outputting "*** zstd command line interface 7 | # 64-bits v1.5.3, by Yann Collet ***") 8 | 9 | rm file file.zst 10 | -------------------------------------------------------------------------------- /extern/library/DirectX/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(DirectX INTERFACE) 2 | target_include_directories(DirectX INTERFACE "${CMAKE_SOURCE_DIR}/extern/include") 3 | target_link_libraries(DirectX INTERFACE "${CMAKE_CURRENT_LIST_DIR}/d3d9.lib" "${CMAKE_CURRENT_LIST_DIR}/d3dx9.lib" "${CMAKE_CURRENT_LIST_DIR}/dinput8.lib" "${CMAKE_CURRENT_LIST_DIR}/dxguid.lib") 4 | -------------------------------------------------------------------------------- /src/PRTerrainLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // PRTerrainLib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | /* Fast Float<->Integer conversion */ 8 | float PR_FCNV; 9 | long PR_ICNV; 10 | 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_cxx11_staticinit.cpp: -------------------------------------------------------------------------------- 1 | // https://en.cppreference.com/w/cpp/feature_test 2 | // Apple bug https://bugs.llvm.org/show_bug.cgi?id=47012. 3 | int main(int argc, char* argv[]) 4 | { 5 | #if __cpp_threadsafe_static_init >= 200806L 6 | int x[1]; 7 | #else 8 | int x[-1]; 9 | #endif 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/DirectXMath/build/DirectXMath.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | libdir=@DIRECTXMATH_LIBDIR_FOR_PKG_CONFIG@ 3 | includedir=@DIRECTXMATH_INCLUDEDIR_FOR_PKG_CONFIG@ 4 | 5 | Name: @PROJECT_NAME@ 6 | Description: @PROJECT_DESCRIPTION@ 7 | URL: @PROJECT_HOMEPAGE_URL@ 8 | Version: @PROJECT_VERSION@ 9 | Cflags: -I${includedir} 10 | Libs: 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_aes.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | uint8x16_t x={0}; 9 | x=vaeseq_u8(x,x); 10 | x=vaesmcq_u8(x); 11 | x=vaesdq_u8(x,x); 12 | x=vaesimcq_u8(x); 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_aes.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | __m128i x = _mm_setzero_si128(); 6 | x=_mm_aesenc_si128(x,x); 7 | x=_mm_aesenclast_si128(x,x); 8 | x=_mm_aesdec_si128(x,x); 9 | x=_mm_aesdeclast_si128(x,x); 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/3wayval.dat: -------------------------------------------------------------------------------- 1 | 000000000000000000000000 000000010000000100000001 4059c76e83ae9dc4ad21ecf7 2 | 000000060000000500000004 000000030000000200000001 d2f05b5ed6144138cab920cd 3 | def01234456789abbcdef012 234567899abcdef001234567 0aa55dbb9cdddb6d7cdb76b2 4 | d2f05b5ed6144138cab920cd 4059c76e83ae9dc4ad21ecf7 478ea8716b13f17c15b155ed 5 | 6 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_sha256.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | uint32x4_t y = {0}; 9 | y=vsha256hq_u32(y, y, y); 10 | y=vsha256h2q_u32(y, y, y); 11 | y=vsha256su1q_u32(y, y, y); 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /vendor/mio/third_party/config.json: -------------------------------------------------------------------------------- 1 | { 2 | "project": "Cross-platform C++11 header-only library for memory mapped file IO", 3 | "target": "../single_include/mio/mio.hpp", 4 | "sources": [ 5 | "../include/mio/mmap.hpp", 6 | "../include/mio/page.hpp", 7 | "../include/mio/shared_mmap.hpp" 8 | ], 9 | "include_paths": ["../include"] 10 | } 11 | 12 | -------------------------------------------------------------------------------- /extern/include/python/enumobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ENUMOBJECT_H 2 | #define Py_ENUMOBJECT_H 3 | 4 | /* Enumerate Object */ 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyEnum_Type; 11 | PyAPI_DATA(PyTypeObject) PyReversed_Type; 12 | 13 | #ifdef __cplusplus 14 | } 15 | #endif 16 | 17 | #endif /* !Py_ENUMOBJECT_H */ 18 | -------------------------------------------------------------------------------- /extern/include/python/pgen.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_PGEN_H 2 | #define Py_PGEN_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | /* Parser generator interface */ 9 | 10 | extern grammar *meta_grammar(void); 11 | 12 | struct _node; 13 | extern grammar *pgen(struct _node *); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PGEN_H */ 19 | -------------------------------------------------------------------------------- /src/EterBase/TempFile.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_ETERBASE_TEMPFILE_H__ 2 | #define __INC_ETERBASE_TEMPFILE_H__ 3 | 4 | #include "FileBase.h" 5 | 6 | class CTempFile : public CFileBase 7 | { 8 | public: 9 | CTempFile(const char * c_pszPrefix = NULL); 10 | virtual ~CTempFile(); 11 | 12 | protected: 13 | char m_szFileName[MAX_PATH+1]; 14 | }; 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/examples/.gitignore: -------------------------------------------------------------------------------- 1 | #build 2 | simple_compression 3 | simple_decompression 4 | multiple_simple_compression 5 | dictionary_compression 6 | dictionary_decompression 7 | streaming_compression 8 | streaming_decompression 9 | multiple_streaming_compression 10 | streaming_memory_usage 11 | 12 | #test artefact 13 | tmp* 14 | test* 15 | *.zst 16 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/cltools/zstdless.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | println "+ good path" 6 | zstdless file.zst 7 | println "+ pass parameters" 8 | zstdless -N file.zst # This parameter does not produce line #s when piped, but still serves to test that the flag went to less and not zstd 9 | println "+ bad path" 10 | zstdless bad.zst >&2 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_pthreads.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | 4 | void* function(void *ptr) 5 | { 6 | return 0; 7 | } 8 | 9 | int main(int argc, char* argv[]) 10 | { 11 | pthread_t thread; 12 | int ret = pthread_create(&thread, NULL, function, (void*)0); 13 | pthread_join(thread, NULL); 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/args.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | println "+ zstd --blah" >&2 4 | zstd --blah 5 | println "+ zstd -xz" >&2 6 | zstd -xz 7 | println "+ zstd --adapt=min=1,maxx=2 file.txt" >&2 8 | zstd --adapt=min=1,maxx=2 file.txt 9 | println "+ zstd --train-cover=k=48,d=8,steps32 file.txt" >&2 10 | zstd --train-cover=k=48,d=8,steps32 file.txt 11 | -------------------------------------------------------------------------------- /extern/include/python/intrcheck.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_INTRCHECK_H 3 | #define Py_INTRCHECK_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_InterruptOccurred(void); 9 | PyAPI_FUNC(void) PyOS_InitInterrupts(void); 10 | PyAPI_FUNC(void) PyOS_AfterFork(void); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif /* !Py_INTRCHECK_H */ 16 | -------------------------------------------------------------------------------- /extern/include/python/metagrammar.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_METAGRAMMAR_H 2 | #define Py_METAGRAMMAR_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | 8 | #define MSTART 256 9 | #define RULE 257 10 | #define RHS 258 11 | #define ALT 259 12 | #define ITEM 260 13 | #define ATOM 261 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_METAGRAMMAR_H */ 19 | -------------------------------------------------------------------------------- /src/EterLib/Mutex.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "Mutex.h" 3 | 4 | Mutex::Mutex() 5 | { 6 | InitializeCriticalSection(&lock); 7 | } 8 | 9 | Mutex::~Mutex() 10 | { 11 | DeleteCriticalSection(&lock); 12 | } 13 | 14 | void Mutex::Lock() 15 | { 16 | EnterCriticalSection(&lock); 17 | } 18 | 19 | void Mutex::Unlock() 20 | { 21 | LeaveCriticalSection(&lock); 22 | } -------------------------------------------------------------------------------- /src/EterBase/CRC32.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_CRC32_H__ 2 | #define __INC_CRC32_H__ 3 | 4 | #include 5 | 6 | DWORD GetCRC32(const char* buffer, size_t count); 7 | DWORD GetCaseCRC32(const char * buf, size_t len); 8 | DWORD GetHFILECRC32(HANDLE hFile); 9 | DWORD GetFileCRC32(const char* c_szFileName); 10 | DWORD GetFileSize(const char* c_szFileName); 11 | 12 | #endif 13 | -------------------------------------------------------------------------------- /src/ScriptLib/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | // stdafx.cpp : source file that includes just the standard includes 2 | // scriptLib.pch will be the pre-compiled header 3 | // stdafx.obj will contain the pre-compiled type information 4 | 5 | #include "stdafx.h" 6 | 7 | void SetExceptionSender(IPythonExceptionSender * pkExceptionSender) 8 | { 9 | g_pkExceptionSender = pkExceptionSender; 10 | } 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/common/format.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . "$COMMON/platform.sh" 4 | 5 | zstd_supports_format() 6 | { 7 | zstd -h | grep > $INTOVOID -- "--format=$1" 8 | } 9 | 10 | format_extension() 11 | { 12 | if [ "$1" = "zstd" ]; then 13 | printf "zst" 14 | elif [ "$1" = "gzip" ]; then 15 | printf "gz" 16 | else 17 | printf "$1" 18 | fi 19 | } 20 | -------------------------------------------------------------------------------- /src/EterLib/GrpVertexBufferDynamic.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "GrpVertexBuffer.h" 4 | 5 | class CDynamicVertexBuffer : public CGraphicVertexBuffer 6 | { 7 | public: 8 | CDynamicVertexBuffer(); 9 | virtual ~CDynamicVertexBuffer(); 10 | 11 | bool Create(int vtxCount, int fvf); 12 | 13 | 14 | 15 | protected: 16 | int m_vtxCount; 17 | int m_fvf; 18 | }; 19 | 20 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dictionaries/golden.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | GOLDEN_COMP_DIR="$ZSTD_REPO_DIR/tests/golden-compression/" 6 | GOLDEN_DICT_DIR="$ZSTD_REPO_DIR/tests/golden-dictionaries/" 7 | 8 | zstd -D "$GOLDEN_DICT_DIR/http-dict-missing-symbols" "$GOLDEN_COMP_DIR/http" -o http.zst 9 | zstd -D "$GOLDEN_DICT_DIR/http-dict-missing-symbols" -t http.zst 10 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/rc5val.dat: -------------------------------------------------------------------------------- 1 | 00000000000000000000000000000000 0000000000000000 21A5DBEE154B8F6D 2 | 915F4619BE41B2516355A50110A9CE91 21A5DBEE154B8F6D F7C013AC5B2B8952 3 | 783348E75AEB0F2FD7B169BB8DC16787 F7C013AC5B2B8952 2F42B3B70369FC92 4 | DC49DB1375A5584F6485B413B5F12BAF 2F42B3B70369FC92 65C178B284D197CC 5 | 5269F149D41BA0152497574D7F153125 65C178B284D197CC EB44E415DA319824 6 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/xtrdh342.dat: -------------------------------------------------------------------------------- 1 | 3081A6022B28E3FED51D3D861D962B0A16A92ACDB380ADAFB478CA555004C3AF387F853F9DE9921C 2 | 7DCB40098D25C757021D03094844F135A3A50049A848C3FC02412FCBED6040FB1BDE99A4D93E3B02 3 | 2B13F411960B85F9B031A247E072046892B1EE6C95A47242A839F8E24B96B88F37B4BDA2C6D253BC 4 | 0AAF29F1022B0D2AFE639D324E558B2B312E435E03957769D745C881D259DDFD2F48F9C08F82ECCF 5 | F4E7ADD47C705896D0 6 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/lucc512.dat: -------------------------------------------------------------------------------- 1 | 3081B302010030819406072A8648CE380401308188024100B89A4AD4826B8FDDBFE3A6C0F5C8F805B7093AFF9BB2BD697C7D113C236BAC99ABF69000E169575CA2A2DDCDD1C7D9D06C63DCCC880121D933DCF598DD85C52102405C4D256A4135C7EEDFF1D3607AE47C02DB849D7FCDD95EB4BE3E889E11B5D64CD5FB480070B4ABAE51516EE6E8E3ECE83631EE66440090EC99EE7ACC6EC2E291020107041702150268EA4C567B18D0E35B1DA9D517CE5D359CD06779 2 | -------------------------------------------------------------------------------- /src/EterLib/GrpD3DXBuffer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CDirect3DXBuffer 4 | { 5 | public: 6 | CDirect3DXBuffer(); 7 | CDirect3DXBuffer(LPD3DXBUFFER lpd3dxBuffer); 8 | virtual ~CDirect3DXBuffer(); 9 | 10 | void Destroy(); 11 | void Create(LPD3DXBUFFER lpd3dxBuffer); 12 | 13 | void*GetPointer(); 14 | int GetSize(); 15 | 16 | protected: 17 | LPD3DXBUFFER m_lpd3dxBuffer; 18 | }; 19 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/common/mtime.sh: -------------------------------------------------------------------------------- 1 | . "$COMMON/platform.sh" 2 | 3 | MTIME="stat -c %Y" 4 | case "$UNAME" in 5 | Darwin | FreeBSD | OpenBSD | NetBSD) MTIME="stat -f %m" ;; 6 | esac 7 | 8 | assertSameMTime() { 9 | MT1=$($MTIME "$1") 10 | MT2=$($MTIME "$2") 11 | echo MTIME $MT1 $MT2 12 | [ "$MT1" = "$MT2" ] || die "mtime on $1 doesn't match mtime on $2 ($MT1 != $MT2)" 13 | } 14 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dictionaries/dictionary-mismatch.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | zstd files/0 -D dicts/0 -q 2 | zstd -t files/0.zst -D dicts/0 3 | files/0.zst : 1000 bytes 4 | zstd -t files/0.zst -D dicts/1 && die "Must fail" ||: 5 | files/0.zst : Decoding error (36) : Dictionary mismatch 6 | zstd -t files/0.zst && die "Must fail" ||: 7 | files/0.zst : Decoding error (36) : Dictionary mismatch 8 | -------------------------------------------------------------------------------- /src/EterPythonLib/StdAfx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef _CRT_SECURE_NO_WARNINGS 4 | #define _CRT_SECURE_NO_WARNINGS 5 | #endif 6 | #include "EterLib/StdAfx.h" 7 | #include "ScriptLib/StdAfx.h" 8 | 9 | #include "PythonGraphic.h" 10 | #include "PythonWindowManager.h" 11 | 12 | void initgrp(); 13 | void initgrpImage(); 14 | void initgrpText(); 15 | void initgrpThing(); 16 | void initscriptWindow(); 17 | void initwndMgr(); -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/zlibWrapper/.gitignore: -------------------------------------------------------------------------------- 1 | # object artifacts 2 | *.o 3 | 4 | # Default result files 5 | _* 6 | example 7 | example_zstd.* 8 | example_gz.* 9 | fitblk 10 | fitblk_zstd.* 11 | zwrapbench 12 | foo.gz 13 | 14 | minigzip 15 | minigzip_zstd 16 | example 17 | example_zstd 18 | fitblk 19 | fitblk_zstd 20 | zwrapbench 21 | 22 | # Misc files 23 | *.bat 24 | *.zip 25 | *.txt 26 | 27 | # Directories 28 | minizip/ 29 | -------------------------------------------------------------------------------- /extern/include/python/dtoa.h: -------------------------------------------------------------------------------- 1 | #ifndef PY_NO_SHORT_FLOAT_REPR 2 | #ifdef __cplusplus 3 | extern "C" { 4 | #endif 5 | 6 | PyAPI_FUNC(double) _Py_dg_strtod(const char *str, char **ptr); 7 | PyAPI_FUNC(char *) _Py_dg_dtoa(double d, int mode, int ndigits, 8 | int *decpt, int *sign, char **rve); 9 | PyAPI_FUNC(void) _Py_dg_freedtoa(char *s); 10 | 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /src/EterLib/GrpPixelShader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "GrpBase.h" 4 | 5 | class CPixelShader : public CGraphicBase 6 | { 7 | public: 8 | CPixelShader(); 9 | virtual ~CPixelShader(); 10 | 11 | void Destroy(); 12 | bool CreateFromDiskFile(const char* c_szFileName); 13 | 14 | void Set(); 15 | 16 | protected: 17 | void Initialize(); 18 | 19 | protected: 20 | LPDIRECT3DPIXELSHADER9 m_handle; 21 | }; 22 | -------------------------------------------------------------------------------- /src/EterLocale/Arabic.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | wchar_t Arabic_ConvSymbol(wchar_t c); 4 | 5 | bool Arabic_IsInSpace(wchar_t code); 6 | bool Arabic_IsInSymbol(wchar_t code); 7 | bool Arabic_IsInPresentation(wchar_t code); 8 | bool Arabic_HasPresentation(wchar_t* codes, int last); 9 | size_t Arabic_MakeShape(wchar_t* src, size_t srcLen, wchar_t* dst, size_t dstLen); 10 | wchar_t Arabic_ConvEnglishModeSymbol(wchar_t code); 11 | 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/cast256v.dat: -------------------------------------------------------------------------------- 1 | 2342bb9efa38542c0af75647f29f615d 2 | 00000000000000000000000000000000 3 | c842a08972b43d20836c91d1b7530f6b 4 | 5 | 2342bb9efa38542cbed0ac83940ac298bac77a7717942863 6 | 00000000000000000000000000000000 7 | 1b386c0210dcadcbdd0e41aa08a7a7e8 8 | 9 | 2342bb9efa38542cbed0ac83940ac2988d7c47ce264908461cc1b5137ae6b604 10 | 00000000000000000000000000000000 11 | 4f6a2038286897b9c9870136553317fa 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/dsa512.dat: -------------------------------------------------------------------------------- 1 | 3081C60201003081A806072A8648CE38040130819C0241008DF2A494492276AA3D25759BB06869CBEAC0D83AFB8D0CF7CBB8324F0D7882E5D0762FC5B7210EAFC2E9ADAC32AB7AAC49693DFBF83724C2EC0736EE31C80291021500C773218C737EC8EE993B4F2DED30F48EDACE915F0240626D027839EA0A13413163A55B4CB500299D5522956CEFCB3BFF10F399CE2C2E71CB9DE5FA24BABF58E5B79521925C9CC42E9F6F464B088CC572AF53E6D78802041602142070B3223DBA372FDE1C0FFC7B2E3B498B260614 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_ppc_altivec.cpp: -------------------------------------------------------------------------------- 1 | #define GNUC_VERSION (__GNUC__*1000 + __GNUC_MAJOR__*10) 2 | #if (GNUC_VERSION >= 4060) || defined(__clang__) 3 | # pragma GCC diagnostic ignored "-Wdeprecated" 4 | #endif 5 | 6 | #include 7 | int main(int argc, char* argv[]) 8 | { 9 | __vector unsigned char x; 10 | x=vec_ld(0, (unsigned char*)argv[0]); 11 | x=vec_add(x,x); 12 | return 0; 13 | } 14 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/compress-literals.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | # Test --[no-]compress-literals 6 | zstd file --no-compress-literals -1 -c | zstd -t 7 | zstd file --no-compress-literals -19 -c | zstd -t 8 | zstd file --no-compress-literals --fast=1 -c | zstd -t 9 | zstd file --compress-literals -1 -c | zstd -t 10 | zstd file --compress-literals --fast=1 -c | zstd -t 11 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/lucs512.dat: -------------------------------------------------------------------------------- 1 | 3081C70201003081A806072A8648CE38040130819C024100E64283E91A07D10F557B7B758DC8041CE6CFC57DFE0AAA33FC8FEC48BEEA37562AD13359236FFFF6EED3FB921690D2FD1339F8E1DD406EED70D7EE3085E3AADD02150F4E48F160EC5855CCCD9F995988AD1B554AD1B5F3024062503DFB092F0FD0D8BBD90B50A834A6BD5B0995BCFC1CC8C8C83103AA6837F3FBFF3E042E1B25E36963DB2FCFD7AD24A6626E65A1F6EECBB399F5CE73659F29041702150450A037413E9A711E601318AF21D32A498C0C501E 2 | -------------------------------------------------------------------------------- /vendor/mio/include/mio/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # While not strictly necessary to specify header files as target sources, 3 | # doing so populates these files in the source listing when CMake is used 4 | # to generate XCode and Visual Studios projects 5 | # 6 | target_sources(mio-headers INTERFACE 7 | "${prefix}/mio/mmap.hpp" 8 | "${prefix}/mio/page.hpp" 9 | "${prefix}/mio/shared_mmap.hpp") 10 | 11 | add_subdirectory(detail) 12 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/decompression/pass-through.sh.stdout.exact: -------------------------------------------------------------------------------- 1 | + passthrough enabled 2 | 3 | 2 4 | 23 5 | 234 6 | some data 7 | some data 8 | some data 9 | some data 10 | some data 11 | some data 12 | some data 13 | some data 14 | some data 15 | some data 16 | some data 17 | some data 18 | some data 19 | some data 20 | some data 21 | some data 22 | + passthrough disabled 23 | some data 24 | some data 25 | some data 26 | -------------------------------------------------------------------------------- /src/UserInterface/AbstractCharacterManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "AbstractSingleton.h" 4 | 5 | class CInstanceBase; 6 | 7 | class IAbstractCharacterManager : public TAbstractSingleton 8 | { 9 | public: 10 | IAbstractCharacterManager() {} 11 | virtual ~IAbstractCharacterManager() {} 12 | 13 | virtual void Destroy() = 0; 14 | virtual CInstanceBase * GetInstancePtr(DWORD dwVID) = 0; 15 | }; -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/ecies_p160.dat: -------------------------------------------------------------------------------- 1 | 3081C80201003081A406072A8648CE3D0201308198020101302006072A8648CE3D0101021500FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF302C0414FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC04141C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA450429044A96B5688EF573284664698968C38BB913CBFC8223A628553168947D59DCC912042351377AC5FB3202150100000000000000000001F4C8F927AED3CA752257020101041C301A02010104150023A68821ABB99DBB8429ED2320D61A8EA4C6D81B 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/dh.cpp: -------------------------------------------------------------------------------- 1 | // dh.cpp - originally written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | 5 | #ifndef CRYPTOPP_IMPORTS 6 | 7 | #include "dh.h" 8 | 9 | NAMESPACE_BEGIN(CryptoPP) 10 | 11 | #if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 12 | void DH_TestInstantiations() 13 | { 14 | DH dh1; 15 | DH dh2(NullRNG(), 10); 16 | } 17 | #endif 18 | 19 | NAMESPACE_END 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_sm4.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | // SM4 block cipher 9 | // https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics?search=SM4 10 | uint32x4_t x, y={1}, z={2}; 11 | x=vsm4ekeyq_u32(y,z); 12 | x=vsm4eq_u32(y,z); 13 | 14 | return 0; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/format.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . "$COMMON/format.sh" 4 | 5 | set -e 6 | 7 | # Test --format 8 | zstd --format=zstd file -f 9 | zstd -t file.zst 10 | for format in "gzip" "lz4" "xz" "lzma"; do 11 | if zstd_supports_format $format; then 12 | zstd --format=$format file 13 | zstd -t file.$(format_extension $format) 14 | zstd -c --format=$format file | zstd -t --format=$format 15 | fi 16 | done 17 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/ecies_t163.dat: -------------------------------------------------------------------------------- 1 | 3081D10201003081AD06072A8648CE3D02013081A1020101302506072A8648CE3D0102301A020200A306092A8648CE3D010203033009020103020106020107302E041507B6882CAAEFA84F9554FF8428BD88E246D2782AE204150713612DCDDCB40AAB946BDA29CA91F73AF958AFD9042B040369979697AB43897789566789567F787A7876A65400435EDB42EFAFB2989D51FEFCE3C80988F41FF883021503FFFFFFFFFFFFFFFFFFFF48AAB689C29CA710279B020102041C301A02010104150003693AB4D83EE8B544548BE7647AEA0EA64E8211 2 | -------------------------------------------------------------------------------- /extern/include/python/pygetopt.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef Py_PYGETOPT_H 3 | #define Py_PYGETOPT_H 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(int) _PyOS_opterr; 9 | PyAPI_DATA(int) _PyOS_optind; 10 | PyAPI_DATA(char *) _PyOS_optarg; 11 | 12 | PyAPI_FUNC(void) _PyOS_ResetGetOpt(void); 13 | PyAPI_FUNC(int) _PyOS_GetOpt(int argc, char **argv, char *optstring); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | #endif /* !Py_PYGETOPT_H */ 19 | -------------------------------------------------------------------------------- /src/EterGrnLib/Util.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // bool GrannyMeshGetTextureAnimation(granny_mesh* pgrnMesh, float* puVelocity, float* pvVelocity); 4 | // bool GrannyMeshIsTextureAnimation(granny_mesh* pgrnMesh); 5 | bool GrannyMeshIsDeform(granny_mesh* pgrnMesh); 6 | 7 | class CGraphicImage; 8 | 9 | struct SMaterialData 10 | { 11 | CGraphicImage * pImage; 12 | float fSpecularPower; 13 | BOOL isSpecularEnable; 14 | BYTE bSphereMapIndex; 15 | }; 16 | 17 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/memlimit.sh.stdout.exact: -------------------------------------------------------------------------------- 1 | + zstd --memory=32LB file 2 | + zstd --memory=32LiB file 3 | + zstd --memory=32A file 4 | + zstd --memory=32r82347dn83 file 5 | + zstd --memory=32asbdf file 6 | + zstd --memory=hello file 7 | + zstd --memory=1 file 8 | + zstd --memory=1K file 9 | + zstd --memory=1KB file 10 | + zstd --memory=1KiB file 11 | + zstd --memory=1M file 12 | + zstd --memory=1MB file 13 | + zstd --memory=1MiB file 14 | -------------------------------------------------------------------------------- /src/EterLib/GrpVertexShader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "GrpBase.h" 4 | 5 | class CVertexShader : public CGraphicBase 6 | { 7 | public: 8 | CVertexShader(); 9 | virtual ~CVertexShader(); 10 | 11 | void Destroy(); 12 | bool CreateFromDiskFile(const char* c_szFileName, const DWORD* c_pdwVertexDecl); 13 | 14 | void Set(); 15 | 16 | protected: 17 | void Initialize(); 18 | 19 | protected: 20 | LPDIRECT3DVERTEXSHADER9 m_handle; 21 | }; 22 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/zstdless.1.md: -------------------------------------------------------------------------------- 1 | zstdless(1) -- view zstandard-compressed files 2 | ============================================================================ 3 | 4 | SYNOPSIS 5 | -------- 6 | 7 | `zstdless` [] [ ...] 8 | 9 | 10 | DESCRIPTION 11 | ----------- 12 | `zstdless` runs `less`(1) on files or stdin, if no argument is given, after decompressing them with `zstdcat`(1). 13 | 14 | SEE ALSO 15 | -------- 16 | `zstd`(1) 17 | -------------------------------------------------------------------------------- /src/GameLib/ActorInstanceInterface.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "EterGrnLib/ThingInstance.h" 4 | 5 | class IActorInstance : public CGraphicThingInstance 6 | { 7 | public: 8 | enum 9 | { 10 | ID = ACTOR_OBJECT 11 | }; 12 | int GetType() const { return ID; } 13 | 14 | IActorInstance() {} 15 | virtual ~IActorInstance() {} 16 | virtual bool TestCollisionWithDynamicSphere(const CDynamicSphereInstance & dsi) = 0; 17 | virtual DWORD GetVirtualID() = 0; 18 | }; -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_x86_sha.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | int main(int argc, char* argv[]) 4 | { 5 | __m128i x = _mm_setzero_si128(); 6 | x=_mm_sha1msg1_epu32(x,x); 7 | x=_mm_sha1msg2_epu32(x,x); 8 | x=_mm_sha1nexte_epu32(x,x); 9 | x=_mm_sha1rnds4_epu32(x,x,0); 10 | x=_mm_sha256msg1_epu32(x,x); 11 | x=_mm_sha256msg2_epu32(x,x); 12 | x=_mm_sha256rnds2_epu32(x,x,x); 13 | return 0; 14 | } 15 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/.buckconfig: -------------------------------------------------------------------------------- 1 | [cxx] 2 | cppflags = -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=4 3 | cflags = -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement -Wstrict-prototypes -Wundef -Wpointer-arith 4 | cxxppflags = -DXXH_NAMESPACE=ZSTD_ -DZSTD_LEGACY_SUPPORT=4 5 | cxxflags = -std=c++11 -Wno-deprecated-declarations 6 | gtest_dep = //contrib/pzstd:gtest 7 | 8 | [httpserver] 9 | port = 0 10 | -------------------------------------------------------------------------------- /src/EterBase/Poly/Base.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "Base.h" 3 | 4 | CBase::CBase() 5 | { 6 | id = 0; 7 | } 8 | 9 | CBase::~CBase() 10 | { 11 | } 12 | 13 | bool CBase::isNumber() 14 | { 15 | return (id & MID_NUMBER) != 0 ? true : false; 16 | } 17 | 18 | bool CBase::isVar() 19 | { 20 | return (id & MID_VARIABLE) != 0 ? true : false; 21 | } 22 | 23 | bool CBase::isSymbol() 24 | { 25 | return (id & MID_SYMBOL) != 0 ? true : false; 26 | } 27 | 28 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/.gitattributes: -------------------------------------------------------------------------------- 1 | # Set the default behavior 2 | * text eol=lf 3 | 4 | # Explicitly declare source files 5 | *.c text eol=lf 6 | *.h text eol=lf 7 | 8 | # Denote files that should not be modified. 9 | *.odt binary 10 | *.png binary 11 | 12 | # Visual Studio 13 | *.sln text eol=crlf 14 | *.vcxproj* text eol=crlf 15 | *.vcproj* text eol=crlf 16 | *.suo binary 17 | *.rc text eol=crlf 18 | 19 | # Windows 20 | *.bat text eol=crlf 21 | *.cmd text eol=crlf 22 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/fhmqv160.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/fhmqv256.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/hmqv160.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/hmqv256.dat: -------------------------------------------------------------------------------- 1 | 3081E0020101302C06072A8648CE3D0101022100FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF30440420FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC04205AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B0441046B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C2964FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5022100FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551020101 -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/zstdless.1: -------------------------------------------------------------------------------- 1 | . 2 | .TH "ZSTDLESS" "1" "March 2024" "zstd 1.5.6" "User Commands" 3 | . 4 | .SH "NAME" 5 | \fBzstdless\fR \- view zstandard\-compressed files 6 | . 7 | .SH "SYNOPSIS" 8 | \fBzstdless\fR [\fIflags\fR] [\fIfile\fR \.\.\.] 9 | . 10 | .SH "DESCRIPTION" 11 | \fBzstdless\fR runs \fBless\fR(1) on files or stdin, if no \fIfile\fR argument is given, after decompressing them with \fBzstdcat\fR(1)\. 12 | . 13 | .SH "SEE ALSO" 14 | \fBzstd\fR(1) 15 | -------------------------------------------------------------------------------- /src/EterLib/GrpVertexBufferStatic.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "GrpVertexBufferStatic.h" 3 | 4 | bool CStaticVertexBuffer::Create(int vtxCount, DWORD fvf, bool /*isManaged*/) 5 | { 6 | // DirectX 9Ex: Use DEFAULT pool instead of MANAGED 7 | return CGraphicVertexBuffer::Create(vtxCount, fvf, D3DUSAGE_WRITEONLY, D3DPOOL_DEFAULT); 8 | } 9 | 10 | CStaticVertexBuffer::CStaticVertexBuffer() 11 | { 12 | } 13 | 14 | CStaticVertexBuffer::~CStaticVertexBuffer() 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /src/UserInterface/PythonNetworkStreamPhaseOffline.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "PythonNetworkStream.h" 3 | #include "PythonApplication.h" 4 | #include "Packet.h" 5 | 6 | void CPythonNetworkStream::OffLinePhase() 7 | { 8 | TPacketHeader header; 9 | 10 | if (!CheckPacket(&header)) 11 | return; 12 | 13 | switch (header) 14 | { 15 | case HEADER_GC_PHASE: 16 | if (RecvPhasePacket()) 17 | return; 18 | break; 19 | } 20 | 21 | RecvErrorPacket(header); 22 | } -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/esig1023.dat: -------------------------------------------------------------------------------- 1 | 3081E00281807040653BA4FCD5C66E3318B31E82654C5A62957F68D2EE6AE10BD6678D7A14EEF8EBF0C85F28FE22056C12B2A2DD4E9C897EB2FF06D57DB03B872C049ED2806DC3E4D86F2947D134065AC642F233F95FBCB55C533274FA91FFDC0CEB9E71B8795B71A977C7956001FC19E28DE18A80B20E4AE8F775B952CEEA0DEFEAE8E93D7F020120022B1EC74E9FC5EEA090E8DDF4BDB64861C7DC3F8EC7E64286EC2FE39DA55B4763C582DB48146521BDEF0146D5022B1E559EB15755298408E4E4C6F4791BF075C7A8C9B3C7F5B7FA3E8C322BA0A160C09A9DB6BBC4974BE0F877 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Developer Studio generated include file. 3 | // Used by cryptopp.rc 4 | // 5 | 6 | // Next default values for new objects 7 | // 8 | #ifdef APSTUDIO_INVOKED 9 | #ifndef APSTUDIO_READONLY_SYMBOLS 10 | #define _APS_NEXT_RESOURCE_VALUE 101 11 | #define _APS_NEXT_COMMAND_VALUE 40001 12 | #define _APS_NEXT_CONTROL_VALUE 1000 13 | #define _APS_NEXT_SYMED_VALUE 101 14 | #endif 15 | #endif 16 | -------------------------------------------------------------------------------- /vendor/mio/cmake/mio-config.cmake.in: -------------------------------------------------------------------------------- 1 | include(CMakeDependentOption) 2 | 3 | CMAKE_DEPENDENT_OPTION(mio.windows.full_api 4 | "Configure mio without WIN32_LEAN_AND_MEAN and NOMINMAX definitions" 5 | @mio.windows.full_api@ "WIN32" ON) 6 | 7 | include("${CMAKE_CURRENT_LIST_DIR}/mio-targets.cmake") 8 | 9 | if(NOT mio.windows.full_api) 10 | set_property(TARGET mio::mio APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS 11 | WIN32_LEAN_AND_MEAN 12 | NOMINMAX) 13 | endif() 14 | -------------------------------------------------------------------------------- /src/EterLib/ReferenceObject.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CReferenceObject 4 | { 5 | public: 6 | CReferenceObject(); 7 | virtual ~CReferenceObject(); 8 | 9 | void AddReference(); 10 | void AddReferenceOnly(); 11 | void Release(); 12 | 13 | int GetReferenceCount(); 14 | 15 | bool canDestroy(); 16 | 17 | protected: 18 | virtual void OnConstruct(); 19 | virtual void OnSelfDestruct(); 20 | 21 | private: 22 | int m_refCount; 23 | bool m_destructed; 24 | }; 25 | -------------------------------------------------------------------------------- /src/EterLib/ScreenFilter.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "GrpScreen.h" 4 | 5 | class CScreenFilter : public CScreen 6 | { 7 | public: 8 | CScreenFilter(); 9 | virtual ~CScreenFilter(); 10 | 11 | void SetEnable(BOOL bFlag); 12 | void SetBlendType(BYTE bySrcType, BYTE byDestType); 13 | void SetColor(const D3DXCOLOR & c_rColor); 14 | 15 | void Render(); 16 | 17 | protected: 18 | BOOL m_bEnable; 19 | BYTE m_bySrcType; 20 | BYTE m_byDestType; 21 | D3DXCOLOR m_Color; 22 | }; -------------------------------------------------------------------------------- /src/EterLib/MSApplication.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "MSWindow.h" 4 | 5 | class CMSApplication : public CMSWindow 6 | { 7 | public: 8 | CMSApplication(); 9 | virtual ~CMSApplication(); 10 | 11 | void Initialize(HINSTANCE hInstance); 12 | 13 | void MessageLoop(); 14 | 15 | bool IsMessage(); 16 | bool MessageProcess(); 17 | 18 | protected: 19 | void ClearWindowClass(); 20 | 21 | LRESULT WindowProcedure(HWND hWnd, UINT uiMsg, WPARAM wParam, LPARAM lParam); 22 | }; 23 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/docker/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## Requirement 3 | 4 | The `Dockerfile` script requires a version of `docker` >= 17.05 5 | 6 | ## Installing docker 7 | 8 | The official docker install docs use a ppa with a modern version available: 9 | https://docs.docker.com/install/linux/docker-ce/ubuntu/ 10 | 11 | ## How to run 12 | 13 | `docker build -t zstd .` 14 | 15 | ## test 16 | 17 | ``` 18 | echo foo | docker run -i --rm zstd | docker run -i --rm zstd zstdcat 19 | foo 20 | ``` 21 | -------------------------------------------------------------------------------- /src/EterLocale/StringCodec.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int Ymir_WideCharToMultiByte( 4 | UINT CodePage, 5 | DWORD dwFlags, 6 | LPCWSTR lpWideCharStr, 7 | int cchWideChar, 8 | LPSTR lpMultiByteStr, 9 | int cbMultiByte, 10 | LPCSTR lpDefaultChar, 11 | LPBOOL lpUsedDefaultChar 12 | ); 13 | 14 | int Ymir_MultiByteToWideChar( 15 | UINT CodePage, 16 | DWORD dwFlags, 17 | LPCSTR lpMultiByteStr, 18 | int cbMultiByte, 19 | LPWSTR lpWideCharStr, 20 | int cchWideChar 21 | ); -------------------------------------------------------------------------------- /src/EterBase/Poly/Base.h: -------------------------------------------------------------------------------- 1 | #ifndef __POLY_BASE_H__ 2 | #define __POLY_BASE_H__ 3 | 4 | #define MID_UNKNOWN 0 5 | #define MID_NUMBER 256 6 | #define MID_VARIABLE 512 7 | #define MID_SYMBOL 1024 8 | 9 | #define MID_LONG MID_NUMBER + 1 10 | #define MID_SQRT MID_NUMBER + 2 11 | #define MID_FRACTION MID_NUMBER + 3 12 | 13 | class CBase 14 | { 15 | public: 16 | bool isSymbol(); 17 | bool isVar(); 18 | bool isNumber(); 19 | int id; 20 | CBase(); 21 | virtual ~CBase(); 22 | 23 | }; 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/decompression/pass-through.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | file :230.00% ( 10 B => 23 B, file.zst) 2 | zstd: file: unsupported format 3 | zstd: file: unsupported format 4 | zstd: file: unsupported format 5 | zstd: file: unsupported format 6 | zstd: /*stdin*\: unsupported format 7 | zstd: file: unsupported format 8 | zstd: file: unsupported format 9 | zstd: /*stdin*\: unsupported format 10 | zstd: /*stdin*\: unsupported format 11 | zstd: file: unsupported format 12 | -------------------------------------------------------------------------------- /src/EterLib/PathStack.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | class CPathStack 7 | { 8 | public: 9 | CPathStack(); 10 | virtual ~CPathStack(); 11 | 12 | void SetBase(); 13 | 14 | void MoveBase(); 15 | 16 | void Push(); 17 | 18 | bool Pop(); 19 | 20 | void Move(const char* c_szPathName); 21 | void GetCurrentPathName(std::string* pstCurPathName); 22 | 23 | protected: 24 | std::string m_stBasePathName; 25 | std::deque m_stPathNameDeque; 26 | }; 27 | -------------------------------------------------------------------------------- /src/ScriptLib/Resource.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "EffectLib/StdAfx.h" 4 | #include "EterLib/Resource.h" 5 | #include "EterLib/ResourceManager.h" 6 | 7 | enum EResourceTypes 8 | { 9 | RES_TYPE_UNKNOWN, 10 | }; 11 | 12 | class CPythonResource : public CSingleton 13 | { 14 | public: 15 | CPythonResource(); 16 | virtual ~CPythonResource(); 17 | 18 | void Destroy(); 19 | 20 | void DumpFileList(const char * c_szFileName); 21 | 22 | protected: 23 | CResourceManager m_resManager; 24 | }; -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/.gitignore: -------------------------------------------------------------------------------- 1 | # Visual C++ 2 | .vs/ 3 | *Copy 4 | *.db 5 | *.opensdf 6 | *.sdf 7 | *.suo 8 | *.user 9 | *.opendb 10 | 11 | VS2008/bin/ 12 | VS2010/bin/ 13 | VS2010/zwrapbench/ 14 | VS2012/ 15 | VS2013/ 16 | VS2015/ 17 | Studio* 18 | 19 | # CMake 20 | cmake/build/ 21 | CMakeCache.txt 22 | CMakeFiles 23 | CMakeScripts 24 | Testing 25 | Makefile 26 | cmake_install.cmake 27 | install_manifest.txt 28 | compile_commands.json 29 | CTestTestfile.cmake 30 | build 31 | lib 32 | !cmake/lib 33 | !meson/lib 34 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/multi-threaded.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | file.zst : 65537 bytes 2 | file.zst : 65537 bytes 3 | file.zst : 65537 bytes 4 | file.zst : 65537 bytes 5 | file.zst : 65537 bytes 6 | file.zst : 65537 bytes 7 | file.zst : 65537 bytes 8 | file.zst : 65537 bytes 9 | file.zst : 65537 bytes 10 | Warning : decompression does not support multi-threading 11 | file.zst : 65537 bytes 12 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/sharkval.dat: -------------------------------------------------------------------------------- 1 | 00000000000000000000000000000000 0000000000000000 214BCF4E7716420A 2 | 000102030405060708090A0B0C0D0E0F 0000000000000000 C76C696289898137 3 | 000102030405060708090A0B0C0D0E0F C76C696289898137 077A4A59FAEEEA4D 4 | 915F4619BE41B2516355A50110A9CE91 21A5DBEE154B8F6D 6FF33B98F448E95A 5 | 783348E75AEB0F2FD7B169BB8DC16787 F7C013AC5B2B8952 E5E554ABE9CED2D2 6 | DC49DB1375A5584F6485B413B5F12BAF 2F42B3B70369FC92 9AE068313F343A7A 7 | 5269F149D41BA0152497574D7F153125 65C178B284D197CC D3F111A282F17F29 8 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dictionaries/setup_once: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | . "$COMMON/platform.sh" 6 | 7 | 8 | mkdir files/ dicts/ 9 | 10 | for seed in $(seq 50); do 11 | datagen -g1000 -s$seed > files/$seed 12 | done 13 | 14 | zstd --train -r files -o dicts/0 -qq 15 | 16 | for seed in $(seq 51 100); do 17 | datagen -g1000 -s$seed > files/$seed 18 | done 19 | 20 | zstd --train -r files -o dicts/1 -qq 21 | 22 | cmp dicts/0 dicts/1 && die "dictionaries must not match!" 23 | 24 | datagen -g1000 > files/0 25 | -------------------------------------------------------------------------------- /extern/library/SpeedTree/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_library(SpeedTree STATIC IMPORTED GLOBAL) 2 | 3 | set_target_properties(SpeedTree PROPERTIES 4 | INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_SOURCE_DIR}/extern/include" 5 | ) 6 | 7 | set_target_properties(SpeedTree PROPERTIES 8 | IMPORTED_LOCATION_DEBUG "${CMAKE_CURRENT_LIST_DIR}/speedtree_staticd.lib" 9 | IMPORTED_LOCATION_RELEASE "${CMAKE_CURRENT_LIST_DIR}/speedtree_static.lib" 10 | IMPORTED_LOCATION_RELWITHDEBINFO "${CMAKE_CURRENT_LIST_DIR}/speedtree_static.lib" 11 | ) 12 | -------------------------------------------------------------------------------- /src/EterGrnLib/StdAfx.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #pragma warning(disable:4786) // character 255 넘어가는거 끄기 4 | 5 | //#include 6 | #include 7 | 8 | #include "EterBase/Utils.h" 9 | #include "EterBase/Debug.h" 10 | #include "EterBase/Stl.h" 11 | 12 | #include "Util.h" 13 | 14 | // Armadillo nanomite protection 15 | #ifndef NANOBEGIN 16 | #ifdef __BORLANDC__ 17 | #define NANOBEGIN 18 | #define NANOEND 19 | #else 20 | #define NANOBEGIN 21 | #define NANOEND 22 | #endif 23 | #endif 24 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_crc.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | #if (CRYPTOPP_ARM_ACLE_HEADER) 6 | # include 7 | # include 8 | #endif 9 | 10 | // Keep sync'd with arm_simd.h 11 | #include "../arm_simd.h" 12 | 13 | int main(int argc, char* argv[]) 14 | { 15 | uint32_t w=0xffffffff; 16 | 17 | w = CRC32B(w,w); 18 | w = CRC32W(w,w); 19 | w = CRC32CB(w,w); 20 | w = CRC32CW(w,w); 21 | 22 | return 0; 23 | } 24 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_sha512.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | // SHA512 hash 9 | // https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics?search=SHA512 10 | uint32x4_t w={0}, x={0}, y={0}, z={0}; 11 | w=vsha512hq_u64(x,y,z); 12 | w=vsha512h2q_u64(x,y); 13 | w=vsha512su0q_u64(x,y); 14 | w=vsha512su1q_u64 (x,y,z); 15 | 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /src/PackLib/Pack.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | 5 | #include "config.h" 6 | 7 | class CPack : public std::enable_shared_from_this 8 | { 9 | public: 10 | CPack() = default; 11 | ~CPack() = default; 12 | 13 | bool Open(const std::string& path, TPackFileMap& entries); 14 | bool GetFile(const TPackFileEntry& entry, TPackFile& result); 15 | 16 | private: 17 | TPackFileHeader m_header; 18 | mio::mmap_source m_file; 19 | 20 | CryptoPP::CTR_Mode::Decryption m_decryption; 21 | }; -------------------------------------------------------------------------------- /vendor/cryptopp/dlltest.vcxproj.filters: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | {d7fe0401-fa2d-40cd-80b9-b91f937996a3} 6 | .cpp 7 | 8 | 9 | 10 | 11 | Source Files 12 | 13 | 14 | -------------------------------------------------------------------------------- /src/EterBase/TempFile.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "TempFile.h" 3 | #include "Utils.h" 4 | #include "Debug.h" 5 | 6 | CTempFile::~CTempFile() 7 | { 8 | Destroy(); 9 | DeleteFile(m_szFileName); 10 | } 11 | 12 | CTempFile::CTempFile(const char * c_pszPrefix) 13 | { 14 | strncpy(m_szFileName, CreateTempFileName(c_pszPrefix), MAX_PATH); 15 | 16 | if (!Create(m_szFileName, CFileBase::FILEMODE_WRITE)) 17 | { 18 | TraceError("CTempFile::CTempFile cannot create temporary file. (filename: %s)", m_szFileName); 19 | return; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/Discord/connection.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | // This is to wrap the platform specific kinds of connect/read/write. 4 | 5 | #include 6 | #include 7 | 8 | // not really connectiony, but need per-platform 9 | int GetProcessId(); 10 | 11 | struct BaseConnection { 12 | static BaseConnection* Create(); 13 | static void Destroy(BaseConnection*&); 14 | bool isOpen{false}; 15 | bool Open(); 16 | bool Close(); 17 | bool Write(const void* data, size_t length); 18 | bool Read(void* data, size_t length); 19 | }; 20 | -------------------------------------------------------------------------------- /src/UserInterface/InstanceBaseEvent.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "InstanceBase.h" 3 | 4 | CActorInstance::IEventHandler& CInstanceBase::GetEventHandlerRef() 5 | { 6 | return m_GraphicThingInstance.__GetEventHandlerRef(); 7 | } 8 | 9 | CActorInstance::IEventHandler* CInstanceBase::GetEventHandlerPtr() 10 | { 11 | return m_GraphicThingInstance.__GetEventHandlerPtr(); 12 | } 13 | 14 | void CInstanceBase::SetEventHandler(CActorInstance::IEventHandler* pkEventHandler) 15 | { 16 | m_GraphicThingInstance.SetEventHandler(pkEventHandler); 17 | } 18 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_sha3.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | // Keep sync'd with arm_simd.h 7 | #include "../arm_simd.h" 8 | 9 | int main(int argc, char* argv[]) 10 | { 11 | // SHA3 intrinsics are merely ARMv8.2 instructions. 12 | // https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics 13 | uint32x4_t x={0}, y={1}, z={2}; 14 | x=VEOR3(x,y,z); 15 | x=VXAR(y,z,6); 16 | x=VRAX1(y,z); 17 | 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/cmake/CMakeModules/GetZstdLibraryVersion.cmake: -------------------------------------------------------------------------------- 1 | function(GetZstdLibraryVersion _header _major _minor _patch) 2 | # Read file content 3 | file(READ ${_header} CONTENT) 4 | 5 | string(REGEX MATCH ".*define ZSTD_VERSION_MAJOR *([0-9]+).*define ZSTD_VERSION_MINOR *([0-9]+).*define ZSTD_VERSION_RELEASE *([0-9]+)" VERSION_REGEX "${CONTENT}") 6 | set(${_major} ${CMAKE_MATCH_1} PARENT_SCOPE) 7 | set(${_minor} ${CMAKE_MATCH_2} PARENT_SCOPE) 8 | set(${_patch} ${CMAKE_MATCH_3} PARENT_SCOPE) 9 | endfunction() 10 | 11 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/adapt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | # Test --adapt 6 | zstd -f file --adapt -c | zstd -t 7 | 8 | datagen -g100M > file100M 9 | 10 | # Pick parameters to force fast adaptation, even on slow systems 11 | zstd --adapt -vvvv -19 --zstd=wlog=10 file100M -o /dev/null 2>&1 | grep -q "faster speed , lighter compression" 12 | 13 | # Adaption still happens with --no-progress 14 | zstd --no-progress --adapt -vvvv -19 --zstd=wlog=10 file100M -o /dev/null 2>&1 | grep -q "faster speed , lighter compression" 15 | -------------------------------------------------------------------------------- /src/EterLib/EnvironmentMap.cpp: -------------------------------------------------------------------------------- 1 | // EnvironmentMap.cpp: implementation of the CEnvironmentMap class. 2 | // 3 | ////////////////////////////////////////////////////////////////////// 4 | 5 | #include "stdafx.h" 6 | #include "EnvironmentMap.h" 7 | 8 | ////////////////////////////////////////////////////////////////////// 9 | // Construction/Destruction 10 | ////////////////////////////////////////////////////////////////////// 11 | 12 | CEnvironmentMap::CEnvironmentMap() 13 | { 14 | 15 | } 16 | 17 | CEnvironmentMap::~CEnvironmentMap() 18 | { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/dh2048.dat: -------------------------------------------------------------------------------- 1 | 308201080282010100EB60DBD494AAFBCD2EAC6A36DB8E7DD4A2A64512A5BBB15B9BFB581C7C1CAFB647D4612973C3770C2166D75EEA695F67EA8261557591DB78BCF5A886AA5294F3AEE4D25B57C8EE8C7FE8DBF70C132CD7FFCB6F89426F807F552C5DAE2FB1F329E340094E4B30D8EF6265AB4D350E9837B151C86AC524DE4E1FC04746C668BE318275E420D51AEDDFBDF887D435CDEEF6AC81293DB45287132F8236A43AD8F4D6642D7CA6732DA06A1DE008259008C9D74403B68ADAC788CF8AB5BEFFC310DCCCD32901D1F290E5B7A993D2CF6A652AF81B6DA0FD2E70678D1AE086150E41444522F20621195AD2A1F0975652B4AF7DE5261A9FD46B9EA8B443641F3BBA695B9B020103 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/zlibWrapper/BUCK: -------------------------------------------------------------------------------- 1 | cxx_library( 2 | name='zlib_wrapper', 3 | visibility=['PUBLIC'], 4 | exported_linker_flags=['-lz'], 5 | header_namespace='', 6 | exported_headers=['zstd_zlibwrapper.h'], 7 | headers=[ 8 | 'gzcompatibility.h', 9 | 'gzguts.h', 10 | ], 11 | srcs=glob(['*.c']), 12 | deps=[ 13 | '//lib:zstd', 14 | '//lib:zstd_common', 15 | ], 16 | ) 17 | 18 | cxx_binary( 19 | name='minigzip', 20 | srcs=['examples/minigzip.c'], 21 | deps=[':zlib_wrapper'], 22 | ) 23 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/basic/args.sh.stderr.glob: -------------------------------------------------------------------------------- 1 | + zstd --blah 2 | Incorrect parameter: --blah 3 | ... 4 | Usage: zstd * 5 | 6 | Options: 7 | ... 8 | + zstd -xz 9 | Incorrect parameter: -x 10 | ... 11 | Usage: zstd * 12 | 13 | Options: 14 | ... 15 | + zstd --adapt=min=1,maxx=2 file.txt 16 | Incorrect parameter: --adapt=min=1,maxx=2 17 | ... 18 | Usage: zstd * 19 | 20 | Options: 21 | ... 22 | + zstd --train-cover=k=48,d=8,steps32 file.txt 23 | Incorrect parameter: --train-cover=k=48,d=8,steps32 24 | ... 25 | Usage: zstd * 26 | 27 | Options: 28 | ... 29 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/pzstd/utils/Portability.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | */ 9 | 10 | #pragma once 11 | 12 | #include 13 | 14 | // Required for windows, which defines min/max, but we want the std:: version. 15 | #undef min 16 | #undef max 17 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/golden.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | GOLDEN_DIR="$ZSTD_REPO_DIR/tests/golden-compression/" 6 | cp -r "$GOLDEN_DIR" golden/ 7 | 8 | zstd -rf golden/ --output-dir-mirror golden-compressed/ 9 | zstd -r -t golden-compressed/ 10 | 11 | zstd --target-compressed-block-size=1024 -rf golden/ --output-dir-mirror golden-compressed/ 12 | zstd -r -t golden-compressed/ 13 | 14 | # PR #3517 block splitter corruption test 15 | zstd -rf -19 --zstd=mml=7 golden/ --output-dir-mirror golden-compressed/ 16 | zstd -r -t golden-compressed/ -------------------------------------------------------------------------------- /src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(AudioLib) 2 | add_subdirectory(Discord) 3 | add_subdirectory(EffectLib) 4 | add_subdirectory(EterBase) 5 | add_subdirectory(EterGrnLib) 6 | add_subdirectory(EterImageLib) 7 | add_subdirectory(EterLib) 8 | add_subdirectory(EterLocale) 9 | add_subdirectory(EterPythonLib) 10 | add_subdirectory(GameLib) 11 | add_subdirectory(PRTerrainLib) 12 | add_subdirectory(ScriptLib) 13 | add_subdirectory(SpeedTreeLib) 14 | add_subdirectory(SphereLib) 15 | add_subdirectory(UserInterface) 16 | add_subdirectory(PackMaker) 17 | add_subdirectory(PackLib) 18 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/decompress-stdin-to-stdout.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | Trace:FileStat: > UTIL_isConsole(0) 2 | Trace:FileStat: < 0 3 | Trace:FileStat: > UTIL_isConsole(1) 4 | Trace:FileStat: < 0 5 | Trace:FileStat: > UTIL_isConsole(2) 6 | Trace:FileStat: < 0 7 | Trace:FileStat: > UTIL_isDirectory(/*stdin*\) 8 | Trace:FileStat: > UTIL_stat(-1, /*stdin*\) 9 | Trace:FileStat: < 0 10 | Trace:FileStat: < 0 11 | Trace:FileStat: > UTIL_isRegularFile(/*stdout*\) 12 | Trace:FileStat: > UTIL_stat(-1, /*stdout*\) 13 | Trace:FileStat: < 0 14 | Trace:FileStat: < 0 15 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/test/include/linux/errno.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | #ifndef LINUX_ERRNO_H 11 | #define LINUX_ERRNO_H 12 | 13 | #define EINVAL 22 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/lib/libzstd.pc.in: -------------------------------------------------------------------------------- 1 | # ZSTD - standard compression algorithm 2 | # Copyright (c) Meta Platforms, Inc. and affiliates. 3 | # BSD 2-Clause License (https://opensource.org/licenses/bsd-license.php) 4 | 5 | prefix=@PREFIX@ 6 | exec_prefix=@EXEC_PREFIX@ 7 | includedir=@INCLUDEDIR@ 8 | libdir=@LIBDIR@ 9 | 10 | Name: zstd 11 | Description: fast lossless compression algorithm library 12 | URL: https://facebook.github.io/zstd/ 13 | Version: @VERSION@ 14 | Libs: -L${libdir} -lzstd @LIBS_MT@ 15 | Libs.private: @LIBS_PRIVATE@ 16 | Cflags: -I${includedir} @LIBS_MT@ 17 | -------------------------------------------------------------------------------- /src/EterLib/NetDatagramSender.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef VC_EXTRALEAN 4 | 5 | class CNetDatagramSender 6 | { 7 | public: 8 | CNetDatagramSender(); 9 | virtual ~CNetDatagramSender(); 10 | 11 | BOOL isSocket(); 12 | 13 | BOOL SetSocket(const char * c_szIP, WORD wPortIndex); 14 | BOOL SetSocket(DWORD dwAddress, WORD wPortIndex); 15 | BOOL Send(const void * pBuffer, int iSize); 16 | 17 | protected: 18 | BOOL m_isSocket; 19 | 20 | WORD m_dwAddress; 21 | WORD m_wPortIndex; 22 | 23 | SOCKET m_Socket; 24 | SOCKADDR_IN m_SockAddr; 25 | }; 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/test/include/linux/limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | #ifndef LINUX_LIMITS_H 11 | #define LINUX_LIMITS_H 12 | 13 | #include 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/test/include/linux/printk.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | #ifndef LINUX_PRINTK_H 11 | #define LINUX_PRINTK_H 12 | 13 | #define pr_debug(...) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/test/include/linux/stddef.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | #ifndef LINUX_STDDEF_H 11 | #define LINUX_STDDEF_H 12 | 13 | #include 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /extern/include/python/pystrcmp.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_STRCMP_H 2 | #define Py_STRCMP_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_FUNC(int) PyOS_mystrnicmp(const char *, const char *, Py_ssize_t); 9 | PyAPI_FUNC(int) PyOS_mystricmp(const char *, const char *); 10 | 11 | #if defined(MS_WINDOWS) || defined(PYOS_OS2) 12 | #define PyOS_strnicmp strnicmp 13 | #define PyOS_stricmp stricmp 14 | #else 15 | #define PyOS_strnicmp PyOS_mystrnicmp 16 | #define PyOS_stricmp PyOS_mystricmp 17 | #endif 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* !Py_STRCMP_H */ 24 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_arm_sm3.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | #ifdef CRYPTOPP_ARM_NEON_HEADER 3 | # include 4 | #endif 5 | 6 | int main(int argc, char* argv[]) 7 | { 8 | // SM3 hash 9 | // https://developer.arm.com/architectures/instruction-sets/simd-isas/neon/intrinsics?search=SM3 10 | uint32x4_t y; 11 | y=vsm3ss1q_u32(x,y,y); 12 | y=vsm3tt1aq_u32(x,y,y,3); 13 | y=vsm3tt1bq_u32(x,y,y,1); 14 | y=vsm3tt2aq_u32(x,y,y,2); 15 | y=vsm3tt2bq_u32(x,y,y,3); 16 | y=vsm3partw1q_u32(x,y,y); 17 | y=vsm3partw2q_u32(x,y,y); 18 | return 0; 19 | } 20 | -------------------------------------------------------------------------------- /src/EterLib/TextBar.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "DibBar.h" 4 | 5 | class CTextBar : public CDibBar 6 | { 7 | public: 8 | CTextBar(int fontSize, bool isBold); 9 | virtual ~CTextBar(); 10 | 11 | void TextOut(int ix, int iy, const char * c_szText); 12 | void SetTextColor(int r, int g, int b); 13 | void GetTextExtent(const char * c_szText, SIZE* p_size); 14 | 15 | protected: 16 | void __SetFont(int fontSize, bool isBold); 17 | 18 | void OnCreate(); 19 | 20 | protected: 21 | HFONT m_hFont; 22 | HFONT m_hOldFont; 23 | 24 | int m_fontSize; 25 | bool m_isBold; 26 | }; 27 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/mqv1024.dat: -------------------------------------------------------------------------------- 1 | 3082011E028181009A21FC66469293103CEF66960B17880F905C738DB692B7481922FC2D454D14067C6BFC158B93FCC1B8D128D4D86D893082F8A3592238EE8B693B6245F26F55968D7D13752D6BFBA271E8E36E11482815D887BB9F6B600E820E7E2AF2EE6ECDBC1CB35B12A4EF48A8907C090482DE7D49B751BB3A50F78BE29506114BC85D3A6102150C896422EC558A74B883BA85E2F10D4A58F28D2B09028180350C4BB19C0A9B224E5E1BACCC1B1952A97628021B4673831C851C3280F06D3EFA73DAE27E5D4E4A0499E0B2B9A369649E883A1F260EF250B5CCF3E3C922332B210EEA07D3BF92210BA7A7374A30DDDE3D1B3D575B77CD36B001EAE4A2A3BFAFF12FCE74F3330B30ACF6DCFF580ECBFB5B00FD5DD2B8EA9DB09C7E1C7100BD67 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestPrograms/test_ppc_vmull.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main(int argc, char* argv[]) 3 | { 4 | __vector unsigned long long x = {1,2}; 5 | __vector unsigned long long y = {3,4}; 6 | 7 | #if defined(__ibmxl__) || (defined(_AIX) && defined(__xlC__)) 8 | __vector unsigned long long z=__vpmsumd(x,y); 9 | #elif defined(__clang__) 10 | __vector unsigned long long z=__builtin_altivec_crypto_vpmsumd(x,y); 11 | #elif defined(__GNUC__) 12 | __vector unsigned long long z=__builtin_crypto_vpmsumd(x,y); 13 | #else 14 | int XXX[-1]; 15 | #endif 16 | return 0; 17 | } 18 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/cmake/contrib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # ################################################################ 2 | # Copyright (c) Meta Platforms, Inc. and affiliates. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under both the BSD-style license (found in the 6 | # LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | # in the COPYING file in the root directory of this source tree). 8 | # ################################################################ 9 | 10 | project(contrib) 11 | 12 | add_subdirectory(pzstd) 13 | add_subdirectory(gen_html) 14 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/test/include/linux/types.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | #ifndef LINUX_TYPES_H 11 | #define LINUX_TYPES_H 12 | 13 | #include 14 | #include 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/multiple-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | # setup 5 | echo "file1" > file1 6 | echo "file2" > file2 7 | 8 | echo "Test zstd ./file1 - file2" 9 | rm -f ./file*.zst 10 | echo "stdin" | zstd ./file1 - ./file2 | zstd -d 11 | cat file1.zst | zstd -d 12 | cat file2.zst | zstd -d 13 | 14 | echo "Test zstd -d ./file1.zst - file2.zst" 15 | rm ./file1 ./file2 16 | echo "stdin" | zstd - | zstd -d ./file1.zst - file2.zst 17 | cat file1 18 | cat file2 19 | 20 | echo "zstd -d ./file1.zst - file2.zst -c" 21 | echo "stdin" | zstd | zstd -d ./file1.zst - file2.zst -c 22 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/gen_html/gen-zstd-manual.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | LIBVER_MAJOR_SCRIPT=`sed -n '/define ZSTD_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/zstd.h` 4 | LIBVER_MINOR_SCRIPT=`sed -n '/define ZSTD_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/zstd.h` 5 | LIBVER_PATCH_SCRIPT=`sed -n '/define ZSTD_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ../../lib/zstd.h` 6 | LIBVER_SCRIPT=$LIBVER_MAJOR_SCRIPT.$LIBVER_MINOR_SCRIPT.$LIBVER_PATCH_SCRIPT 7 | 8 | echo ZSTD_VERSION=$LIBVER_SCRIPT 9 | ./gen_html $LIBVER_SCRIPT ../../lib/zstd.h ./zstd_manual.html 10 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/.gitignore: -------------------------------------------------------------------------------- 1 | # local binary (Makefile) 2 | zstd 3 | zstd32 4 | zstd4 5 | zstd-compress 6 | zstd-decompress 7 | zstd-frugal 8 | zstd-small 9 | zstd-nolegacy 10 | zstd-dictBuilder 11 | zstd-dll 12 | zstd_arm64 13 | zstd_x64 14 | 15 | # Object files 16 | *.o 17 | *.ko 18 | default.profraw 19 | have_zlib 20 | 21 | # Executables 22 | *.exe 23 | *.out 24 | *.app 25 | 26 | # Default result files 27 | dictionary 28 | grillResults.txt 29 | _* 30 | tmp* 31 | *.zst 32 | result 33 | out 34 | 35 | # fuzzer 36 | afl 37 | 38 | # Misc files 39 | *.bat 40 | !windres/generate_res.bat 41 | dirTest* 42 | -------------------------------------------------------------------------------- /src/EterLib/GrpRatioInstance.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CGraphicRatioInstance 4 | { 5 | public: 6 | CGraphicRatioInstance(); 7 | virtual ~CGraphicRatioInstance(); 8 | 9 | void Clear(); 10 | 11 | void SetRatioReference(const float& ratio); 12 | void BlendRatioReference(DWORD blendTime, const float& ratio); 13 | 14 | void Update(); 15 | 16 | const float& GetCurrentRatioReference() const; 17 | 18 | protected: 19 | DWORD GetTime(); 20 | 21 | protected: 22 | float m_curRatio; 23 | float m_srcRatio; 24 | float m_dstRatio; 25 | 26 | DWORD m_baseTime; 27 | DWORD m_blendTime; 28 | }; 29 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/common/permissions.sh: -------------------------------------------------------------------------------- 1 | . "$COMMON/platform.sh" 2 | 3 | GET_PERMS="stat -c %a" 4 | case "$UNAME" in 5 | Darwin | FreeBSD | OpenBSD | NetBSD) GET_PERMS="stat -f %Lp" ;; 6 | esac 7 | 8 | assertFilePermissions() { 9 | STAT1=$($GET_PERMS "$1") 10 | STAT2=$2 11 | [ "$STAT1" = "$STAT2" ] || die "permissions on $1 don't match expected ($STAT1 != $STAT2)" 12 | } 13 | 14 | assertSamePermissions() { 15 | STAT1=$($GET_PERMS "$1") 16 | STAT2=$($GET_PERMS "$2") 17 | [ "$STAT1" = "$STAT2" ] || die "permissions on $1 don't match those on $2 ($STAT1 != $STAT2)" 18 | } 19 | -------------------------------------------------------------------------------- /src/EterGrnLib/Motion.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CGrannyMotion 4 | { 5 | public: 6 | CGrannyMotion(); 7 | virtual ~CGrannyMotion(); 8 | 9 | bool IsEmpty(); 10 | 11 | void Destroy(); 12 | bool BindGrannyAnimation(granny_animation* pgrnAni); 13 | 14 | granny_animation * GetGrannyAnimationPointer() const; 15 | 16 | const char * GetName() const; 17 | float GetDuration() const; 18 | void GetTextTrack(const char * c_szTextTrackName, int * pCount, float * pArray) const; 19 | 20 | protected: 21 | void Initialize(); 22 | 23 | protected: 24 | granny_animation * m_pgrnAni; 25 | }; 26 | -------------------------------------------------------------------------------- /src/GameLib/FlyHandler.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class IFlyEventHandler 4 | { 5 | public: 6 | IFlyEventHandler() {} 7 | virtual ~IFlyEventHandler() {} 8 | 9 | // Call by ActorInstance 10 | virtual void OnSetFlyTarget() {} 11 | virtual void OnShoot(DWORD dwSkillIndex) {} 12 | 13 | virtual void OnNoTarget() {} 14 | virtual void OnNoArrow() {} 15 | 16 | // Call by FlyingInstance 17 | virtual void OnExplodingOutOfRange() {} 18 | virtual void OnExplodingAtBackground() {} 19 | virtual void OnExplodingAtAnotherTarget(DWORD dwSkillIndex, DWORD dwVID) {} 20 | virtual void OnExplodingAtTarget(DWORD dwSkillIndex) {} 21 | }; -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/test/include/linux/math64.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | #ifndef LINUX_MATH64_H 11 | #define LINUX_MATH64_H 12 | 13 | #define div_u64(dividend, divisor) ((dividend) / (divisor)) 14 | 15 | #endif 16 | -------------------------------------------------------------------------------- /src/UserInterface/InsultChecker.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CInsultChecker 4 | { 5 | public: 6 | CInsultChecker& GetSingleton(); 7 | 8 | public: 9 | CInsultChecker(); 10 | virtual ~CInsultChecker(); 11 | 12 | void Clear(); 13 | 14 | void AppendInsult(const std::string& c_rstInsult); 15 | bool IsInsultIn(const char* c_szLine, UINT uLineLen); 16 | void FilterInsult(char* szLine, UINT uLineLen); 17 | 18 | private: 19 | bool __GetInsultLength(const char* c_szWord, UINT* puInsultLen); 20 | bool __IsInsult(const char* c_szWord); 21 | 22 | private: 23 | std::list m_kList_stInsult; 24 | }; 25 | -------------------------------------------------------------------------------- /vendor/cryptopp/elgamal.cpp: -------------------------------------------------------------------------------- 1 | // elgamal.cpp - originally written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | #include "elgamal.h" 5 | #include "asn.h" 6 | #include "nbtheory.h" 7 | 8 | // Squash MS LNK4221 and libtool warnings 9 | extern const char ELGAMAL_FNAME[] = __FILE__; 10 | 11 | NAMESPACE_BEGIN(CryptoPP) 12 | 13 | #if defined(CRYPTOPP_DEBUG) && !defined(CRYPTOPP_DOXYGEN_PROCESSING) 14 | void ElGamal_TestInstantiations() 15 | { 16 | ElGamalEncryptor test1(1, 1, 1); 17 | ElGamalDecryptor test2(NullRNG(), 123); 18 | ElGamalEncryptor test3(test2); 19 | } 20 | #endif 21 | 22 | NAMESPACE_END 23 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/externalSequenceProducer/README.md: -------------------------------------------------------------------------------- 1 | externalSequenceProducer 2 | ===================== 3 | 4 | `externalSequenceProducer` is a test tool for the Block-Level Sequence Producer API. 5 | It demonstrates how to use the API to perform a simple round-trip test. 6 | 7 | A sample sequence producer is provided in sequence_producer.c, but the user can swap 8 | this out with a different one if desired. The sample sequence producer implements 9 | LZ parsing with a 1KB hashtable. Dictionary-based parsing is not currently supported. 10 | 11 | Command line : 12 | ``` 13 | externalSequenceProducer filename 14 | ``` 15 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/contrib/linux-kernel/test/include/linux/swab.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | #ifndef LINUX_SWAB_H 11 | #define LINUX_SWAB_H 12 | 13 | #define swab32(x) __builtin_bswap32((x)) 14 | #define swab64(x) __builtin_bswap64((x)) 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /src/UserInterface/PythonNetworkStreamEvent.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "PythonNetworkStream.h" 3 | 4 | void CPythonNetworkStream::OnRemoteDisconnect() 5 | { 6 | PyCallClassMemberFunc(m_poHandler, "SetLoginPhase", Py_BuildValue("()")); 7 | } 8 | 9 | void CPythonNetworkStream::OnDisconnect() 10 | { 11 | } 12 | 13 | ///////////////////////////////////////////////////////////////////////////////////////////////////////// 14 | // Main Game 15 | void CPythonNetworkStream::OnScriptEventStart(int iSkin, int iIndex) 16 | { 17 | PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "OpenQuestWindow", Py_BuildValue("(ii)", iSkin, iIndex)); 18 | } -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/elgc1024.dat: -------------------------------------------------------------------------------- 1 | 308201360201003082011606062B0E070201013082010A02818100D18892CC35AD9E532C53810019E525CDE08882E6344D6787C366B171D68948F53D74F7923B148E0A0B4C9B956D695384DE24AC3034000B3C4AD4C8226470BBD88B5B053BCCB01E608B1352D6ED16324745253BDB204308E065368CB9D75ACDB290E671BD4CA1608500BFACD758E6E9EFAC8CCBAD83BE7E397A62E4F55634FC3B02818068C449661AD6CF299629C0800CF292E6F04441731A26B3C3E1B358B8EB44A47A9EBA7BC91D8A470505A64DCAB6B4A9C26F1256181A00059E256A641132385DEC45AD829DE6580F304589A96B768B1923A2929DED90218470329B465CEBAD66D9487338DEA650B042805FD66BAC7374F7D64665D6C1DF3F1CBD31727AAB1A7E1D0201030417021504ED7AED68B1A5EFDE11262210D9F1121D4A119CE8 -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/loremOut.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | 11 | /* LOREM_genOut(): 12 | * Generate @size bytes of compressible data using lorem ipsum generator into 13 | * stdout. 14 | */ 15 | void LOREM_genOut(unsigned long long size, unsigned seed); 16 | -------------------------------------------------------------------------------- /extern/include/python/iterobject.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_ITEROBJECT_H 2 | #define Py_ITEROBJECT_H 3 | /* Iterators (the basic kind, over a sequence) */ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | PyAPI_DATA(PyTypeObject) PySeqIter_Type; 9 | 10 | #define PySeqIter_Check(op) (Py_TYPE(op) == &PySeqIter_Type) 11 | 12 | PyAPI_FUNC(PyObject *) PySeqIter_New(PyObject *); 13 | 14 | PyAPI_DATA(PyTypeObject) PyCallIter_Type; 15 | 16 | #define PyCallIter_Check(op) (Py_TYPE(op) == &PyCallIter_Type) 17 | 18 | PyAPI_FUNC(PyObject *) PyCallIter_New(PyObject *, PyObject *); 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_ITEROBJECT_H */ 23 | 24 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/dlie1024.dat: -------------------------------------------------------------------------------- 1 | 308201370201003082011706072A8648CE3804013082010A02818100D4EC6B7A18416519C76766726B3D2D5F054D107B30E97691B15EB0DCDF452B77F10E12C14450AB107BE349C2DF3A2DBD9D844A24ABA21B328D568E8EC6B959E70BADE5C49879AE4447F643360523469B55AFDC459B45634F657AA79918772F2BA9508ACD43C95C16650A1251B8173EBA1B9B59FE8C57F6240EA49A4FE8855CEF0281806A7635BD0C20B28CE3B3B339359E96AF82A6883D9874BB48D8AF586E6FA295BBF8870960A22855883DF1A4E16F9D16DECEC2251255D10D9946AB4747635CACF385D6F2E24C3CD72223FB219B0291A34DAAD7EE22CDA2B1A7B2BD53CC8C3B9795D4A84566A1E4AE0B32850928DC0B9F5D0DCDACFF462BFB1207524D27F442AE77020102041702150C9C14EEFA749DCE9A2A4B7065768767BA48BBB62F 2 | -------------------------------------------------------------------------------- /src/EterLib/JpegFile.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | inline int jpeg_save(unsigned char* data_d, int width, int height, int quality, const char* filename) { return 0; } 6 | inline int jpeg_save_to_file(unsigned char* data_d, int width, int height, int quality, FILE* fi) { return 0; } 7 | inline int jpeg_save_to_mem(unsigned char* data_d, int width, int height, int quality, unsigned char* dest, int destsize) { return 0; } 8 | inline int jpeg_load(const char* filename, unsigned char** dest, int* width, int* height) { return 0; } 9 | inline int jpeg_load_from_mem(unsigned char* _data, int size_d, unsigned char* dest, int width, int height) { return 0; } -------------------------------------------------------------------------------- /src/EterLib/NetPacketHeaderMap.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "NetPacketHeaderMap.h" 3 | 4 | void CNetworkPacketHeaderMap::Set(int header, TPacketType rPacketType) 5 | { 6 | m_headerMap[header] = rPacketType; 7 | } 8 | bool CNetworkPacketHeaderMap::Get(int header, TPacketType * pPacketType) 9 | { 10 | std::map::iterator f=m_headerMap.find(header); 11 | 12 | if (m_headerMap.end()==f) 13 | return false; 14 | 15 | *pPacketType = f->second; 16 | 17 | return true; 18 | } 19 | 20 | CNetworkPacketHeaderMap::CNetworkPacketHeaderMap() 21 | { 22 | } 23 | 24 | CNetworkPacketHeaderMap::~CNetworkPacketHeaderMap() 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /src/EterLib/NetDatagram.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CNetworkDatagram 4 | { 5 | public: 6 | CNetworkDatagram(); 7 | virtual ~CNetworkDatagram(); 8 | 9 | void Destroy(); 10 | bool Create(UINT uPort); 11 | 12 | void Update(); 13 | 14 | bool CanRecv(); 15 | 16 | int PeekRecvFrom(UINT uBufLen, void* pvBuf, SOCKADDR_IN* pkSockAddrIn); 17 | int RecvFrom(UINT uBufLen, void* pvBuf, SOCKADDR_IN* pkSockAddrIn); 18 | int SendTo(UINT uBufLen, const void* c_pvBuf, const SOCKADDR_IN& c_rkSockAddrIn); 19 | 20 | private: 21 | void __Initialize(); 22 | 23 | private: 24 | SOCKET m_sock; 25 | 26 | fd_set m_fdsRecv; 27 | fd_set m_fdsSend; 28 | }; -------------------------------------------------------------------------------- /src/GameLib/PropertyLoader.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "EterBase/FileDir.h" 4 | 5 | class CPropertyManager; 6 | 7 | class CPropertyLoader : public CDir 8 | { 9 | public: 10 | CPropertyLoader(); 11 | virtual ~CPropertyLoader(); 12 | 13 | void SetPropertyManager(CPropertyManager * pPropertyManager); 14 | DWORD RegisterFile(const char* c_szPathName, const char* c_szFileName); 15 | 16 | virtual bool OnFolder(const char* c_szFilter, const char* c_szPathName, const char* c_szFileName); 17 | virtual bool OnFile(const char* c_szPathName, const char* c_szFileName); 18 | 19 | protected: 20 | CPropertyManager * m_pPropertyManager; 21 | }; 22 | -------------------------------------------------------------------------------- /src/EterLib/GrpTexture.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "GrpBase.h" 4 | 5 | class CGraphicTexture : public CGraphicBase 6 | { 7 | public: 8 | virtual bool IsEmpty() const; 9 | 10 | int GetWidth() const; 11 | int GetHeight() const; 12 | 13 | void SetTextureStage(int stage) const; 14 | LPDIRECT3DTEXTURE9 GetD3DTexture() const; 15 | 16 | void DestroyDeviceObjects(); 17 | 18 | protected: 19 | CGraphicTexture(); 20 | virtual ~CGraphicTexture(); 21 | 22 | void Destroy(); 23 | void Initialize(); 24 | 25 | protected: 26 | bool m_bEmpty; 27 | 28 | int m_width; 29 | int m_height; 30 | 31 | LPDIRECT3DTEXTURE9 m_lpd3dTexture; 32 | }; 33 | -------------------------------------------------------------------------------- /src/EterLib/GrpVertexBufferDynamic.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "GrpVertexBufferDynamic.h" 3 | 4 | bool CDynamicVertexBuffer::Create(int vtxCount, int fvf) 5 | { 6 | if (m_lpd3dVB) 7 | { 8 | if (m_fvf == fvf) 9 | { 10 | if (m_vtxCount >= vtxCount) 11 | return true; 12 | } 13 | } 14 | 15 | m_vtxCount = vtxCount; 16 | m_fvf = fvf; 17 | 18 | return CGraphicVertexBuffer::Create(m_vtxCount, m_fvf, D3DUSAGE_DYNAMIC | D3DUSAGE_WRITEONLY, D3DPOOL_DEFAULT); 19 | } 20 | 21 | CDynamicVertexBuffer::CDynamicVertexBuffer() 22 | { 23 | m_vtxCount = 0; 24 | m_fvf = 0; 25 | } 26 | 27 | CDynamicVertexBuffer::~CDynamicVertexBuffer() 28 | { 29 | } 30 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/fhmqv384.dat: -------------------------------------------------------------------------------- 1 | 30820140020101303C06072A8648CE3D0101023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF30640430FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC0430B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF046104AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB73617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973020101 -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/hmqv384.dat: -------------------------------------------------------------------------------- 1 | 30820140020101303C06072A8648CE3D0101023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFF30640430FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC0430B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF046104AA87CA22BE8B05378EB1C71EF320AD746E1D3B628BA79B9859F741E082542A385502F25DBF55296C3A545E3872760AB73617DE4A96262C6F5D9E98BF9292DC29F8F41DBD289A147CE9DA3113B5F0B8C00A60B1CE1D7E819D7A431D7C90EA0E5F023100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC7634D81F4372DDF581A0DB248B0A77AECEC196ACCC52973020101 -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/lucc1024.dat: -------------------------------------------------------------------------------- 1 | 3082013F0201003082011706072A8648CE3804013082010A02818100E16B572E39DB4D90689753D09CEA97B9CAE9C0AF04203AE5BC7FC985B85D5BB50B1EDEA30CAAD003B455640FEEA79E342F3E8CFF6761051B38D6931A2B0FD0DF8E2210E7DA74CAC5DC1A79D80CD8C0F9FC09D81BAEC94E2F3663F25B0140DF6B3D5AD04CBA27BCF24A92963319FB992E39544370FD28642FE07EB17EDA4D47B902818070B5AB971CEDA6C8344BA9E84E754BDCE574E05782101D72DE3FE4C2DC2EADDA858F6F5186556801DA2AB207F753CF1A179F467FB3B0828D9C6B498D1587E86FC7110873ED3A6562EE0D3CEC066C607CFE04EC0DD764A7179B31F92D80A06FB59EAD68265D13DE7925494B198CFDCC971CAA21B87E943217F03F58BF6D26A3DD020107041F021D03BDAFBB087B5A628730212217B01F15B303A0133D6AF4FC3CAF7286A8 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/meson/contrib/meson.build: -------------------------------------------------------------------------------- 1 | # ############################################################################# 2 | # Copyright (c) 2018-present Dima Krasner 3 | # lzutao 4 | # All rights reserved. 5 | # 6 | # This source code is licensed under both the BSD-style license (found in the 7 | # LICENSE file in the root directory of this source tree) and the GPLv2 (found 8 | # in the COPYING file in the root directory of this source tree). 9 | # ############################################################################# 10 | 11 | subdir('pzstd') 12 | subdir('gen_html') 13 | -------------------------------------------------------------------------------- /src/EterLib/NetDevice.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "NetDevice.h" 3 | 4 | CNetworkDevice::CNetworkDevice() 5 | { 6 | Initialize(); 7 | } 8 | 9 | CNetworkDevice::~CNetworkDevice() 10 | { 11 | Destroy(); 12 | } 13 | 14 | void CNetworkDevice::Initialize() 15 | { 16 | m_isWSA=false; 17 | } 18 | 19 | void CNetworkDevice::Destroy() 20 | { 21 | if (m_isWSA) 22 | { 23 | WSACleanup(); 24 | m_isWSA=false; 25 | } 26 | } 27 | 28 | bool CNetworkDevice::Create() 29 | { 30 | Destroy(); 31 | 32 | Initialize(); 33 | 34 | WSADATA wsaData; 35 | if (WSAStartup(MAKEWORD(1, 1), &wsaData)!=0) 36 | return false; 37 | 38 | m_isWSA=true; 39 | 40 | return true; 41 | } -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/fuzz/.gitignore: -------------------------------------------------------------------------------- 1 | # test artefacts 2 | corpora 3 | block_decompress 4 | block_round_trip 5 | dictionary_decompress 6 | dictionary_loader 7 | dictionary_round_trip 8 | dictionary_stream_round_trip 9 | raw_dictionary_round_trip 10 | simple_compress 11 | simple_decompress 12 | simple_round_trip 13 | stream_decompress 14 | stream_round_trip 15 | zstd_frame_info 16 | decompress_dstSize_tooSmall 17 | fse_read_ncount 18 | sequence_compression_api 19 | seekable_roundtrip 20 | huf_decompress 21 | huf_round_trip 22 | fuzz-*.log 23 | rt_lib_* 24 | d_lib_* 25 | crash-* 26 | decompress_cross_format 27 | generate_sequences 28 | 29 | # misc 30 | trace 31 | tmp* 32 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/fuzz/seq_prod_fuzz_example/README.md: -------------------------------------------------------------------------------- 1 | # Fuzzing a Custom Sequence Producer Plugin 2 | This directory contains example code for using a custom sequence producer in the zstd fuzzers. 3 | 4 | You can build and run the code in this directory using these commands: 5 | ``` 6 | $ make corpora 7 | $ make -C seq_prod_fuzz_example/ 8 | $ python3 ./fuzz.py build all --enable-fuzzer --enable-asan --enable-ubsan --cc clang --cxx clang++ --custom-seq-prod=seq_prod_fuzz_example/example_seq_prod.o 9 | $ python3 ./fuzz.py libfuzzer simple_round_trip 10 | ``` 11 | 12 | See `../fuzz_third_party_seq_prod.h` and `../README.md` for more information on zstd fuzzing. 13 | -------------------------------------------------------------------------------- /src/EterLib/BlockTexture.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "GrpBase.h" 4 | 5 | class CGraphicDib; 6 | 7 | class CBlockTexture : public CGraphicBase 8 | { 9 | public: 10 | CBlockTexture(); 11 | virtual ~CBlockTexture(); 12 | 13 | bool Create(CGraphicDib * pDIB, const RECT & c_rRect, DWORD dwWidth, DWORD dwHeight); 14 | void SetClipRect(const RECT & c_rRect); 15 | void Render(int ix, int iy); 16 | void InvalidateRect(const RECT & c_rsrcRect); 17 | 18 | protected: 19 | CGraphicDib * m_pDIB; 20 | RECT m_rect; 21 | RECT m_clipRect; 22 | BOOL m_bClipEnable; 23 | DWORD m_dwWidth; 24 | DWORD m_dwHeight; 25 | LPDIRECT3DTEXTURE9 m_lpd3dTexture; 26 | }; 27 | -------------------------------------------------------------------------------- /src/EterLib/NetPacketHeaderMap.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class CNetworkPacketHeaderMap 6 | { 7 | public: 8 | typedef struct SPacketType 9 | { 10 | SPacketType(int iSize = 0, bool bFlag = false) 11 | { 12 | iPacketSize = iSize; 13 | isDynamicSizePacket = bFlag; 14 | } 15 | 16 | int iPacketSize; 17 | bool isDynamicSizePacket; 18 | } TPacketType; 19 | 20 | public: 21 | CNetworkPacketHeaderMap(); 22 | virtual ~CNetworkPacketHeaderMap(); 23 | 24 | void Set(int header, TPacketType rPacketType); 25 | bool Get(int header, TPacketType * pPacketType); 26 | 27 | protected: 28 | std::map m_headerMap; 29 | }; 30 | -------------------------------------------------------------------------------- /src/EterLib/Thread.h: -------------------------------------------------------------------------------- 1 | #ifndef __INC_ETERLIB_THREAD_H__ 2 | #define __INC_ETERLIB_THREAD_H__ 3 | 4 | class CThread 5 | { 6 | public: 7 | CThread(); 8 | int Create(void * arg); 9 | 10 | protected: 11 | static UINT CALLBACK EntryPoint(void * pThis); 12 | 13 | virtual UINT Setup() = 0; // Execute이 불려지기 전에 불려진다. 14 | virtual UINT Execute(void * arg) = 0; // 실제 쓰레드가 하는 일이 들어가는 곳 15 | 16 | UINT Run(void * arg); 17 | 18 | void * Arg() const { return m_pArg; } 19 | void Arg(void * arg) { m_pArg = arg; } 20 | 21 | HANDLE m_hThread; 22 | 23 | private: 24 | void * m_pArg; 25 | unsigned m_uThreadID; 26 | }; 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /extern/include/python/timefuncs.h: -------------------------------------------------------------------------------- 1 | /* timefuncs.h 2 | */ 3 | 4 | /* Utility function related to timemodule.c. */ 5 | 6 | #ifndef TIMEFUNCS_H 7 | #define TIMEFUNCS_H 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | 13 | /* Cast double x to time_t, but raise ValueError if x is too large 14 | * to fit in a time_t. ValueError is set on return iff the return 15 | * value is (time_t)-1 and PyErr_Occurred(). 16 | */ 17 | PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x); 18 | 19 | /* Get the current time since the epoch in seconds */ 20 | PyAPI_FUNC(double) _PyTime_FloatTime(void); 21 | 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | #endif /* TIMEFUNCS_H */ 27 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/single_file_libs/create_single_file_library.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Where to find the sources 4 | ZSTD_SRC_ROOT="../../lib" 5 | 6 | # Amalgamate the sources 7 | echo "Amalgamating files..." 8 | # Using the faster Python script if we have 3.8 or higher 9 | if python3 -c 'import sys; assert sys.version_info >= (3,8)' 2>/dev/null; then 10 | ./combine.py -r "$ZSTD_SRC_ROOT" -x legacy/zstd_legacy.h -o zstd.c zstd-in.c 11 | else 12 | ./combine.sh -r "$ZSTD_SRC_ROOT" -x legacy/zstd_legacy.h -o zstd.c zstd-in.c 13 | fi 14 | # Did combining work? 15 | if [ $? -ne 0 ]; then 16 | echo "Combine script: FAILED" 17 | exit 1 18 | fi 19 | echo "Combine script: PASSED" 20 | -------------------------------------------------------------------------------- /extern/include/python/eval.h: -------------------------------------------------------------------------------- 1 | 2 | /* Interface to execute compiled code */ 3 | 4 | #ifndef Py_EVAL_H 5 | #define Py_EVAL_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_FUNC(PyObject *) PyEval_EvalCode(PyCodeObject *, PyObject *, PyObject *); 11 | 12 | PyAPI_FUNC(PyObject *) PyEval_EvalCodeEx(PyCodeObject *co, 13 | PyObject *globals, 14 | PyObject *locals, 15 | PyObject **args, int argc, 16 | PyObject **kwds, int kwdc, 17 | PyObject **defs, int defc, 18 | PyObject *closure); 19 | 20 | PyAPI_FUNC(PyObject *) _PyEval_CallTracing(PyObject *func, PyObject *args); 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | #endif /* !Py_EVAL_H */ 26 | -------------------------------------------------------------------------------- /src/EterLib/GrpColor.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CGraphicColor 4 | { 5 | public: 6 | CGraphicColor(const CGraphicColor& c_rSrcColor); 7 | CGraphicColor(float r, float g, float b, float a); 8 | CGraphicColor(DWORD color); 9 | 10 | CGraphicColor(); 11 | ~CGraphicColor(); 12 | 13 | void Clear(); 14 | 15 | void Set(float r, float g, float b, float a); 16 | void Set(const CGraphicColor& c_rSrcColor); 17 | void Set(DWORD color); 18 | 19 | void Blend(float p, const CGraphicColor& c_rSrcColor, const CGraphicColor& c_rDstColor); 20 | 21 | DWORD GetPackValue() const; 22 | 23 | protected: 24 | float m_r; 25 | float m_g; 26 | float m_b; 27 | float m_a; 28 | }; 29 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/dsa1024.dat: -------------------------------------------------------------------------------- 1 | 3082014A0201003082012B06072A8648CE3804013082011E02818100F468699A6F6EBCC0120D3B34C8E007F125EC7D81F763B8D0F33869AE3BD6B9F2ECCC7DF34DF84C0307449E9B85D30D57194BCCEB310F48141914DD13A077AAF9B624A6CBE666BBA1D7EBEA95B5BA6F54417FD5D4E4220C601E071D316A24EA814E8B0122DBF47EE8AEEFD319EBB01DD95683F10DBB4FEB023F8262A07EAEB7FD02150082AD4E034DA6EEACDFDAE68C36F2BAD614F9E53B02818071AAF73361A26081529F7D84078ADAFCA48E031DB54AD57FB1A833ADBD8672328AABAA0C756247998D7A5B10DACA359D231332CE8120B483A784FE07D46EEBFF0D7D374A10691F78653E6DC29E27CCB1B174923960DFE5B959B919B2C3816C19251832AFD8E35D810E598F82877ABF7D40A041565168BD7F0E21E3FE2A8D8C1C0416021426EBA66E846E755169F84A1DA981D86502405DDF 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/nr1024.dat: -------------------------------------------------------------------------------- 1 | 3082014C0201003082012C06072A8648CE3804013082011F02818100F89F4EBE58E222B517D218D615BDC00611501CD18417886BD3FCBD22578C4611B1E8C06EB0FE9D473A5589BC277AA58C1979DC2869B728D78EC38B4C044A790A60314E7BD3DFDC0BBD8B770A9271D7D048F3E13C73866D096C7304782125847C70EDD721B36F1C379CF7CCEE0A728DD66336ED5F93E8A1BD3EDB22C8761EB987021526A578AB11C3A0812A636D24D120BE544B7973E4D302818100BF927ACE4D175A44622494E37F9552E97B74303321FFEF9B76CDECB14F7D612608DDFEA77C04A8FCACCF7F16CB01AE05AD5EDB65C3B9A380D720F34C7D96C8817E2EFF7D0049EE149DF61C52D7C80271206155CDAEBC8A7F4A8DCE5196E3C18FD5EDF11A394C43A5D59BC65D976817438CA0A7F01713548F61355E976DE75E1E04170215247B2531CFF01D1B1665F0CFD2A836446798353330 2 | -------------------------------------------------------------------------------- /src/EterLib/EnvironmentMap.h: -------------------------------------------------------------------------------- 1 | // EnvironmentMap.h: interface for the CEnvironmentMap class. 2 | // 3 | ////////////////////////////////////////////////////////////////////// 4 | 5 | #if !defined(AFX_ENVIRONMENTMAP_H__FD56B8B7_5B98_4E55_B86E_A2293BE9F4F8__INCLUDED_) 6 | #define AFX_ENVIRONMENTMAP_H__FD56B8B7_5B98_4E55_B86E_A2293BE9F4F8__INCLUDED_ 7 | 8 | #if _MSC_VER > 1000 9 | #pragma once 10 | #endif // _MSC_VER > 1000 11 | 12 | #include "GrpScreen.h" 13 | 14 | class CEnvironmentMap : public CScreen 15 | { 16 | public: 17 | CEnvironmentMap(); 18 | virtual ~CEnvironmentMap(); 19 | 20 | }; 21 | 22 | #endif // !defined(AFX_ENVIRONMENTMAP_H__FD56B8B7_5B98_4E55_B86E_A2293BE9F4F8__INCLUDED_) 23 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/esig1536.dat: -------------------------------------------------------------------------------- 1 | 3082014D0281C100E2A6788AB3CC986AEC06C51690143D3677141645D0628165EE924B9AFB7E6EDD52D90145B2F6031522C7A6CEC05E358F42B7837DACEA589F868F8DCA1C0F5FD8E5EDB8BBBAFCFF6D64CFCFBE68F46FBA6EFF45BC9D0CBB4F7F6075F5FFC2049C2F304B51C417764E18D182926E02D4116CE5C5C010E3D0AA6872A49B0D1FF4B37D54689C31F5821D04E9D4DB34D7536EE7F88B8C481B0EC1F93193A0B70567E6FD76E9FAC4F67BB47DACD356D0C8015261E068DDF8C34C0CAFCF3FA775577FEB020120024100FAF0F292EE96D4F449024F86C0A104E0633C722586EC00AD33E0234629825D2081BA337597889CAC55DC6BEBDD8F13FE3AA2133D6371601A37D195DA7BC45EF3024100EBE16F88887A425AA08E271467CC2220DC44012AB24ED4FF3512A96E8CB600C8BBCB771459FF0EE63D4B6786952A83A7143A775073F0A1D69B6D0B5817755673 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/rw1024.dat: -------------------------------------------------------------------------------- 1 | 3082014D02818100BECF1F40456801F6965E603BEBB61F530F0B17BBCB00E3A8866EB9BC84AE3892A4CB040280F568FC650B1734014CA78A200D5E4AB394CBB75C0034DCC47643E6F576A39F850C5F4528048165B084C82E9BA6BA4CFBCB3980F1EB47EC2C348EF52A6225A85AF743DFCEF5CD4583EB0B9C0DA77ABEBEB5BCC513D81BD768B579AD024100F06CA9C1FBE20EE2440F3AB2F9A9787D820943EAF59B6B8D103CFAB1C2F595DDC99D05DC73F9D1DB780B6F8B26CF87E58EB870DD983A2515600DF80C3EBB7B1B024100CB2B9BDEB0D508E21E646C86D836442FC16910D68C8D1D18BB1327899A506C16C1162E93EA7C2CB576B750AEAB152255D5AB22632025CFFAD927A070CBAEA2D7024100C90A853BEC7C25D773FDDB95C11CEF9BB3F487953773F07E42DB9D011325AE2725663478FB7F0EC1A5608280D9656BF3B9F463FF8B23F1CA1B543508D51826E2 2 | -------------------------------------------------------------------------------- /src/EterBase/FileDir.h: -------------------------------------------------------------------------------- 1 | #ifndef __ETER_FILE_DIR__ 2 | #define __ETER_FILE_DIR__ 3 | 4 | #include 5 | 6 | class CDir 7 | { 8 | public: 9 | CDir(); 10 | virtual ~CDir(); 11 | 12 | void Destroy(); 13 | bool Create(const char* c_szFilter, const char* c_szPath="", BOOL bCheckedExtension = FALSE); 14 | 15 | protected: 16 | virtual bool OnFolder(const char* c_szFilter, const char* c_szPath, const char* c_szName) = 0; 17 | virtual bool OnFile(const char* c_szPath, const char* c_szName) = 0; 18 | 19 | protected: 20 | bool IsFolder(); 21 | 22 | void Initialize(); 23 | 24 | protected: 25 | WIN32_FIND_DATA m_wfd; 26 | HANDLE m_hFind; 27 | }; 28 | 29 | 30 | #endif -------------------------------------------------------------------------------- /src/EterLib/GrpDIB.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CGraphicDib 4 | { 5 | public: 6 | CGraphicDib(); 7 | virtual ~CGraphicDib(); 8 | 9 | void Destroy(); 10 | bool Create(HDC hDC, int width, int height); 11 | 12 | void SetBkMode(int iBkMode); 13 | void TextOut(int ix, int iy, const char * c_szText); 14 | void Put(HDC hDC, int x, int y); 15 | 16 | int GetWidth(); 17 | int GetHeight(); 18 | 19 | void* GetPointer(); 20 | 21 | HDC GetDCHandle(); 22 | 23 | protected: 24 | void Initialize(); 25 | 26 | protected: 27 | HDC m_hDC; 28 | HBITMAP m_hBmp; 29 | BITMAPINFO m_bmi; 30 | 31 | int m_width; 32 | int m_height; 33 | 34 | void * m_pvBuf; 35 | }; 36 | -------------------------------------------------------------------------------- /src/UserInterface/AbstractSingleton.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | template 4 | class TAbstractSingleton 5 | { 6 | static T * ms_singleton; 7 | 8 | public: 9 | TAbstractSingleton() 10 | { 11 | assert(!ms_singleton); 12 | intptr_t offset = (intptr_t) (T*) 1 - (intptr_t) (CSingleton *) (T*) 1; 13 | ms_singleton = (T*) ((intptr_t) this + offset); 14 | } 15 | 16 | virtual ~TAbstractSingleton() 17 | { 18 | assert(ms_singleton); 19 | ms_singleton = 0; 20 | } 21 | 22 | __forceinline static T & GetSingleton() 23 | { 24 | assert(ms_singleton!=NULL); 25 | return (*ms_singleton); 26 | } 27 | }; 28 | 29 | template T * TAbstractSingleton ::ms_singleton = 0; -------------------------------------------------------------------------------- /src/UserInterface/PythonFlyModule.cpp: -------------------------------------------------------------------------------- 1 | #include "stdafx.h" 2 | #include "GameLib/FlyingObjectManager.h" 3 | 4 | PyObject * flyUpdate(PyObject * poSelf, PyObject * poArgs) 5 | { 6 | CFlyingManager::Instance().Update(); 7 | return Py_BuildNone(); 8 | } 9 | 10 | PyObject * flyRender(PyObject * poSelf, PyObject * poArgs) 11 | { 12 | CFlyingManager::Instance().Render(); 13 | return Py_BuildNone(); 14 | } 15 | 16 | void initfly() 17 | { 18 | static PyMethodDef s_methods[] = 19 | { 20 | { "Update", flyUpdate, METH_VARARGS }, 21 | { "Render", flyRender, METH_VARARGS }, 22 | 23 | { NULL, NULL, NULL }, 24 | }; 25 | 26 | Py_InitModule("fly", s_methods); 27 | } -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/luc1024.dat: -------------------------------------------------------------------------------- 1 | 3082015202010002818100B7FE59813AF3A5DA48144EF03E5D229E3CFB55B0E3CEB63F9F973AC8655651409C3B36BBBE83698516F42A2E0FDC87DD83541697249D67FB5A91FA73470089C4997667811283CF22C74856F1E71129DB70FB23620A60E532B7931B7F93C0B9AA6B9D60E87529002BF2204B743773F501F6C370D067C7B22F6AD9DC07E8097347020111024100CFEA6177386C04D1668C984C39A7F889B36BB2B3BED2C7B83241D267F8D2038529AEB56D82CDE43264168873375C8D1F0897666CCC3F617C2F6B52E5143303C7024100E28BAB645993166EE1A984967AE8839EA41685F1E6392DBEB83EE6CA85A54396505DBD4E5C9024BAFCF27AD24D571DC6A3795CE7F0432669BCE742AF8FAF1481024078C6F402C266595B4F85098370528C2C0309BE93F6C45FC049F6AD987471A979FE215CC41455AA85F5A5B664F59E2F8E33C97C211698D14AD05FC65044F99510 2 | -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/rabi1024.dat: -------------------------------------------------------------------------------- 1 | 3082015202818100D132EDB1360E31D7B8DD84BB03111FDE0243FFE4031ED12B440E7FF36A634E57772EC81FFDC065607494717C6E16A5AB642283553442CC22569535C7A20E3D1C3E2B3747B26E9856D4A13D0325DC116DAAF8554B000321A753E5CFA730CA60F3E3FE2CA9750C6734A2A113AD4A76B6DAC5E199AB55F34CE6984BF56F6DFAC51D020105020102024100F90CBF726FA70ACB5074BD8E79932B74E9949057B627ABB29F41E5057AE699A03BC240EBB9637E956ABC0B6A20F633F78168A908086E2011FC5D030B9B94B51B024100D7097ACACD8BF8ED641A7D8A17A23F8FB385B92B760EEEB9A1233E1D25892F742315DE23DA0751F24EAE4C0C5B696D0AA0D16EAE94194193DC89D479A9626A2702403B5475CD2A7F519EF08433407826D89983C104AF1E74B44B79B31770149D224089300F828E0DF4CBC864BDB394C0F32CCF055F7B2B8872BF0B5F148020637B9C 2 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/fuzz/seq_prod_fuzz_example/Makefile: -------------------------------------------------------------------------------- 1 | # Copyright (c) Yann Collet, Meta Platforms, Inc. 2 | # All rights reserved. 3 | # 4 | # This source code is licensed under both the BSD-style license (found in the 5 | # LICENSE file in the root directory of this source tree) and the GPLv2 (found 6 | # in the COPYING file in the root directory of this source tree). 7 | # You may select, at your option, one of the above-listed licenses. 8 | 9 | CC = clang 10 | CFLAGS = -g -fno-omit-frame-pointer -fsanitize=undefined,address,fuzzer -I../ -I../../../lib/ 11 | 12 | .PHONY: default 13 | default: example_seq_prod.o 14 | 15 | example_seq_prod.o: example_seq_prod.c 16 | $(CC) -c $(CFLAGS) $^ -o $@ 17 | -------------------------------------------------------------------------------- /extern/include/discord_register.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #if defined(DISCORD_DYNAMIC_LIB) 4 | #if defined(_WIN32) 5 | #if defined(DISCORD_BUILDING_SDK) 6 | #define DISCORD_EXPORT __declspec(dllexport) 7 | #else 8 | #define DISCORD_EXPORT __declspec(dllimport) 9 | #endif 10 | #else 11 | #define DISCORD_EXPORT __attribute__((visibility("default"))) 12 | #endif 13 | #else 14 | #define DISCORD_EXPORT 15 | #endif 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | DISCORD_EXPORT void Discord_Register(const char* applicationId, const char* command); 22 | DISCORD_EXPORT void Discord_RegisterSteamGame(const char* applicationId, const char* steamId); 23 | 24 | #ifdef __cplusplus 25 | } 26 | #endif 27 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/build/single_file_libs/create_single_file_decoder.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Where to find the sources 4 | ZSTD_SRC_ROOT="../../lib" 5 | 6 | # Amalgamate the sources 7 | echo "Amalgamating files..." 8 | # Using the faster Python script if we have 3.8 or higher 9 | if python3 -c 'import sys; assert sys.version_info >= (3,8)' 2>/dev/null; then 10 | ./combine.py -r "$ZSTD_SRC_ROOT" -x legacy/zstd_legacy.h -o zstddeclib.c zstddeclib-in.c 11 | else 12 | ./combine.sh -r "$ZSTD_SRC_ROOT" -x legacy/zstd_legacy.h -o zstddeclib.c zstddeclib-in.c 13 | fi 14 | # Did combining work? 15 | if [ $? -ne 0 ]; then 16 | echo "Combine script: FAILED" 17 | exit 1 18 | fi 19 | echo "Combine script: PASSED" 20 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/lib/common/xxhash.c: -------------------------------------------------------------------------------- 1 | /* 2 | * xxHash - Extremely Fast Hash algorithm 3 | * Copyright (c) Yann Collet - Meta Platforms, Inc 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | 11 | /* 12 | * xxhash.c instantiates functions defined in xxhash.h 13 | */ 14 | 15 | #define XXH_STATIC_LINKING_ONLY /* access advanced declarations */ 16 | #define XXH_IMPLEMENTATION /* access definitions */ 17 | 18 | #include "xxhash.h" 19 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/decompress-file-to-stdout.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | Trace:FileStat: > UTIL_isLink(file.zst) 2 | Trace:FileStat: < 0 3 | Trace:FileStat: > UTIL_isConsole(1) 4 | Trace:FileStat: < 0 5 | Trace:FileStat: > UTIL_isConsole(2) 6 | Trace:FileStat: < 0 7 | Trace:FileStat: > UTIL_isDirectory(file.zst) 8 | Trace:FileStat: > UTIL_stat(-1, file.zst) 9 | Trace:FileStat: < 1 10 | Trace:FileStat: > UTIL_isDirectoryStat() 11 | Trace:FileStat: < 0 12 | Trace:FileStat: < 0 13 | Trace:FileStat: > UTIL_stat(-1, file.zst) 14 | Trace:FileStat: < 1 15 | Trace:FileStat: > UTIL_isRegularFile(/*stdout*\) 16 | Trace:FileStat: > UTIL_stat(-1, /*stdout*\) 17 | Trace:FileStat: < 0 18 | Trace:FileStat: < 0 19 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/file-stat/compress-stdin-to-stdout.sh.stderr.exact: -------------------------------------------------------------------------------- 1 | Trace:FileStat: > UTIL_isConsole(0) 2 | Trace:FileStat: < 0 3 | Trace:FileStat: > UTIL_isConsole(1) 4 | Trace:FileStat: < 0 5 | Trace:FileStat: > UTIL_isConsole(2) 6 | Trace:FileStat: < 0 7 | Trace:FileStat: > UTIL_getFileSize(/*stdin*\) 8 | Trace:FileStat: > UTIL_stat(-1, /*stdin*\) 9 | Trace:FileStat: < 0 10 | Trace:FileStat: < -1 11 | Trace:FileStat: > UTIL_isRegularFile(/*stdout*\) 12 | Trace:FileStat: > UTIL_stat(-1, /*stdout*\) 13 | Trace:FileStat: < 0 14 | Trace:FileStat: < 0 15 | Trace:FileStat: > UTIL_getFileSize(/*stdin*\) 16 | Trace:FileStat: > UTIL_stat(-1, /*stdin*\) 17 | Trace:FileStat: < 0 18 | Trace:FileStat: < -1 19 | -------------------------------------------------------------------------------- /src/UserInterface/ServerStateChecker.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "EterLib/NetStream.h" 4 | 5 | class CServerStateChecker : public CSingleton 6 | { 7 | public: 8 | CServerStateChecker(); 9 | virtual ~CServerStateChecker(); 10 | 11 | void Create(PyObject* poWnd); 12 | void AddChannel(UINT uServerIndex, const char* c_szAddr, UINT uPort); 13 | void Request(); 14 | void Update(); 15 | 16 | void Initialize(); 17 | 18 | private: 19 | typedef struct SChannel 20 | { 21 | UINT uServerIndex; 22 | const char* c_szAddr; 23 | UINT uPort; 24 | } TChannel; 25 | 26 | PyObject* m_poWnd; 27 | 28 | std::list m_lstChannel; 29 | 30 | CNetworkStream m_kStream; 31 | }; -------------------------------------------------------------------------------- /vendor/cryptopp/TestData/lucs1024.dat: -------------------------------------------------------------------------------- 1 | 3082015B0201003082013306072A8648CE3804013082012602818100D57B7B758DC8041CE6CFC57DFE0AAA33FC8FEC48BEEA37562AD13359236FFFF6EED3CEB3A7BBC4269A384ED9A296160F12BC666066548E28201CE293B1791F951C8D2C5965696D82B336EFADCF1E0D619EDA43DBB86415BF3EE6F721C0AB17E770EA7B2360A054D3E4E878647245FCF87B2335098303004CDDC2B9DCDA57DB51021D034E48F160EC5855CCCD9F995988AD1B554AD1B591E64283E91A07D151028180017324ADC1F93CF002FA2B0619C60F897CDED488E457685625E1565377483C0FA4A7FD1CAE848C727E76654434CE3CCAF81EC6E6AAA156EEBBEA095F642FD0DA2D043996ACC14A1B1A6110B19C094638E29890B89AF5812E97C5F96F33B1FD7415079947994442295CA34447807662FB70621F069A98AE274D01B2777BF4E97E041F021D00F9F02A2BC1930F1AC93198F3D532BC937941D7C9A1E16F0EB932476E 2 | -------------------------------------------------------------------------------- /vendor/lzo-2.10/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.10 FATAL_ERROR) 2 | 3 | project(lzo2 VERSION 2.10 LANGUAGES C) 4 | 5 | # Collect sources 6 | file(GLOB lzo2_SOURCES 7 | "${CMAKE_CURRENT_SOURCE_DIR}/src/*.c" 8 | ) 9 | list(SORT lzo2_SOURCES) 10 | 11 | # Static library 12 | add_library(lzo2 STATIC ${lzo2_SOURCES}) 13 | 14 | # Public headers for consumers (works when added as a subdir) 15 | target_include_directories(lzo2 16 | PUBLIC 17 | "${CMAKE_CURRENT_SOURCE_DIR}/include" 18 | ) 19 | 20 | # Nice-to-haves 21 | set_target_properties(lzo2 PROPERTIES 22 | OUTPUT_NAME "lzo2" # lib name on disk 23 | POSITION_INDEPENDENT_CODE ON # useful if linked into shared libs 24 | ) 25 | -------------------------------------------------------------------------------- /src/EterBase/tea.h: -------------------------------------------------------------------------------- 1 | #ifdef __cplusplus 2 | extern "C" { 3 | #endif 4 | 5 | /* TEA is a 64-bit symmetric block cipher with a 128-bit key, developed 6 | by David J. Wheeler and Roger M. Needham, and described in their 7 | paper at . 8 | 9 | This implementation is based on their code in 10 | */ 11 | 12 | #define TEA_KEY_LENGTH 16 13 | 14 | int tea_encrypt(unsigned long *dest, const unsigned long *src, const unsigned long *key, int size); 15 | int tea_decrypt(unsigned long *dest, const unsigned long *src, const unsigned long *key, int size); 16 | 17 | #ifdef __cplusplus 18 | }; 19 | #endif 20 | -------------------------------------------------------------------------------- /src/UserInterface/AffectFlagContainer.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | class CAffectFlagContainer 4 | { 5 | public: 6 | enum 7 | { 8 | BIT_SIZE = 64, 9 | BYTE_SIZE = BIT_SIZE/8+(1*((BIT_SIZE&7) ? 1 : 0)), 10 | }; 11 | 12 | public: 13 | CAffectFlagContainer(); 14 | ~CAffectFlagContainer(); 15 | 16 | void Clear(); 17 | void CopyInstance(const CAffectFlagContainer& c_rkAffectContainer); 18 | void Set(UINT uPos, bool isSet); 19 | bool IsSet(UINT uPos) const; 20 | 21 | void CopyData(UINT uPos, UINT uByteSize, const void* c_pvData); 22 | 23 | void ConvertToPosition(unsigned* uRetX, unsigned* uRetY) const; 24 | 25 | private: 26 | typedef unsigned char Element; 27 | 28 | Element m_aElement[BYTE_SIZE]; 29 | }; -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: '' 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /src/EterLib/Thread.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "Thread.h" 3 | 4 | CThread::CThread() : m_pArg(NULL), m_hThread(NULL), m_uThreadID(0) 5 | { 6 | } 7 | 8 | int CThread::Create(void * arg) 9 | { 10 | Arg(arg); 11 | m_hThread = (HANDLE) _beginthreadex(NULL, 0, EntryPoint, this, 0, &m_uThreadID); 12 | 13 | if (!m_hThread) 14 | return false; 15 | 16 | SetThreadPriority(m_hThread, THREAD_PRIORITY_NORMAL); 17 | return true; 18 | } 19 | 20 | UINT CThread::Run(void * arg) 21 | { 22 | if (!Setup()) 23 | return 0; 24 | 25 | return (Execute(arg)); 26 | } 27 | 28 | /* Static */ 29 | UINT CALLBACK CThread::EntryPoint(void * pThis) 30 | { 31 | CThread * pThread = (CThread *) pThis; 32 | return pThread->Run(pThread->Arg()); 33 | } -------------------------------------------------------------------------------- /extern/include/python/moduleobject.h: -------------------------------------------------------------------------------- 1 | 2 | /* Module object interface */ 3 | 4 | #ifndef Py_MODULEOBJECT_H 5 | #define Py_MODULEOBJECT_H 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | PyAPI_DATA(PyTypeObject) PyModule_Type; 11 | 12 | #define PyModule_Check(op) PyObject_TypeCheck(op, &PyModule_Type) 13 | #define PyModule_CheckExact(op) (Py_TYPE(op) == &PyModule_Type) 14 | 15 | PyAPI_FUNC(PyObject *) PyModule_New(const char *); 16 | PyAPI_FUNC(PyObject *) PyModule_GetDict(PyObject *); 17 | PyAPI_FUNC(char *) PyModule_GetName(PyObject *); 18 | PyAPI_FUNC(char *) PyModule_GetFilename(PyObject *); 19 | PyAPI_FUNC(void) _PyModule_Clear(PyObject *); 20 | 21 | #ifdef __cplusplus 22 | } 23 | #endif 24 | #endif /* !Py_MODULEOBJECT_H */ 25 | -------------------------------------------------------------------------------- /src/EterLib/TextTag.h: -------------------------------------------------------------------------------- 1 | enum 2 | { 3 | TEXT_TAG_PLAIN, 4 | TEXT_TAG_TAG, // || 5 | TEXT_TAG_COLOR, // |cffffffff 6 | TEXT_TAG_HYPERLINK_START, // |H 7 | TEXT_TAG_HYPERLINK_END, // |h ex) |Hitem:1234:1:1:1|h 8 | TEXT_TAG_RESTORE_COLOR, 9 | }; 10 | 11 | extern int GetTextTag(const wchar_t * src, int maxLen, int & tagLen, std::wstring & extraInfo); 12 | extern std::wstring GetTextTagOutputString(const wchar_t * src, int src_len); 13 | extern int GetTextTagOutputLen(const wchar_t * src, int len); 14 | extern int FindColorTagEndPosition(const wchar_t * src, int src_len); 15 | extern int FindColorTagStartPosition(const wchar_t * src, int src_len); 16 | extern int GetTextTagInternalPosFromRenderPos(const wchar_t * src, int src_len, int offset); 17 | -------------------------------------------------------------------------------- /src/PackLib/PackManager.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | 4 | #include "EterBase/Singleton.h" 5 | #include "Pack.h" 6 | 7 | class CPackManager : public CSingleton 8 | { 9 | public: 10 | CPackManager() = default; 11 | virtual ~CPackManager() = default; 12 | 13 | bool AddPack(const std::string& path); 14 | bool GetFile(std::string_view path, TPackFile& result); 15 | bool IsExist(std::string_view path) const; 16 | 17 | void SetPackLoadMode() { m_load_from_pack = true; } 18 | void SetFileLoadMode() { m_load_from_pack = false; } 19 | 20 | private: 21 | void NormalizePath(std::string_view in, std::string& out) const; 22 | 23 | private: 24 | bool m_load_from_pack = true; 25 | TPackFileMap m_entries; 26 | }; 27 | -------------------------------------------------------------------------------- /vendor/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(cryptopp) 2 | add_subdirectory(lzo-2.10) 3 | add_subdirectory(mio) 4 | 5 | ## zstd is a bit tricky 6 | set(ZSTD_BUILD_SHARED OFF CACHE BOOL "BUILD SHARED LIBRARIES" FORCE) 7 | add_subdirectory(zstd-1.5.7/build/cmake zstd) 8 | include_directories("zstd/lib") 9 | 10 | if (WIN32) 11 | set_target_properties(cryptopp-static PROPERTIES FOLDER vendor) 12 | set_target_properties(lzo2 PROPERTIES FOLDER vendor) 13 | 14 | ## zstd stuff 15 | set_target_properties(zstd PROPERTIES FOLDER vendor/zstd) 16 | set_target_properties(libzstd_static PROPERTIES FOLDER vendor/zstd) 17 | set_target_properties(clean-all PROPERTIES FOLDER vendor/zstd) 18 | set_target_properties(uninstall PROPERTIES FOLDER vendor/zstd) 19 | endif() -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/compression/multi-threaded.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -e 4 | 5 | # Test multi-threaded flags 6 | zstd --single-thread file -f -q ; zstd -t file.zst 7 | zstd -T2 -f file -q ; zstd -t file.zst 8 | zstd --rsyncable -f file -q ; zstd -t file.zst 9 | zstd -T0 -f file -q ; zstd -t file.zst 10 | zstd -T0 --auto-threads=logical -f file -q ; zstd -t file.zst 11 | zstd -T0 --auto-threads=physical -f file -q ; zstd -t file.zst 12 | 13 | # multi-thread decompression warning test 14 | zstd -T0 -f file -q ; zstd -t file.zst; zstd -T0 -d file.zst -o file3 15 | zstd -T0 -f file -q ; zstd -t file.zst; zstd -T2 -d file.zst -o file4 16 | -------------------------------------------------------------------------------- /src/EterLib/NetDatagramReceiver.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #ifndef VC_EXTRALEAN 4 | 5 | class CNetDatagramReceiver 6 | { 7 | public: 8 | CNetDatagramReceiver(); 9 | virtual ~CNetDatagramReceiver(); 10 | 11 | void Clear(); 12 | BOOL Bind(DWORD dwAddress, WORD wPortIndex); 13 | BOOL isBind(); 14 | 15 | BOOL Process(); 16 | BOOL Recv(void * pBuffer, int iSize); 17 | BOOL Peek(void * pBuffer, int iSize); 18 | 19 | void SetRecvBufferSize(int recvBufSize); 20 | 21 | protected: 22 | BOOL m_isBind; 23 | 24 | DWORD m_dwPortIndex; 25 | 26 | SOCKET m_Socket; 27 | SOCKADDR_IN m_SockAddr; 28 | 29 | int m_recvBufCurrentPos; 30 | int m_recvBufCurrentSize; 31 | 32 | char* m_recvBuf; 33 | int m_recvBufSize; 34 | }; 35 | 36 | #endif -------------------------------------------------------------------------------- /src/UserInterface/PythonNetworkDatagramModule.cpp: -------------------------------------------------------------------------------- 1 | #include "StdAfx.h" 2 | #include "PythonNetworkDatagram.h" 3 | /* 4 | PyObject * udpEnable(PyObject* poSelf, PyObject* poArgs) 5 | { 6 | CPythonNetworkDatagram::Instance().Enable(); 7 | return Py_BuildNone(); 8 | } 9 | 10 | PyObject * udpDisable(PyObject* poSelf, PyObject* poArgs) 11 | { 12 | CPythonNetworkDatagram::Instance().Disable(); 13 | return Py_BuildNone(); 14 | } 15 | */ 16 | void initudp() 17 | { 18 | /* 19 | static PyMethodDef s_methods[] = 20 | { 21 | { "Enable", udpEnable, METH_VARARGS }, 22 | { "Disable", udpDisable, METH_VARARGS }, 23 | 24 | { NULL, NULL, NULL } 25 | }; 26 | 27 | PyObject * poModule = Py_InitModule("udp", s_methods); 28 | */ 29 | } 30 | -------------------------------------------------------------------------------- /extern/include/python/warnings.h: -------------------------------------------------------------------------------- 1 | #ifndef Py_WARNINGS_H 2 | #define Py_WARNINGS_H 3 | #ifdef __cplusplus 4 | extern "C" { 5 | #endif 6 | 7 | PyAPI_FUNC(void) _PyWarnings_Init(void); 8 | 9 | PyAPI_FUNC(int) PyErr_WarnEx(PyObject *, const char *, Py_ssize_t); 10 | PyAPI_FUNC(int) PyErr_WarnExplicit(PyObject *, const char *, const char *, int, 11 | const char *, PyObject *); 12 | 13 | #define PyErr_WarnPy3k(msg, stacklevel) \ 14 | (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0) 15 | 16 | /* DEPRECATED: Use PyErr_WarnEx() instead. */ 17 | #define PyErr_Warn(category, msg) PyErr_WarnEx(category, msg, 1) 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | #endif /* !Py_WARNINGS_H */ 23 | 24 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/zstdcli_trace.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | 11 | #ifndef ZSTDCLI_TRACE_H 12 | #define ZSTDCLI_TRACE_H 13 | 14 | /** 15 | * Enable tracing - log to filename. 16 | */ 17 | void TRACE_enable(char const* filename); 18 | 19 | /** 20 | * Shut down the tracing library. 21 | */ 22 | void TRACE_finish(void); 23 | 24 | #endif /* ZSTDCLI_TRACE_H */ 25 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/tests/cli-tests/dictionaries/dictionary-mismatch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . "$COMMON/platform.sh" 4 | 5 | set -e 6 | 7 | if [ false ]; then 8 | for seed in $(seq 100); do 9 | datagen -g1000 -s$seed > file$seed 10 | done 11 | 12 | zstd --train -r . -o dict0 -qq 13 | 14 | for seed in $(seq 101 200); do 15 | datagen -g1000 -s$seed > file$seed 16 | done 17 | 18 | zstd --train -r . -o dict1 -qq 19 | 20 | [ "$($MD5SUM < dict0)" != "$($MD5SUM < dict1)" ] || die "dictionaries must not match" 21 | 22 | datagen -g1000 -s0 > file0 23 | fi 24 | 25 | set -v 26 | zstd files/0 -D dicts/0 -q 27 | zstd -t files/0.zst -D dicts/0 28 | zstd -t files/0.zst -D dicts/1 && die "Must fail" ||: 29 | zstd -t files/0.zst && die "Must fail" ||: 30 | -------------------------------------------------------------------------------- /src/EterLib/GrpText.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "Resource.h" 4 | #include "Ref.h" 5 | #include "GrpFontTexture.h" 6 | 7 | class CGraphicText : public CResource 8 | { 9 | public: 10 | typedef CRef TRef; 11 | 12 | public: 13 | static TType Type(); 14 | 15 | public: 16 | CGraphicText(const char* c_szFileName); 17 | virtual ~CGraphicText(); 18 | 19 | virtual bool CreateDeviceObjects(); 20 | virtual void DestroyDeviceObjects(); 21 | 22 | CGraphicFontTexture * GetFontTexturePointer(); 23 | 24 | protected: 25 | bool OnLoad(int iSize, const void * c_pvBuf); 26 | void OnClear(); 27 | bool OnIsEmpty() const; 28 | bool OnIsType(TType type); 29 | 30 | protected: 31 | CGraphicFontTexture m_fontTexture; 32 | }; 33 | -------------------------------------------------------------------------------- /vendor/cryptopp/sha1_armv4.h: -------------------------------------------------------------------------------- 1 | /* Header file for use with Cryptogam's ARMv4 SHA1. */ 2 | /* Also see http://www.openssl.org/~appro/cryptogams/ */ 3 | /* https://wiki.openssl.org/index.php/Cryptogams_SHA. */ 4 | 5 | #ifndef CRYPTOGAMS_SHA1_ARMV4_H 6 | #define CRYPTOGAMS_SHA1_ARMV4_H 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | /* Crypto++ modified sha1_block_data_order to pass caps as a parameter. */ 13 | /* Also see https://github.com/weidai11/cryptopp/issues/846. */ 14 | void cryptogams_sha1_block_data_order(void *state, const void *data, size_t blocks); 15 | 16 | /* Cryptogams arm caps */ 17 | #define CRYPTOGAMS_ARMV7_NEON (1<<0) 18 | 19 | #ifdef __cplusplus 20 | } 21 | #endif 22 | 23 | #endif /* CRYPTOGAMS_SHA1_ARMV4_H */ 24 | -------------------------------------------------------------------------------- /vendor/zstd-1.5.7/programs/windres/verrsrc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under both the BSD-style license (found in the 6 | * LICENSE file in the root directory of this source tree) and the GPLv2 (found 7 | * in the COPYING file in the root directory of this source tree). 8 | * You may select, at your option, one of the above-listed licenses. 9 | */ 10 | /* minimal set of defines required to generate zstd.res from zstd.rc */ 11 | 12 | #define VS_VERSION_INFO 1 13 | 14 | #define VS_FFI_FILEFLAGSMASK 0x0000003FL 15 | #define VOS_NT_WINDOWS32 0x00040004L 16 | #define VFT_DLL 0x00000002L 17 | #define VFT2_UNKNOWN 0x00000000L 18 | -------------------------------------------------------------------------------- /vendor/cryptopp/gf256.cpp: -------------------------------------------------------------------------------- 1 | // gf256.cpp - originally written and placed in the public domain by Wei Dai 2 | 3 | #include "pch.h" 4 | #include "gf256.h" 5 | 6 | NAMESPACE_BEGIN(CryptoPP) 7 | 8 | GF256::Element GF256::Multiply(Element a, Element b) const 9 | { 10 | word result = 0, t = b; 11 | 12 | for (unsigned int i=0; i<8; i++) 13 | { 14 | result <<= 1; 15 | if (result & 0x100) 16 | result ^= m_modulus; 17 | 18 | t <<= 1; 19 | if (t & 0x100) 20 | result ^= a; 21 | } 22 | 23 | return (GF256::Element) result; 24 | } 25 | 26 | GF256::Element GF256::MultiplicativeInverse(Element a) const 27 | { 28 | Element result = a; 29 | for (int i=1; i<7; i++) 30 | result = Multiply(Square(result), a); 31 | return Square(result); 32 | } 33 | 34 | NAMESPACE_END 35 | --------------------------------------------------------------------------------