├── .gitattributes ├── .gitignore ├── Bug-List.xls ├── CWebPage ├── CWebPage.rc ├── CWebPage.vcxproj ├── CWebPage.vcxproj.filters ├── cwebpage.c ├── cwebpage.def ├── cwebpage.h └── resource.h ├── DdzClient ├── AppDef.h ├── AppResource.cpp ├── AppResource.h ├── CurPokerWnd.cpp ├── CurPokerWnd.h ├── DdzClient.ICO ├── DdzClient.cpp ├── DdzClient.exe.manifest ├── DdzClient.h ├── DdzClient.rc ├── DdzClient.vcxproj ├── DdzClient.vcxproj.filters ├── GameMainPage.cpp ├── GameMainPage.h ├── GameMainWnd.cpp ├── GameMainWnd.h ├── GameRoomWnd.cpp ├── GameRoomWnd.h ├── GameSeatWnd.cpp ├── GameSeatWnd.h ├── GameTableWnd.cpp ├── GameTableWnd.h ├── GamerVisualWnd.cpp ├── GamerVisualWnd.h ├── HomePageWnd.cpp ├── HomePageWnd.h ├── Logon.cpp ├── Logon.h ├── MyButton.cpp ├── MyButton.h ├── NetProcess.cpp ├── NetProcess.h ├── OutCardWnd.cpp ├── OutCardWnd.h ├── PageTabWnd.cpp ├── PageTabWnd.h ├── PictureEx.cpp ├── PictureEx.h ├── Res │ └── logon.bmp ├── ServerListWnd.cpp ├── ServerListWnd.h ├── UnderCardWnd.cpp ├── UnderCardWnd.h ├── UserData.cpp ├── UserData.h ├── UserInfoWnd.cpp ├── UserInfoWnd.h ├── UserListWnd.cpp ├── UserListWnd.h ├── Utility.cpp ├── Utility.h ├── resource.h ├── small.ICO ├── stdafx.cpp └── stdafx.h ├── DdzServer ├── Crc.cpp ├── Crc.h ├── DdzServer.cpp ├── DdzServer.exe.manifest ├── DdzServer.h ├── DdzServer.ico ├── DdzServer.rc ├── DdzServer.vcxproj ├── DdzServer.vcxproj.filters ├── GameProc.cpp ├── GameProc.h ├── NetProc.cpp ├── NetProc.h ├── PokerAlgor.cpp ├── PokerAlgor.h ├── QuickSort.cpp ├── QuickSort.h ├── ServerLog.cpp ├── ServerLog.h ├── resource.h ├── small.ico ├── stdafx.cpp └── stdafx.h ├── DdzSolution-1.1-src-101014.rar ├── DdzSolution.sln ├── Docs ├── 服务器与客户端消息定义.doc ├── 服务器处理逻辑.doc ├── 界面消息的传递与响应.doc └── 部分细节功能的需求与杂项.doc ├── Include ├── ResImage.h ├── ResPoker.h ├── ResSound.h ├── cwebpage.h ├── msgdef.h ├── pokerlib.h └── spec.h ├── PokerLib ├── PokerLib.cpp ├── PokerLib.rc ├── PokerLib.vcxproj ├── PokerLib.vcxproj.filters ├── error.h ├── mystack.cpp ├── mystack.h ├── poker.cpp ├── poker.h ├── pokerhint.cpp ├── pokerhint.h ├── pokertype.cpp ├── pokertype.h ├── quicksort.cpp ├── quicksort.h ├── resource.h ├── stdafx.cpp └── stdafx.h ├── Readme.txt ├── ResImage ├── GameTable_150x150 │ ├── table.bmp │ └── table_start.bmp ├── ICON_16x16 │ ├── bomb.ico │ ├── clock.ico │ ├── delegate.ico │ ├── disconnect.ico │ ├── game.ico │ ├── home.ico │ ├── lord.ico │ ├── ready.ico │ ├── room.ico │ └── server.ico ├── ResImage.rc ├── ResImage.vcxproj ├── ResImage.vcxproj.filters ├── Status_BMP_16x16 │ ├── free.bmp │ ├── hand.bmp │ ├── play.bmp │ ├── sitdown.bmp │ └── watch.bmp ├── UserHead_16x16 │ ├── 12-1.bmp │ ├── 13-1.bmp │ ├── 16-1.bmp │ ├── 20-1.bmp │ ├── 21-1.bmp │ ├── 30-1.bmp │ ├── 48-1.bmp │ ├── 49-1.bmp │ ├── 5-1.bmp │ ├── 50-1.bmp │ ├── 54-1.bmp │ ├── 6-1.bmp │ ├── 61-1.bmp │ ├── 67-1.bmp │ ├── 8-1.bmp │ └── 94-1.bmp ├── UserHead_32x32 │ ├── 12-1.bmp │ ├── 13-1.bmp │ ├── 16-1.bmp │ ├── 20-1.bmp │ ├── 21-1.bmp │ ├── 30-1.bmp │ ├── 48-1.bmp │ ├── 49-1.bmp │ ├── 5-1.bmp │ ├── 50-1.bmp │ ├── 54-1.bmp │ ├── 6-1.bmp │ ├── 61-1.bmp │ ├── 67-1.bmp │ ├── 8-1.bmp │ └── 94-1.bmp └── Visualize_75x125 │ ├── female.gif │ ├── female1.gif │ ├── female2.gif │ ├── male.gif │ ├── male1.gif │ └── male2.gif ├── ResPoker ├── Res │ ├── 0_SCORE.bmp │ ├── 1_SCORE.bmp │ ├── 2_SCORE.bmp │ ├── 3_SCORE.bmp │ ├── BACKGROUND.bmp │ ├── BTN_TEMPLATE.bmp │ ├── CARD.bmp │ ├── FOLLOW.bmp │ ├── HINT.bmp │ ├── PASS.bmp │ ├── START.bmp │ ├── digital.bmp │ ├── info_pass.bmp │ ├── info_ready.bmp │ ├── info_score0.bmp │ ├── info_score1.bmp │ ├── info_score2.bmp │ └── info_score3.bmp ├── ResPoker.rc ├── ResPoker.vcxproj └── ResPoker.vcxproj.filters ├── ResSound ├── ResSound.rc ├── ResSound.vcxproj ├── ResSound.vcxproj.filters └── Sound │ ├── 0_f.wav │ ├── 0_m.wav │ ├── 1_f.wav │ ├── 1_m.wav │ ├── 2_f.wav │ ├── 2_m.wav │ ├── 3_f.wav │ ├── 3_m.wav │ ├── bomb.wav │ ├── outcard.wav │ ├── runaway.wav │ ├── start.wav │ ├── timeout.wav │ └── win.wav ├── SetupClient ├── DdzClient.ini ├── ServerList.ini └── SetupClient.vdproj ├── SetupServer ├── DdzServer.ini └── SetupServer.vdproj ├── ThirdPartySoftware ├── PictureEx_demo.zip └── cwebpage.org.zip ├── history.txt ├── known-issues.txt └── uncompleted-tasks.txt /.gitattributes: -------------------------------------------------------------------------------- 1 | ############################################################################### 2 | # Set default behavior to automatically normalize line endings. 3 | ############################################################################### 4 | * text=auto 5 | 6 | ############################################################################### 7 | # Set default behavior for command prompt diff. 8 | # 9 | # This is need for earlier builds of msysgit that does not have it on by 10 | # default for csharp files. 11 | # Note: This is only used by command line 12 | ############################################################################### 13 | #*.cs diff=csharp 14 | 15 | ############################################################################### 16 | # Set the merge driver for project and solution files 17 | # 18 | # Merging from the command prompt will add diff markers to the files if there 19 | # are conflicts (Merging from VS is not affected by the settings below, in VS 20 | # the diff markers are never inserted). Diff markers may cause the following 21 | # file extensions to fail to load in VS. An alternative would be to treat 22 | # these files as binary and thus will always conflict and require user 23 | # intervention with every merge. To do so, just uncomment the entries below 24 | ############################################################################### 25 | #*.sln merge=binary 26 | #*.csproj merge=binary 27 | #*.vbproj merge=binary 28 | #*.vcxproj merge=binary 29 | #*.vcproj merge=binary 30 | #*.dbproj merge=binary 31 | #*.fsproj merge=binary 32 | #*.lsproj merge=binary 33 | #*.wixproj merge=binary 34 | #*.modelproj merge=binary 35 | #*.sqlproj merge=binary 36 | #*.wwaproj merge=binary 37 | 38 | ############################################################################### 39 | # behavior for image files 40 | # 41 | # image files are treated as binary by default. 42 | ############################################################################### 43 | #*.jpg binary 44 | #*.png binary 45 | #*.gif binary 46 | 47 | ############################################################################### 48 | # diff behavior for common document formats 49 | # 50 | # Convert binary document formats to text before diffing them. This feature 51 | # is only available from the command line. Turn it on by uncommenting the 52 | # entries below. 53 | ############################################################################### 54 | #*.doc diff=astextplain 55 | #*.DOC diff=astextplain 56 | #*.docx diff=astextplain 57 | #*.DOCX diff=astextplain 58 | #*.dot diff=astextplain 59 | #*.DOT diff=astextplain 60 | #*.pdf diff=astextplain 61 | #*.PDF diff=astextplain 62 | #*.rtf diff=astextplain 63 | #*.RTF diff=astextplain 64 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Ignore Visual Studio temporary files, build results, and 2 | ## files generated by popular Visual Studio add-ons. 3 | 4 | # User-specific files 5 | *.suo 6 | *.user 7 | *.sln.docstates 8 | 9 | # Build results 10 | [Dd]ebug/ 11 | [Dd]ebugPublic/ 12 | [Rr]elease/ 13 | x64/ 14 | build/ 15 | bld/ 16 | [Bb]in/ 17 | [Oo]bj/ 18 | 19 | # Roslyn cache directories 20 | *.ide/ 21 | 22 | # MSTest test Results 23 | [Tt]est[Rr]esult*/ 24 | [Bb]uild[Ll]og.* 25 | 26 | #NUNIT 27 | *.VisualState.xml 28 | TestResult.xml 29 | 30 | # Build Results of an ATL Project 31 | [Dd]ebugPS/ 32 | [Rr]eleasePS/ 33 | dlldata.c 34 | 35 | *_i.c 36 | *_p.c 37 | *_i.h 38 | *.ilk 39 | *.meta 40 | *.obj 41 | *.pch 42 | *.pdb 43 | *.pgc 44 | *.pgd 45 | *.rsp 46 | *.sbr 47 | *.tlb 48 | *.tli 49 | *.tlh 50 | *.tmp 51 | *.tmp_proj 52 | *.log 53 | *.vspscc 54 | *.vssscc 55 | .builds 56 | *.pidb 57 | *.svclog 58 | *.scc 59 | 60 | # Chutzpah Test files 61 | _Chutzpah* 62 | 63 | # Visual C++ cache files 64 | ipch/ 65 | *.aps 66 | *.ncb 67 | *.opensdf 68 | *.sdf 69 | *.cachefile 70 | 71 | # Visual Studio profiler 72 | *.psess 73 | *.vsp 74 | *.vspx 75 | 76 | # TFS 2012 Local Workspace 77 | $tf/ 78 | 79 | # Guidance Automation Toolkit 80 | *.gpState 81 | 82 | # ReSharper is a .NET coding add-in 83 | _ReSharper*/ 84 | *.[Rr]e[Ss]harper 85 | *.DotSettings.user 86 | 87 | # JustCode is a .NET coding addin-in 88 | .JustCode 89 | 90 | # TeamCity is a build add-in 91 | _TeamCity* 92 | 93 | # DotCover is a Code Coverage Tool 94 | *.dotCover 95 | 96 | # NCrunch 97 | _NCrunch_* 98 | .*crunch*.local.xml 99 | 100 | # MightyMoose 101 | *.mm.* 102 | AutoTest.Net/ 103 | 104 | # Web workbench (sass) 105 | .sass-cache/ 106 | 107 | # Installshield output folder 108 | [Ee]xpress/ 109 | 110 | # DocProject is a documentation generator add-in 111 | DocProject/buildhelp/ 112 | DocProject/Help/*.HxT 113 | DocProject/Help/*.HxC 114 | DocProject/Help/*.hhc 115 | DocProject/Help/*.hhk 116 | DocProject/Help/*.hhp 117 | DocProject/Help/Html2 118 | DocProject/Help/html 119 | 120 | # Click-Once directory 121 | publish/ 122 | 123 | # Publish Web Output 124 | *.[Pp]ublish.xml 125 | *.azurePubxml 126 | ## TODO: Comment the next line if you want to checkin your 127 | ## web deploy settings but do note that will include unencrypted 128 | ## passwords 129 | #*.pubxml 130 | 131 | # NuGet Packages Directory 132 | packages/* 133 | ## TODO: If the tool you use requires repositories.config 134 | ## uncomment the next line 135 | #!packages/repositories.config 136 | 137 | # Enable "build/" folder in the NuGet Packages folder since 138 | # NuGet packages use it for MSBuild targets. 139 | # This line needs to be after the ignore of the build folder 140 | # (and the packages folder if the line above has been uncommented) 141 | !packages/build/ 142 | 143 | # Windows Azure Build Output 144 | csx/ 145 | *.build.csdef 146 | 147 | # Windows Store app package directory 148 | AppPackages/ 149 | 150 | # Others 151 | sql/ 152 | *.Cache 153 | ClientBin/ 154 | [Ss]tyle[Cc]op.* 155 | ~$* 156 | *~ 157 | *.dbmdl 158 | *.dbproj.schemaview 159 | *.pfx 160 | *.publishsettings 161 | node_modules/ 162 | 163 | # RIA/Silverlight projects 164 | Generated_Code/ 165 | 166 | # Backup & report files from converting an old project file 167 | # to a newer Visual Studio version. Backup files are not needed, 168 | # because we have git ;-) 169 | _UpgradeReport_Files/ 170 | Backup*/ 171 | UpgradeLog*.XML 172 | UpgradeLog*.htm 173 | 174 | # SQL Server files 175 | *.mdf 176 | *.ldf 177 | 178 | # Business Intelligence projects 179 | *.rdl.data 180 | *.bim.layout 181 | *.bim_*.settings 182 | 183 | # Microsoft Fakes 184 | FakesAssemblies/ 185 | 186 | # LightSwitch generated files 187 | GeneratedArtifacts/ 188 | _Pvt_Extensions/ 189 | ModelManifest.xml -------------------------------------------------------------------------------- /Bug-List.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Bug-List.xls -------------------------------------------------------------------------------- /CWebPage/CWebPage.rc: -------------------------------------------------------------------------------- 1 | // Microsoft Visual C++ generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // Chinese (P.R.C.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 21 | #pragma code_page(936) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE 31 | BEGIN 32 | "resource.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE 42 | BEGIN 43 | "\r\n" 44 | "\0" 45 | END 46 | 47 | #endif // APSTUDIO_INVOKED 48 | 49 | 50 | ///////////////////////////////////////////////////////////////////////////// 51 | // 52 | // Version 53 | // 54 | 55 | VS_VERSION_INFO VERSIONINFO 56 | FILEVERSION 1,0,0,1 57 | PRODUCTVERSION 1,0,2,0 58 | FILEFLAGSMASK 0x17L 59 | #ifdef _DEBUG 60 | FILEFLAGS 0x1L 61 | #else 62 | FILEFLAGS 0x0L 63 | #endif 64 | FILEOS 0x4L 65 | FILETYPE 0x2L 66 | FILESUBTYPE 0x0L 67 | BEGIN 68 | BLOCK "StringFileInfo" 69 | BEGIN 70 | BLOCK "080404b0" 71 | BEGIN 72 | VALUE "FileDescription", "C Web Page Library" 73 | VALUE "FileVersion", "1.0.0.1 build 7600" 74 | VALUE "InternalName", "CWebPage" 75 | VALUE "LegalCopyright", "Copyright (C) 2010, Shining" 76 | VALUE "OriginalFilename", "CWebPage.dll" 77 | VALUE "ProductName", "DdzClient" 78 | VALUE "ProductVersion", "1.0.0.1 build 7600" 79 | END 80 | END 81 | BLOCK "VarFileInfo" 82 | BEGIN 83 | VALUE "Translation", 0x804, 1200 84 | END 85 | END 86 | 87 | #endif // Chinese (P.R.C.) resources 88 | ///////////////////////////////////////////////////////////////////////////// 89 | 90 | 91 | 92 | #ifndef APSTUDIO_INVOKED 93 | ///////////////////////////////////////////////////////////////////////////// 94 | // 95 | // Generated from the TEXTINCLUDE 3 resource. 96 | // 97 | 98 | 99 | ///////////////////////////////////////////////////////////////////////////// 100 | #endif // not APSTUDIO_INVOKED 101 | 102 | -------------------------------------------------------------------------------- /CWebPage/CWebPage.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {0AD08FCE-CBA2-4BD4-AA59-0E6505F883D1} 15 | CWebPage 16 | SAK 17 | SAK 18 | SAK 19 | SAK 20 | Win32Proj 21 | 22 | 23 | 24 | DynamicLibrary 25 | Unicode 26 | true 27 | v120 28 | 29 | 30 | DynamicLibrary 31 | Unicode 32 | v120 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <_ProjectFileVersion>10.0.40219.1 46 | $(SolutionDir)_bin\$(Configuration)\ 47 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 48 | true 49 | $(SolutionDir)_bin\$(Configuration)\ 50 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 51 | false 52 | AllRules.ruleset 53 | 54 | 55 | AllRules.ruleset 56 | 57 | 58 | 59 | 60 | 61 | Disabled 62 | WIN32;_DEBUG;_WINDOWS;_USRDLL;CWEBPAGE_EXPORTS;%(PreprocessorDefinitions) 63 | true 64 | EnableFastChecks 65 | MultiThreadedDebugDLL 66 | 67 | 68 | 69 | 70 | Level3 71 | EditAndContinue 72 | 73 | 74 | $(OutDir)$(ProjectName).dll 75 | 76 | 77 | false 78 | cwebpage.def 79 | true 80 | $(IntDir)$(TargetName).pdb 81 | Windows 82 | false 83 | 84 | 85 | $(IntDir)$(TargetName).lib 86 | MachineX86 87 | 88 | 89 | $(IntDir)$(ProjectName).bsc 90 | 91 | 92 | 93 | 94 | WIN32;NDEBUG;_WINDOWS;_USRDLL;CWEBPAGE_EXPORTS;%(PreprocessorDefinitions) 95 | MultiThreadedDLL 96 | 97 | 98 | 99 | 100 | Level3 101 | ProgramDatabase 102 | 103 | 104 | $(OutDir)$(ProjectName).dll 105 | cwebpage.def 106 | true 107 | $(IntDir)$(TargetName).pdb 108 | Windows 109 | true 110 | true 111 | false 112 | 113 | 114 | $(IntDir)$(TargetName).lib 115 | MachineX86 116 | 117 | 118 | $(IntDir)$(ProjectName).bsc 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | -------------------------------------------------------------------------------- /CWebPage/CWebPage.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 23 | 24 | 源文件 25 | 26 | 27 | 28 | 29 | 头文件 30 | 31 | 32 | 头文件 33 | 34 | 35 | 36 | 37 | 资源文件 38 | 39 | 40 | -------------------------------------------------------------------------------- /CWebPage/cwebpage.def: -------------------------------------------------------------------------------- 1 | LIBRARY CWEBPAGE 2 | EXPORTS 3 | EmbedBrowserObject 4 | UnEmbedBrowserObject 5 | DisplayHTMLStr 6 | DisplayHTMLPage 7 | ResizeBrowser 8 | DoPageAction 9 | WaitOnReadyState 10 | GetWebPtrs 11 | GetWebElement 12 | GetWebSrcElement 13 | SetWebReturnValue 14 | CreateWebEvtHandler 15 | FreeWebEvtHandler 16 | TStr2BStr 17 | BStr2TStr 18 | -------------------------------------------------------------------------------- /CWebPage/cwebpage.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This include file is meant to be included with any C/C++ source you 3 | * write which uses the cwebpage DLL. 4 | */ 5 | 6 | #ifndef __CWEBPAGE_H_INCLUDED 7 | #define __CWEBPAGE_H_INCLUDED 8 | 9 | #ifdef UNICODE 10 | #ifndef _UNICODE 11 | #define _UNICODE 12 | #endif 13 | #endif 14 | 15 | #include 16 | #include /* Defines of stuff like IWebBrowser2. This is an include file with Visual C 6 and above */ 17 | #include /* Defines of stuff like IHTMLDocument2. This is an include file with Visual C 6 and above */ 18 | #include /* Defines of stuff like IDocHostUIHandler. This is an include file with Visual C 6 and above */ 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | // Passed to an app's window procedure (as a WM_NOTIFY message) whenever an 25 | // action has occurred on the web page (and the app has asked to be informed 26 | // of that specific action) 27 | typedef struct { 28 | NMHDR nmhdr; 29 | IHTMLEventObj * htmlEvent; 30 | LPCTSTR eventStr; 31 | } WEBPARAMS; 32 | 33 | // Our _IDispatchEx struct. This is just an IDispatch with some 34 | // extra fields appended to it for our use in storing extra 35 | // info we need for the purpose of reacting to events that happen 36 | // to some element on a web page. 37 | typedef struct { 38 | IDispatch dispatchObj; // The mandatory IDispatch. 39 | DWORD refCount; // Our reference count. 40 | IHTMLWindow2 * htmlWindow2; // Where we store the IHTMLWindow2 so that our IDispatch's Invoke() can get it. 41 | HWND hwnd; // The window hosting the browser page. Our IDispatch's Invoke() sends messages when an event of interest occurs. 42 | short id; // Any numeric value of your choosing that you wish to associate with this IDispatch. 43 | unsigned short extraSize; // Byte size of any extra fields prepended to this struct. 44 | IUnknown *object; // Some object associated with the web page element this IDispatch is for. 45 | void *userdata; // An extra pointer. 46 | } _IDispatchEx; 47 | 48 | #if UNICODE 49 | BSTR WINAPI TStr2BStr(HWND, const WCHAR *); 50 | typedef BSTR WINAPI TStr2BStrPtr(HWND, const WCHAR *); 51 | #else 52 | BSTR WINAPI TStr2BStr(HWND, const char *); 53 | typedef BSTR WINAPI TStr2BStrPtr(HWND, const char *); 54 | #endif 55 | #define TSTR2BSTR TStr2BStr 56 | #define TSTR2BSTRNAME "TStr2BStr" 57 | 58 | void * WINAPI BStr2TStr(HWND, BSTR); 59 | typedef void * WINAPI BStr2TStrPtr(HWND, BSTR); 60 | #define BSTR2TSTR BStr2TStr 61 | #define BSTR2TSTRNAME "BStr2TStr" 62 | 63 | long WINAPI EmbedBrowserObject(HWND); 64 | #define EMBEDBROWSEROBJECT EmbedBrowserObject 65 | typedef long WINAPI EmbedBrowserObjectPtr(HWND); 66 | #define EMBEDBROWSEROBJECTNAME "EmbedBrowserObject" 67 | 68 | void WINAPI UnEmbedBrowserObject(HWND); 69 | #define UNEMBEDBROWSEROBJECT UnEmbedBrowserObject 70 | typedef long WINAPI UnEmbedBrowserObjectPtr(HWND); 71 | #define UNEMBEDBROWSEROBJECTNAME "UnEmbedBrowserObject" 72 | 73 | #ifdef UNICODE 74 | long WINAPI DisplayHTMLPage(HWND, const WCHAR *); 75 | typedef long WINAPI DisplayHTMLPagePtr(HWND, const WCHAR *); 76 | #else 77 | long WINAPI DisplayHTMLPage(HWND, const char *); 78 | typedef long WINAPI DisplayHTMLPagePtr(HWND, const char *); 79 | #endif 80 | #define DISPLAYHTMLPAGE DisplayHTMLPage 81 | #define DISPLAYHTMLPAGENAME "DisplayHTMLPage" 82 | 83 | #ifdef UNICODE 84 | long WINAPI DisplayHTMLStr(HWND, const WCHAR *); 85 | typedef long WINAPI DisplayHTMLStrPtr(HWND, const WCHAR *); 86 | #else 87 | long WINAPI DisplayHTMLStr(HWND, const char *); 88 | typedef long WINAPI DisplayHTMLStrPtr(HWND, const char *); 89 | #endif 90 | #define DISPLAYHTMLSTR DisplayHTMLStr 91 | #define DISPLAYHTMLSTRNAME "DisplayHTMLStr" 92 | 93 | #ifdef UNICODE 94 | IHTMLElement * WINAPI GetWebElement(HWND, IHTMLDocument2 *, const WCHAR *, INT); 95 | typedef IHTMLElement * WINAPI GetWebElementPtr(HWND, IHTMLDocument2 *, const WCHAR *, INT); 96 | #else 97 | IHTMLElement * WINAPI GetWebElement(HWND, IHTMLDocument2 *, const char *, INT); 98 | typedef IHTMLElement * WINAPI GetWebElementPtr(HWND, IHTMLDocument2 *, const char *, INT); 99 | #endif 100 | #define GETWEBELEMENT GetWebElement 101 | #define GETWEBELEMENTNAME "GetWebElement" 102 | 103 | IHTMLElement * WINAPI GetWebSrcElement(IHTMLEventObj *); 104 | typedef IHTMLElement * WINAPI GetWebSrcElementPtr(IHTMLEventObj *); 105 | #define GETWEBSRCELEMENT GetWebSrcElement 106 | #define GETWEBSRCELEMENTNAME "GetWebSrcElement" 107 | 108 | void WINAPI ResizeBrowser(HWND, DWORD, DWORD); 109 | #define RESIZEBROWSER ResizeBrowser 110 | typedef void WINAPI ResizeBrowserPtr(HWND, DWORD, DWORD); 111 | #define RESIZEBROWSERNAME "ResizeBrowser" 112 | 113 | #define WEBPAGE_GOBACK 0 114 | #define WEBPAGE_GOFORWARD 1 115 | #define WEBPAGE_GOHOME 2 116 | #define WEBPAGE_SEARCH 3 117 | #define WEBPAGE_REFRESH 4 118 | #define WEBPAGE_STOP 5 119 | 120 | void WINAPI DoPageAction(HWND, DWORD); 121 | #define DOPAGEACTION DoPageAction 122 | typedef void WINAPI DoPageActionPtr(HWND, DWORD); 123 | #define DOPAGEACTIONNAME "DoPageAction" 124 | 125 | #define WORS_SUCCESS 0 126 | #define WORS_TIMEOUT -1 127 | #define WORS_DESTROYED -2 128 | 129 | HRESULT WINAPI WaitOnReadyState(HWND, READYSTATE, DWORD, IWebBrowser2 *); 130 | typedef HRESULT WINAPI WaitOnReadyStatePtr(HWND, READYSTATE, DWORD, IWebBrowser2 *); 131 | #define WAITONREADYSTATE WaitOnReadyState 132 | #define WAITONREADYSTATENAME "WaitOnReadyState" 133 | 134 | void * WINAPI BStr2TStr(HWND, BSTR); 135 | typedef void * WINAPI BStr2TStrPtr(HWND, BSTR); 136 | #define BSTR2TSTR BStr2TStr 137 | #define BSTR2TSTRNAME "BStr2TStr" 138 | 139 | #if UNICODE 140 | BSTR WINAPI TStr2BStr(HWND, const WCHAR *); 141 | typedef BSTR WINAPI TStr2BStrPtr(HWND, const WCHAR *); 142 | #else 143 | BSTR WINAPI TStr2BStr(HWND, const char *); 144 | typedef BSTR WINAPI TStr2BStrPtr(HWND, const char *); 145 | #endif 146 | #define TSTR2BSTR TStr2BStr 147 | #define TSTR2BSTRNAME "TStr2BStr" 148 | 149 | HRESULT WINAPI GetWebPtrs(HWND, IWebBrowser2 **, IHTMLDocument2 **); 150 | typedef HRESULT WINAPI GetWebPtrsPtr(HWND, IWebBrowser2 **, IHTMLDocument2 **); 151 | #define GETWEBPTRS GetWebPtrs 152 | #define GETWEBPTRSNAME "GetWebPtrs" 153 | 154 | HRESULT WINAPI SetWebReturnValue(IHTMLEventObj *, BOOL); 155 | typedef HRESULT WINAPI SetWebReturnValuePtr(IHTMLEventObj *, BOOL); 156 | #define SETWEBRETURNVALUE SetWebReturnValue 157 | #define SETWEBRETURNVALUENAME "SetWebReturnValue" 158 | 159 | void WINAPI FreeWebEvtHandler(IDispatch *); 160 | typedef void WINAPI FreeWebEvtHandlerPtr(IDispatch *); 161 | #define FREEWEBEVTHANDLER FreeWebEvtHandler 162 | #define FREEWEBEVTHANDLERNAME "FreeWebEvtHandler" 163 | 164 | IDispatch * WINAPI CreateWebEvtHandler(HWND, IHTMLDocument2 *, DWORD, long, IUnknown *, void *); 165 | typedef IDispatch * WINAPI CreateWebEvtHandlerPtr(HWND, IHTMLDocument2 *, DWORD, long, IUnknown *, void *); 166 | #define CREATEWEBEVTHANDLER CreateWebEvtHandler 167 | #define CREATEWEBEVTHANDLERNAME "CreateWebEvtHandler" 168 | 169 | #ifdef __cplusplus 170 | } 171 | #endif 172 | 173 | #endif /* __CWEBPAGE_H_INCLUDED */ 174 | -------------------------------------------------------------------------------- /CWebPage/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by CWebPage.rc 4 | 5 | // Next default values for new objects 6 | // 7 | #ifdef APSTUDIO_INVOKED 8 | #ifndef APSTUDIO_READONLY_SYMBOLS 9 | #define _APS_NEXT_RESOURCE_VALUE 101 10 | #define _APS_NEXT_COMMAND_VALUE 40001 11 | #define _APS_NEXT_CONTROL_VALUE 1001 12 | #define _APS_NEXT_SYMED_VALUE 101 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /DdzClient/AppDef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/AppDef.h -------------------------------------------------------------------------------- /DdzClient/AppResource.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/AppResource.cpp -------------------------------------------------------------------------------- /DdzClient/AppResource.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/AppResource.h -------------------------------------------------------------------------------- /DdzClient/CurPokerWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/CurPokerWnd.cpp -------------------------------------------------------------------------------- /DdzClient/CurPokerWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/CurPokerWnd.h -------------------------------------------------------------------------------- /DdzClient/DdzClient.ICO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/DdzClient.ICO -------------------------------------------------------------------------------- /DdzClient/DdzClient.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/DdzClient.cpp -------------------------------------------------------------------------------- /DdzClient/DdzClient.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 斗地主游戏软件客户端 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /DdzClient/DdzClient.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/DdzClient.h -------------------------------------------------------------------------------- /DdzClient/DdzClient.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/DdzClient.rc -------------------------------------------------------------------------------- /DdzClient/DdzClient.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {80B65A6C-A2D6-4C4D-BE50-EED82DBF7202} 15 | DdzClient 16 | SAK 17 | SAK 18 | SAK 19 | SAK 20 | Win32Proj 21 | 22 | 23 | 24 | Application 25 | Unicode 26 | true 27 | v120 28 | 29 | 30 | Application 31 | Unicode 32 | v120 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <_ProjectFileVersion>10.0.40219.1 46 | $(SolutionDir)_bin\$(Configuration)\ 47 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 48 | true 49 | $(SolutionDir)_bin\$(Configuration)\ 50 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 51 | false 52 | AllRules.ruleset 53 | 54 | 55 | AllRules.ruleset 56 | 57 | 58 | 59 | 60 | 61 | Disabled 62 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 63 | WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) 64 | false 65 | true 66 | EnableFastChecks 67 | MultiThreadedDebugDLL 68 | Use 69 | $(IntDir)$(TargetName).pch 70 | Level4 71 | ProgramDatabase 72 | 73 | 74 | winmm.lib;comctl32.lib;ws2_32.lib;shlwapi.lib;%(AdditionalDependencies) 75 | $(OutDir)$(ProjectName).exe 76 | 77 | 78 | %(AdditionalLibraryDirectories) 79 | false 80 | true 81 | $(IntDir)$(TargetName).pdb 82 | Windows 83 | false 84 | 85 | 86 | MachineX86 87 | 88 | 89 | $(IntDir)$(ProjectName).bsc 90 | 91 | 92 | 93 | 94 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 95 | WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) 96 | MultiThreadedDLL 97 | Use 98 | Level4 99 | ProgramDatabase 100 | 101 | 102 | winmm.lib;comctl32.lib;ws2_32.lib;shlwapi.lib;%(AdditionalDependencies) 103 | $(OutDir)$(ProjectName).exe 104 | true 105 | $(IntDir)$(TargetName).pdb 106 | Windows 107 | true 108 | true 109 | false 110 | 111 | 112 | MachineX86 113 | 114 | 115 | $(IntDir)$(ProjectName).bsc 116 | 117 | 118 | 119 | 120 | 121 | 122 | Use 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | Use 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | Create 142 | Create 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | {0ad08fce-cba2-4bd4-aa59-0e6505f883d1} 191 | false 192 | 193 | 194 | {66963722-82ff-4c69-927b-3a5bb8068a33} 195 | false 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | -------------------------------------------------------------------------------- /DdzClient/DdzClient.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 源文件 23 | 24 | 25 | 源文件 26 | 27 | 28 | 源文件 29 | 30 | 31 | 源文件 32 | 33 | 34 | 源文件 35 | 36 | 37 | 源文件 38 | 39 | 40 | 源文件 41 | 42 | 43 | 源文件 44 | 45 | 46 | 源文件 47 | 48 | 49 | 源文件 50 | 51 | 52 | 源文件 53 | 54 | 55 | 源文件 56 | 57 | 58 | 源文件 59 | 60 | 61 | 源文件 62 | 63 | 64 | 源文件 65 | 66 | 67 | 源文件 68 | 69 | 70 | 源文件 71 | 72 | 73 | 源文件 74 | 75 | 76 | 源文件 77 | 78 | 79 | 源文件 80 | 81 | 82 | 源文件 83 | 84 | 85 | 源文件 86 | 87 | 88 | 89 | 90 | 源文件 91 | 92 | 93 | 94 | 95 | 头文件 96 | 97 | 98 | 头文件 99 | 100 | 101 | 头文件 102 | 103 | 104 | 头文件 105 | 106 | 107 | 头文件 108 | 109 | 110 | 头文件 111 | 112 | 113 | 头文件 114 | 115 | 116 | 头文件 117 | 118 | 119 | 头文件 120 | 121 | 122 | 头文件 123 | 124 | 125 | 头文件 126 | 127 | 128 | 头文件 129 | 130 | 131 | 头文件 132 | 133 | 134 | 头文件 135 | 136 | 137 | 头文件 138 | 139 | 140 | 头文件 141 | 142 | 143 | 头文件 144 | 145 | 146 | 头文件 147 | 148 | 149 | 头文件 150 | 151 | 152 | 头文件 153 | 154 | 155 | 头文件 156 | 157 | 158 | 头文件 159 | 160 | 161 | 头文件 162 | 163 | 164 | 头文件 165 | 166 | 167 | 头文件 168 | 169 | 170 | 171 | 172 | 资源文件 173 | 174 | 175 | 资源文件 176 | 177 | 178 | 资源文件 179 | 180 | 181 | 182 | 183 | 资源文件 184 | 185 | 186 | -------------------------------------------------------------------------------- /DdzClient/GameMainPage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameMainPage.cpp -------------------------------------------------------------------------------- /DdzClient/GameMainPage.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameMainPage.h -------------------------------------------------------------------------------- /DdzClient/GameMainWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameMainWnd.cpp -------------------------------------------------------------------------------- /DdzClient/GameMainWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameMainWnd.h -------------------------------------------------------------------------------- /DdzClient/GameRoomWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameRoomWnd.cpp -------------------------------------------------------------------------------- /DdzClient/GameRoomWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameRoomWnd.h -------------------------------------------------------------------------------- /DdzClient/GameSeatWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameSeatWnd.cpp -------------------------------------------------------------------------------- /DdzClient/GameSeatWnd.h: -------------------------------------------------------------------------------- 1 | // 2 | // File: GameSeatWnd.h 3 | // 4 | #pragma once 5 | 6 | #define GAME_SEAT_WND_CLASS_NAME _T("_GAME_SEAT_WND_") 7 | #define GAME_SEAT_WND_DEF_BG_COLR RGB(81,113,158) 8 | 9 | class GameSeatWnd 10 | { 11 | HWND m_hWnd; 12 | HWND m_hWndParent; 13 | HINSTANCE m_hInstance; 14 | 15 | BOOL m_bMouseEnter; 16 | BOOL m_bLButtonDown; 17 | 18 | int m_nSeatId; // CTRL id 19 | BOOL m_bAllowLookon; 20 | 21 | int m_nLookonIds[MAX_LOOKON_NUM_PER_SEAT]; 22 | 23 | public: 24 | GameSeatWnd(void); 25 | ~GameSeatWnd(void); 26 | static ATOM GameSeatWndRegister(HINSTANCE hInstance); 27 | static LRESULT CALLBACK GameSeatWndProc(HWND, UINT, WPARAM, LPARAM); 28 | 29 | protected: 30 | void Draw3DRect(HDC hdc, RECT* lpRect, COLORREF clrLT, COLORREF clrRB); 31 | 32 | void OnPaint(HDC hdc); 33 | void OnMouseMove(int x, int y); 34 | void OnMouseLeave(int x, int y); 35 | void OnLButtonDown(int x, int y); 36 | void OnLButtonUp(int x, int y); 37 | void OnRButtonUp(int x, int y); 38 | 39 | public: 40 | HWND Create(int x, int y, int cx, int cy, UINT nID, HWND hWndParent, HINSTANCE hInstance); 41 | void SetAllowLookon(BOOL bAllow = TRUE); 42 | BOOL GetSeatAllowLookon(void); 43 | void SetWindowRect(int x, int y, int cx, int cy); 44 | 45 | void LookonTakeSeat(int id); 46 | void LookonLeaveSeat(int id); 47 | 48 | int* GetLookonIdArrayPtr(void); 49 | void ResetGameSeat(void); 50 | }; 51 | -------------------------------------------------------------------------------- /DdzClient/GameTableWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameTableWnd.cpp -------------------------------------------------------------------------------- /DdzClient/GameTableWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GameTableWnd.h -------------------------------------------------------------------------------- /DdzClient/GamerVisualWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GamerVisualWnd.cpp -------------------------------------------------------------------------------- /DdzClient/GamerVisualWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/GamerVisualWnd.h -------------------------------------------------------------------------------- /DdzClient/HomePageWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/HomePageWnd.cpp -------------------------------------------------------------------------------- /DdzClient/HomePageWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/HomePageWnd.h -------------------------------------------------------------------------------- /DdzClient/Logon.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/Logon.cpp -------------------------------------------------------------------------------- /DdzClient/Logon.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/Logon.h -------------------------------------------------------------------------------- /DdzClient/MyButton.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/MyButton.cpp -------------------------------------------------------------------------------- /DdzClient/MyButton.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/MyButton.h -------------------------------------------------------------------------------- /DdzClient/NetProcess.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/NetProcess.cpp -------------------------------------------------------------------------------- /DdzClient/NetProcess.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/NetProcess.h -------------------------------------------------------------------------------- /DdzClient/OutCardWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/OutCardWnd.cpp -------------------------------------------------------------------------------- /DdzClient/OutCardWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/OutCardWnd.h -------------------------------------------------------------------------------- /DdzClient/PageTabWnd.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // File: PageTabWnd.cpp 3 | // 4 | // Contain the tab ctrl for page selection. 5 | // 6 | #include "stdafx.h" 7 | #include "MyButton.h" 8 | #include "PageTabWnd.h" 9 | 10 | 11 | PageTabWnd::PageTabWnd(void) 12 | { 13 | m_hWnd = NULL; 14 | } 15 | 16 | PageTabWnd::~PageTabWnd(void) 17 | { 18 | 19 | } 20 | 21 | ATOM PageTabWnd::PageTabWndRegister(HINSTANCE hInstance) 22 | { 23 | WNDCLASSEX wcex; 24 | 25 | wcex.cbSize = sizeof(WNDCLASSEX); 26 | wcex.lpszClassName = PAGE_TAB_WND_CLASS_NAME; 27 | wcex.lpfnWndProc = PageTabWndProc; 28 | wcex.style = CS_HREDRAW | CS_VREDRAW; 29 | wcex.cbClsExtra = 0; 30 | wcex.cbWndExtra = 0; 31 | wcex.hInstance = hInstance; 32 | wcex.hIcon = NULL; 33 | wcex.hCursor = LoadCursor(NULL, IDC_ARROW); 34 | wcex.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1); 35 | wcex.lpszMenuName = NULL; 36 | wcex.hIconSm = NULL; 37 | 38 | return RegisterClassEx(&wcex); 39 | } 40 | 41 | LRESULT CALLBACK PageTabWnd::PageTabWndProc(HWND hWnd, UINT nMsg, WPARAM wParam, LPARAM lParam) 42 | { 43 | HDC hdc; 44 | PAINTSTRUCT ps; 45 | LPCREATESTRUCT lpcs; 46 | PageTabWnd* lpWnd = (PageTabWnd*)GetWindowLongPtr(hWnd, GWLP_USERDATA); 47 | 48 | switch (nMsg) { 49 | case WM_CREATE: 50 | lpcs = (LPCREATESTRUCT)lParam; 51 | SetWindowLongPtr(hWnd, GWLP_USERDATA, (LONG_PTR)(lpcs->lpCreateParams)); 52 | break; 53 | 54 | case WM_DESTROY: 55 | SetWindowLongPtr(hWnd, GWLP_USERDATA, NULL); 56 | break; 57 | 58 | case WM_PAINT: 59 | hdc = BeginPaint(hWnd, &ps); 60 | lpWnd->OnPaint(hdc); 61 | EndPaint(hWnd, &ps); 62 | break; 63 | 64 | case WM_COMMAND: 65 | lpWnd->OnCommand(wParam, lParam); 66 | break; 67 | 68 | case WM_NOTIFY: 69 | lpWnd->OnNotify(wParam, lParam); 70 | break; 71 | 72 | default: 73 | return DefWindowProc(hWnd, nMsg, wParam, lParam); 74 | } 75 | 76 | return 0; 77 | } 78 | 79 | HWND PageTabWnd::Create(int x, int y, int cx, int cy, HWND hWndParent, HINSTANCE hInstance) 80 | { 81 | m_hWnd = CreateWindowEx(0, 82 | PAGE_TAB_WND_CLASS_NAME, 83 | _T(""), 84 | WS_CHILD | WS_VISIBLE | TCS_FOCUSNEVER | TCS_FIXEDWIDTH, 85 | x, y, cx, cy, 86 | hWndParent, NULL, hInstance, this); 87 | assert(m_hWnd != NULL); 88 | 89 | m_hTabCtrl = CreateWindowEx(0, 90 | WC_TABCONTROL, 91 | _T(""), 92 | WS_CHILD | WS_VISIBLE, 93 | 0, 0, cx - PTW_RET_BUTTON_WIDTH, cy, 94 | m_hWnd, 95 | (HMENU)PTW_TAB_CTRL_ID, 96 | hInstance, NULL); 97 | assert(m_hTabCtrl != NULL); 98 | 99 | SendMessage(m_hTabCtrl, WM_SETFONT, (WPARAM)GetStockObject(DEFAULT_GUI_FONT), (LPARAM)FALSE); 100 | 101 | m_btnReturn.Create(WS_CHILD | WS_VISIBLE, 102 | cx - PTW_RET_BUTTON_WIDTH, 103 | 0, 104 | PTW_RET_BUTTON_WIDTH, 105 | cy, 106 | m_hWnd, 107 | PTW_RET_BUTTON_ID, 108 | hInstance); 109 | 110 | m_hWndParent = hWndParent; 111 | m_hInstance = hInstance; 112 | return m_hWnd; 113 | } 114 | 115 | void PageTabWnd::SetWindwRect(int x, int y, int cx, int cy) 116 | { 117 | MoveWindow(m_hWnd, x, y, cx, cy, TRUE); 118 | 119 | MoveWindow(m_hTabCtrl, 0, 0, cx - PTW_RET_BUTTON_WIDTH, cy, TRUE); 120 | 121 | m_btnReturn.SetWindowRect(cx - PTW_RET_BUTTON_WIDTH, 122 | (cy - PTW_RET_BUTTON_HEIGHT) / 2, 123 | PTW_RET_BUTTON_WIDTH, 124 | PTW_RET_BUTTON_HEIGHT); 125 | } 126 | 127 | void PageTabWnd::Show(BOOL bShow /*= TRUE*/) 128 | { 129 | ShowWindow(m_hWnd, bShow ? TRUE : FALSE); 130 | } 131 | 132 | BOOL PageTabWnd::InsertTabPage(int index, int nImage, LPCTSTR lpszLabel, LPARAM lParam) 133 | { 134 | TCITEM tci = { 0 }; 135 | tci.mask = TCIF_TEXT | TCIF_IMAGE | TCIF_PARAM; 136 | tci.pszText = (LPTSTR)lpszLabel; 137 | tci.cchTextMax = _tcslen(lpszLabel); 138 | tci.iImage = nImage; 139 | tci.lParam = lParam; 140 | 141 | return (index == TabCtrl_InsertItem(m_hTabCtrl, index, &tci)) ? TRUE : FALSE; 142 | } 143 | 144 | BOOL PageTabWnd::RemoveTabPage(int index) 145 | { 146 | return TabCtrl_DeleteItem(m_hTabCtrl, index); 147 | } 148 | 149 | HIMAGELIST PageTabWnd::SetTabImageList(HIMAGELIST himlTab) 150 | { 151 | return TabCtrl_SetImageList(m_hTabCtrl, himlTab); 152 | } 153 | 154 | int PageTabWnd::GetCurTabSel(void) 155 | { 156 | return TabCtrl_GetCurSel(m_hTabCtrl); 157 | } 158 | 159 | void PageTabWnd::SetCurTabSel(int index) 160 | { 161 | TabCtrl_SetCurSel(m_hTabCtrl, index); 162 | } 163 | 164 | void PageTabWnd::OnPaint(HDC hdc) 165 | { 166 | UNREFERENCED_PARAMETER(hdc); 167 | 168 | //RECT rect; 169 | //GetClientRect(m_hWnd, &rect); 170 | 171 | //HBRUSH hbrush = CreateSolidBrush(PTW_BACK_CLR); 172 | //if (hbrush != NULL) { 173 | // FillRect(hdc, &rect, hbrush); 174 | // DeleteObject(hbrush); 175 | //} 176 | } 177 | 178 | void PageTabWnd::OnCommand(WPARAM wParam, LPARAM lParam) 179 | { 180 | UNREFERENCED_PARAMETER(lParam); 181 | 182 | UINT nCtrlId = LOWORD(wParam); 183 | 184 | switch (nCtrlId) { 185 | case PTW_RET_BUTTON_ID: 186 | OnBtnReturn(); 187 | break; 188 | } 189 | } 190 | 191 | void PageTabWnd::OnNotify(WPARAM wParam, LPARAM lParam) 192 | { 193 | UNREFERENCED_PARAMETER(wParam); 194 | 195 | NMHDR* nmhdr = (NMHDR*)lParam; 196 | 197 | switch (nmhdr->idFrom) { 198 | case PTW_TAB_CTRL_ID: 199 | switch (nmhdr->code) { 200 | case TCN_SELCHANGING: 201 | OnPageSelChanging(); 202 | break; 203 | 204 | case TCN_SELCHANGE: 205 | OnPageSelChange(); 206 | break; 207 | } 208 | } 209 | } 210 | 211 | void PageTabWnd::OnBtnReturn(void) 212 | { 213 | int index = TabCtrl_GetCurSel(m_hTabCtrl); 214 | if (index > 0) { // 0 means the home page. never close it. 215 | TCITEM tci = { 0 }; 216 | tci.mask = TCIF_PARAM; 217 | 218 | if (TabCtrl_GetItem(m_hTabCtrl, index, &tci) != FALSE) { 219 | SendMessage(m_hWndParent, WM_PAGE_RETURN, 0, tci.lParam); 220 | } 221 | } 222 | } 223 | 224 | void PageTabWnd::OnPageSelChanging(void) 225 | { 226 | int index = TabCtrl_GetCurSel(m_hTabCtrl); 227 | if (index > -1) { 228 | TCITEM tci = { 0 }; 229 | tci.mask = TCIF_PARAM; 230 | 231 | if (TabCtrl_GetItem(m_hTabCtrl, index, &tci) != FALSE) { 232 | SendMessage(m_hWndParent, WM_PAGE_SEL_CHANGING, 0, tci.lParam); 233 | } 234 | } 235 | } 236 | 237 | void PageTabWnd::OnPageSelChange(void) 238 | { 239 | int index = TabCtrl_GetCurSel(m_hTabCtrl); 240 | if (index > -1) { 241 | TCITEM tci = { 0 }; 242 | tci.mask = TCIF_PARAM; 243 | 244 | if (TabCtrl_GetItem(m_hTabCtrl, index, &tci) != FALSE) { 245 | SendMessage(m_hWndParent, WM_PAGE_SEL_CHANGE, 0, tci.lParam); 246 | } 247 | } 248 | } 249 | 250 | void PageTabWnd::InsertHomeTabPage(void) 251 | { 252 | InsertTabPage(HOME_PAGE_TAB_INDEX, HOME_PAGE_TAB_IMAGE_INDEX, HOME_PAGE_TAB_TEXT, HOME_PAGE_TAB_PARAM); 253 | } 254 | 255 | void PageTabWnd::InsertRoomTabPage(void) 256 | { 257 | InsertTabPage(ROOM_PAGE_TAB_INDEX, ROOM_PAGE_TAB_IMAGE_INDEX, ROOM_PAGE_TAB_TEXT, ROOM_PAGE_TAB_PARAM); 258 | } 259 | 260 | void PageTabWnd::InsertGameTabPage(void) 261 | { 262 | InsertTabPage(GAME_PAGE_TAB_INDEX, GAME_PAGE_TAB_IMAGE_INDEX, GAME_PAGE_TAB_TEXT, GAME_PAGE_TAB_PARAM); 263 | } 264 | 265 | void PageTabWnd::RemoveHomeTabPage(void) 266 | { 267 | RemoveTabPage(HOME_PAGE_TAB_INDEX); 268 | } 269 | 270 | void PageTabWnd::RemoveRoomTabPage(void) 271 | { 272 | RemoveTabPage(ROOM_PAGE_TAB_INDEX); 273 | } 274 | 275 | void PageTabWnd::RemoveGameTabPage(void) 276 | { 277 | RemoveTabPage(GAME_PAGE_TAB_INDEX); 278 | } -------------------------------------------------------------------------------- /DdzClient/PageTabWnd.h: -------------------------------------------------------------------------------- 1 | // 2 | // File: PageTabWnd.h 3 | // 4 | #pragma once 5 | 6 | #define PAGE_TAB_WND_CLASS_NAME _T("_PAGE_TAB_WND_") 7 | 8 | #define PTW_BACK_CLR RGB(64,192,96) 9 | 10 | #define PTW_RET_BUTTON_WIDTH 60 11 | #define PTW_RET_BUTTON_HEIGHT 32 12 | 13 | #define PTW_RET_BUTTON_ID 1 14 | #define PTW_TAB_CTRL_ID 2 15 | 16 | 17 | class PageTabWnd 18 | { 19 | HWND m_hTabCtrl; 20 | 21 | HWND m_hWnd; 22 | HWND m_hWndParent; 23 | HINSTANCE m_hInstance; 24 | 25 | public: 26 | MyButton m_btnReturn; 27 | 28 | public: 29 | PageTabWnd(void); 30 | ~PageTabWnd(void); 31 | 32 | public: 33 | static ATOM PageTabWndRegister(HINSTANCE hInstance); 34 | static LRESULT CALLBACK PageTabWndProc(HWND, UINT, WPARAM, LPARAM); 35 | 36 | protected: 37 | void OnPaint(HDC hdc); 38 | void OnCommand(WPARAM wParam, LPARAM lParam); 39 | void OnNotify(WPARAM wParam, LPARAM lParam); 40 | void OnBtnReturn(void); 41 | void OnPageSelChanging(void); 42 | void OnPageSelChange(void); 43 | 44 | public: 45 | HWND Create(int x, int y, int cx, int cy, HWND hWndParent, HINSTANCE hInstance); 46 | void SetWindwRect(int x, int y, int cx, int cy); 47 | void Show(BOOL bShow = TRUE); 48 | 49 | BOOL InsertTabPage(int index, int nImage, LPCTSTR lpszLabel, LPARAM lParam); 50 | BOOL RemoveTabPage(int index); 51 | 52 | HIMAGELIST SetTabImageList(HIMAGELIST himlTab); 53 | int GetCurTabSel(void); 54 | void SetCurTabSel(int index); 55 | 56 | void InsertHomeTabPage(void); 57 | void InsertRoomTabPage(void); 58 | void InsertGameTabPage(void); 59 | void RemoveHomeTabPage(void); 60 | void RemoveRoomTabPage(void); 61 | void RemoveGameTabPage(void); 62 | }; -------------------------------------------------------------------------------- /DdzClient/PictureEx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/PictureEx.cpp -------------------------------------------------------------------------------- /DdzClient/PictureEx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/PictureEx.h -------------------------------------------------------------------------------- /DdzClient/Res/logon.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/Res/logon.bmp -------------------------------------------------------------------------------- /DdzClient/ServerListWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/ServerListWnd.cpp -------------------------------------------------------------------------------- /DdzClient/ServerListWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/ServerListWnd.h -------------------------------------------------------------------------------- /DdzClient/UnderCardWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/UnderCardWnd.cpp -------------------------------------------------------------------------------- /DdzClient/UnderCardWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/UnderCardWnd.h -------------------------------------------------------------------------------- /DdzClient/UserData.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/UserData.cpp -------------------------------------------------------------------------------- /DdzClient/UserData.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/UserData.h -------------------------------------------------------------------------------- /DdzClient/UserInfoWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/UserInfoWnd.cpp -------------------------------------------------------------------------------- /DdzClient/UserInfoWnd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/UserInfoWnd.h -------------------------------------------------------------------------------- /DdzClient/UserListWnd.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/UserListWnd.cpp -------------------------------------------------------------------------------- /DdzClient/UserListWnd.h: -------------------------------------------------------------------------------- 1 | // 2 | // File: UserListWnd.h 3 | // 4 | #pragma once 5 | 6 | #define USER_LIST_WND_CLASS_NAME _T("_USER_LIST_WND_") 7 | 8 | #define ULW_LISTVIEW_OFFSET 10 9 | #define ULW_ROUND_FRAME_OFFSET 4 10 | #define ULW_ROUND_FRAME_WIDTH 4 11 | #define ULW_ROUND_FRAME_ANGEL 16 12 | #define ULW_WINDOW_BG_CLR RGB(70,180,70) 13 | #define ULW_ROUND_FRAME_CLR RGB(32,64,192) 14 | #define ULW_LISTVIEW_BG_CLR ULW_WINDOW_BG_CLR 15 | #define ULW_LISTVIEW_TEXT_CLR RGB(255,255,255) 16 | 17 | // List-view column width 18 | #define ULW_STATUS_COLUMN_WIDTH 32 19 | #define ULW_IMAGE_COLUMN_WIDTH 32 20 | #define ULW_NAME_COLUMN_WIDTH 112 21 | #define ULW_LEVEL_COLUMN_WIDTH 48 22 | #define ULW_SCORE_COLUMN_WIDTH 56 23 | 24 | class UserListWnd 25 | { 26 | HINSTANCE m_hInstance; 27 | HWND m_hWndParent; 28 | HWND m_hWnd; 29 | BOOL m_bShow; 30 | 31 | HWND m_hListCtrl; 32 | 33 | public: 34 | UserListWnd(void); 35 | ~UserListWnd(void); 36 | 37 | public: 38 | static ATOM UserListWndRegister(HINSTANCE hInstance); 39 | static LRESULT CALLBACK UserListWndProc(HWND, UINT, WPARAM, LPARAM); 40 | 41 | protected: 42 | void OnSize(WPARAM wParam, LPARAM lParam); 43 | void OnNotify(WPARAM wParam, LPARAM lParam); 44 | void OnPaint(HDC hdc); 45 | 46 | void InitListView(void); 47 | 48 | public: 49 | HWND Create(int x, int y, int cx, int cy, HWND hWndParent, HINSTANCE hInstance); 50 | void Show(BOOL bShow = TRUE); 51 | BOOL IsVisible(void); 52 | void SetWindowRect(int x, int y, int cx, int cy); 53 | 54 | int InsertUserItem(int nUserId); 55 | BOOL RemoveUserItem(int nUserId); 56 | BOOL RemoveAllUserItems(void); 57 | 58 | void UpdateWnd(void); 59 | }; -------------------------------------------------------------------------------- /DdzClient/Utility.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/Utility.cpp -------------------------------------------------------------------------------- /DdzClient/Utility.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/Utility.h -------------------------------------------------------------------------------- /DdzClient/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by DdzClient.rc 4 | // 5 | #define IDC_MYICON 2 6 | #define IDD_DDZCLIENT_DIALOG 102 7 | #define IDS_APP_TITLE 103 8 | #define IDD_ABOUTBOX 103 9 | #define IDM_ABOUT 104 10 | #define IDM_EXIT 105 11 | #define IDI_DDZCLIENT 107 12 | #define IDI_SMALL 108 13 | #define IDC_DDZCLIENT 109 14 | #define IDR_MAINFRAME 128 15 | #define IDD_LOGON 129 16 | #define IDB_LOGON 130 17 | #define IDD_SERVER_INFO 173 18 | #define IDR_MENU_LOGWND_POPUP 174 19 | #define IDC_LOGON_NAME 1000 20 | #define IDC_LOGON_MALE 1002 21 | #define IDC_LOGON_FEMALE 1003 22 | #define IDC_LOGON_USER_IMG 1005 23 | #define IDC_SERVER_NAME 1010 24 | #define IDC_SERVER_PORT 1011 25 | #define IDC_SERVER_IP 1012 26 | #define IDM_LOGWND_COPY 32771 27 | #define IDM_LOGWND_CLEAR 32772 28 | #define IDC_STATIC -1 29 | 30 | // Next default values for new objects 31 | // 32 | #ifdef APSTUDIO_INVOKED 33 | #ifndef APSTUDIO_READONLY_SYMBOLS 34 | #define _APS_NO_MFC 1 35 | #define _APS_NEXT_RESOURCE_VALUE 175 36 | #define _APS_NEXT_COMMAND_VALUE 32773 37 | #define _APS_NEXT_CONTROL_VALUE 1014 38 | #define _APS_NEXT_SYMED_VALUE 110 39 | #endif 40 | #endif 41 | -------------------------------------------------------------------------------- /DdzClient/small.ICO: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/small.ICO -------------------------------------------------------------------------------- /DdzClient/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/stdafx.cpp -------------------------------------------------------------------------------- /DdzClient/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzClient/stdafx.h -------------------------------------------------------------------------------- /DdzServer/Crc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/Crc.cpp -------------------------------------------------------------------------------- /DdzServer/Crc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/Crc.h -------------------------------------------------------------------------------- /DdzServer/DdzServer.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/DdzServer.cpp -------------------------------------------------------------------------------- /DdzServer/DdzServer.exe.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 9 | 斗地主游戏软件服务器端 10 | 11 | 12 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /DdzServer/DdzServer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/DdzServer.h -------------------------------------------------------------------------------- /DdzServer/DdzServer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/DdzServer.ico -------------------------------------------------------------------------------- /DdzServer/DdzServer.rc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/DdzServer.rc -------------------------------------------------------------------------------- /DdzServer/DdzServer.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {8E909864-29AB-4102-A852-965748C6E661} 15 | DdzServer 16 | SAK 17 | SAK 18 | SAK 19 | SAK 20 | Win32Proj 21 | 22 | 23 | 24 | Application 25 | Unicode 26 | true 27 | v120 28 | 29 | 30 | Application 31 | Unicode 32 | v120 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <_ProjectFileVersion>10.0.40219.1 46 | $(SolutionDir)_bin\$(Configuration)\ 47 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 48 | true 49 | $(SolutionDir)_bin\$(Configuration)\ 50 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 51 | false 52 | AllRules.ruleset 53 | 54 | 55 | AllRules.ruleset 56 | 57 | 58 | 59 | 60 | 61 | Disabled 62 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 63 | WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) 64 | true 65 | EnableFastChecks 66 | MultiThreadedDebugDLL 67 | Use 68 | Level4 69 | EditAndContinue 70 | 71 | 72 | ws2_32.lib;comctl32.lib;shlwapi.lib;Iphlpapi.lib;%(AdditionalDependencies) 73 | $(OutDir)$(ProjectName).exe 74 | 75 | 76 | %(AdditionalLibraryDirectories) 77 | true 78 | $(IntDir)$(TargetName).pdb 79 | Windows 80 | false 81 | 82 | 83 | MachineX86 84 | 85 | 86 | $(IntDir)$(ProjectName).bsc 87 | 88 | 89 | 90 | 91 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 92 | WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) 93 | MultiThreadedDLL 94 | Use 95 | Level4 96 | ProgramDatabase 97 | 98 | 99 | ws2_32.lib;comctl32.lib;shlwapi.lib;Iphlpapi.lib;%(AdditionalDependencies) 100 | $(OutDir)$(ProjectName).exe 101 | true 102 | $(IntDir)$(TargetName).pdb 103 | Windows 104 | true 105 | true 106 | false 107 | 108 | 109 | MachineX86 110 | 111 | 112 | $(IntDir)$(ProjectName).bsc 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | Create 125 | Create 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | {66963722-82ff-4c69-927b-3a5bb8068a33} 152 | false 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | -------------------------------------------------------------------------------- /DdzServer/DdzServer.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 源文件 23 | 24 | 25 | 源文件 26 | 27 | 28 | 源文件 29 | 30 | 31 | 源文件 32 | 33 | 34 | 源文件 35 | 36 | 37 | 源文件 38 | 39 | 40 | 源文件 41 | 42 | 43 | 44 | 45 | 源文件 46 | 47 | 48 | 49 | 50 | 头文件 51 | 52 | 53 | 头文件 54 | 55 | 56 | 头文件 57 | 58 | 59 | 头文件 60 | 61 | 62 | 头文件 63 | 64 | 65 | 头文件 66 | 67 | 68 | 头文件 69 | 70 | 71 | 头文件 72 | 73 | 74 | 头文件 75 | 76 | 77 | 78 | 79 | 资源文件 80 | 81 | 82 | 资源文件 83 | 84 | 85 | 86 | 87 | 资源文件 88 | 89 | 90 | -------------------------------------------------------------------------------- /DdzServer/GameProc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/GameProc.cpp -------------------------------------------------------------------------------- /DdzServer/GameProc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/GameProc.h -------------------------------------------------------------------------------- /DdzServer/NetProc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/NetProc.cpp -------------------------------------------------------------------------------- /DdzServer/NetProc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/NetProc.h -------------------------------------------------------------------------------- /DdzServer/PokerAlgor.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/PokerAlgor.cpp -------------------------------------------------------------------------------- /DdzServer/PokerAlgor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/PokerAlgor.h -------------------------------------------------------------------------------- /DdzServer/QuickSort.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Quick Sort Algorithm 3 | // 4 | #include "stdafx.h" 5 | #include "QuickSort.h" 6 | 7 | int qs_partition(int a[], int low, int high) 8 | { 9 | int i, j; 10 | int compare; 11 | 12 | i = low; 13 | j = high; 14 | compare = a[low]; 15 | 16 | while (i < j) { 17 | while ((i < j) && (compare <= a[j])) { 18 | j--; 19 | } 20 | 21 | if (i < j) { 22 | a[i] = a[j]; 23 | i++; 24 | } 25 | 26 | while ((i < j) && (compare > a[i])) { 27 | i++; 28 | } 29 | 30 | if (i < j) { 31 | a[j] = a[i]; 32 | j--; 33 | } 34 | } 35 | 36 | a[i] = compare; 37 | 38 | return i; 39 | } 40 | 41 | void quick_sort(int a[], int low, int high) 42 | { 43 | int pos; 44 | 45 | if (low < high) { 46 | pos = qs_partition(a, low, high); 47 | quick_sort(a, low, pos - 1); 48 | quick_sort(a, pos + 1, high); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /DdzServer/QuickSort.h: -------------------------------------------------------------------------------- 1 | // 2 | // Quick sort 3 | // 4 | #pragma once 5 | void quick_sort(int a[], int low, int high); 6 | -------------------------------------------------------------------------------- /DdzServer/ServerLog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/ServerLog.cpp -------------------------------------------------------------------------------- /DdzServer/ServerLog.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/ServerLog.h -------------------------------------------------------------------------------- /DdzServer/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by DdzServer.rc 4 | // 5 | #define IDC_MYICON 2 6 | #define IDD_DDZSERVER_DIALOG 102 7 | #define IDS_APP_TITLE 103 8 | #define IDD_ABOUTBOX 103 9 | #define IDM_ABOUT 104 10 | #define IDM_EXIT 105 11 | #define IDI_DDZSERVER 107 12 | #define IDI_SMALL 108 13 | #define IDC_DDZSERVER 109 14 | #define IDR_MAINFRAME 128 15 | #define IDD_DIALOG_IP_SEL 129 16 | #define IDC_LIST_ADAPTER 1001 17 | #define IDC_STATIC_POKERSEL 32999 18 | #define IDC_BTN_LOGWARN 33000 19 | #define IDC_BTN_LOGERROR 33001 20 | #define IDC_BTN_LOGDEBUG 33002 21 | #define IDC_BTN_LOGINFO 33003 22 | #define IDC_BTN_CLEARLOG 33004 23 | #define IDC_COMBO_POKERSEL 33005 24 | #define IDC_RICHED_LOGWND 33006 25 | #define IDC_STATIC -1 26 | 27 | // Next default values for new objects 28 | // 29 | #ifdef APSTUDIO_INVOKED 30 | #ifndef APSTUDIO_READONLY_SYMBOLS 31 | #define _APS_NO_MFC 1 32 | #define _APS_NEXT_RESOURCE_VALUE 130 33 | #define _APS_NEXT_COMMAND_VALUE 32771 34 | #define _APS_NEXT_CONTROL_VALUE 1002 35 | #define _APS_NEXT_SYMED_VALUE 110 36 | #endif 37 | #endif 38 | -------------------------------------------------------------------------------- /DdzServer/small.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/small.ico -------------------------------------------------------------------------------- /DdzServer/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/stdafx.cpp -------------------------------------------------------------------------------- /DdzServer/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzServer/stdafx.h -------------------------------------------------------------------------------- /DdzSolution-1.1-src-101014.rar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/DdzSolution-1.1-src-101014.rar -------------------------------------------------------------------------------- /DdzSolution.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.21005.1 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DdzServer", "DdzServer\DdzServer.vcxproj", "{8E909864-29AB-4102-A852-965748C6E661}" 7 | EndProject 8 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DdzClient", "DdzClient\DdzClient.vcxproj", "{80B65A6C-A2D6-4C4D-BE50-EED82DBF7202}" 9 | ProjectSection(ProjectDependencies) = postProject 10 | {57995B12-94EA-4B3E-A160-7A9DF7B5CB99} = {57995B12-94EA-4B3E-A160-7A9DF7B5CB99} 11 | {898D0EA1-1DAC-4F5F-AD28-193CEBCA7464} = {898D0EA1-1DAC-4F5F-AD28-193CEBCA7464} 12 | {1A7B82C6-71F5-46FC-B19E-6F89DE0008D7} = {1A7B82C6-71F5-46FC-B19E-6F89DE0008D7} 13 | EndProjectSection 14 | EndProject 15 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "PokerLib", "PokerLib\PokerLib.vcxproj", "{66963722-82FF-4C69-927B-3A5BB8068A33}" 16 | EndProject 17 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResImage", "ResImage\ResImage.vcxproj", "{1A7B82C6-71F5-46FC-B19E-6F89DE0008D7}" 18 | EndProject 19 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResPoker", "ResPoker\ResPoker.vcxproj", "{898D0EA1-1DAC-4F5F-AD28-193CEBCA7464}" 20 | EndProject 21 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ResSound", "ResSound\ResSound.vcxproj", "{57995B12-94EA-4B3E-A160-7A9DF7B5CB99}" 22 | EndProject 23 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CWebPage", "CWebPage\CWebPage.vcxproj", "{0AD08FCE-CBA2-4BD4-AA59-0E6505F883D1}" 24 | EndProject 25 | Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "SetupServer", "SetupServer\SetupServer.vdproj", "{F3A3E566-C1D7-48D9-BEDA-DBA6B9407FF1}" 26 | EndProject 27 | Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "SetupClient", "SetupClient\SetupClient.vdproj", "{9F060533-6F37-4350-A75B-3D663C3F05B8}" 28 | EndProject 29 | Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "misc", "misc", "{F966A327-CCC2-4F2F-9A71-4D2C742ADF73}" 30 | ProjectSection(SolutionItems) = preProject 31 | Bug-List.xls = Bug-List.xls 32 | DdzSolution-1.1-src-101014.rar = DdzSolution-1.1-src-101014.rar 33 | history.txt = history.txt 34 | known-issues.txt = known-issues.txt 35 | Readme.txt = Readme.txt 36 | uncompleted-tasks.txt = uncompleted-tasks.txt 37 | EndProjectSection 38 | EndProject 39 | Global 40 | GlobalSection(TeamFoundationVersionControl) = preSolution 41 | SccNumberOfProjects = 10 42 | SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C} 43 | SccTeamFoundationServer = https://ysn.visualstudio.com/defaultcollection 44 | SccLocalPath0 = . 45 | SccProjectUniqueName1 = CWebPage\\CWebPage.vcxproj 46 | SccProjectName1 = CWebPage 47 | SccLocalPath1 = CWebPage 48 | SccProjectUniqueName2 = DdzClient\\DdzClient.vcxproj 49 | SccProjectName2 = DdzClient 50 | SccLocalPath2 = DdzClient 51 | SccProjectUniqueName3 = DdzServer\\DdzServer.vcxproj 52 | SccProjectName3 = DdzServer 53 | SccLocalPath3 = DdzServer 54 | SccProjectUniqueName4 = PokerLib\\PokerLib.vcxproj 55 | SccProjectName4 = PokerLib 56 | SccLocalPath4 = PokerLib 57 | SccProjectUniqueName5 = ResImage\\ResImage.vcxproj 58 | SccProjectName5 = ResImage 59 | SccLocalPath5 = ResImage 60 | SccProjectUniqueName6 = ResPoker\\ResPoker.vcxproj 61 | SccProjectName6 = ResPoker 62 | SccLocalPath6 = ResPoker 63 | SccProjectUniqueName7 = ResSound\\ResSound.vcxproj 64 | SccProjectName7 = ResSound 65 | SccLocalPath7 = ResSound 66 | SccProjectUniqueName8 = SetupClient\\SetupClient.vdproj 67 | SccProjectName8 = SetupClient 68 | SccLocalPath8 = SetupClient 69 | SccProjectUniqueName9 = SetupServer\\SetupServer.vdproj 70 | SccProjectName9 = SetupServer 71 | SccLocalPath9 = SetupServer 72 | EndGlobalSection 73 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 74 | Debug|Win32 = Debug|Win32 75 | Release|Win32 = Release|Win32 76 | EndGlobalSection 77 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 78 | {8E909864-29AB-4102-A852-965748C6E661}.Debug|Win32.ActiveCfg = Debug|Win32 79 | {8E909864-29AB-4102-A852-965748C6E661}.Debug|Win32.Build.0 = Debug|Win32 80 | {8E909864-29AB-4102-A852-965748C6E661}.Release|Win32.ActiveCfg = Release|Win32 81 | {8E909864-29AB-4102-A852-965748C6E661}.Release|Win32.Build.0 = Release|Win32 82 | {80B65A6C-A2D6-4C4D-BE50-EED82DBF7202}.Debug|Win32.ActiveCfg = Debug|Win32 83 | {80B65A6C-A2D6-4C4D-BE50-EED82DBF7202}.Debug|Win32.Build.0 = Debug|Win32 84 | {80B65A6C-A2D6-4C4D-BE50-EED82DBF7202}.Release|Win32.ActiveCfg = Release|Win32 85 | {80B65A6C-A2D6-4C4D-BE50-EED82DBF7202}.Release|Win32.Build.0 = Release|Win32 86 | {66963722-82FF-4C69-927B-3A5BB8068A33}.Debug|Win32.ActiveCfg = Debug|Win32 87 | {66963722-82FF-4C69-927B-3A5BB8068A33}.Debug|Win32.Build.0 = Debug|Win32 88 | {66963722-82FF-4C69-927B-3A5BB8068A33}.Release|Win32.ActiveCfg = Release|Win32 89 | {66963722-82FF-4C69-927B-3A5BB8068A33}.Release|Win32.Build.0 = Release|Win32 90 | {1A7B82C6-71F5-46FC-B19E-6F89DE0008D7}.Debug|Win32.ActiveCfg = Debug|Win32 91 | {1A7B82C6-71F5-46FC-B19E-6F89DE0008D7}.Debug|Win32.Build.0 = Debug|Win32 92 | {1A7B82C6-71F5-46FC-B19E-6F89DE0008D7}.Release|Win32.ActiveCfg = Release|Win32 93 | {1A7B82C6-71F5-46FC-B19E-6F89DE0008D7}.Release|Win32.Build.0 = Release|Win32 94 | {898D0EA1-1DAC-4F5F-AD28-193CEBCA7464}.Debug|Win32.ActiveCfg = Debug|Win32 95 | {898D0EA1-1DAC-4F5F-AD28-193CEBCA7464}.Debug|Win32.Build.0 = Debug|Win32 96 | {898D0EA1-1DAC-4F5F-AD28-193CEBCA7464}.Release|Win32.ActiveCfg = Release|Win32 97 | {898D0EA1-1DAC-4F5F-AD28-193CEBCA7464}.Release|Win32.Build.0 = Release|Win32 98 | {57995B12-94EA-4B3E-A160-7A9DF7B5CB99}.Debug|Win32.ActiveCfg = Debug|Win32 99 | {57995B12-94EA-4B3E-A160-7A9DF7B5CB99}.Debug|Win32.Build.0 = Debug|Win32 100 | {57995B12-94EA-4B3E-A160-7A9DF7B5CB99}.Release|Win32.ActiveCfg = Release|Win32 101 | {57995B12-94EA-4B3E-A160-7A9DF7B5CB99}.Release|Win32.Build.0 = Release|Win32 102 | {0AD08FCE-CBA2-4BD4-AA59-0E6505F883D1}.Debug|Win32.ActiveCfg = Debug|Win32 103 | {0AD08FCE-CBA2-4BD4-AA59-0E6505F883D1}.Debug|Win32.Build.0 = Debug|Win32 104 | {0AD08FCE-CBA2-4BD4-AA59-0E6505F883D1}.Release|Win32.ActiveCfg = Release|Win32 105 | {0AD08FCE-CBA2-4BD4-AA59-0E6505F883D1}.Release|Win32.Build.0 = Release|Win32 106 | {F3A3E566-C1D7-48D9-BEDA-DBA6B9407FF1}.Debug|Win32.ActiveCfg = Debug 107 | {F3A3E566-C1D7-48D9-BEDA-DBA6B9407FF1}.Release|Win32.ActiveCfg = Release 108 | {9F060533-6F37-4350-A75B-3D663C3F05B8}.Debug|Win32.ActiveCfg = Debug 109 | {9F060533-6F37-4350-A75B-3D663C3F05B8}.Release|Win32.ActiveCfg = Release 110 | EndGlobalSection 111 | GlobalSection(SolutionProperties) = preSolution 112 | HideSolutionNode = FALSE 113 | EndGlobalSection 114 | EndGlobal 115 | -------------------------------------------------------------------------------- /Docs/服务器与客户端消息定义.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Docs/服务器与客户端消息定义.doc -------------------------------------------------------------------------------- /Docs/服务器处理逻辑.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Docs/服务器处理逻辑.doc -------------------------------------------------------------------------------- /Docs/界面消息的传递与响应.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Docs/界面消息的传递与响应.doc -------------------------------------------------------------------------------- /Docs/部分细节功能的需求与杂项.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Docs/部分细节功能的需求与杂项.doc -------------------------------------------------------------------------------- /Include/ResImage.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by e:\My Documents\Visual Studio 2008\Projects\DdzSolution\ResImage\ResImage.rc 4 | // 5 | #define IDI_ICON_SERVER 113 6 | #define IDI_ICON_ROOM 114 7 | #define IDI_ICON_HOME 115 8 | #define IDI_ICON_GAME 116 9 | #define IDI_GAMER_READY 117 10 | #define IDB_GAME_TABLE 121 11 | #define IDB_GAME_TABLE_START 122 12 | #define IDR_GAMER_VISUAL_F0 131 13 | #define IDR_GAMER_VISUAL_F1 132 14 | #define IDR_GAMER_VISUAL_F2 133 15 | #define IDR_GAMER_VISUAL_M0 134 16 | #define IDR_GAMER_VISUAL_M1 135 17 | #define IDR_GAMER_VISUAL_M2 136 18 | #define IDB_USERHEAD_16_FIRST 201 19 | #define IDB_BITMAP1 201 20 | #define IDB_BITMAP2 202 21 | #define IDB_BITMAP3 203 22 | #define IDB_BITMAP4 204 23 | #define IDB_BITMAP5 205 24 | #define IDB_BITMAP6 206 25 | #define IDB_BITMAP7 207 26 | #define IDB_BITMAP8 208 27 | #define IDB_BITMAP9 209 28 | #define IDB_BITMAP10 210 29 | #define IDB_BITMAP11 211 30 | #define IDB_BITMAP12 212 31 | #define IDB_BITMAP13 213 32 | #define IDB_BITMAP14 214 33 | #define IDB_BITMAP15 215 34 | #define IDB_BITMAP16 216 35 | #define IDB_USERHEAD_16_LAST 216 36 | #define IDB_USERHEAD_32_FIRST 301 37 | #define IDB_BITMAP17 301 38 | #define IDB_BITMAP18 302 39 | #define IDB_BITMAP19 303 40 | #define IDB_BITMAP20 304 41 | #define IDB_BITMAP21 305 42 | #define IDB_BITMAP22 306 43 | #define IDB_BITMAP23 307 44 | #define IDB_BITMAP24 308 45 | #define IDB_BITMAP25 309 46 | #define IDB_BITMAP26 310 47 | #define IDB_BITMAP27 311 48 | #define IDB_BITMAP28 312 49 | #define IDB_BITMAP29 313 50 | #define IDB_BITMAP30 314 51 | #define IDB_BITMAP31 315 52 | #define IDB_BITMAP32 316 53 | #define IDB_USERHEAD_32_LAST 316 54 | #define IDB_STATE_IDLE 401 55 | #define IDB_STATE_SIT 402 56 | #define IDB_STATE_READY 403 57 | #define IDB_STATE_PLAY 404 58 | #define IDB_STATE_LOOKON 405 59 | #define IDI_ICON_LORD 421 60 | #define IDI_ICON_BOMB 422 61 | #define IDI_ICON_DELEGATED 423 62 | #define IDI_ICON_DISCONNECT 424 63 | #define IDI_ICON_CLOCK 425 64 | 65 | // Next default values for new objects 66 | // 67 | #ifdef APSTUDIO_INVOKED 68 | #ifndef APSTUDIO_READONLY_SYMBOLS 69 | #define _APS_NEXT_RESOURCE_VALUE 426 70 | #define _APS_NEXT_COMMAND_VALUE 40001 71 | #define _APS_NEXT_CONTROL_VALUE 1001 72 | #define _APS_NEXT_SYMED_VALUE 101 73 | #endif 74 | #endif 75 | -------------------------------------------------------------------------------- /Include/ResPoker.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by e:\My Documents\Visual Studio 2008\Projects\DdzSolution\ResPoker\ResPoker.rc 4 | // 5 | #define IDB_BACKGROUND 101 6 | #define IDB_POKER_CARDS 102 7 | #define IDB_BTN_START 103 8 | #define IDB_BTN_SCORE0 104 9 | #define IDB_BTN_SCORE1 105 10 | #define IDB_BTN_SCORE2 106 11 | #define IDB_BTN_SCORE3 107 12 | #define IDB_BTN_FOLLOW 108 13 | #define IDB_BTN_HINT 109 14 | #define IDB_BTN_PASS 110 15 | #define IDB_BTN_TEMPLATE 116 16 | #define IDB_INFO_READY 120 17 | #define IDB_INFO_SCORE0 121 18 | #define IDB_INFO_SCORE1 122 19 | #define IDB_INFO_SCORE2 123 20 | #define IDB_INFO_SCORE3 124 21 | #define IDB_INFO_PASS 125 22 | #define IDB_CLOCK_DIGITAL 126 23 | 24 | // Next default values for new objects 25 | // 26 | #ifdef APSTUDIO_INVOKED 27 | #ifndef APSTUDIO_READONLY_SYMBOLS 28 | #define _APS_NEXT_RESOURCE_VALUE 131 29 | #define _APS_NEXT_COMMAND_VALUE 40001 30 | #define _APS_NEXT_CONTROL_VALUE 1000 31 | #define _APS_NEXT_SYMED_VALUE 101 32 | #endif 33 | #endif 34 | -------------------------------------------------------------------------------- /Include/ResSound.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by e:\My Documents\Visual Studio 2008\Projects\DdzSolution\ResSound\ResSound.rc 4 | // 5 | #define IDR_WAV_0_FEMALE 116 6 | #define IDR_WAV_0_MALE 117 7 | #define IDR_WAV_1_FEMALE 118 8 | #define IDR_WAV_1_MALE 119 9 | #define IDR_WAV_2_FEMALE 120 10 | #define IDR_WAV_2_MALE 121 11 | #define IDR_WAV_3_FEMALE 122 12 | #define IDR_WAV_3_MALE 123 13 | #define IDR_WAV_BOMB 124 14 | #define IDR_WAV_OUTCARD 125 15 | #define IDR_WAV_RUNAWAY 126 16 | #define IDR_WAV_START 127 17 | #define IDR_WAV_TIMEOUT 128 18 | #define IDR_WAV_WIN 129 19 | 20 | // Next default values for new objects 21 | // 22 | #ifdef APSTUDIO_INVOKED 23 | #ifndef APSTUDIO_READONLY_SYMBOLS 24 | #define _APS_NEXT_RESOURCE_VALUE 131 25 | #define _APS_NEXT_COMMAND_VALUE 40001 26 | #define _APS_NEXT_CONTROL_VALUE 1000 27 | #define _APS_NEXT_SYMED_VALUE 101 28 | #endif 29 | #endif 30 | -------------------------------------------------------------------------------- /Include/cwebpage.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This include file is meant to be included with any C source you 3 | * write which uses the cwebpage DLL. 4 | */ 5 | 6 | #ifndef __CWEBPAGE_H_INCLUDED 7 | #define __CWEBPAGE_H_INCLUDED 8 | 9 | #include 10 | 11 | #ifdef __cplusplus 12 | extern "C" { 13 | #endif 14 | 15 | long WINAPI EmbedBrowserObject(HWND); 16 | #define EMBEDBROWSEROBJECT EmbedBrowserObject 17 | typedef long WINAPI EmbedBrowserObjectPtr(HWND); 18 | 19 | void WINAPI UnEmbedBrowserObject(HWND); 20 | #define UNEMBEDBROWSEROBJECT UnEmbedBrowserObject 21 | typedef long WINAPI UnEmbedBrowserObjectPtr(HWND); 22 | 23 | long WINAPI DisplayHTMLPage(HWND, LPCTSTR); 24 | #define DISPLAYHTMLPAGE DisplayHTMLPage 25 | typedef long WINAPI DisplayHTMLPagePtr(HWND, LPCTSTR); 26 | 27 | long WINAPI DisplayHTMLStr(HWND, LPCTSTR); 28 | #define DISPLAYHTMLSTR DisplayHTMLStr 29 | typedef long WINAPI DisplayHTMLStrPtr(HWND, LPCTSTR); 30 | 31 | 32 | ////////////////////////////////////////////////////////////////////////// 33 | // Shining Added this API for usage. (2009-05-10) 34 | // 35 | long WINAPI ResizeBrowser(HWND, int, int); 36 | #define RESIZEBROWSER ResizeBrowser 37 | typedef long WINAPI ResizeBrowserPtr(HWND, int, int); 38 | 39 | 40 | #ifdef __cplusplus 41 | } 42 | #endif 43 | 44 | #endif /* __CWEBPAGE_H_INCLUDED */ 45 | -------------------------------------------------------------------------------- /Include/msgdef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Include/msgdef.h -------------------------------------------------------------------------------- /Include/pokerlib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Include/pokerlib.h -------------------------------------------------------------------------------- /Include/spec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Include/spec.h -------------------------------------------------------------------------------- /PokerLib/PokerLib.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/PokerLib.cpp -------------------------------------------------------------------------------- /PokerLib/PokerLib.rc: -------------------------------------------------------------------------------- 1 | // Microsoft Visual C++ generated resource script. 2 | // 3 | #include "resource.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // Chinese (P.R.C.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 21 | #pragma code_page(936) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE 31 | BEGIN 32 | "resource.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE 42 | BEGIN 43 | "\r\n" 44 | "\0" 45 | END 46 | 47 | #endif // APSTUDIO_INVOKED 48 | 49 | 50 | ///////////////////////////////////////////////////////////////////////////// 51 | // 52 | // Version 53 | // 54 | 55 | VS_VERSION_INFO VERSIONINFO 56 | FILEVERSION 1,0,0,1 57 | PRODUCTVERSION 1,0,0,1 58 | FILEFLAGSMASK 0x17L 59 | #ifdef _DEBUG 60 | FILEFLAGS 0x1L 61 | #else 62 | FILEFLAGS 0x0L 63 | #endif 64 | FILEOS 0x4L 65 | FILETYPE 0x2L 66 | FILESUBTYPE 0x0L 67 | BEGIN 68 | BLOCK "StringFileInfo" 69 | BEGIN 70 | BLOCK "080404b0" 71 | BEGIN 72 | VALUE "FileDescription", "Poker Operation Library" 73 | VALUE "FileVersion", "1.0.0.1 build 7600" 74 | VALUE "InternalName", "PokerLib" 75 | VALUE "LegalCopyright", "Copyright (C) 2010, Shining" 76 | VALUE "OriginalFilename", "PokerLib.dll" 77 | VALUE "ProductName", "DdzServer" 78 | VALUE "ProductVersion", "1.0.0.1 build 7600" 79 | END 80 | END 81 | BLOCK "VarFileInfo" 82 | BEGIN 83 | VALUE "Translation", 0x804, 1200 84 | END 85 | END 86 | 87 | #endif // Chinese (P.R.C.) resources 88 | ///////////////////////////////////////////////////////////////////////////// 89 | 90 | 91 | 92 | #ifndef APSTUDIO_INVOKED 93 | ///////////////////////////////////////////////////////////////////////////// 94 | // 95 | // Generated from the TEXTINCLUDE 3 resource. 96 | // 97 | 98 | 99 | ///////////////////////////////////////////////////////////////////////////// 100 | #endif // not APSTUDIO_INVOKED 101 | 102 | -------------------------------------------------------------------------------- /PokerLib/PokerLib.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {66963722-82FF-4C69-927B-3A5BB8068A33} 15 | PokerLib 16 | SAK 17 | SAK 18 | SAK 19 | SAK 20 | Win32Proj 21 | 22 | 23 | 24 | DynamicLibrary 25 | Unicode 26 | true 27 | v120 28 | 29 | 30 | DynamicLibrary 31 | Unicode 32 | v120 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <_ProjectFileVersion>10.0.40219.1 46 | $(SolutionDir)_bin\$(Configuration)\ 47 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 48 | true 49 | $(SolutionDir)_bin\$(Configuration)\ 50 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 51 | false 52 | AllRules.ruleset 53 | 54 | 55 | AllRules.ruleset 56 | 57 | 58 | 59 | 60 | 61 | Disabled 62 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 63 | WIN32;_DEBUG;_WINDOWS;_USRDLL;POKERLIB_EXPORTS;%(PreprocessorDefinitions) 64 | true 65 | Sync 66 | EnableFastChecks 67 | MultiThreadedDebugDLL 68 | Use 69 | Level4 70 | EditAndContinue 71 | 72 | 73 | $(OutDir)$(ProjectName).dll 74 | 75 | 76 | true 77 | $(IntDir)$(TargetName).pdb 78 | Windows 79 | false 80 | 81 | 82 | $(IntDir)$(TargetName).lib 83 | MachineX86 84 | 85 | 86 | $(IntDir)$(ProjectName).bsc 87 | 88 | 89 | 90 | 91 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 92 | WIN32;NDEBUG;_WINDOWS;_USRDLL;POKERLIB_EXPORTS;%(PreprocessorDefinitions) 93 | MultiThreadedDLL 94 | Use 95 | Level4 96 | ProgramDatabase 97 | 98 | 99 | $(OutDir)$(ProjectName).dll 100 | true 101 | $(IntDir)$(TargetName).pdb 102 | Windows 103 | true 104 | true 105 | false 106 | 107 | 108 | $(IntDir)$(TargetName).lib 109 | MachineX86 110 | 111 | 112 | $(IntDir)$(ProjectName).bsc 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | Create 124 | Create 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | -------------------------------------------------------------------------------- /PokerLib/PokerLib.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | 18 | 19 | 源文件 20 | 21 | 22 | 源文件 23 | 24 | 25 | 源文件 26 | 27 | 28 | 源文件 29 | 30 | 31 | 源文件 32 | 33 | 34 | 源文件 35 | 36 | 37 | 源文件 38 | 39 | 40 | 41 | 42 | 头文件 43 | 44 | 45 | 头文件 46 | 47 | 48 | 头文件 49 | 50 | 51 | 头文件 52 | 53 | 54 | 头文件 55 | 56 | 57 | 头文件 58 | 59 | 60 | 头文件 61 | 62 | 63 | 头文件 64 | 65 | 66 | 67 | 68 | 资源文件 69 | 70 | 71 | -------------------------------------------------------------------------------- /PokerLib/error.h: -------------------------------------------------------------------------------- 1 | // 2 | // ERROR CODE 3 | // 4 | 5 | #ifndef _ERROR_H_ 6 | #define _ERROR_H_ 7 | 8 | typedef enum { 9 | E_NONE = 0, 10 | E_INVALID = -1, 11 | E_PARAM = -2, 12 | E_NOT_FOUND = -3 13 | } POKER_RET; 14 | 15 | #endif -------------------------------------------------------------------------------- /PokerLib/mystack.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/mystack.cpp -------------------------------------------------------------------------------- /PokerLib/mystack.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/mystack.h -------------------------------------------------------------------------------- /PokerLib/poker.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/poker.cpp -------------------------------------------------------------------------------- /PokerLib/poker.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/poker.h -------------------------------------------------------------------------------- /PokerLib/pokerhint.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/pokerhint.cpp -------------------------------------------------------------------------------- /PokerLib/pokerhint.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/pokerhint.h -------------------------------------------------------------------------------- /PokerLib/pokertype.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/pokertype.cpp -------------------------------------------------------------------------------- /PokerLib/pokertype.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/pokertype.h -------------------------------------------------------------------------------- /PokerLib/quicksort.cpp: -------------------------------------------------------------------------------- 1 | // 2 | // Quick Sort Algorithm 3 | // 4 | #include "stdafx.h" 5 | #include "quicksort.h" 6 | 7 | int qs_partition(int a[], int low, int high) 8 | { 9 | int i, j; 10 | int compare; 11 | 12 | i = low; 13 | j = high; 14 | compare = a[low]; 15 | 16 | while (i < j) { 17 | while ((i < j) && (compare <= a[j])) { 18 | j--; 19 | } 20 | 21 | if (i < j) { 22 | a[i] = a[j]; 23 | i++; 24 | } 25 | 26 | while ((i < j) && (compare > a[i])) { 27 | i++; 28 | } 29 | 30 | if (i < j) { 31 | a[j] = a[i]; 32 | j--; 33 | } 34 | } 35 | 36 | a[i] = compare; 37 | 38 | return i; 39 | } 40 | 41 | void quick_sort(int a[], int low, int high) 42 | { 43 | int pos; 44 | 45 | if (low < high) { 46 | pos = qs_partition(a, low, high); 47 | quick_sort(a, low, pos - 1); 48 | quick_sort(a, pos + 1, high); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /PokerLib/quicksort.h: -------------------------------------------------------------------------------- 1 | // 2 | // Quick sort 3 | // 4 | void quick_sort(int a[], int low, int high); 5 | -------------------------------------------------------------------------------- /PokerLib/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by PokerLib.rc 4 | 5 | // Next default values for new objects 6 | // 7 | #ifdef APSTUDIO_INVOKED 8 | #ifndef APSTUDIO_READONLY_SYMBOLS 9 | #define _APS_NEXT_RESOURCE_VALUE 101 10 | #define _APS_NEXT_COMMAND_VALUE 40001 11 | #define _APS_NEXT_CONTROL_VALUE 1001 12 | #define _APS_NEXT_SYMED_VALUE 101 13 | #endif 14 | #endif 15 | -------------------------------------------------------------------------------- /PokerLib/stdafx.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/stdafx.cpp -------------------------------------------------------------------------------- /PokerLib/stdafx.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/PokerLib/stdafx.h -------------------------------------------------------------------------------- /Readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/Readme.txt -------------------------------------------------------------------------------- /ResImage/GameTable_150x150/table.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/GameTable_150x150/table.bmp -------------------------------------------------------------------------------- /ResImage/GameTable_150x150/table_start.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/GameTable_150x150/table_start.bmp -------------------------------------------------------------------------------- /ResImage/ICON_16x16/bomb.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/bomb.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/clock.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/clock.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/delegate.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/delegate.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/disconnect.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/disconnect.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/game.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/game.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/home.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/home.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/lord.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/lord.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/ready.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/ready.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/room.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/room.ico -------------------------------------------------------------------------------- /ResImage/ICON_16x16/server.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/ICON_16x16/server.ico -------------------------------------------------------------------------------- /ResImage/ResImage.rc: -------------------------------------------------------------------------------- 1 | // Microsoft Visual C++ generated resource script. 2 | // 3 | #include "..\Include\ResImage.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // Chinese (P.R.C.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 21 | #pragma code_page(936) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE 31 | BEGIN 32 | "..\\Include\\ResImage.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE 42 | BEGIN 43 | "\r\n" 44 | "\0" 45 | END 46 | 47 | #endif // APSTUDIO_INVOKED 48 | 49 | 50 | ///////////////////////////////////////////////////////////////////////////// 51 | // 52 | // GIF 53 | // 54 | 55 | IDR_GAMER_VISUAL_F0 GIF "Visualize_75x125\\female.gif" 56 | IDR_GAMER_VISUAL_M0 GIF "Visualize_75x125\\male.gif" 57 | IDR_GAMER_VISUAL_F1 GIF "Visualize_75x125\\female1.gif" 58 | IDR_GAMER_VISUAL_M1 GIF "Visualize_75x125\\male1.gif" 59 | IDR_GAMER_VISUAL_F2 GIF "Visualize_75x125\\female2.gif" 60 | IDR_GAMER_VISUAL_M2 GIF "Visualize_75x125\\male2.gif" 61 | 62 | ///////////////////////////////////////////////////////////////////////////// 63 | // 64 | // Icon 65 | // 66 | 67 | // Icon with lowest ID value placed first to ensure application icon 68 | // remains consistent on all systems. 69 | IDI_ICON_SERVER ICON "ICON_16x16\\server.ico" 70 | IDI_ICON_ROOM ICON "ICON_16x16\\room.ico" 71 | IDI_ICON_HOME ICON "ICON_16x16\\Home.ico" 72 | IDI_ICON_GAME ICON "ICON_16x16\\game.ico" 73 | IDI_GAMER_READY ICON "icon_16x16\\ready.ico" 74 | IDI_ICON_LORD ICON "ICON_16x16\\lord.ico" 75 | IDI_ICON_BOMB ICON "ICON_16x16\\bomb.ico" 76 | IDI_ICON_DELEGATED ICON "ICON_16x16\\delegate.ico" 77 | IDI_ICON_DISCONNECT ICON "ICON_16x16\\disconnect.ico" 78 | IDI_ICON_CLOCK ICON "ICON_16x16\\clock.ico" 79 | 80 | ///////////////////////////////////////////////////////////////////////////// 81 | // 82 | // Bitmap 83 | // 84 | 85 | IDB_GAME_TABLE BITMAP "GameTable_150x150\\table.bmp" 86 | IDB_GAME_TABLE_START BITMAP "GameTable_150x150\\table_start.bmp" 87 | IDB_STATE_IDLE BITMAP "Status_BMP_16x16\\free.bmp" 88 | IDB_STATE_SIT BITMAP "Status_BMP_16x16\\sitdown.bmp" 89 | IDB_STATE_READY BITMAP "Status_BMP_16x16\\hand.bmp" 90 | IDB_STATE_PLAY BITMAP "Status_BMP_16x16\\play.bmp" 91 | IDB_STATE_LOOKON BITMAP "Status_BMP_16x16\\watch.bmp" 92 | IDB_BITMAP1 BITMAP "UserHead_16x16\\5-1.bmp" 93 | IDB_BITMAP2 BITMAP "UserHead_16x16\\6-1.bmp" 94 | IDB_BITMAP3 BITMAP "UserHead_16x16\\8-1.bmp" 95 | IDB_BITMAP4 BITMAP "UserHead_16x16\\12-1.bmp" 96 | IDB_BITMAP5 BITMAP "UserHead_16x16\\13-1.bmp" 97 | IDB_BITMAP6 BITMAP "UserHead_16x16\\16-1.bmp" 98 | IDB_BITMAP7 BITMAP "UserHead_16x16\\20-1.bmp" 99 | IDB_BITMAP8 BITMAP "UserHead_16x16\\21-1.bmp" 100 | IDB_BITMAP9 BITMAP "UserHead_16x16\\30-1.bmp" 101 | IDB_BITMAP10 BITMAP "UserHead_16x16\\48-1.bmp" 102 | IDB_BITMAP11 BITMAP "UserHead_16x16\\49-1.bmp" 103 | IDB_BITMAP12 BITMAP "UserHead_16x16\\50-1.bmp" 104 | IDB_BITMAP13 BITMAP "UserHead_16x16\\54-1.bmp" 105 | IDB_BITMAP14 BITMAP "UserHead_16x16\\61-1.bmp" 106 | IDB_BITMAP15 BITMAP "UserHead_16x16\\67-1.bmp" 107 | IDB_BITMAP16 BITMAP "UserHead_16x16\\94-1.bmp" 108 | IDB_BITMAP17 BITMAP "UserHead_32x32\\5-1.bmp" 109 | IDB_BITMAP18 BITMAP "UserHead_32x32\\6-1.bmp" 110 | IDB_BITMAP19 BITMAP "UserHead_32x32\\8-1.bmp" 111 | IDB_BITMAP20 BITMAP "UserHead_32x32\\12-1.bmp" 112 | IDB_BITMAP21 BITMAP "UserHead_32x32\\13-1.bmp" 113 | IDB_BITMAP22 BITMAP "UserHead_32x32\\16-1.bmp" 114 | IDB_BITMAP23 BITMAP "UserHead_32x32\\20-1.bmp" 115 | IDB_BITMAP24 BITMAP "UserHead_32x32\\21-1.bmp" 116 | IDB_BITMAP25 BITMAP "UserHead_32x32\\30-1.bmp" 117 | IDB_BITMAP26 BITMAP "UserHead_32x32\\48-1.bmp" 118 | IDB_BITMAP27 BITMAP "UserHead_32x32\\49-1.bmp" 119 | IDB_BITMAP28 BITMAP "UserHead_32x32\\50-1.bmp" 120 | IDB_BITMAP29 BITMAP "UserHead_32x32\\54-1.bmp" 121 | IDB_BITMAP30 BITMAP "UserHead_32x32\\61-1.bmp" 122 | IDB_BITMAP31 BITMAP "UserHead_32x32\\67-1.bmp" 123 | IDB_BITMAP32 BITMAP "UserHead_32x32\\94-1.bmp" 124 | 125 | ///////////////////////////////////////////////////////////////////////////// 126 | // 127 | // Version 128 | // 129 | 130 | VS_VERSION_INFO VERSIONINFO 131 | FILEVERSION 1,0,0,1 132 | PRODUCTVERSION 1,0,0,1 133 | FILEFLAGSMASK 0x17L 134 | #ifdef _DEBUG 135 | FILEFLAGS 0x1L 136 | #else 137 | FILEFLAGS 0x0L 138 | #endif 139 | FILEOS 0x4L 140 | FILETYPE 0x2L 141 | FILESUBTYPE 0x0L 142 | BEGIN 143 | BLOCK "StringFileInfo" 144 | BEGIN 145 | BLOCK "080404b0" 146 | BEGIN 147 | VALUE "FileDescription", "Image Resource Dynamic Link Library" 148 | VALUE "FileVersion", "1.0.0.1 build 7600" 149 | VALUE "InternalName", "ResImage" 150 | VALUE "LegalCopyright", "Copyright (C) 2010, Shining" 151 | VALUE "OriginalFilename", "ResImage.dll" 152 | VALUE "ProductName", "DdzClient" 153 | VALUE "ProductVersion", "1.0.0.1 build 7600" 154 | END 155 | END 156 | BLOCK "VarFileInfo" 157 | BEGIN 158 | VALUE "Translation", 0x804, 1200 159 | END 160 | END 161 | 162 | #endif // Chinese (P.R.C.) resources 163 | ///////////////////////////////////////////////////////////////////////////// 164 | 165 | 166 | 167 | #ifndef APSTUDIO_INVOKED 168 | ///////////////////////////////////////////////////////////////////////////// 169 | // 170 | // Generated from the TEXTINCLUDE 3 resource. 171 | // 172 | 173 | 174 | ///////////////////////////////////////////////////////////////////////////// 175 | #endif // not APSTUDIO_INVOKED 176 | 177 | -------------------------------------------------------------------------------- /ResImage/ResImage.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {1A7B82C6-71F5-46FC-B19E-6F89DE0008D7} 15 | ResImage 16 | SAK 17 | SAK 18 | SAK 19 | Win32Proj 20 | SAK 21 | 22 | 23 | 24 | DynamicLibrary 25 | Unicode 26 | true 27 | v120 28 | 29 | 30 | DynamicLibrary 31 | Unicode 32 | v120 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <_ProjectFileVersion>10.0.40219.1 46 | $(SolutionDir)_bin\$(Configuration)\ 47 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 48 | false 49 | $(SolutionDir)_bin\$(Configuration)\ 50 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 51 | false 52 | AllRules.ruleset 53 | 54 | 55 | AllRules.ruleset 56 | 57 | 58 | 59 | 60 | 61 | Disabled 62 | WIN32;_DEBUG;_WINDOWS;_USRDLL;RESIMAGE_EXPORTS;%(PreprocessorDefinitions) 63 | true 64 | EnableFastChecks 65 | MultiThreadedDebugDLL 66 | Use 67 | Level3 68 | EditAndContinue 69 | 70 | 71 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 72 | 73 | 74 | $(OutDir)$(ProjectName).dll 75 | 76 | 77 | true 78 | $(IntDir)$(TargetName).pdb 79 | Windows 80 | true 81 | false 82 | 83 | 84 | 85 | 86 | MachineX86 87 | 88 | 89 | $(IntDir)$(ProjectName).bsc 90 | 91 | 92 | 93 | 94 | WIN32;NDEBUG;_WINDOWS;_USRDLL;RESIMAGE_EXPORTS;%(PreprocessorDefinitions) 95 | MultiThreadedDLL 96 | Use 97 | Level3 98 | ProgramDatabase 99 | 100 | 101 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 102 | 103 | 104 | $(OutDir)$(ProjectName).dll 105 | true 106 | $(IntDir)$(TargetName).pdb 107 | Windows 108 | true 109 | true 110 | true 111 | false 112 | 113 | 114 | 115 | 116 | MachineX86 117 | 118 | 119 | $(IntDir)$(ProjectName).bsc 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | -------------------------------------------------------------------------------- /ResImage/ResImage.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | {5c4db953-2e77-47ae-a5ed-5dad6651aac7} 18 | 19 | 20 | {cdf71723-f80d-4bdb-8793-b145bf4195d4} 21 | *.icon 22 | 23 | 24 | {d2e6e5c8-2400-444c-9aad-0a839adeb9bd} 25 | *.bmp 26 | 27 | 28 | {a5600f42-4c74-4866-9ba6-a28a8084a80b} 29 | 30 | 31 | {00a43744-2efe-46ec-bd3b-162d1f748b64} 32 | 33 | 34 | {a922b3b3-8982-4449-ab30-9b8689e97c83} 35 | 36 | 37 | 38 | 39 | 头文件 40 | 41 | 42 | 43 | 44 | 资源文件 45 | 46 | 47 | 48 | 49 | 资源文件\GIF_Visual 50 | 51 | 52 | 资源文件\GIF_Visual 53 | 54 | 55 | 资源文件\GIF_Visual 56 | 57 | 58 | 资源文件\GIF_Visual 59 | 60 | 61 | 资源文件\GIF_Visual 62 | 63 | 64 | 资源文件\GIF_Visual 65 | 66 | 67 | 资源文件\ICON 68 | 69 | 70 | 资源文件\ICON 71 | 72 | 73 | 资源文件\ICON 74 | 75 | 76 | 资源文件\ICON 77 | 78 | 79 | 资源文件\ICON 80 | 81 | 82 | 资源文件\ICON 83 | 84 | 85 | 资源文件\ICON 86 | 87 | 88 | 资源文件\ICON 89 | 90 | 91 | 资源文件\ICON 92 | 93 | 94 | 资源文件\ICON 95 | 96 | 97 | 资源文件\BMP 98 | 99 | 100 | 资源文件\BMP 101 | 102 | 103 | 资源文件\BMP_Head_16 104 | 105 | 106 | 资源文件\BMP_Head_16 107 | 108 | 109 | 资源文件\BMP_Head_16 110 | 111 | 112 | 资源文件\BMP_Head_16 113 | 114 | 115 | 资源文件\BMP_Head_16 116 | 117 | 118 | 资源文件\BMP_Head_16 119 | 120 | 121 | 资源文件\BMP_Head_16 122 | 123 | 124 | 资源文件\BMP_Head_16 125 | 126 | 127 | 资源文件\BMP_Head_16 128 | 129 | 130 | 资源文件\BMP_Head_16 131 | 132 | 133 | 资源文件\BMP_Head_16 134 | 135 | 136 | 资源文件\BMP_Head_16 137 | 138 | 139 | 资源文件\BMP_Head_16 140 | 141 | 142 | 资源文件\BMP_Head_16 143 | 144 | 145 | 资源文件\BMP_Head_16 146 | 147 | 148 | 资源文件\BMP_Head_16 149 | 150 | 151 | 资源文件\BMP_Head_32 152 | 153 | 154 | 资源文件\BMP_Head_32 155 | 156 | 157 | 资源文件\BMP_Head_32 158 | 159 | 160 | 资源文件\BMP_Head_32 161 | 162 | 163 | 资源文件\BMP_Head_32 164 | 165 | 166 | 资源文件\BMP_Head_32 167 | 168 | 169 | 资源文件\BMP_Head_32 170 | 171 | 172 | 资源文件\BMP_Head_32 173 | 174 | 175 | 资源文件\BMP_Head_32 176 | 177 | 178 | 资源文件\BMP_Head_32 179 | 180 | 181 | 资源文件\BMP_Head_32 182 | 183 | 184 | 资源文件\BMP_Head_32 185 | 186 | 187 | 资源文件\BMP_Head_32 188 | 189 | 190 | 资源文件\BMP_Head_32 191 | 192 | 193 | 资源文件\BMP_Head_32 194 | 195 | 196 | 资源文件\BMP_Head_32 197 | 198 | 199 | 资源文件\BMP_Status_16 200 | 201 | 202 | 资源文件\BMP_Status_16 203 | 204 | 205 | 资源文件\BMP_Status_16 206 | 207 | 208 | 资源文件\BMP_Status_16 209 | 210 | 211 | 资源文件\BMP_Status_16 212 | 213 | 214 | -------------------------------------------------------------------------------- /ResImage/Status_BMP_16x16/free.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Status_BMP_16x16/free.bmp -------------------------------------------------------------------------------- /ResImage/Status_BMP_16x16/hand.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Status_BMP_16x16/hand.bmp -------------------------------------------------------------------------------- /ResImage/Status_BMP_16x16/play.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Status_BMP_16x16/play.bmp -------------------------------------------------------------------------------- /ResImage/Status_BMP_16x16/sitdown.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Status_BMP_16x16/sitdown.bmp -------------------------------------------------------------------------------- /ResImage/Status_BMP_16x16/watch.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Status_BMP_16x16/watch.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/12-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/12-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/13-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/13-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/16-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/16-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/20-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/20-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/21-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/21-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/30-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/30-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/48-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/48-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/49-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/49-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/5-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/5-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/50-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/50-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/54-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/54-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/6-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/6-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/61-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/61-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/67-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/67-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/8-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/8-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_16x16/94-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_16x16/94-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/12-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/12-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/13-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/13-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/16-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/16-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/20-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/20-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/21-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/21-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/30-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/30-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/48-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/48-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/49-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/49-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/5-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/5-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/50-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/50-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/54-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/54-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/6-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/6-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/61-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/61-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/67-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/67-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/8-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/8-1.bmp -------------------------------------------------------------------------------- /ResImage/UserHead_32x32/94-1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/UserHead_32x32/94-1.bmp -------------------------------------------------------------------------------- /ResImage/Visualize_75x125/female.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Visualize_75x125/female.gif -------------------------------------------------------------------------------- /ResImage/Visualize_75x125/female1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Visualize_75x125/female1.gif -------------------------------------------------------------------------------- /ResImage/Visualize_75x125/female2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Visualize_75x125/female2.gif -------------------------------------------------------------------------------- /ResImage/Visualize_75x125/male.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Visualize_75x125/male.gif -------------------------------------------------------------------------------- /ResImage/Visualize_75x125/male1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Visualize_75x125/male1.gif -------------------------------------------------------------------------------- /ResImage/Visualize_75x125/male2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResImage/Visualize_75x125/male2.gif -------------------------------------------------------------------------------- /ResPoker/Res/0_SCORE.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/0_SCORE.bmp -------------------------------------------------------------------------------- /ResPoker/Res/1_SCORE.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/1_SCORE.bmp -------------------------------------------------------------------------------- /ResPoker/Res/2_SCORE.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/2_SCORE.bmp -------------------------------------------------------------------------------- /ResPoker/Res/3_SCORE.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/3_SCORE.bmp -------------------------------------------------------------------------------- /ResPoker/Res/BACKGROUND.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/BACKGROUND.bmp -------------------------------------------------------------------------------- /ResPoker/Res/BTN_TEMPLATE.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/BTN_TEMPLATE.bmp -------------------------------------------------------------------------------- /ResPoker/Res/CARD.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/CARD.bmp -------------------------------------------------------------------------------- /ResPoker/Res/FOLLOW.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/FOLLOW.bmp -------------------------------------------------------------------------------- /ResPoker/Res/HINT.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/HINT.bmp -------------------------------------------------------------------------------- /ResPoker/Res/PASS.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/PASS.bmp -------------------------------------------------------------------------------- /ResPoker/Res/START.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/START.bmp -------------------------------------------------------------------------------- /ResPoker/Res/digital.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/digital.bmp -------------------------------------------------------------------------------- /ResPoker/Res/info_pass.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/info_pass.bmp -------------------------------------------------------------------------------- /ResPoker/Res/info_ready.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/info_ready.bmp -------------------------------------------------------------------------------- /ResPoker/Res/info_score0.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/info_score0.bmp -------------------------------------------------------------------------------- /ResPoker/Res/info_score1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/info_score1.bmp -------------------------------------------------------------------------------- /ResPoker/Res/info_score2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/info_score2.bmp -------------------------------------------------------------------------------- /ResPoker/Res/info_score3.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResPoker/Res/info_score3.bmp -------------------------------------------------------------------------------- /ResPoker/ResPoker.rc: -------------------------------------------------------------------------------- 1 | // Microsoft Visual C++ generated resource script. 2 | // 3 | #include "..\Include\ResPoker.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // Chinese (P.R.C.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 21 | #pragma code_page(936) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE 31 | BEGIN 32 | "..\\Include\\ResPoker.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE 42 | BEGIN 43 | "\r\n" 44 | "\0" 45 | END 46 | 47 | #endif // APSTUDIO_INVOKED 48 | 49 | 50 | ///////////////////////////////////////////////////////////////////////////// 51 | // 52 | // Bitmap 53 | // 54 | 55 | IDB_BACKGROUND BITMAP "Res\\BACKGROUND.bmp" 56 | IDB_POKER_CARDS BITMAP "Res\\CARD.bmp" 57 | IDB_BTN_START BITMAP "Res\\START.bmp" 58 | IDB_BTN_SCORE0 BITMAP "Res\\0_SCORE.bmp" 59 | IDB_BTN_SCORE1 BITMAP "Res\\1_SCORE.bmp" 60 | IDB_BTN_SCORE2 BITMAP "Res\\2_SCORE.bmp" 61 | IDB_BTN_SCORE3 BITMAP "Res\\3_SCORE.bmp" 62 | IDB_BTN_FOLLOW BITMAP "Res\\FOLLOW.bmp" 63 | IDB_BTN_HINT BITMAP "Res\\HINT.bmp" 64 | IDB_BTN_PASS BITMAP "Res\\PASS.bmp" 65 | IDB_BTN_TEMPLATE BITMAP "Res\\BTN_TEMPLATE.bmp" 66 | IDB_INFO_SCORE1 BITMAP "Res\\info_score1.bmp" 67 | IDB_INFO_SCORE2 BITMAP "Res\\info_score2.bmp" 68 | IDB_INFO_SCORE3 BITMAP "Res\\info_score3.bmp" 69 | IDB_INFO_PASS BITMAP "Res\\info_pass.bmp" 70 | IDB_INFO_READY BITMAP "Res\\info_ready.bmp" 71 | IDB_INFO_SCORE0 BITMAP "Res\\info_score0.bmp" 72 | IDB_CLOCK_DIGITAL BITMAP "Res\\digital.bmp" 73 | 74 | ///////////////////////////////////////////////////////////////////////////// 75 | // 76 | // Version 77 | // 78 | 79 | VS_VERSION_INFO VERSIONINFO 80 | FILEVERSION 1,0,0,1 81 | PRODUCTVERSION 1,0,0,1 82 | FILEFLAGSMASK 0x17L 83 | #ifdef _DEBUG 84 | FILEFLAGS 0x1L 85 | #else 86 | FILEFLAGS 0x0L 87 | #endif 88 | FILEOS 0x4L 89 | FILETYPE 0x2L 90 | FILESUBTYPE 0x0L 91 | BEGIN 92 | BLOCK "StringFileInfo" 93 | BEGIN 94 | BLOCK "080404b0" 95 | BEGIN 96 | VALUE "FileDescription", "Poker Image Resource Dynamic Link Library" 97 | VALUE "FileVersion", "1.0.0.1 build 7600" 98 | VALUE "InternalName", "ResPoker" 99 | VALUE "LegalCopyright", "Copyright (C) 2010, Shining" 100 | VALUE "OriginalFilename", "ResPoker.dll" 101 | VALUE "ProductName", "DdzClient" 102 | VALUE "ProductVersion", "1.0.0.1 build 7600" 103 | END 104 | END 105 | BLOCK "VarFileInfo" 106 | BEGIN 107 | VALUE "Translation", 0x804, 1200 108 | END 109 | END 110 | 111 | #endif // Chinese (P.R.C.) resources 112 | ///////////////////////////////////////////////////////////////////////////// 113 | 114 | 115 | 116 | #ifndef APSTUDIO_INVOKED 117 | ///////////////////////////////////////////////////////////////////////////// 118 | // 119 | // Generated from the TEXTINCLUDE 3 resource. 120 | // 121 | 122 | 123 | ///////////////////////////////////////////////////////////////////////////// 124 | #endif // not APSTUDIO_INVOKED 125 | 126 | -------------------------------------------------------------------------------- /ResPoker/ResPoker.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {898D0EA1-1DAC-4F5F-AD28-193CEBCA7464} 15 | ResPoker 16 | SAK 17 | SAK 18 | SAK 19 | Win32Proj 20 | SAK 21 | 22 | 23 | 24 | DynamicLibrary 25 | Unicode 26 | true 27 | v120 28 | 29 | 30 | DynamicLibrary 31 | Unicode 32 | v120 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <_ProjectFileVersion>10.0.40219.1 46 | $(SolutionDir)_bin\$(Configuration)\ 47 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 48 | false 49 | $(SolutionDir)_bin\$(Configuration)\ 50 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 51 | false 52 | AllRules.ruleset 53 | 54 | 55 | AllRules.ruleset 56 | 57 | 58 | 59 | 60 | 61 | Disabled 62 | WIN32;_DEBUG;_WINDOWS;_USRDLL;RESPOKER_EXPORTS;%(PreprocessorDefinitions) 63 | true 64 | EnableFastChecks 65 | MultiThreadedDebugDLL 66 | 67 | 68 | Level3 69 | EditAndContinue 70 | 71 | 72 | $(OutDir)$(ProjectName).dll 73 | 74 | 75 | true 76 | $(TargetDir)$(TargetName).pdb 77 | Windows 78 | true 79 | false 80 | 81 | 82 | 83 | 84 | MachineX86 85 | 86 | 87 | $(IntDir)$(ProjectName).bsc 88 | 89 | 90 | 91 | 92 | WIN32;NDEBUG;_WINDOWS;_USRDLL;RESPOKER_EXPORTS;%(PreprocessorDefinitions) 93 | MultiThreadedDLL 94 | 95 | 96 | Level3 97 | ProgramDatabase 98 | 99 | 100 | $(OutDir)$(ProjectName).dll 101 | true 102 | $(IntDir)$(TargetName).pdb 103 | Windows 104 | true 105 | true 106 | true 107 | false 108 | 109 | 110 | 111 | 112 | MachineX86 113 | 114 | 115 | $(IntDir)$(ProjectName).bsc 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | -------------------------------------------------------------------------------- /ResPoker/ResPoker.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | 18 | 19 | 头文件 20 | 21 | 22 | 23 | 24 | 资源文件 25 | 26 | 27 | 资源文件 28 | 29 | 30 | 资源文件 31 | 32 | 33 | 资源文件 34 | 35 | 36 | 资源文件 37 | 38 | 39 | 资源文件 40 | 41 | 42 | 资源文件 43 | 44 | 45 | 资源文件 46 | 47 | 48 | 资源文件 49 | 50 | 51 | 资源文件 52 | 53 | 54 | 资源文件 55 | 56 | 57 | 资源文件 58 | 59 | 60 | 资源文件 61 | 62 | 63 | 资源文件 64 | 65 | 66 | 资源文件 67 | 68 | 69 | 资源文件 70 | 71 | 72 | 资源文件 73 | 74 | 75 | 资源文件 76 | 77 | 78 | 79 | 80 | 资源文件 81 | 82 | 83 | -------------------------------------------------------------------------------- /ResSound/ResSound.rc: -------------------------------------------------------------------------------- 1 | // Microsoft Visual C++ generated resource script. 2 | // 3 | #include "..\Include\ResSound.h" 4 | 5 | #define APSTUDIO_READONLY_SYMBOLS 6 | ///////////////////////////////////////////////////////////////////////////// 7 | // 8 | // Generated from the TEXTINCLUDE 2 resource. 9 | // 10 | #include "afxres.h" 11 | 12 | ///////////////////////////////////////////////////////////////////////////// 13 | #undef APSTUDIO_READONLY_SYMBOLS 14 | 15 | ///////////////////////////////////////////////////////////////////////////// 16 | // Chinese (P.R.C.) resources 17 | 18 | #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) 19 | #ifdef _WIN32 20 | LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 21 | #pragma code_page(936) 22 | #endif //_WIN32 23 | 24 | #ifdef APSTUDIO_INVOKED 25 | ///////////////////////////////////////////////////////////////////////////// 26 | // 27 | // TEXTINCLUDE 28 | // 29 | 30 | 1 TEXTINCLUDE 31 | BEGIN 32 | "..\\Include\\ResSound.h\0" 33 | END 34 | 35 | 2 TEXTINCLUDE 36 | BEGIN 37 | "#include ""afxres.h""\r\n" 38 | "\0" 39 | END 40 | 41 | 3 TEXTINCLUDE 42 | BEGIN 43 | "\r\n" 44 | "\0" 45 | END 46 | 47 | #endif // APSTUDIO_INVOKED 48 | 49 | 50 | ///////////////////////////////////////////////////////////////////////////// 51 | // 52 | // WAVE 53 | // 54 | 55 | IDR_WAV_0_FEMALE WAVE "Sound\\0_f.wav" 56 | IDR_WAV_0_MALE WAVE "Sound\\0_m.wav" 57 | IDR_WAV_1_FEMALE WAVE "Sound\\1_f.wav" 58 | IDR_WAV_1_MALE WAVE "Sound\\1_m.wav" 59 | IDR_WAV_2_FEMALE WAVE "Sound\\2_f.wav" 60 | IDR_WAV_2_MALE WAVE "Sound\\2_m.wav" 61 | IDR_WAV_3_FEMALE WAVE "Sound\\3_f.wav" 62 | IDR_WAV_3_MALE WAVE "Sound\\3_m.wav" 63 | IDR_WAV_BOMB WAVE "Sound\\bomb.wav" 64 | IDR_WAV_OUTCARD WAVE "Sound\\outcard.wav" 65 | IDR_WAV_RUNAWAY WAVE "Sound\\runaway.wav" 66 | IDR_WAV_START WAVE "Sound\\start.wav" 67 | IDR_WAV_TIMEOUT WAVE "Sound\\timeout.wav" 68 | IDR_WAV_WIN WAVE "Sound\\win.wav" 69 | 70 | ///////////////////////////////////////////////////////////////////////////// 71 | // 72 | // Version 73 | // 74 | 75 | VS_VERSION_INFO VERSIONINFO 76 | FILEVERSION 1,0,0,1 77 | PRODUCTVERSION 1,0,0,1 78 | FILEFLAGSMASK 0x17L 79 | #ifdef _DEBUG 80 | FILEFLAGS 0x1L 81 | #else 82 | FILEFLAGS 0x0L 83 | #endif 84 | FILEOS 0x4L 85 | FILETYPE 0x2L 86 | FILESUBTYPE 0x0L 87 | BEGIN 88 | BLOCK "StringFileInfo" 89 | BEGIN 90 | BLOCK "080404b0" 91 | BEGIN 92 | VALUE "FileDescription", "Sound Resource Dynamic Link Library" 93 | VALUE "FileVersion", "1.0.0.1 build 7600" 94 | VALUE "InternalName", "ResSound" 95 | VALUE "LegalCopyright", "Copyright (C) 2010, Shining" 96 | VALUE "OriginalFilename", "ResSound.dll" 97 | VALUE "ProductName", "DdzClient" 98 | VALUE "ProductVersion", "1.0.0.1 build 7600" 99 | END 100 | END 101 | BLOCK "VarFileInfo" 102 | BEGIN 103 | VALUE "Translation", 0x804, 1200 104 | END 105 | END 106 | 107 | #endif // Chinese (P.R.C.) resources 108 | ///////////////////////////////////////////////////////////////////////////// 109 | 110 | 111 | 112 | #ifndef APSTUDIO_INVOKED 113 | ///////////////////////////////////////////////////////////////////////////// 114 | // 115 | // Generated from the TEXTINCLUDE 3 resource. 116 | // 117 | 118 | 119 | ///////////////////////////////////////////////////////////////////////////// 120 | #endif // not APSTUDIO_INVOKED 121 | 122 | -------------------------------------------------------------------------------- /ResSound/ResSound.vcxproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | Debug 6 | Win32 7 | 8 | 9 | Release 10 | Win32 11 | 12 | 13 | 14 | {57995B12-94EA-4B3E-A160-7A9DF7B5CB99} 15 | ResSound 16 | SAK 17 | SAK 18 | SAK 19 | Win32Proj 20 | SAK 21 | 22 | 23 | 24 | DynamicLibrary 25 | Unicode 26 | true 27 | v120 28 | 29 | 30 | DynamicLibrary 31 | Unicode 32 | v120 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | <_ProjectFileVersion>10.0.40219.1 46 | $(SolutionDir)_bin\$(Configuration)\ 47 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 48 | false 49 | $(SolutionDir)_bin\$(Configuration)\ 50 | $(SolutionDir)_obj\$(Configuration)\$(ProjectName)\ 51 | false 52 | AllRules.ruleset 53 | 54 | 55 | AllRules.ruleset 56 | 57 | 58 | 59 | 60 | 61 | Disabled 62 | WIN32;_DEBUG;_WINDOWS;_USRDLL;RESSOUND_EXPORTS;%(PreprocessorDefinitions) 63 | true 64 | EnableFastChecks 65 | MultiThreadedDebugDLL 66 | Use 67 | Level3 68 | EditAndContinue 69 | 70 | 71 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 72 | 73 | 74 | $(OutDir)$(ProjectName).dll 75 | 76 | 77 | true 78 | $(TargetDir)$(TargetName).pdb 79 | Windows 80 | true 81 | false 82 | 83 | 84 | 85 | 86 | MachineX86 87 | 88 | 89 | $(IntDir)$(ProjectName).bsc 90 | 91 | 92 | 93 | 94 | WIN32;NDEBUG;_WINDOWS;_USRDLL;RESSOUND_EXPORTS;%(PreprocessorDefinitions) 95 | MultiThreadedDLL 96 | Use 97 | Level3 98 | ProgramDatabase 99 | 100 | 101 | $(SolutionDir)Include;%(AdditionalIncludeDirectories) 102 | 103 | 104 | $(OutDir)$(ProjectName).dll 105 | true 106 | $(IntDir)$(TargetName).pdb 107 | Windows 108 | true 109 | true 110 | true 111 | false 112 | 113 | 114 | 115 | 116 | MachineX86 117 | 118 | 119 | $(IntDir)$(ProjectName).bsc 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | -------------------------------------------------------------------------------- /ResSound/ResSound.vcxproj.filters: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF} 6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx 7 | 8 | 9 | {93995380-89BD-4b04-88EB-625FBE52EBFB} 10 | h;hpp;hxx;hm;inl;inc;xsd 11 | 12 | 13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} 14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav 15 | 16 | 17 | 18 | 19 | 头文件 20 | 21 | 22 | 23 | 24 | 资源文件 25 | 26 | 27 | 资源文件 28 | 29 | 30 | 资源文件 31 | 32 | 33 | 资源文件 34 | 35 | 36 | 资源文件 37 | 38 | 39 | 资源文件 40 | 41 | 42 | 资源文件 43 | 44 | 45 | 资源文件 46 | 47 | 48 | 资源文件 49 | 50 | 51 | 资源文件 52 | 53 | 54 | 资源文件 55 | 56 | 57 | 资源文件 58 | 59 | 60 | 资源文件 61 | 62 | 63 | 资源文件 64 | 65 | 66 | 67 | 68 | 资源文件 69 | 70 | 71 | -------------------------------------------------------------------------------- /ResSound/Sound/0_f.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/0_f.wav -------------------------------------------------------------------------------- /ResSound/Sound/0_m.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/0_m.wav -------------------------------------------------------------------------------- /ResSound/Sound/1_f.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/1_f.wav -------------------------------------------------------------------------------- /ResSound/Sound/1_m.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/1_m.wav -------------------------------------------------------------------------------- /ResSound/Sound/2_f.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/2_f.wav -------------------------------------------------------------------------------- /ResSound/Sound/2_m.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/2_m.wav -------------------------------------------------------------------------------- /ResSound/Sound/3_f.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/3_f.wav -------------------------------------------------------------------------------- /ResSound/Sound/3_m.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/3_m.wav -------------------------------------------------------------------------------- /ResSound/Sound/bomb.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/bomb.wav -------------------------------------------------------------------------------- /ResSound/Sound/outcard.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/outcard.wav -------------------------------------------------------------------------------- /ResSound/Sound/runaway.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/runaway.wav -------------------------------------------------------------------------------- /ResSound/Sound/start.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/start.wav -------------------------------------------------------------------------------- /ResSound/Sound/timeout.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/timeout.wav -------------------------------------------------------------------------------- /ResSound/Sound/win.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ResSound/Sound/win.wav -------------------------------------------------------------------------------- /SetupClient/DdzClient.ini: -------------------------------------------------------------------------------- 1 | [GAME_ENV] 2 | ; 3 | ; Game background image 4 | ; 5 | ; If the app folder contains a bmp file named "Game_bg.bmp", then 6 | ; it's used as game background image. Else, if the following line indicates 7 | ; a valid image file, it's used. Otherwise, program will use a image 8 | ; from it's resource DLL as default. 9 | ; 10 | bg_image=background.bmp 11 | -------------------------------------------------------------------------------- /SetupClient/ServerList.ini: -------------------------------------------------------------------------------- 1 | [SERVER0] 2 | NAME=PC 3 | IP=192.168.0.102 4 | PORT=26008 5 | [SERVER1] 6 | NAME=Local 7 | IP=192.168.0.101 8 | PORT=26008 9 | [SERVER2] 10 | [SERVER3] 11 | [SERVER4] 12 | [SERVER5] 13 | [SERVER6] 14 | [SERVER7] 15 | [SERVER8] 16 | -------------------------------------------------------------------------------- /SetupServer/DdzServer.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/SetupServer/DdzServer.ini -------------------------------------------------------------------------------- /ThirdPartySoftware/PictureEx_demo.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ThirdPartySoftware/PictureEx_demo.zip -------------------------------------------------------------------------------- /ThirdPartySoftware/cwebpage.org.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/ThirdPartySoftware/cwebpage.org.zip -------------------------------------------------------------------------------- /history.txt: -------------------------------------------------------------------------------- 1 | [2009-06] v1.0 initial completion. 2 | 3 | [2010-05] v1.1 Added IP selection dialog for DdzServer at startup. -------------------------------------------------------------------------------- /known-issues.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shining-yang/DDZ/31e14ea3f0e3c960f82d7f5b6effbd96a76e00cd/known-issues.txt -------------------------------------------------------------------------------- /uncompleted-tasks.txt: -------------------------------------------------------------------------------- 1 | TASKS: 2 | 3 | 1. Shell Notification Icon 4 | 5 | 2. Modeless DialogBox 6 | 7 | 3. READY, PASS picture --------------------------------------------------------------------------------