diff --git a/README.md b/README.md index 1d35fe0dd00a0e121f9d95e0ad8742c0de86862b..8c50992082ff47f27314d12c8cd5cacbb847b298 100644 --- a/README.md +++ b/README.md @@ -160,8 +160,7 @@ Have fun playing! When playing the game on a single device, the default server address *127.0.0.1* and server port *50505* can be used during the connection phase. -However, the game can also be played from different devices on the same Wi-Fi network 🛜 or if all devices are connected -to the same VPN. +However, the game can also be played from different devices on the same Wi-Fi network 🛜. In this case, one player needs to host the server, while all other players only have to run their client. When connecting to the game, all players have to enter the private IP address of the player hosting the server in the *server address* field. The default port *50505* can be kept. diff --git a/doxygen_overview.md b/doxygen_overview.md index ad50269b6e0d815630ae56d198290849da26ff0c..62bddf12ebe5e881b155a50117182b0328a2d657 100644 --- a/doxygen_overview.md +++ b/doxygen_overview.md @@ -156,8 +156,7 @@ Have fun playing! When playing the game on a single device, the default server address *127.0.0.1* and server port *50505* can be used during the connection phase. -However, the game can also be played from different devices on the same Wi-Fi network 🛜 or if all devices are connected -to the same VPN. +However, the game can also be played from different devices on the same Wi-Fi network 🛜. In this case, one player needs to host the server, while all other players only have to run their client. When connecting to the game, all players have to enter the private IP address of the player hosting the server in the *server address* field. The default port *50505* can be kept. diff --git a/html/_client_network_manager_8h_source.html b/html/_client_network_manager_8h_source.html index c986b5d7168747881c5b5f414512e40a0ae99188..27014c9209067a72c1f36bee6555ce56d07476f2 100644 --- a/html/_client_network_manager_8h_source.html +++ b/html/_client_network_manager_8h_source.html @@ -126,7 +126,7 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_CLIENTNETWORKMANAGER_H</span></div> <div class="ttc" id="aclass_client_network_manager_html"><div class="ttname"><a href="class_client_network_manager.html">ClientNetworkManager</a></div><div class="ttdef"><b>Definition</b> ClientNetworkManager.h:10</div></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/_connection_panel_8h_source.html b/html/_connection_panel_8h_source.html index 1a9a055c3b8d0038082ee8e8b2453a0e8c3945bd..4d1f1f7a3a77587ea3fcde920e2d762615cef072 100644 --- a/html/_connection_panel_8h_source.html +++ b/html/_connection_panel_8h_source.html @@ -98,32 +98,35 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include <wx/wx.h></span></div> <div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include "../uiElements/InputField.h"</span></div> <div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span> </div> -<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div> -<div class="foldopen" id="foldopen00008" data-start="{" data-end="};"> -<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="class_connection_panel.html"> 8</a></span><span class="keyword">class </span><a class="code hl_class" href="class_connection_panel.html">ConnectionPanel</a> : <span class="keyword">public</span> wxPanel {</div> -<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div> -<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">public</span>:</div> -<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <a class="code hl_class" href="class_connection_panel.html">ConnectionPanel</a>(wxWindow* parent);</div> -<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> -<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> wxString getServerAddress();</div> -<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> wxString getServerPort();</div> -<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> wxString getPlayerName();</div> -<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div> -<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keyword">private</span>:</div> -<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> <span class="keywordtype">void</span> OnPaint(wxPaintEvent& event);</div> -<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="keywordtype">void</span> OnSize(wxSizeEvent& event);</div> +<div class="foldopen" id="foldopen00012" data-start="{" data-end="};"> +<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="class_connection_panel.html"> 12</a></span><span class="keyword">class </span><a class="code hl_class" href="class_connection_panel.html">ConnectionPanel</a> : <span class="keyword">public</span> wxPanel {</div> +<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div> +<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">public</span>:</div> +<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_function" href="class_connection_panel.html#abc032283798f168176fc9af6fab9cbca">ConnectionPanel</a>(wxWindow* parent);</div> <div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div> -<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> wxBitmap _backgroundImage;</div> -<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _serverAddressField;</div> -<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _serverPortField;</div> -<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _playerNameField;</div> -<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div> -<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span>};</div> +<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> wxString <a class="code hl_function" href="class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064">getServerAddress</a>();</div> +<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> wxString <a class="code hl_function" href="class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719">getServerPort</a>();</div> +<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> wxString <a class="code hl_function" href="class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071">getPlayerName</a>();</div> +<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div> +<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span><span class="keyword">private</span>:</div> +<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <span class="keywordtype">void</span> OnPaint(wxPaintEvent& event);</div> +<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">void</span> OnSize(wxSizeEvent& event);</div> +<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div> +<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> wxBitmap _backgroundImage; </div> +<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _serverAddressField; </div> +<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _serverPortField; </div> +<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _playerNameField; </div> +<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div> +<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span>};</div> </div> -<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div> -<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div> -<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="preprocessor">#endif </span><span class="comment">//TEST_CONNECTIONPANEL_H</span></div> -<div class="ttc" id="aclass_connection_panel_html"><div class="ttname"><a href="class_connection_panel.html">ConnectionPanel</a></div><div class="ttdef"><b>Definition</b> ConnectionPanel.h:8</div></div> +<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div> +<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div> +<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="preprocessor">#endif </span><span class="comment">//TEST_CONNECTIONPANEL_H</span></div> +<div class="ttc" id="aclass_connection_panel_html"><div class="ttname"><a href="class_connection_panel.html">ConnectionPanel</a></div><div class="ttdoc">A custom wxPanel for handling server connection input and UI. This panel provides fields for entering...</div><div class="ttdef"><b>Definition</b> ConnectionPanel.h:12</div></div> +<div class="ttc" id="aclass_connection_panel_html_a166e8404b755b5bdf719356b8bd07071"><div class="ttname"><a href="class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071">ConnectionPanel::getPlayerName</a></div><div class="ttdeci">wxString getPlayerName()</div><div class="ttdoc">Retrieves the player name entered by the user. The player name is entered in an input field and is us...</div><div class="ttdef"><b>Definition</b> ConnectionPanel.cpp:115</div></div> +<div class="ttc" id="aclass_connection_panel_html_aae98ee379bc9ba0ad2b41793658b8064"><div class="ttname"><a href="class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064">ConnectionPanel::getServerAddress</a></div><div class="ttdeci">wxString getServerAddress()</div><div class="ttdoc">Retrieves the server address entered by the user (default is set to 127.0.0.1).</div><div class="ttdef"><b>Definition</b> ConnectionPanel.cpp:105</div></div> +<div class="ttc" id="aclass_connection_panel_html_ab0dc7af0934d4184aa04d220e0bd9719"><div class="ttname"><a href="class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719">ConnectionPanel::getServerPort</a></div><div class="ttdeci">wxString getServerPort()</div><div class="ttdoc">Retrieves the server port entered by the user (default is set to 50505).</div><div class="ttdef"><b>Definition</b> ConnectionPanel.cpp:110</div></div> +<div class="ttc" id="aclass_connection_panel_html_abc032283798f168176fc9af6fab9cbca"><div class="ttname"><a href="class_connection_panel.html#abc032283798f168176fc9af6fab9cbca">ConnectionPanel::ConnectionPanel</a></div><div class="ttdeci">ConnectionPanel(wxWindow *parent)</div><div class="ttdoc">Constructs Connection Panel.</div><div class="ttdef"><b>Definition</b> ConnectionPanel.cpp:8</div></div> <div class="ttc" id="aclass_input_field_html"><div class="ttname"><a href="class_input_field.html">InputField</a></div><div class="ttdef"><b>Definition</b> InputField.h:7</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> diff --git a/html/_game_controller_8h_source.html b/html/_game_controller_8h_source.html index 7b382fd0074c12aae5cb9046d06eb53068d4e26e..62edda1057ffd5f793adbddec803bf161cc97bed 100644 --- a/html/_game_controller_8h_source.html +++ b/html/_game_controller_8h_source.html @@ -123,39 +123,42 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_game_controller.html#a8108659ad09724318c3a251d93bd5869">showTrickOverMessage</a>(<span class="keyword">const</span> <a class="code hl_class" href="classplayer.html">player</a>* winner);</div> <div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_game_controller.html#abb91c546ab8400c1e2e9f2a2ccc8298f">showGameOverMessage</a>();</div> <div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div> -<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span><span class="keyword">private</span>:</div> -<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keyword">static</span> <a class="code hl_class" href="class_game_window.html">GameWindow</a>* _gameWindow; </div> -<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keyword">static</span> <a class="code hl_class" href="class_connection_panel.html">ConnectionPanel</a>* _connectionPanel; </div> -<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">static</span> <a class="code hl_class" href="class_main_game_panel_wizard.html">MainGamePanelWizard</a>* _mainGamePanelWizard; </div> -<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keyword">static</span> <a class="code hl_class" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>* _trickEstimationPanel; </div> -<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div> -<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">static</span> <a class="code hl_class" href="classplayer.html">player</a>* _me; </div> -<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">static</span> <a class="code hl_class" href="classgame__state.html">game_state</a>* _currentGameState; </div> -<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> </div> -<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span>};</div> -</div> +<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_game_controller.html#a21eea505305d56439efb835e1e148c2f">closeGameWindow</a>();</div> +<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div> +<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span><span class="keyword">private</span>:</div> +<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> <span class="keyword">static</span> <a class="code hl_class" href="class_game_window.html">GameWindow</a>* _gameWindow; </div> +<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">static</span> <a class="code hl_class" href="class_connection_panel.html">ConnectionPanel</a>* _connectionPanel; </div> +<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span> <span class="keyword">static</span> <a class="code hl_class" href="class_main_game_panel_wizard.html">MainGamePanelWizard</a>* _mainGamePanelWizard; </div> +<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> <span class="keyword">static</span> <a class="code hl_class" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>* _trickEstimationPanel; </div> <div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span> </div> -<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div> -<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><span class="preprocessor">#endif </span><span class="comment">//WIZARDUI_GAMECONTROLLER_H</span></div> -<div class="ttc" id="aclass_connection_panel_html"><div class="ttname"><a href="class_connection_panel.html">ConnectionPanel</a></div><div class="ttdef"><b>Definition</b> ConnectionPanel.h:8</div></div> +<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> <span class="keyword">static</span> <a class="code hl_class" href="classplayer.html">player</a>* _me; </div> +<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span> <span class="keyword">static</span> <a class="code hl_class" href="classgame__state.html">game_state</a>* _currentGameState; </div> +<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div> +<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>};</div> +</div> +<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span> </div> +<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span> </div> +<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="preprocessor">#endif </span><span class="comment">//WIZARDUI_GAMECONTROLLER_H</span></div> +<div class="ttc" id="aclass_connection_panel_html"><div class="ttname"><a href="class_connection_panel.html">ConnectionPanel</a></div><div class="ttdoc">A custom wxPanel for handling server connection input and UI. This panel provides fields for entering...</div><div class="ttdef"><b>Definition</b> ConnectionPanel.h:12</div></div> <div class="ttc" id="aclass_game_controller_html"><div class="ttname"><a href="class_game_controller.html">GameController</a></div><div class="ttdoc">Controls visualization of the game state and processes client actions.</div><div class="ttdef"><b>Definition</b> GameController.h:20</div></div> -<div class="ttc" id="aclass_game_controller_html_a023da21da545374ee46fb873149976c4"><div class="ttname"><a href="class_game_controller.html#a023da21da545374ee46fb873149976c4">GameController::connectToServer</a></div><div class="ttdeci">static void connectToServer()</div><div class="ttdoc">Handles connection to server when a user joins a game.</div><div class="ttdef"><b>Definition</b> GameController.cpp:45</div></div> -<div class="ttc" id="aclass_game_controller_html_a3c350056b82df662c946cb9119f11ced"><div class="ttname"><a href="class_game_controller.html#a3c350056b82df662c946cb9119f11ced">GameController::showNewRoundMessage</a></div><div class="ttdeci">static void showNewRoundMessage(game_state *oldGameState, game_state *newGameState)</div><div class="ttdoc">Shows message that round has finished and current scores of players at the end of a round.</div><div class="ttdef"><b>Definition</b> GameController.cpp:234</div></div> -<div class="ttc" id="aclass_game_controller_html_a5f1023f2029e5dbb25b795a0606e06a9"><div class="ttname"><a href="class_game_controller.html#a5f1023f2029e5dbb25b795a0606e06a9">GameController::processEstimateTricks</a></div><div class="ttdeci">static void processEstimateTricks()</div><div class="ttdoc">Process input from trick estimation panel and trigger estimateTricks function.</div><div class="ttdef"><b>Definition</b> GameController.cpp:190</div></div> -<div class="ttc" id="aclass_game_controller_html_a6a43eb061a9882b3937fc88bb4794324"><div class="ttname"><a href="class_game_controller.html#a6a43eb061a9882b3937fc88bb4794324">GameController::showStatus</a></div><div class="ttdeci">static void showStatus(const std::string &message)</div><div class="ttdoc">Set status message.</div><div class="ttdef"><b>Definition</b> GameController.cpp:229</div></div> -<div class="ttc" id="aclass_game_controller_html_a8108659ad09724318c3a251d93bd5869"><div class="ttname"><a href="class_game_controller.html#a8108659ad09724318c3a251d93bd5869">GameController::showTrickOverMessage</a></div><div class="ttdeci">static void showTrickOverMessage(const player *winner)</div><div class="ttdoc">Shows message at the end of each trick stating which player won the trick.</div><div class="ttdef"><b>Definition</b> GameController.cpp:268</div></div> -<div class="ttc" id="aclass_game_controller_html_a87b164e2094901861e5b47056634facc"><div class="ttname"><a href="class_game_controller.html#a87b164e2094901861e5b47056634facc">GameController::playCard</a></div><div class="ttdeci">static void playCard(card *cardToPlay)</div><div class="ttdoc">Send out 'play card' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:184</div></div> +<div class="ttc" id="aclass_game_controller_html_a023da21da545374ee46fb873149976c4"><div class="ttname"><a href="class_game_controller.html#a023da21da545374ee46fb873149976c4">GameController::connectToServer</a></div><div class="ttdeci">static void connectToServer()</div><div class="ttdoc">Handles connection to server when a user joins a game.</div><div class="ttdef"><b>Definition</b> GameController.cpp:44</div></div> +<div class="ttc" id="aclass_game_controller_html_a21eea505305d56439efb835e1e148c2f"><div class="ttname"><a href="class_game_controller.html#a21eea505305d56439efb835e1e148c2f">GameController::closeGameWindow</a></div><div class="ttdeci">static void closeGameWindow()</div><div class="ttdoc">Closes Game Window.</div><div class="ttdef"><b>Definition</b> GameController.cpp:319</div></div> +<div class="ttc" id="aclass_game_controller_html_a3c350056b82df662c946cb9119f11ced"><div class="ttname"><a href="class_game_controller.html#a3c350056b82df662c946cb9119f11ced">GameController::showNewRoundMessage</a></div><div class="ttdeci">static void showNewRoundMessage(game_state *oldGameState, game_state *newGameState)</div><div class="ttdoc">Shows message that round has finished and current scores of players at the end of a round.</div><div class="ttdef"><b>Definition</b> GameController.cpp:231</div></div> +<div class="ttc" id="aclass_game_controller_html_a5f1023f2029e5dbb25b795a0606e06a9"><div class="ttname"><a href="class_game_controller.html#a5f1023f2029e5dbb25b795a0606e06a9">GameController::processEstimateTricks</a></div><div class="ttdeci">static void processEstimateTricks()</div><div class="ttdoc">Process input from trick estimation panel and trigger estimateTricks function.</div><div class="ttdef"><b>Definition</b> GameController.cpp:187</div></div> +<div class="ttc" id="aclass_game_controller_html_a6a43eb061a9882b3937fc88bb4794324"><div class="ttname"><a href="class_game_controller.html#a6a43eb061a9882b3937fc88bb4794324">GameController::showStatus</a></div><div class="ttdeci">static void showStatus(const std::string &message)</div><div class="ttdoc">Set status message.</div><div class="ttdef"><b>Definition</b> GameController.cpp:226</div></div> +<div class="ttc" id="aclass_game_controller_html_a8108659ad09724318c3a251d93bd5869"><div class="ttname"><a href="class_game_controller.html#a8108659ad09724318c3a251d93bd5869">GameController::showTrickOverMessage</a></div><div class="ttdeci">static void showTrickOverMessage(const player *winner)</div><div class="ttdoc">Shows message at the end of each trick stating which player won the trick.</div><div class="ttdef"><b>Definition</b> GameController.cpp:260</div></div> +<div class="ttc" id="aclass_game_controller_html_a87b164e2094901861e5b47056634facc"><div class="ttname"><a href="class_game_controller.html#a87b164e2094901861e5b47056634facc">GameController::playCard</a></div><div class="ttdeci">static void playCard(card *cardToPlay)</div><div class="ttdoc">Send out 'play card' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:182</div></div> <div class="ttc" id="aclass_game_controller_html_a8889bad76bc35487d3391fb8a5791616"><div class="ttname"><a href="class_game_controller.html#a8889bad76bc35487d3391fb8a5791616">GameController::init</a></div><div class="ttdeci">static void init(GameWindow *gameWindow)</div><div class="ttdoc">Initializes game window when a new Wizard-client is started.</div><div class="ttdef"><b>Definition</b> GameController.cpp:22</div></div> -<div class="ttc" id="aclass_game_controller_html_a8d42b2e41759bfd65cdebad87437369e"><div class="ttname"><a href="class_game_controller.html#a8d42b2e41759bfd65cdebad87437369e">GameController::leaveGame</a></div><div class="ttdeci">static void leaveGame()</div><div class="ttdoc">Send out 'leave game' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:173</div></div> -<div class="ttc" id="aclass_game_controller_html_a8f30ab3ff471ac0a5c8b88dc7fea45f4"><div class="ttname"><a href="class_game_controller.html#a8f30ab3ff471ac0a5c8b88dc7fea45f4">GameController::startGame</a></div><div class="ttdeci">static void startGame()</div><div class="ttdoc">Send out 'start game' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:167</div></div> -<div class="ttc" id="aclass_game_controller_html_a994773f79be8c9e8dc8c19ee2d389103"><div class="ttname"><a href="class_game_controller.html#a994773f79be8c9e8dc8c19ee2d389103">GameController::updateGameState</a></div><div class="ttdeci">static void updateGameState(game_state *newGameState)</div><div class="ttdoc">Updates game state whenever any player interacted with the server based on parameters of current game...</div><div class="ttdef"><b>Definition</b> GameController.cpp:99</div></div> -<div class="ttc" id="aclass_game_controller_html_abb91c546ab8400c1e2e9f2a2ccc8298f"><div class="ttname"><a href="class_game_controller.html#abb91c546ab8400c1e2e9f2a2ccc8298f">GameController::showGameOverMessage</a></div><div class="ttdeci">static void showGameOverMessage()</div><div class="ttdoc">Shows message at the end of the game that the game has ended and states the winner.</div><div class="ttdef"><b>Definition</b> GameController.cpp:278</div></div> -<div class="ttc" id="aclass_game_controller_html_abd110563d0f37f06096176c199d22055"><div class="ttname"><a href="class_game_controller.html#abd110563d0f37f06096176c199d22055">GameController::estimateTricks</a></div><div class="ttdeci">static void estimateTricks(int nof_tricks)</div><div class="ttdoc">Send out 'estimate tricks' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:179</div></div> -<div class="ttc" id="aclass_game_controller_html_abec8c73ea01e4b7e01b2ca1d932e0c16"><div class="ttname"><a href="class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16">GameController::getMainThreadEventHandler</a></div><div class="ttdeci">static wxEvtHandler * getMainThreadEventHandler()</div><div class="ttdoc">Finds event handler for main thread.</div><div class="ttdef"><b>Definition</b> GameController.cpp:213</div></div> -<div class="ttc" id="aclass_game_controller_html_adf043f9026a62f634a873c9f9d292034"><div class="ttname"><a href="class_game_controller.html#adf043f9026a62f634a873c9f9d292034">GameController::showError</a></div><div class="ttdeci">static void showError(const std::string &title, const std::string &message)</div><div class="ttdoc">Handles showing of error messages.</div><div class="ttdef"><b>Definition</b> GameController.cpp:218</div></div> +<div class="ttc" id="aclass_game_controller_html_a8d42b2e41759bfd65cdebad87437369e"><div class="ttname"><a href="class_game_controller.html#a8d42b2e41759bfd65cdebad87437369e">GameController::leaveGame</a></div><div class="ttdeci">static void leaveGame()</div><div class="ttdoc">Send out 'leave game' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:171</div></div> +<div class="ttc" id="aclass_game_controller_html_a8f30ab3ff471ac0a5c8b88dc7fea45f4"><div class="ttname"><a href="class_game_controller.html#a8f30ab3ff471ac0a5c8b88dc7fea45f4">GameController::startGame</a></div><div class="ttdeci">static void startGame()</div><div class="ttdoc">Send out 'start game' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:165</div></div> +<div class="ttc" id="aclass_game_controller_html_a994773f79be8c9e8dc8c19ee2d389103"><div class="ttname"><a href="class_game_controller.html#a994773f79be8c9e8dc8c19ee2d389103">GameController::updateGameState</a></div><div class="ttdeci">static void updateGameState(game_state *newGameState)</div><div class="ttdoc">Updates game state whenever any player interacted with the server based on parameters of current game...</div><div class="ttdef"><b>Definition</b> GameController.cpp:98</div></div> +<div class="ttc" id="aclass_game_controller_html_abb91c546ab8400c1e2e9f2a2ccc8298f"><div class="ttname"><a href="class_game_controller.html#abb91c546ab8400c1e2e9f2a2ccc8298f">GameController::showGameOverMessage</a></div><div class="ttdeci">static void showGameOverMessage()</div><div class="ttdoc">Shows message at the end of the game that the game has ended and states the winner.</div><div class="ttdef"><b>Definition</b> GameController.cpp:270</div></div> +<div class="ttc" id="aclass_game_controller_html_abd110563d0f37f06096176c199d22055"><div class="ttname"><a href="class_game_controller.html#abd110563d0f37f06096176c199d22055">GameController::estimateTricks</a></div><div class="ttdeci">static void estimateTricks(int nof_tricks)</div><div class="ttdoc">Send out 'estimate tricks' request to server.</div><div class="ttdef"><b>Definition</b> GameController.cpp:177</div></div> +<div class="ttc" id="aclass_game_controller_html_abec8c73ea01e4b7e01b2ca1d932e0c16"><div class="ttname"><a href="class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16">GameController::getMainThreadEventHandler</a></div><div class="ttdeci">static wxEvtHandler * getMainThreadEventHandler()</div><div class="ttdoc">Finds event handler for main thread.</div><div class="ttdef"><b>Definition</b> GameController.cpp:210</div></div> +<div class="ttc" id="aclass_game_controller_html_adf043f9026a62f634a873c9f9d292034"><div class="ttname"><a href="class_game_controller.html#adf043f9026a62f634a873c9f9d292034">GameController::showError</a></div><div class="ttdeci">static void showError(const std::string &title, const std::string &message)</div><div class="ttdoc">Handles showing of error messages.</div><div class="ttdef"><b>Definition</b> GameController.cpp:215</div></div> <div class="ttc" id="aclass_game_window_html"><div class="ttname"><a href="class_game_window.html">GameWindow</a></div><div class="ttdef"><b>Definition</b> GameWindow.h:8</div></div> <div class="ttc" id="aclass_main_game_panel_wizard_html"><div class="ttname"><a href="class_main_game_panel_wizard.html">MainGamePanelWizard</a></div><div class="ttdoc">Visualizes Game State to user during the card playing phase. The Main Game Panel is shown before the ...</div><div class="ttdef"><b>Definition</b> MainGamePanelWizard.h:16</div></div> -<div class="ttc" id="aclass_trick_estimation_panel_html"><div class="ttname"><a href="class_trick_estimation_panel.html">TrickEstimationPanel</a></div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.h:13</div></div> +<div class="ttc" id="aclass_trick_estimation_panel_html"><div class="ttname"><a href="class_trick_estimation_panel.html">TrickEstimationPanel</a></div><div class="ttdoc">The TrickEstimationPanel class handles the GUI layout and functionality for the trick estimation phas...</div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.h:17</div></div> <div class="ttc" id="aclasscard_html"><div class="ttname"><a href="classcard.html">card</a></div><div class="ttdoc">Represents a card in the game.</div><div class="ttdef"><b>Definition</b> card.h:15</div></div> <div class="ttc" id="aclassgame__state_html"><div class="ttname"><a href="classgame__state.html">game_state</a></div><div class="ttdoc">Represents the state of the game.</div><div class="ttdef"><b>Definition</b> game_state.h:27</div></div> <div class="ttc" id="aclassplayer_html"><div class="ttname"><a href="classplayer.html">player</a></div><div class="ttdoc">Represents a player in the game.</div><div class="ttdef"><b>Definition</b> player.h:18</div></div> diff --git a/html/_game_window_8h_source.html b/html/_game_window_8h_source.html index 6c2e85bbc127cd60d39d1dd10e8d91e217963acb..69e305b728922b40fa9c20af671c2ea21f3a88f9 100644 --- a/html/_game_window_8h_source.html +++ b/html/_game_window_8h_source.html @@ -116,12 +116,11 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> wxPanel* _currentPanel;</div> <div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div> <div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">void</span> showRules(wxCommandEvent& event);</div> -<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> show_settings(wxCommandEvent& event);</div> -<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span>};</div> +<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span>};</div> </div> +<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> </div> <div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div> -<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div> -<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#endif </span><span class="comment">//WIZARDUI_GAMEWINDOW_H</span></div> +<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="preprocessor">#endif </span><span class="comment">//WIZARDUI_GAMEWINDOW_H</span></div> <div class="ttc" id="aclass_game_window_html"><div class="ttname"><a href="class_game_window.html">GameWindow</a></div><div class="ttdef"><b>Definition</b> GameWindow.h:8</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> diff --git a/html/_main_game_panel_wizard_8h_source.html b/html/_main_game_panel_wizard_8h_source.html index cabbcef75c3fe982c455af7bb2b0ad7e926e0c92..226ec8593f2c0f0900010074e7eb41cef48e6941 100644 --- a/html/_main_game_panel_wizard_8h_source.html +++ b/html/_main_game_panel_wizard_8h_source.html @@ -111,22 +111,22 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">void</span> buildThisPlayer(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> <div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> <span class="keywordtype">void</span> buildTurnIndicator(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> <div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">void</span> buildOtherPlayers(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a> *me, <span class="keywordtype">int</span> myPosition);</div> -<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <span class="keywordtype">void</span> showRoundOverlay(<span class="keywordtype">int</span> roundNumber);</div> -<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">void</span> buildTrickPile(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a> *me);</div> -<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> <span class="keywordtype">void</span> buildTrumpCard(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> -<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div> -<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <span class="keywordtype">void</span> buildScoreLeaveButtons(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> -<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> </div> -<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> <span class="comment">// also set in the constructor implementation</span></div> -<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> wxSize <span class="keyword">const</span> panelSize = wxSize(960, 680); </div> -<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> wxSize <span class="keyword">const</span> cardSize = wxSize(70, 108); </div> -<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span>};</div> +<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="keywordtype">void</span> buildTrickPile(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a> *me);</div> +<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">void</span> buildTrumpCard(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> +<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> <span class="keywordtype">void</span> buildRoundDisplay(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> +<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div> +<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordtype">void</span> buildScoreLeaveButtons(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> +<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> </div> +<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="comment">// also set in the constructor implementation</span></div> +<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> wxSize <span class="keyword">const</span> panelSize = wxSize(960, 680); </div> +<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> wxSize <span class="keyword">const</span> cardSize = wxSize(85, 131); </div> +<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span>};</div> </div> -<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div> -<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span><span class="preprocessor">#endif </span><span class="comment">//MAINGAMEPANELWIZARD_H</span></div> +<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div> +<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="preprocessor">#endif </span><span class="comment">//MAINGAMEPANELWIZARD_H</span></div> <div class="ttc" id="aclass_main_game_panel_wizard_html"><div class="ttname"><a href="class_main_game_panel_wizard.html">MainGamePanelWizard</a></div><div class="ttdoc">Visualizes Game State to user during the card playing phase. The Main Game Panel is shown before the ...</div><div class="ttdef"><b>Definition</b> MainGamePanelWizard.h:16</div></div> -<div class="ttc" id="aclass_main_game_panel_wizard_html_a6ba532223a22fe5458e3f94a70e2bbf6"><div class="ttname"><a href="class_main_game_panel_wizard.html#a6ba532223a22fe5458e3f94a70e2bbf6">MainGamePanelWizard::MainGamePanelWizard</a></div><div class="ttdeci">MainGamePanelWizard(wxWindow *parent)</div><div class="ttdoc">Constructs main game panel.</div><div class="ttdef"><b>Definition</b> MainGamePanelWizard.cpp:23</div></div> -<div class="ttc" id="aclass_main_game_panel_wizard_html_a83517cab2cccba78cce79450de3bb7f3"><div class="ttname"><a href="class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3">MainGamePanelWizard::buildGameState</a></div><div class="ttdeci">void buildGameState(game_state *gameState, player *me)</div><div class="ttdoc">Shows the game state in the GUI the client gets from the server. This function is called by the game ...</div><div class="ttdef"><b>Definition</b> MainGamePanelWizard.cpp:28</div></div> +<div class="ttc" id="aclass_main_game_panel_wizard_html_a6ba532223a22fe5458e3f94a70e2bbf6"><div class="ttname"><a href="class_main_game_panel_wizard.html#a6ba532223a22fe5458e3f94a70e2bbf6">MainGamePanelWizard::MainGamePanelWizard</a></div><div class="ttdeci">MainGamePanelWizard(wxWindow *parent)</div><div class="ttdoc">Constructs main game panel.</div><div class="ttdef"><b>Definition</b> MainGamePanelWizard.cpp:22</div></div> +<div class="ttc" id="aclass_main_game_panel_wizard_html_a83517cab2cccba78cce79450de3bb7f3"><div class="ttname"><a href="class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3">MainGamePanelWizard::buildGameState</a></div><div class="ttdeci">void buildGameState(game_state *gameState, player *me)</div><div class="ttdoc">Shows the game state in the GUI the client gets from the server. This function is called by the game ...</div><div class="ttdef"><b>Definition</b> MainGamePanelWizard.cpp:27</div></div> <div class="ttc" id="aclassgame__state_html"><div class="ttname"><a href="classgame__state.html">game_state</a></div><div class="ttdoc">Represents the state of the game.</div><div class="ttdef"><b>Definition</b> game_state.h:27</div></div> <div class="ttc" id="aclassplayer_html"><div class="ttname"><a href="classplayer.html">player</a></div><div class="ttdoc">Represents a player in the game.</div><div class="ttdef"><b>Definition</b> player.h:18</div></div> </div><!-- fragment --></div><!-- contents --> diff --git a/html/_score_board_dialog_8h_source.html b/html/_score_board_dialog_8h_source.html index 03f24861dde45f65246e8a8665a5dada5ea66443..d0d4e3feecbb35a65dafe5d67bad96cae321892f 100644 --- a/html/_score_board_dialog_8h_source.html +++ b/html/_score_board_dialog_8h_source.html @@ -100,24 +100,22 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#define WIZARD_SCOREBOARDDIALOG_H</span></div> <div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div> <div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <wx/wx.h></span></div> -<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <wx/statbmp.h></span></div> -<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include<vector></span></div> -<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include "../../common/game_state/game_state.h"</span></div> -<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> -<div class="foldopen" id="foldopen00013" data-start="{" data-end="};"> -<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="class_score_board_dialog.html"> 13</a></span><span class="keyword">class </span><a class="code hl_class" href="class_score_board_dialog.html">ScoreBoardDialog</a>: <span class="keyword">public</span> wxDialog {</div> -<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">public</span>: <a class="code hl_class" href="class_score_board_dialog.html">ScoreBoardDialog</a>(wxWindow* parent, <span class="keyword">const</span> std::string& title, <span class="keyword">const</span> std::string& message, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> -<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div> -<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="keyword">private</span>:</div> -<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> wxButton* okButton;</div> -<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div> -<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span>};</div> +<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include "../../common/game_state/game_state.h"</span></div> +<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div> +<div class="foldopen" id="foldopen00011" data-start="{" data-end="};"> +<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="class_score_board_dialog.html"> 11</a></span><span class="keyword">class </span><a class="code hl_class" href="class_score_board_dialog.html">ScoreBoardDialog</a>: <span class="keyword">public</span> wxDialog {</div> +<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">public</span>: <a class="code hl_class" href="class_score_board_dialog.html">ScoreBoardDialog</a>(wxWindow* parent, <span class="keyword">const</span> std::string& title, <span class="keyword">const</span> std::string& message, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> +<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div> +<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">private</span>:</div> +<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> wxButton* okButton;</div> +<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div> +<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span>};</div> </div> -<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div> +<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div> +<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div> +<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_SCOREBOARDDIALOG_H</span></div> <div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div> -<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_SCOREBOARDDIALOG_H</span></div> -<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div> -<div class="ttc" id="aclass_score_board_dialog_html"><div class="ttname"><a href="class_score_board_dialog.html">ScoreBoardDialog</a></div><div class="ttdef"><b>Definition</b> ScoreBoardDialog.h:13</div></div> +<div class="ttc" id="aclass_score_board_dialog_html"><div class="ttname"><a href="class_score_board_dialog.html">ScoreBoardDialog</a></div><div class="ttdef"><b>Definition</b> ScoreBoardDialog.h:11</div></div> <div class="ttc" id="aclassgame__state_html"><div class="ttname"><a href="classgame__state.html">game_state</a></div><div class="ttdoc">Represents the state of the game.</div><div class="ttdef"><b>Definition</b> game_state.h:27</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> diff --git a/html/_trick_estimation_panel_8h_source.html b/html/_trick_estimation_panel_8h_source.html index a8645e7fda5f3e5718e5cc4758fdf595783b8ccf..7c1791c0f9328133a6e7e5cee69a9d865cd1e65f 100644 --- a/html/_trick_estimation_panel_8h_source.html +++ b/html/_trick_estimation_panel_8h_source.html @@ -104,33 +104,36 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include <wx/wx.h></span></div> <div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include <wx/gbsizer.h></span></div> <div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div> -<div class="foldopen" id="foldopen00013" data-start="{" data-end="};"> -<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="class_trick_estimation_panel.html"> 13</a></span><span class="keyword">class </span><a class="code hl_class" href="class_trick_estimation_panel.html">TrickEstimationPanel</a> : <span class="keyword">public</span> wxPanel{</div> -<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div> -<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="keyword">public</span>:</div> -<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <a class="code hl_class" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>(wxWindow* parent);</div> -<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> <a class="code hl_class" href="class_trick_estimation_panel.html">~TrickEstimationPanel</a>();</div> -<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> wxString getTrickEstimate();</div> -<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <span class="keywordtype">void</span> buildGameState(<a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> -<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="keyword">private</span>:</div> -<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> wxSize <span class="keyword">const</span> panelSize = wxSize(960, 680);</div> -<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> wxSize <span class="keyword">const</span> cardSize = wxSize(70, 108);</div> -<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div> -<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> buildCenter(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> -<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">void</span> buildTrumpColor(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> -<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">void</span> buildHand(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> -<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <span class="keywordtype">void</span> buildThisPlayer(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> -<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <span class="keywordtype">void</span> buildOtherPlayers(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <span class="keywordtype">int</span> myPosition);</div> -<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div> -<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <span class="keywordtype">void</span> buildScoreLeaveButtons(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> -<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div> -<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _trickEstimateField;</div> -<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>};</div> +<div class="foldopen" id="foldopen00017" data-start="{" data-end="};"> +<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="class_trick_estimation_panel.html"> 17</a></span><span class="keyword">class </span><a class="code hl_class" href="class_trick_estimation_panel.html">TrickEstimationPanel</a> : <span class="keyword">public</span> wxPanel{</div> +<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div> +<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="keyword">public</span>:</div> +<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <a class="code hl_function" href="class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5">TrickEstimationPanel</a>(wxWindow* parent);</div> +<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> <a class="code hl_function" href="class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656">~TrickEstimationPanel</a>();</div> +<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> wxString <a class="code hl_function" href="class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c">getTrickEstimate</a>();</div> +<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">void</span> <a class="code hl_function" href="class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99">buildGameState</a>(<a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> +<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="keyword">private</span>:</div> +<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> wxSize <span class="keyword">const</span> panelSize = wxSize(1200, 850); </div> +<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> wxSize <span class="keyword">const</span> cardSize = wxSize(85, 131); </div> +<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div> +<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> <span class="keywordtype">void</span> buildCenter(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> +<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keywordtype">void</span> buildTrumpColor(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> +<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> <span class="keywordtype">void</span> buildHand(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> +<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">void</span> buildThisPlayer(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <a class="code hl_class" href="classplayer.html">player</a>* me);</div> +<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> <span class="keywordtype">void</span> buildOtherPlayers(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState, <span class="keywordtype">int</span> myPosition);</div> +<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> <span class="keywordtype">void</span> buildScoreLeaveButtons(wxGridBagSizer* sizer, <a class="code hl_class" href="classgame__state.html">game_state</a>* gameState);</div> +<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div> +<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> <a class="code hl_class" href="class_input_field.html">InputField</a>* _trickEstimateField; </div> +<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span>};</div> </div> -<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div> -<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="preprocessor">#endif </span><span class="comment">//TRICKESTIMATIONPANEL_H</span></div> +<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> </div> +<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span><span class="preprocessor">#endif </span><span class="comment">//TRICKESTIMATIONPANEL_H</span></div> <div class="ttc" id="aclass_input_field_html"><div class="ttname"><a href="class_input_field.html">InputField</a></div><div class="ttdef"><b>Definition</b> InputField.h:7</div></div> -<div class="ttc" id="aclass_trick_estimation_panel_html"><div class="ttname"><a href="class_trick_estimation_panel.html">TrickEstimationPanel</a></div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.h:13</div></div> +<div class="ttc" id="aclass_trick_estimation_panel_html"><div class="ttname"><a href="class_trick_estimation_panel.html">TrickEstimationPanel</a></div><div class="ttdoc">The TrickEstimationPanel class handles the GUI layout and functionality for the trick estimation phas...</div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.h:17</div></div> +<div class="ttc" id="aclass_trick_estimation_panel_html_a5fce2351ee10c1656c28ed6b79710c99"><div class="ttname"><a href="class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99">TrickEstimationPanel::buildGameState</a></div><div class="ttdeci">void buildGameState(game_state *gameState, player *me)</div><div class="ttdoc">Builds the game state for the trick estimation phase.</div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.cpp:21</div></div> +<div class="ttc" id="aclass_trick_estimation_panel_html_a7ebe75adf21a2bc63bc084b98d836f7c"><div class="ttname"><a href="class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c">TrickEstimationPanel::getTrickEstimate</a></div><div class="ttdeci">wxString getTrickEstimate()</div><div class="ttdoc">Gets the trick estimate entered by the player.</div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.cpp:391</div></div> +<div class="ttc" id="aclass_trick_estimation_panel_html_aa3747f2eff3ec518e3c1e0f7e882b656"><div class="ttname"><a href="class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656">TrickEstimationPanel::~TrickEstimationPanel</a></div><div class="ttdeci">~TrickEstimationPanel()</div><div class="ttdoc">Destructor for TrickEstimationPanel.</div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.cpp:15</div></div> +<div class="ttc" id="aclass_trick_estimation_panel_html_afd077148509843e32e7acbe2331b3ab5"><div class="ttname"><a href="class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5">TrickEstimationPanel::TrickEstimationPanel</a></div><div class="ttdeci">TrickEstimationPanel(wxWindow *parent)</div><div class="ttdoc">Constructor for TrickEstimationPanel.</div><div class="ttdef"><b>Definition</b> TrickEstimationPanel.cpp:10</div></div> <div class="ttc" id="aclassgame__state_html"><div class="ttname"><a href="classgame__state.html">game_state</a></div><div class="ttdoc">Represents the state of the game.</div><div class="ttdef"><b>Definition</b> game_state.h:27</div></div> <div class="ttc" id="aclassplayer_html"><div class="ttname"><a href="classplayer.html">player</a></div><div class="ttdoc">Represents a player in the game.</div><div class="ttdef"><b>Definition</b> player.h:18</div></div> </div><!-- fragment --></div><!-- contents --> diff --git a/html/annotated.html b/html/annotated.html index 3bc8efdab0bc4cfb416d5e31c00da19bfafe3673..09bc1366c32743f45580c4e537342069d4f05b4d 100644 --- a/html/annotated.html +++ b/html/annotated.html @@ -96,44 +96,43 @@ $(function(){ initResizable(false); }); <tr id="row_2_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_2_" class="arrow" onclick="dynsection.toggleFolder('2_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classclient__request.html" target="_self">client_request</a></td><td class="desc"></td></tr> <tr id="row_2_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structclient__request_1_1base__class__properties.html" target="_self">base_class_properties</a></td><td class="desc"></td></tr> <tr id="row_3_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_client_network_manager.html" target="_self">ClientNetworkManager</a></td><td class="desc"></td></tr> -<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_connection_panel.html" target="_self">ConnectionPanel</a></td><td class="desc"></td></tr> -<tr id="row_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classdecide__trump__color__request.html" target="_self">decide_trump_color_request</a></td><td class="desc"></td></tr> -<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classdeck.html" target="_self">deck</a></td><td class="desc">Represents the card deck in the game </td></tr> -<tr id="row_7_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_error_dialog.html" target="_self">ErrorDialog</a></td><td class="desc"></td></tr> -<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classestimate__tricks__request.html" target="_self">estimate_tricks_request</a></td><td class="desc"></td></tr> -<tr id="row_9_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfull__state__response.html" target="_self">full_state_response</a></td><td class="desc"></td></tr> -<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__instance.html" target="_self">game_instance</a></td><td class="desc">Class that modifies game state based on content received from client. The game instance functionalities are called by the request handler via the game instance manager. It handles the final step of interacting with the game instance (and the actual game logic) </td></tr> -<tr id="row_11_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__instance__manager.html" target="_self">game_instance_manager</a></td><td class="desc"></td></tr> -<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__state.html" target="_self">game_state</a></td><td class="desc">Represents the state of the game </td></tr> -<tr id="row_13_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_game_controller.html" target="_self">GameController</a></td><td class="desc">Controls visualization of the game state and processes client actions </td></tr> -<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_game_window.html" target="_self">GameWindow</a></td><td class="desc"></td></tr> -<tr id="row_15_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classhand.html" target="_self">hand</a></td><td class="desc">Represents a player's hand in the game </td></tr> -<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_image_panel.html" target="_self">ImagePanel</a></td><td class="desc"></td></tr> -<tr id="row_17_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_input_field.html" target="_self">InputField</a></td><td class="desc"></td></tr> -<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classjoin__game__request.html" target="_self">join_game_request</a></td><td class="desc"></td></tr> -<tr id="row_19_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classjson__utils.html" target="_self">json_utils</a></td><td class="desc"></td></tr> -<tr id="row_20_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classleave__game__request.html" target="_self">leave_game_request</a></td><td class="desc"></td></tr> -<tr id="row_21_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_game_panel_wizard.html" target="_self">MainGamePanelWizard</a></td><td class="desc">Visualizes Game State to user during the card playing phase. The Main Game Panel is shown before the game has started (Lobby) and also while the game is played (outside the trick estimation phase). It ensures that the game state is shown to all players in the GUI, and creates and positions all graphical elements. It also allows interaction of the user with the GUI via button clicks </td></tr> -<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplay__card__request.html" target="_self">play_card_request</a></td><td class="desc"></td></tr> -<tr id="row_23_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplayer.html" target="_self">player</a></td><td class="desc">Represents a player in the game </td></tr> -<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplayer__manager.html" target="_self">player_manager</a></td><td class="desc"></td></tr> -<tr id="row_25_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classrequest__handler.html" target="_self">request_handler</a></td><td class="desc"></td></tr> -<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classrequest__response.html" target="_self">request_response</a></td><td class="desc"></td></tr> -<tr id="row_27_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_response_listener_thread.html" target="_self">ResponseListenerThread</a></td><td class="desc"></td></tr> -<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_board_dialog.html" target="_self">ScoreBoardDialog</a></td><td class="desc"></td></tr> -<tr id="row_29_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_dialog.html" target="_self">ScoreDialog</a></td><td class="desc"></td></tr> -<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable.html" target="_self">serializable</a></td><td class="desc"></td></tr> -<tr id="row_31_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable__value.html" target="_self">serializable_value</a></td><td class="desc"></td></tr> -<tr id="row_32_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__network__manager.html" target="_self">server_network_manager</a></td><td class="desc"></td></tr> -<tr id="row_33_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_33_" class="arrow" onclick="dynsection.toggleFolder('33_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__response.html" target="_self">server_response</a></td><td class="desc"></td></tr> -<tr id="row_33_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structserver__response_1_1base__class__properties.html" target="_self">base_class_properties</a></td><td class="desc"></td></tr> -<tr id="row_34_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classstart__game__request.html" target="_self">start_game_request</a></td><td class="desc"></td></tr> -<tr id="row_35_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtrick.html" target="_self">trick</a></td><td class="desc">Represents the trick in the game </td></tr> -<tr id="row_36_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_trick_estimation_panel.html" target="_self">TrickEstimationPanel</a></td><td class="desc"></td></tr> -<tr id="row_37_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classunique__serializable.html" target="_self">unique_serializable</a></td><td class="desc"></td></tr> -<tr id="row_38_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classuuid__generator.html" target="_self">uuid_generator</a></td><td class="desc"></td></tr> -<tr id="row_39_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_wizard.html" target="_self">Wizard</a></td><td class="desc"></td></tr> -<tr id="row_40_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_wizard_exception.html" target="_self">WizardException</a></td><td class="desc"></td></tr> +<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_connection_panel.html" target="_self">ConnectionPanel</a></td><td class="desc">A custom wxPanel for handling server connection input and UI. This panel provides fields for entering the server address, port, and player name. It also includes a background image and a "Connect" button </td></tr> +<tr id="row_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classdeck.html" target="_self">deck</a></td><td class="desc">Represents the card deck in the game </td></tr> +<tr id="row_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_error_dialog.html" target="_self">ErrorDialog</a></td><td class="desc"></td></tr> +<tr id="row_7_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classestimate__tricks__request.html" target="_self">estimate_tricks_request</a></td><td class="desc"></td></tr> +<tr id="row_8_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfull__state__response.html" target="_self">full_state_response</a></td><td class="desc"></td></tr> +<tr id="row_9_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__instance.html" target="_self">game_instance</a></td><td class="desc">Class that modifies game state based on content received from client. The game instance functionalities are called by the request handler via the game instance manager. It handles the final step of interacting with the game instance (and the actual game logic) </td></tr> +<tr id="row_10_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__instance__manager.html" target="_self">game_instance_manager</a></td><td class="desc"></td></tr> +<tr id="row_11_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__state.html" target="_self">game_state</a></td><td class="desc">Represents the state of the game </td></tr> +<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_game_controller.html" target="_self">GameController</a></td><td class="desc">Controls visualization of the game state and processes client actions </td></tr> +<tr id="row_13_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_game_window.html" target="_self">GameWindow</a></td><td class="desc"></td></tr> +<tr id="row_14_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classhand.html" target="_self">hand</a></td><td class="desc">Represents a player's hand in the game </td></tr> +<tr id="row_15_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_image_panel.html" target="_self">ImagePanel</a></td><td class="desc"></td></tr> +<tr id="row_16_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_input_field.html" target="_self">InputField</a></td><td class="desc"></td></tr> +<tr id="row_17_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classjoin__game__request.html" target="_self">join_game_request</a></td><td class="desc"></td></tr> +<tr id="row_18_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classjson__utils.html" target="_self">json_utils</a></td><td class="desc"></td></tr> +<tr id="row_19_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classleave__game__request.html" target="_self">leave_game_request</a></td><td class="desc"></td></tr> +<tr id="row_20_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_game_panel_wizard.html" target="_self">MainGamePanelWizard</a></td><td class="desc">Visualizes Game State to user during the card playing phase. The Main Game Panel is shown before the game has started (Lobby) and also while the game is played (outside the trick estimation phase). It ensures that the game state is shown to all players in the GUI, and creates and positions all graphical elements. It also allows interaction of the user with the GUI via button clicks </td></tr> +<tr id="row_21_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplay__card__request.html" target="_self">play_card_request</a></td><td class="desc"></td></tr> +<tr id="row_22_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplayer.html" target="_self">player</a></td><td class="desc">Represents a player in the game </td></tr> +<tr id="row_23_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplayer__manager.html" target="_self">player_manager</a></td><td class="desc"></td></tr> +<tr id="row_24_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classrequest__handler.html" target="_self">request_handler</a></td><td class="desc"></td></tr> +<tr id="row_25_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classrequest__response.html" target="_self">request_response</a></td><td class="desc"></td></tr> +<tr id="row_26_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_response_listener_thread.html" target="_self">ResponseListenerThread</a></td><td class="desc"></td></tr> +<tr id="row_27_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_board_dialog.html" target="_self">ScoreBoardDialog</a></td><td class="desc"></td></tr> +<tr id="row_28_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_dialog.html" target="_self">ScoreDialog</a></td><td class="desc"></td></tr> +<tr id="row_29_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable.html" target="_self">serializable</a></td><td class="desc"></td></tr> +<tr id="row_30_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable__value.html" target="_self">serializable_value</a></td><td class="desc"></td></tr> +<tr id="row_31_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__network__manager.html" target="_self">server_network_manager</a></td><td class="desc"></td></tr> +<tr id="row_32_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_32_" class="arrow" onclick="dynsection.toggleFolder('32_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__response.html" target="_self">server_response</a></td><td class="desc"></td></tr> +<tr id="row_32_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structserver__response_1_1base__class__properties.html" target="_self">base_class_properties</a></td><td class="desc"></td></tr> +<tr id="row_33_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classstart__game__request.html" target="_self">start_game_request</a></td><td class="desc"></td></tr> +<tr id="row_34_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtrick.html" target="_self">trick</a></td><td class="desc">Represents the trick in the game </td></tr> +<tr id="row_35_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_trick_estimation_panel.html" target="_self">TrickEstimationPanel</a></td><td class="desc">Handles the GUI layout and functionality for the trick estimation phase of the game </td></tr> +<tr id="row_36_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classunique__serializable.html" target="_self">unique_serializable</a></td><td class="desc"></td></tr> +<tr id="row_37_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classuuid__generator.html" target="_self">uuid_generator</a></td><td class="desc"></td></tr> +<tr id="row_38_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_wizard.html" target="_self">Wizard</a></td><td class="desc"></td></tr> +<tr id="row_39_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_wizard_exception.html" target="_self">WizardException</a></td><td class="desc"></td></tr> </table> </div><!-- directory --> </div><!-- contents --> diff --git a/html/class_connection_panel-members.html b/html/class_connection_panel-members.html index 5a75afb1e2333295c67aab00d3d75db5852bf734..41aab2f53a6ebff73bde30dec91c822862e641b1 100644 --- a/html/class_connection_panel-members.html +++ b/html/class_connection_panel-members.html @@ -91,10 +91,10 @@ $(function(){ initResizable(false); }); <p>This is the complete list of members for <a class="el" href="class_connection_panel.html">ConnectionPanel</a>, including all inherited members.</p> <table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>ConnectionPanel</b>(wxWindow *parent) (defined in <a class="el" href="class_connection_panel.html">ConnectionPanel</a>)</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>getPlayerName</b>() (defined in <a class="el" href="class_connection_panel.html">ConnectionPanel</a>)</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>getServerAddress</b>() (defined in <a class="el" href="class_connection_panel.html">ConnectionPanel</a>)</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>getServerPort</b>() (defined in <a class="el" href="class_connection_panel.html">ConnectionPanel</a>)</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_connection_panel.html#abc032283798f168176fc9af6fab9cbca">ConnectionPanel</a>(wxWindow *parent)</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071">getPlayerName</a>()</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064">getServerAddress</a>()</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719">getServerPort</a>()</td><td class="entry"><a class="el" href="class_connection_panel.html">ConnectionPanel</a></td><td class="entry"></td></tr> </table></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/class_connection_panel.html b/html/class_connection_panel.html index 70fc4ace12c28f6e2d2bab44059c8d2129ed145c..6a01a6455fd7a31d0ecb3691fd310f5c39da6045 100644 --- a/html/class_connection_panel.html +++ b/html/class_connection_panel.html @@ -91,6 +91,11 @@ $(function(){ initResizable(false); }); <div class="headertitle"><div class="title">ConnectionPanel Class Reference</div></div> </div><!--header--> <div class="contents"> + +<p>A custom wxPanel for handling server connection input and UI. This panel provides fields for entering the server address, port, and player name. It also includes a background image and a "Connect" button. + <a href="#details">More...</a></p> + +<p><code>#include <<a class="el" href="_connection_panel_8h_source.html">ConnectionPanel.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ConnectionPanel:</div> <div class="dyncontent"> @@ -100,19 +105,108 @@ Inheritance diagram for ConnectionPanel:</div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a> Public Member Functions</h2></td></tr> -<tr class="memitem:abc032283798f168176fc9af6fab9cbca" id="r_abc032283798f168176fc9af6fab9cbca"><td class="memItemLeft" align="right" valign="top"><a id="abc032283798f168176fc9af6fab9cbca" name="abc032283798f168176fc9af6fab9cbca"></a> - </td><td class="memItemRight" valign="bottom"><b>ConnectionPanel</b> (wxWindow *parent)</td></tr> +<tr class="memitem:abc032283798f168176fc9af6fab9cbca" id="r_abc032283798f168176fc9af6fab9cbca"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#abc032283798f168176fc9af6fab9cbca">ConnectionPanel</a> (wxWindow *parent)</td></tr> +<tr class="memdesc:abc032283798f168176fc9af6fab9cbca"><td class="mdescLeft"> </td><td class="mdescRight">Constructs Connection Panel. <br /></td></tr> <tr class="separator:abc032283798f168176fc9af6fab9cbca"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:aae98ee379bc9ba0ad2b41793658b8064" id="r_aae98ee379bc9ba0ad2b41793658b8064"><td class="memItemLeft" align="right" valign="top"><a id="aae98ee379bc9ba0ad2b41793658b8064" name="aae98ee379bc9ba0ad2b41793658b8064"></a> -wxString </td><td class="memItemRight" valign="bottom"><b>getServerAddress</b> ()</td></tr> +<tr class="memitem:aae98ee379bc9ba0ad2b41793658b8064" id="r_aae98ee379bc9ba0ad2b41793658b8064"><td class="memItemLeft" align="right" valign="top">wxString </td><td class="memItemRight" valign="bottom"><a class="el" href="#aae98ee379bc9ba0ad2b41793658b8064">getServerAddress</a> ()</td></tr> +<tr class="memdesc:aae98ee379bc9ba0ad2b41793658b8064"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the server address entered by the user (default is set to 127.0.0.1). <br /></td></tr> <tr class="separator:aae98ee379bc9ba0ad2b41793658b8064"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:ab0dc7af0934d4184aa04d220e0bd9719" id="r_ab0dc7af0934d4184aa04d220e0bd9719"><td class="memItemLeft" align="right" valign="top"><a id="ab0dc7af0934d4184aa04d220e0bd9719" name="ab0dc7af0934d4184aa04d220e0bd9719"></a> -wxString </td><td class="memItemRight" valign="bottom"><b>getServerPort</b> ()</td></tr> +<tr class="memitem:ab0dc7af0934d4184aa04d220e0bd9719" id="r_ab0dc7af0934d4184aa04d220e0bd9719"><td class="memItemLeft" align="right" valign="top">wxString </td><td class="memItemRight" valign="bottom"><a class="el" href="#ab0dc7af0934d4184aa04d220e0bd9719">getServerPort</a> ()</td></tr> +<tr class="memdesc:ab0dc7af0934d4184aa04d220e0bd9719"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the server port entered by the user (default is set to 50505). <br /></td></tr> <tr class="separator:ab0dc7af0934d4184aa04d220e0bd9719"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a166e8404b755b5bdf719356b8bd07071" id="r_a166e8404b755b5bdf719356b8bd07071"><td class="memItemLeft" align="right" valign="top"><a id="a166e8404b755b5bdf719356b8bd07071" name="a166e8404b755b5bdf719356b8bd07071"></a> -wxString </td><td class="memItemRight" valign="bottom"><b>getPlayerName</b> ()</td></tr> +<tr class="memitem:a166e8404b755b5bdf719356b8bd07071" id="r_a166e8404b755b5bdf719356b8bd07071"><td class="memItemLeft" align="right" valign="top">wxString </td><td class="memItemRight" valign="bottom"><a class="el" href="#a166e8404b755b5bdf719356b8bd07071">getPlayerName</a> ()</td></tr> +<tr class="memdesc:a166e8404b755b5bdf719356b8bd07071"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the player name entered by the user. The player name is entered in an input field and is used for gameplay identification. <br /></td></tr> <tr class="separator:a166e8404b755b5bdf719356b8bd07071"><td class="memSeparator" colspan="2"> </td></tr> </table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><p>A custom wxPanel for handling server connection input and UI. This panel provides fields for entering the server address, port, and player name. It also includes a background image and a "Connect" button. </p> +</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> +<a id="abc032283798f168176fc9af6fab9cbca" name="abc032283798f168176fc9af6fab9cbca"></a> +<h2 class="memtitle"><span class="permalink"><a href="#abc032283798f168176fc9af6fab9cbca">◆ </a></span>ConnectionPanel()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">ConnectionPanel::ConnectionPanel </td> + <td>(</td> + <td class="paramtype">wxWindow *</td> <td class="paramname"><span class="paramname"><em>parent</em></span></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Constructs Connection Panel. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">parent</td><td>Pointer to the parent wxWindow that contains this window </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<h2 class="groupheader">Member Function Documentation</h2> +<a id="a166e8404b755b5bdf719356b8bd07071" name="a166e8404b755b5bdf719356b8bd07071"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a166e8404b755b5bdf719356b8bd07071">◆ </a></span>getPlayerName()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">wxString ConnectionPanel::getPlayerName </td> + <td>(</td> + <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Retrieves the player name entered by the user. The player name is entered in an input field and is used for gameplay identification. </p> +<dl class="section return"><dt>Returns</dt><dd>The player name as a wxString. </dd></dl> + +</div> +</div> +<a id="aae98ee379bc9ba0ad2b41793658b8064" name="aae98ee379bc9ba0ad2b41793658b8064"></a> +<h2 class="memtitle"><span class="permalink"><a href="#aae98ee379bc9ba0ad2b41793658b8064">◆ </a></span>getServerAddress()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">wxString ConnectionPanel::getServerAddress </td> + <td>(</td> + <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Retrieves the server address entered by the user (default is set to 127.0.0.1). </p> +<dl class="section return"><dt>Returns</dt><dd>The server address as a wxString. </dd></dl> + +</div> +</div> +<a id="ab0dc7af0934d4184aa04d220e0bd9719" name="ab0dc7af0934d4184aa04d220e0bd9719"></a> +<h2 class="memtitle"><span class="permalink"><a href="#ab0dc7af0934d4184aa04d220e0bd9719">◆ </a></span>getServerPort()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">wxString ConnectionPanel::getServerPort </td> + <td>(</td> + <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Retrieves the server port entered by the user (default is set to 50505). </p> +<dl class="section return"><dt>Returns</dt><dd>The server port as a wxString. </dd></dl> + +</div> +</div> <hr/>The documentation for this class was generated from the following files:<ul> <li>src/client/panels/<a class="el" href="_connection_panel_8h_source.html">ConnectionPanel.h</a></li> <li>src/client/panels/<b>ConnectionPanel.cpp</b></li> diff --git a/html/class_game_controller-members.html b/html/class_game_controller-members.html index e4c1ac0f0e7d4c27d99ac9af595e41543c3a023d..6aa6a478996ed3c7ffcf71b4cd8bfe8a5d4733d0 100644 --- a/html/class_game_controller-members.html +++ b/html/class_game_controller-members.html @@ -91,20 +91,21 @@ $(function(){ initResizable(false); }); <p>This is the complete list of members for <a class="el" href="class_game_controller.html">GameController</a>, including all inherited members.</p> <table class="directory"> - <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a023da21da545374ee46fb873149976c4">connectToServer</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#abd110563d0f37f06096176c199d22055">estimateTricks</a>(int nof_tricks)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16">getMainThreadEventHandler</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a8889bad76bc35487d3391fb8a5791616">init</a>(GameWindow *gameWindow)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a8d42b2e41759bfd65cdebad87437369e">leaveGame</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a87b164e2094901861e5b47056634facc">playCard</a>(card *cardToPlay)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a5f1023f2029e5dbb25b795a0606e06a9">processEstimateTricks</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#adf043f9026a62f634a873c9f9d292034">showError</a>(const std::string &title, const std::string &message)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#abb91c546ab8400c1e2e9f2a2ccc8298f">showGameOverMessage</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a3c350056b82df662c946cb9119f11ced">showNewRoundMessage</a>(game_state *oldGameState, game_state *newGameState)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a6a43eb061a9882b3937fc88bb4794324">showStatus</a>(const std::string &message)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a8108659ad09724318c3a251d93bd5869">showTrickOverMessage</a>(const player *winner)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a8f30ab3ff471ac0a5c8b88dc7fea45f4">startGame</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> - <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a994773f79be8c9e8dc8c19ee2d389103">updateGameState</a>(game_state *newGameState)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a21eea505305d56439efb835e1e148c2f">closeGameWindow</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a023da21da545374ee46fb873149976c4">connectToServer</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#abd110563d0f37f06096176c199d22055">estimateTricks</a>(int nof_tricks)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16">getMainThreadEventHandler</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a8889bad76bc35487d3391fb8a5791616">init</a>(GameWindow *gameWindow)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a8d42b2e41759bfd65cdebad87437369e">leaveGame</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a87b164e2094901861e5b47056634facc">playCard</a>(card *cardToPlay)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a5f1023f2029e5dbb25b795a0606e06a9">processEstimateTricks</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#adf043f9026a62f634a873c9f9d292034">showError</a>(const std::string &title, const std::string &message)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#abb91c546ab8400c1e2e9f2a2ccc8298f">showGameOverMessage</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a3c350056b82df662c946cb9119f11ced">showNewRoundMessage</a>(game_state *oldGameState, game_state *newGameState)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a6a43eb061a9882b3937fc88bb4794324">showStatus</a>(const std::string &message)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a8108659ad09724318c3a251d93bd5869">showTrickOverMessage</a>(const player *winner)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_game_controller.html#a8f30ab3ff471ac0a5c8b88dc7fea45f4">startGame</a>()</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_game_controller.html#a994773f79be8c9e8dc8c19ee2d389103">updateGameState</a>(game_state *newGameState)</td><td class="entry"><a class="el" href="class_game_controller.html">GameController</a></td><td class="entry"><span class="mlabel">static</span></td></tr> </table></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/class_game_controller.html b/html/class_game_controller.html index 3e550c04314ebd7f1d97c9d89fdb21690b67af04..e78d1e2e3ff214818818bd458432f66a0c594bd0 100644 --- a/html/class_game_controller.html +++ b/html/class_game_controller.html @@ -146,6 +146,10 @@ static void </td><td class="memItemRight" valign="bottom"><b>processEstimat static void </td><td class="memItemRight" valign="bottom"><b>showGameOverMessage</b> ()</td></tr> <tr class="memdesc:abb91c546ab8400c1e2e9f2a2ccc8298f"><td class="mdescLeft"> </td><td class="mdescRight">Shows message at the end of the game that the game has ended and states the winner. <br /></td></tr> <tr class="separator:abb91c546ab8400c1e2e9f2a2ccc8298f"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a21eea505305d56439efb835e1e148c2f" id="r_a21eea505305d56439efb835e1e148c2f"><td class="memItemLeft" align="right" valign="top"><a id="a21eea505305d56439efb835e1e148c2f" name="a21eea505305d56439efb835e1e148c2f"></a> +static void </td><td class="memItemRight" valign="bottom"><b>closeGameWindow</b> ()</td></tr> +<tr class="memdesc:a21eea505305d56439efb835e1e148c2f"><td class="mdescLeft"> </td><td class="mdescRight">Closes Game Window. <br /></td></tr> +<tr class="separator:a21eea505305d56439efb835e1e148c2f"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Controls visualization of the game state and processes client actions. </p> diff --git a/html/class_trick_estimation_panel-members.html b/html/class_trick_estimation_panel-members.html index 7914d45e9db4fce7884abd4e36a4f438ed05c3a7..6d2713392c16c4acfdf84115afcf6cc6735e1701 100644 --- a/html/class_trick_estimation_panel-members.html +++ b/html/class_trick_estimation_panel-members.html @@ -91,10 +91,10 @@ $(function(){ initResizable(false); }); <p>This is the complete list of members for <a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>, including all inherited members.</p> <table class="directory"> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>buildGameState</b>(game_state *gameState, player *me) (defined in <a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>)</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>getTrickEstimate</b>() (defined in <a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>)</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>TrickEstimationPanel</b>(wxWindow *parent) (defined in <a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>)</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> - <tr bgcolor="#f0f0f0" class="odd"><td class="entry"><b>~TrickEstimationPanel</b>() (defined in <a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a>)</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99">buildGameState</a>(game_state *gameState, player *me)</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c">getTrickEstimate</a>()</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> + <tr class="even"><td class="entry"><a class="el" href="class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5">TrickEstimationPanel</a>(wxWindow *parent)</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> + <tr class="odd"><td class="entry"><a class="el" href="class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656">~TrickEstimationPanel</a>()</td><td class="entry"><a class="el" href="class_trick_estimation_panel.html">TrickEstimationPanel</a></td><td class="entry"></td></tr> </table></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/class_trick_estimation_panel.html b/html/class_trick_estimation_panel.html index bc30cadc42cc3b0c247edaa38dc4bc37f5e15d6b..f39353644411f19a26d435a8204baa5f5b03eb0f 100644 --- a/html/class_trick_estimation_panel.html +++ b/html/class_trick_estimation_panel.html @@ -91,6 +91,11 @@ $(function(){ initResizable(false); }); <div class="headertitle"><div class="title">TrickEstimationPanel Class Reference</div></div> </div><!--header--> <div class="contents"> + +<p>The <a class="el" href="class_trick_estimation_panel.html" title="The TrickEstimationPanel class handles the GUI layout and functionality for the trick estimation phas...">TrickEstimationPanel</a> class handles the GUI layout and functionality for the trick estimation phase of the game. + <a href="#details">More...</a></p> + +<p><code>#include <<a class="el" href="_trick_estimation_panel_8h_source.html">TrickEstimationPanel.h</a>></code></p> <div class="dynheader"> Inheritance diagram for TrickEstimationPanel:</div> <div class="dyncontent"> @@ -100,16 +105,99 @@ Inheritance diagram for TrickEstimationPanel:</div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a> Public Member Functions</h2></td></tr> -<tr class="memitem:afd077148509843e32e7acbe2331b3ab5" id="r_afd077148509843e32e7acbe2331b3ab5"><td class="memItemLeft" align="right" valign="top"><a id="afd077148509843e32e7acbe2331b3ab5" name="afd077148509843e32e7acbe2331b3ab5"></a> - </td><td class="memItemRight" valign="bottom"><b>TrickEstimationPanel</b> (wxWindow *parent)</td></tr> +<tr class="memitem:afd077148509843e32e7acbe2331b3ab5" id="r_afd077148509843e32e7acbe2331b3ab5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="#afd077148509843e32e7acbe2331b3ab5">TrickEstimationPanel</a> (wxWindow *parent)</td></tr> +<tr class="memdesc:afd077148509843e32e7acbe2331b3ab5"><td class="mdescLeft"> </td><td class="mdescRight">Constructor for <a class="el" href="class_trick_estimation_panel.html" title="The TrickEstimationPanel class handles the GUI layout and functionality for the trick estimation phas...">TrickEstimationPanel</a>. <br /></td></tr> <tr class="separator:afd077148509843e32e7acbe2331b3ab5"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a7ebe75adf21a2bc63bc084b98d836f7c" id="r_a7ebe75adf21a2bc63bc084b98d836f7c"><td class="memItemLeft" align="right" valign="top"><a id="a7ebe75adf21a2bc63bc084b98d836f7c" name="a7ebe75adf21a2bc63bc084b98d836f7c"></a> -wxString </td><td class="memItemRight" valign="bottom"><b>getTrickEstimate</b> ()</td></tr> +<tr class="memitem:aa3747f2eff3ec518e3c1e0f7e882b656" id="r_aa3747f2eff3ec518e3c1e0f7e882b656"><td class="memItemLeft" align="right" valign="top"><a id="aa3747f2eff3ec518e3c1e0f7e882b656" name="aa3747f2eff3ec518e3c1e0f7e882b656"></a> + </td><td class="memItemRight" valign="bottom"><b>~TrickEstimationPanel</b> ()</td></tr> +<tr class="memdesc:aa3747f2eff3ec518e3c1e0f7e882b656"><td class="mdescLeft"> </td><td class="mdescRight">Destructor for <a class="el" href="class_trick_estimation_panel.html" title="The TrickEstimationPanel class handles the GUI layout and functionality for the trick estimation phas...">TrickEstimationPanel</a>. <br /></td></tr> +<tr class="separator:aa3747f2eff3ec518e3c1e0f7e882b656"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a7ebe75adf21a2bc63bc084b98d836f7c" id="r_a7ebe75adf21a2bc63bc084b98d836f7c"><td class="memItemLeft" align="right" valign="top">wxString </td><td class="memItemRight" valign="bottom"><a class="el" href="#a7ebe75adf21a2bc63bc084b98d836f7c">getTrickEstimate</a> ()</td></tr> +<tr class="memdesc:a7ebe75adf21a2bc63bc084b98d836f7c"><td class="mdescLeft"> </td><td class="mdescRight">Gets the trick estimate entered by the player. <br /></td></tr> <tr class="separator:a7ebe75adf21a2bc63bc084b98d836f7c"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a5fce2351ee10c1656c28ed6b79710c99" id="r_a5fce2351ee10c1656c28ed6b79710c99"><td class="memItemLeft" align="right" valign="top"><a id="a5fce2351ee10c1656c28ed6b79710c99" name="a5fce2351ee10c1656c28ed6b79710c99"></a> -void </td><td class="memItemRight" valign="bottom"><b>buildGameState</b> (<a class="el" href="classgame__state.html">game_state</a> *gameState, <a class="el" href="classplayer.html">player</a> *me)</td></tr> +<tr class="memitem:a5fce2351ee10c1656c28ed6b79710c99" id="r_a5fce2351ee10c1656c28ed6b79710c99"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a5fce2351ee10c1656c28ed6b79710c99">buildGameState</a> (<a class="el" href="classgame__state.html">game_state</a> *gameState, <a class="el" href="classplayer.html">player</a> *me)</td></tr> +<tr class="memdesc:a5fce2351ee10c1656c28ed6b79710c99"><td class="mdescLeft"> </td><td class="mdescRight">Builds the game state for the trick estimation phase. <br /></td></tr> <tr class="separator:a5fce2351ee10c1656c28ed6b79710c99"><td class="memSeparator" colspan="2"> </td></tr> </table> +<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> +<div class="textblock"><p>The <a class="el" href="class_trick_estimation_panel.html" title="The TrickEstimationPanel class handles the GUI layout and functionality for the trick estimation phas...">TrickEstimationPanel</a> class handles the GUI layout and functionality for the trick estimation phase of the game. </p> +</div><h2 class="groupheader">Constructor & Destructor Documentation</h2> +<a id="afd077148509843e32e7acbe2331b3ab5" name="afd077148509843e32e7acbe2331b3ab5"></a> +<h2 class="memtitle"><span class="permalink"><a href="#afd077148509843e32e7acbe2331b3ab5">◆ </a></span>TrickEstimationPanel()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">TrickEstimationPanel::TrickEstimationPanel </td> + <td>(</td> + <td class="paramtype">wxWindow *</td> <td class="paramname"><span class="paramname"><em>parent</em></span></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Constructor for <a class="el" href="class_trick_estimation_panel.html" title="The TrickEstimationPanel class handles the GUI layout and functionality for the trick estimation phas...">TrickEstimationPanel</a>. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">parent</td><td>Pointer to the parent window. </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<h2 class="groupheader">Member Function Documentation</h2> +<a id="a5fce2351ee10c1656c28ed6b79710c99" name="a5fce2351ee10c1656c28ed6b79710c99"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a5fce2351ee10c1656c28ed6b79710c99">◆ </a></span>buildGameState()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">void TrickEstimationPanel::buildGameState </td> + <td>(</td> + <td class="paramtype"><a class="el" href="classgame__state.html">game_state</a> *</td> <td class="paramname"><span class="paramname"><em>gameState</em></span>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype"><a class="el" href="classplayer.html">player</a> *</td> <td class="paramname"><span class="paramname"><em>me</em></span> )</td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Builds the game state for the trick estimation phase. </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramname">gameState</td><td>Pointer to the current game state. </td></tr> + <tr><td class="paramname">me</td><td>Pointer to the player being the current user. </td></tr> + </table> + </dd> +</dl> + +</div> +</div> +<a id="a7ebe75adf21a2bc63bc084b98d836f7c" name="a7ebe75adf21a2bc63bc084b98d836f7c"></a> +<h2 class="memtitle"><span class="permalink"><a href="#a7ebe75adf21a2bc63bc084b98d836f7c">◆ </a></span>getTrickEstimate()</h2> + +<div class="memitem"> +<div class="memproto"> + <table class="memname"> + <tr> + <td class="memname">wxString TrickEstimationPanel::getTrickEstimate </td> + <td>(</td> + <td class="paramname"><span class="paramname"><em></em></span></td><td>)</td> + <td></td> + </tr> + </table> +</div><div class="memdoc"> + +<p>Gets the trick estimate entered by the player. </p> +<dl class="section return"><dt>Returns</dt><dd>A wxString containing the entered trick estimate. </dd></dl> + +</div> +</div> <hr/>The documentation for this class was generated from the following files:<ul> <li>src/client/panels/<a class="el" href="_trick_estimation_panel_8h_source.html">TrickEstimationPanel.h</a></li> <li>src/client/panels/<b>TrickEstimationPanel.cpp</b></li> diff --git a/html/classclient__request.html b/html/classclient__request.html index a89dfe7e0720670d400a381a4b4c080964b94d0a..ec911a6aa5e8e6207a323a53ec79a6f517659ced 100644 --- a/html/classclient__request.html +++ b/html/classclient__request.html @@ -102,13 +102,12 @@ Inheritance diagram for client_request:</div> <div class="center"> <img src="classclient__request.png" usemap="#client_5Frequest_map" alt=""/> <map id="client_5Frequest_map" name="client_5Frequest_map"> -<area href="classserializable.html" alt="serializable" shape="rect" coords="455,0,627,24"/> -<area href="classdecide__trump__color__request.html" alt="decide_trump_color_request" shape="rect" coords="0,112,172,136"/> -<area href="classestimate__tricks__request.html" alt="estimate_tricks_request" shape="rect" coords="182,112,354,136"/> -<area href="classjoin__game__request.html" alt="join_game_request" shape="rect" coords="364,112,536,136"/> -<area href="classleave__game__request.html" alt="leave_game_request" shape="rect" coords="546,112,718,136"/> -<area href="classplay__card__request.html" alt="play_card_request" shape="rect" coords="728,112,900,136"/> -<area href="classstart__game__request.html" alt="start_game_request" shape="rect" coords="910,112,1082,136"/> +<area href="classserializable.html" alt="serializable" shape="rect" coords="304,0,446,24"/> +<area href="classestimate__tricks__request.html" alt="estimate_tricks_request" shape="rect" coords="0,112,142,136"/> +<area href="classjoin__game__request.html" alt="join_game_request" shape="rect" coords="152,112,294,136"/> +<area href="classleave__game__request.html" alt="leave_game_request" shape="rect" coords="304,112,446,136"/> +<area href="classplay__card__request.html" alt="play_card_request" shape="rect" coords="456,112,598,136"/> +<area href="classstart__game__request.html" alt="start_game_request" shape="rect" coords="608,112,750,136"/> </map> </div></div> <table class="memberdecls"> diff --git a/html/classclient__request.png b/html/classclient__request.png index 15c9fd796cc90e343538654596a16a924c51f67f..a44a7a0cd3d753e738fed31b64b9e469285446b3 100644 Binary files a/html/classclient__request.png and b/html/classclient__request.png differ diff --git a/html/classes.html b/html/classes.html index 4a9180e19bee45fce6300529f0498d719adee5ff..65b792681579a37697a4f4809241e54029f26f62 100644 --- a/html/classes.html +++ b/html/classes.html @@ -98,7 +98,7 @@ $(function(){ initResizable(false); }); <dd><a class="el" href="classcard.html">card</a></dd><dd><a class="el" href="classclient__request.html">client_request</a></dd><dd><a class="el" href="class_client_network_manager.html">ClientNetworkManager</a></dd><dd><a class="el" href="class_connection_panel.html">ConnectionPanel</a></dd></dl> <dl class="classindex even"> <dt class="alphachar"><a id="letter_D" name="letter_D">D</a></dt> -<dd><a class="el" href="classdecide__trump__color__request.html">decide_trump_color_request</a></dd><dd><a class="el" href="classdeck.html">deck</a></dd><dd><a class="el" href="structvector__utils_1_1derived__from.html">derived_from</a> (vector_utils)</dd></dl> +<dd><a class="el" href="classdeck.html">deck</a></dd><dd><a class="el" href="structvector__utils_1_1derived__from.html">derived_from</a> (vector_utils)</dd></dl> <dl class="classindex odd"> <dt class="alphachar"><a id="letter_E" name="letter_E">E</a></dt> <dd><a class="el" href="class_error_dialog.html">ErrorDialog</a></dd><dd><a class="el" href="classestimate__tricks__request.html">estimate_tricks_request</a></dd></dl> diff --git a/html/classserializable.html b/html/classserializable.html index 10094f12235b6c80c377252022cad6585ff1d4f0..54724baac04f7fd37454c0e9ee071e6ff674e747 100644 --- a/html/classserializable.html +++ b/html/classserializable.html @@ -104,12 +104,11 @@ Inheritance diagram for serializable:</div> <area href="classserializable__value.html" alt="serializable_value< T >" shape="rect" coords="804,56,995,80"/> <area href="classserver__response.html" alt="server_response" shape="rect" coords="1005,56,1196,80"/> <area href="classunique__serializable.html" alt="unique_serializable" shape="rect" coords="1407,56,1598,80"/> -<area href="classdecide__trump__color__request.html" alt="decide_trump_color_request" shape="rect" coords="804,112,995,136"/> -<area href="classestimate__tricks__request.html" alt="estimate_tricks_request" shape="rect" coords="804,168,995,192"/> -<area href="classjoin__game__request.html" alt="join_game_request" shape="rect" coords="804,224,995,248"/> -<area href="classleave__game__request.html" alt="leave_game_request" shape="rect" coords="804,280,995,304"/> -<area href="classplay__card__request.html" alt="play_card_request" shape="rect" coords="804,336,995,360"/> -<area href="classstart__game__request.html" alt="start_game_request" shape="rect" coords="804,392,995,416"/> +<area href="classestimate__tricks__request.html" alt="estimate_tricks_request" shape="rect" coords="804,112,995,136"/> +<area href="classjoin__game__request.html" alt="join_game_request" shape="rect" coords="804,168,995,192"/> +<area href="classleave__game__request.html" alt="leave_game_request" shape="rect" coords="804,224,995,248"/> +<area href="classplay__card__request.html" alt="play_card_request" shape="rect" coords="804,280,995,304"/> +<area href="classstart__game__request.html" alt="start_game_request" shape="rect" coords="804,336,995,360"/> <area href="classfull__state__response.html" alt="full_state_response" shape="rect" coords="1206,112,1397,136"/> <area href="classrequest__response.html" alt="request_response" shape="rect" coords="1206,168,1397,192"/> <area href="classcard.html" title="Represents a card in the game." alt="card" shape="rect" coords="1608,112,1799,136"/> diff --git a/html/classserializable.png b/html/classserializable.png index f12ca3139d9cfa704ef85f40daf973722d901ba0..bada3d495b57d8e440ca9efbecc2a71e0b2135f9 100644 Binary files a/html/classserializable.png and b/html/classserializable.png differ diff --git a/html/client__request_8h_source.html b/html/client__request_8h_source.html index 14de72ad2d331e8987b02a45361eecbc2eced1c5..f550d6aba1fce09d8807ad36d3fa5f6efe8425e3 100644 --- a/html/client__request_8h_source.html +++ b/html/client__request_8h_source.html @@ -116,64 +116,63 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> join_game,</div> <div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> start_game,</div> <div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> play_card,</div> -<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> decide_trump_color,</div> -<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> estimate_tricks,</div> -<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> leave_game</div> -<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span>};</div> -<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div> -<div class="foldopen" id="foldopen00030" data-start="{" data-end="};"> -<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classclient__request.html"> 30</a></span><span class="keyword">class </span><a class="code hl_class" href="classclient__request.html">client_request</a> : <span class="keyword">public</span> <a class="code hl_class" href="classserializable.html">serializable</a> {</div> -<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="keyword">protected</span>:</div> -<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div> -<div class="foldopen" id="foldopen00033" data-start="{" data-end="};"> -<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="structclient__request_1_1base__class__properties.html"> 33</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a> {</div> -<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> RequestType _type;</div> -<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> std::string _req_id;</div> -<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> std::string _player_id;</div> -<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> std::string _game_id;</div> -<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> };</div> +<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> estimate_tricks,</div> +<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> leave_game</div> +<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span>};</div> +<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> </div> +<div class="foldopen" id="foldopen00029" data-start="{" data-end="};"> +<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classclient__request.html"> 29</a></span><span class="keyword">class </span><a class="code hl_class" href="classclient__request.html">client_request</a> : <span class="keyword">public</span> <a class="code hl_class" href="classserializable.html">serializable</a> {</div> +<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="keyword">protected</span>:</div> +<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div> +<div class="foldopen" id="foldopen00032" data-start="{" data-end="};"> +<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="structclient__request_1_1base__class__properties.html"> 32</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a> {</div> +<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> RequestType _type;</div> +<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> std::string _req_id;</div> +<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> std::string _player_id;</div> +<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> std::string _game_id;</div> +<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> };</div> </div> -<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div> -<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> RequestType _type;</div> -<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> std::string _req_id;</div> -<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> std::string _player_id;</div> -<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> std::string _game_id;</div> -<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> </div> -<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">explicit</span> <a class="code hl_class" href="classclient__request.html">client_request</a>(<a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a>); <span class="comment">// base constructor</span></div> -<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">static</span> <a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a> create_base_class_properties(RequestType type, std::string req_id, std::string& player_id, std::string& game_id);</div> -<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">static</span> <a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a> extract_base_class_properties(<span class="keyword">const</span> rapidjson::Value& json);</div> -<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div> -<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="keyword">private</span>:</div> -<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div> -<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="comment">// for deserialization</span></div> -<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keyword">static</span> <span class="keyword">const</span> std::unordered_map<std::string, RequestType> _string_to_request_type;</div> -<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="comment">// for serialization</span></div> -<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> <span class="keyword">static</span> <span class="keyword">const</span> std::unordered_map<RequestType, std::string> _request_type_to_string;</div> -<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> </div> -<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keyword">public</span>:</div> -<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classclient__request.html">~client_request</a>() {}</div> -<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div> -<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> [[nodiscard]] RequestType get_type()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_type; }</div> -<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> [[nodiscard]] std::string get_req_id()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_req_id; }</div> -<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> [[nodiscard]] std::string get_game_id()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_game_id; }</div> -<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> [[nodiscard]] std::string get_player_id()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_player_id; }</div> -<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div> -<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="comment">// Tries to create the specific client_request from the provided json.</span></div> -<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="comment">// Throws exception if parsing fails -> Use only in "try{ }catch()" block</span></div> -<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <span class="keyword">static</span> <a class="code hl_class" href="classclient__request.html">client_request</a>* from_json(<span class="keyword">const</span> rapidjson::Value& json);</div> -<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div> -<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="comment">// Serializes the client_request into a json object that can be sent over the network</span></div> -<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> <span class="keywordtype">void</span> write_into_json(rapidjson::Value& json, rapidjson::Document::AllocatorType& allocator) <span class="keyword">const override</span>;</div> -<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div> -<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> [[nodiscard]] <span class="keyword">virtual</span> std::string to_string() <span class="keyword">const</span>;</div> -<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span>};</div> +<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> </div> +<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> RequestType _type;</div> +<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> std::string _req_id;</div> +<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> std::string _player_id;</div> +<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> std::string _game_id;</div> +<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div> +<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="keyword">explicit</span> <a class="code hl_class" href="classclient__request.html">client_request</a>(<a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a>); <span class="comment">// base constructor</span></div> +<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keyword">static</span> <a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a> create_base_class_properties(RequestType type, std::string req_id, std::string& player_id, std::string& game_id);</div> +<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <span class="keyword">static</span> <a class="code hl_struct" href="structclient__request_1_1base__class__properties.html">base_class_properties</a> extract_base_class_properties(<span class="keyword">const</span> rapidjson::Value& json);</div> +<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div> +<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keyword">private</span>:</div> +<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div> +<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <span class="comment">// for deserialization</span></div> +<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">static</span> <span class="keyword">const</span> std::unordered_map<std::string, RequestType> _string_to_request_type;</div> +<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="comment">// for serialization</span></div> +<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">static</span> <span class="keyword">const</span> std::unordered_map<RequestType, std::string> _request_type_to_string;</div> +<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div> +<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="keyword">public</span>:</div> +<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classclient__request.html">~client_request</a>() {}</div> +<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div> +<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> [[nodiscard]] RequestType get_type()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_type; }</div> +<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> [[nodiscard]] std::string get_req_id()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_req_id; }</div> +<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> [[nodiscard]] std::string get_game_id()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_game_id; }</div> +<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> [[nodiscard]] std::string get_player_id()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> this->_player_id; }</div> +<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div> +<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> <span class="comment">// Tries to create the specific client_request from the provided json.</span></div> +<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="comment">// Throws exception if parsing fails -> Use only in "try{ }catch()" block</span></div> +<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span> <span class="keyword">static</span> <a class="code hl_class" href="classclient__request.html">client_request</a>* from_json(<span class="keyword">const</span> rapidjson::Value& json);</div> +<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div> +<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> <span class="comment">// Serializes the client_request into a json object that can be sent over the network</span></div> +<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <span class="keywordtype">void</span> write_into_json(rapidjson::Value& json, rapidjson::Document::AllocatorType& allocator) <span class="keyword">const override</span>;</div> +<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> </div> +<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> [[nodiscard]] <span class="keyword">virtual</span> std::string to_string() <span class="keyword">const</span>;</div> +<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span>};</div> </div> +<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div> <div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> </div> -<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span> </div> -<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_CLIENT_REQUEST_H</span></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_CLIENT_REQUEST_H</span></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> <div class="ttc" id="aclassserializable_html"><div class="ttname"><a href="classserializable.html">serializable</a></div><div class="ttdef"><b>Definition</b> serializable.h:11</div></div> -<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:33</div></div> +<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:32</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/dir_1b58f4e8be1820fa7f4312181f8841c2.html b/html/dir_1b58f4e8be1820fa7f4312181f8841c2.html index 87d4791ab9b2c0a1f4fd082739ed1920b57b91b1..ac77a6e16ceff1cb6f9fab2fae2bbe72c2825857 100644 --- a/html/dir_1b58f4e8be1820fa7f4312181f8841c2.html +++ b/html/dir_1b58f4e8be1820fa7f4312181f8841c2.html @@ -97,8 +97,6 @@ $(function(){ initResizable(false); }); Files</h2></td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="client__request_8h_source.html"><span class="icondoc"></span></a> </td><td class="memItemRight" valign="bottom"><b>client_request.h</b></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="decide__trump__color__request_8h_source.html"><span class="icondoc"></span></a> </td><td class="memItemRight" valign="bottom"><b>decide_trump_color_request.h</b></td></tr> -<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="estimate__tricks__request_8h_source.html"><span class="icondoc"></span></a> </td><td class="memItemRight" valign="bottom"><b>estimate_tricks_request.h</b></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><a href="join__game__request_8h_source.html"><span class="icondoc"></span></a> </td><td class="memItemRight" valign="bottom"><b>join_game_request.h</b></td></tr> diff --git a/html/doxygen_crawl.html b/html/doxygen_crawl.html index 8b6e9aeee028597cac02e7fa18853a130b79e40a..531055fbac6f356d9ac055254e9cdafd9a20f315 100644 --- a/html/doxygen_crawl.html +++ b/html/doxygen_crawl.html @@ -29,7 +29,6 @@ <a href="hand_8h_source.html"/> <a href="player_8h_source.html"/> <a href="client__request_8h_source.html"/> -<a href="decide__trump__color__request_8h_source.html"/> <a href="estimate__tricks__request_8h_source.html"/> <a href="join__game__request_8h_source.html"/> <a href="leave__game__request_8h_source.html"/> @@ -61,8 +60,6 @@ <a href="class_client_network_manager-members.html"/> <a href="class_connection_panel.html"/> <a href="class_connection_panel-members.html"/> -<a href="classdecide__trump__color__request.html"/> -<a href="classdecide__trump__color__request-members.html"/> <a href="classdeck.html"/> <a href="classdeck-members.html"/> <a href="class_error_dialog.html"/> @@ -216,9 +213,14 @@ <a href="card_8h_source.html"/> <a href="class_client_network_manager.html"/> <a href="class_connection_panel.html"/> +<a href="class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071"/> +<a href="class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064"/> +<a href="class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719"/> +<a href="class_connection_panel.html#abc032283798f168176fc9af6fab9cbca"/> <a href="class_error_dialog.html"/> <a href="class_game_controller.html"/> <a href="class_game_controller.html#a023da21da545374ee46fb873149976c4"/> +<a href="class_game_controller.html#a21eea505305d56439efb835e1e148c2f"/> <a href="class_game_controller.html#a3c350056b82df662c946cb9119f11ced"/> <a href="class_game_controller.html#a5f1023f2029e5dbb25b795a0606e06a9"/> <a href="class_game_controller.html#a6a43eb061a9882b3937fc88bb4794324"/> @@ -242,6 +244,10 @@ <a href="class_score_board_dialog.html"/> <a href="class_score_dialog.html"/> <a href="class_trick_estimation_panel.html"/> +<a href="class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99"/> +<a href="class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c"/> +<a href="class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656"/> +<a href="class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5"/> <a href="class_wizard.html"/> <a href="class_wizard_exception.html"/> <a href="classcard.html"/> @@ -252,7 +258,6 @@ <a href="classcard.html#ab033bc0e71b09d3cf3ac28c2f1fbde18"/> <a href="classcard.html#ac7a5d8d53e8cc33f5c5a03d8ccb806c4"/> <a href="classclient__request.html"/> -<a href="classdecide__trump__color__request.html"/> <a href="classdeck.html"/> <a href="classdeck.html#a2ff8465ba7b13201bdf650fe461b442e"/> <a href="classdeck.html#a63a688bda08bfef8d2c37d53523b7b12"/> @@ -380,7 +385,6 @@ <a href="classunique__serializable.html"/> <a href="classuuid__generator.html"/> <a href="client__request_8h_source.html"/> -<a href="decide__trump__color__request_8h_source.html"/> <a href="deck_8h_source.html"/> <a href="dir_075bb3ff235063c77951cd176d15a741.html"/> <a href="dir_07bfb39fc800fecd4d6f8004eb7c9e3c.html"/> diff --git a/html/estimate__tricks__request_8h_source.html b/html/estimate__tricks__request_8h_source.html index 0b2a9806edd7102d40ec784a06fd53fe2c76dda2..ec765a2a8c158490ee1f32ce325c762f373d7b35 100644 --- a/html/estimate__tricks__request_8h_source.html +++ b/html/estimate__tricks__request_8h_source.html @@ -128,9 +128,9 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div> <div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div> <div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="preprocessor">#endif </span><span class="comment">//ESTIMATE_TRICKS_REQUEST_H</span></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> <div class="ttc" id="aclassestimate__tricks__request_html"><div class="ttname"><a href="classestimate__tricks__request.html">estimate_tricks_request</a></div><div class="ttdef"><b>Definition</b> estimate_tricks_request.h:13</div></div> -<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:33</div></div> +<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:32</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/files.html b/html/files.html index e490283640a339eef8b1039e5baa9a22742e7550..8fa0f0ee5a99c49c7352fb59b6eeb4bf595441b1 100644 --- a/html/files.html +++ b/html/files.html @@ -126,30 +126,29 @@ $(function(){ initResizable(false); }); <tr id="row_0_1_2_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span id="arr_0_1_2_" class="arrow" onclick="dynsection.toggleFolder('0_1_2_')">▼</span><span id="img_0_1_2_" class="iconfopen" onclick="dynsection.toggleFolder('0_1_2_')"> </span><a class="el" href="dir_fe680d193281dea8f29c9bf94b4af9e2.html" target="_self">network</a></td><td class="desc"></td></tr> <tr id="row_0_1_2_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span id="arr_0_1_2_0_" class="arrow" onclick="dynsection.toggleFolder('0_1_2_0_')">▼</span><span id="img_0_1_2_0_" class="iconfopen" onclick="dynsection.toggleFolder('0_1_2_0_')"> </span><a class="el" href="dir_1b58f4e8be1820fa7f4312181f8841c2.html" target="_self">requests</a></td><td class="desc"></td></tr> <tr id="row_0_1_2_0_0_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="client__request_8h_source.html"><span class="icondoc"></span></a><b>client_request.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_0_1_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="decide__trump__color__request_8h_source.html"><span class="icondoc"></span></a><b>decide_trump_color_request.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_0_2_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="estimate__tricks__request_8h_source.html"><span class="icondoc"></span></a><b>estimate_tricks_request.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_0_3_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="join__game__request_8h_source.html"><span class="icondoc"></span></a><b>join_game_request.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_0_4_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="leave__game__request_8h_source.html"><span class="icondoc"></span></a><b>leave_game_request.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_0_5_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="play__card__request_8h_source.html"><span class="icondoc"></span></a><b>play_card_request.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_0_6_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="start__game__request_8h_source.html"><span class="icondoc"></span></a><b>start_game_request.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span id="arr_0_1_2_1_" class="arrow" onclick="dynsection.toggleFolder('0_1_2_1_')">▼</span><span id="img_0_1_2_1_" class="iconfopen" onclick="dynsection.toggleFolder('0_1_2_1_')"> </span><a class="el" href="dir_bc67c975f4a8a2d322be7f47052112ea.html" target="_self">responses</a></td><td class="desc"></td></tr> -<tr id="row_0_1_2_1_0_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="full__state__response_8h_source.html"><span class="icondoc"></span></a><b>full_state_response.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_1_1_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="request__response_8h_source.html"><span class="icondoc"></span></a><b>request_response.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_2_1_2_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="server__response_8h_source.html"><span class="icondoc"></span></a><b>server_response.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span id="arr_0_1_3_" class="arrow" onclick="dynsection.toggleFolder('0_1_3_')">▼</span><span id="img_0_1_3_" class="iconfopen" onclick="dynsection.toggleFolder('0_1_3_')"> </span><a class="el" href="dir_4e6c883d8b666a44f8755f2472895d27.html" target="_self">serialization</a></td><td class="desc"></td></tr> -<tr id="row_0_1_3_0_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="json__utils_8h_source.html"><span class="icondoc"></span></a><b>json_utils.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_3_1_" class="even"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="serializable_8h_source.html"><span class="icondoc"></span></a><b>serializable.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_3_2_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="serializable__value_8h_source.html"><span class="icondoc"></span></a><b>serializable_value.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_3_3_" class="even"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="unique__serializable_8h_source.html"><span class="icondoc"></span></a><b>unique_serializable.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_3_4_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="uuid__generator_8h_source.html"><span class="icondoc"></span></a><b>uuid_generator.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_3_5_" class="even"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="value__type__helpers_8h_source.html"><span class="icondoc"></span></a><b>value_type_helpers.h</b></td><td class="desc"></td></tr> -<tr id="row_0_1_3_6_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="vector__utils_8h_source.html"><span class="icondoc"></span></a><b>vector_utils.h</b></td><td class="desc"></td></tr> -<tr id="row_0_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_0_2_" class="arrow" onclick="dynsection.toggleFolder('0_2_')">▼</span><span id="img_0_2_" class="iconfopen" onclick="dynsection.toggleFolder('0_2_')"> </span><a class="el" href="dir_075bb3ff235063c77951cd176d15a741.html" target="_self">server</a></td><td class="desc"></td></tr> -<tr id="row_0_2_0_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="game__instance_8h_source.html"><span class="icondoc"></span></a><b>game_instance.h</b></td><td class="desc"></td></tr> -<tr id="row_0_2_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="game__instance__manager_8h_source.html"><span class="icondoc"></span></a><b>game_instance_manager.h</b></td><td class="desc"></td></tr> -<tr id="row_0_2_2_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="player__manager_8h_source.html"><span class="icondoc"></span></a><b>player_manager.h</b></td><td class="desc"></td></tr> -<tr id="row_0_2_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="request__handler_8h_source.html"><span class="icondoc"></span></a><b>request_handler.h</b></td><td class="desc"></td></tr> -<tr id="row_0_2_4_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="server__network__manager_8h_source.html"><span class="icondoc"></span></a><b>server_network_manager.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_0_1_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="estimate__tricks__request_8h_source.html"><span class="icondoc"></span></a><b>estimate_tricks_request.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_0_2_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="join__game__request_8h_source.html"><span class="icondoc"></span></a><b>join_game_request.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_0_3_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="leave__game__request_8h_source.html"><span class="icondoc"></span></a><b>leave_game_request.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_0_4_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="play__card__request_8h_source.html"><span class="icondoc"></span></a><b>play_card_request.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_0_5_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="start__game__request_8h_source.html"><span class="icondoc"></span></a><b>start_game_request.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_1_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span id="arr_0_1_2_1_" class="arrow" onclick="dynsection.toggleFolder('0_1_2_1_')">▼</span><span id="img_0_1_2_1_" class="iconfopen" onclick="dynsection.toggleFolder('0_1_2_1_')"> </span><a class="el" href="dir_bc67c975f4a8a2d322be7f47052112ea.html" target="_self">responses</a></td><td class="desc"></td></tr> +<tr id="row_0_1_2_1_0_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="full__state__response_8h_source.html"><span class="icondoc"></span></a><b>full_state_response.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_1_1_" class="odd"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="request__response_8h_source.html"><span class="icondoc"></span></a><b>request_response.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_2_1_2_" class="even"><td class="entry"><span style="width:80px;display:inline-block;"> </span><a href="server__response_8h_source.html"><span class="icondoc"></span></a><b>server_response.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_3_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span id="arr_0_1_3_" class="arrow" onclick="dynsection.toggleFolder('0_1_3_')">▼</span><span id="img_0_1_3_" class="iconfopen" onclick="dynsection.toggleFolder('0_1_3_')"> </span><a class="el" href="dir_4e6c883d8b666a44f8755f2472895d27.html" target="_self">serialization</a></td><td class="desc"></td></tr> +<tr id="row_0_1_3_0_" class="even"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="json__utils_8h_source.html"><span class="icondoc"></span></a><b>json_utils.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_3_1_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="serializable_8h_source.html"><span class="icondoc"></span></a><b>serializable.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_3_2_" class="even"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="serializable__value_8h_source.html"><span class="icondoc"></span></a><b>serializable_value.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_3_3_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="unique__serializable_8h_source.html"><span class="icondoc"></span></a><b>unique_serializable.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_3_4_" class="even"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="uuid__generator_8h_source.html"><span class="icondoc"></span></a><b>uuid_generator.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_3_5_" class="odd"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="value__type__helpers_8h_source.html"><span class="icondoc"></span></a><b>value_type_helpers.h</b></td><td class="desc"></td></tr> +<tr id="row_0_1_3_6_" class="even"><td class="entry"><span style="width:64px;display:inline-block;"> </span><a href="vector__utils_8h_source.html"><span class="icondoc"></span></a><b>vector_utils.h</b></td><td class="desc"></td></tr> +<tr id="row_0_2_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_0_2_" class="arrow" onclick="dynsection.toggleFolder('0_2_')">▼</span><span id="img_0_2_" class="iconfopen" onclick="dynsection.toggleFolder('0_2_')"> </span><a class="el" href="dir_075bb3ff235063c77951cd176d15a741.html" target="_self">server</a></td><td class="desc"></td></tr> +<tr id="row_0_2_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="game__instance_8h_source.html"><span class="icondoc"></span></a><b>game_instance.h</b></td><td class="desc"></td></tr> +<tr id="row_0_2_1_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="game__instance__manager_8h_source.html"><span class="icondoc"></span></a><b>game_instance_manager.h</b></td><td class="desc"></td></tr> +<tr id="row_0_2_2_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="player__manager_8h_source.html"><span class="icondoc"></span></a><b>player_manager.h</b></td><td class="desc"></td></tr> +<tr id="row_0_2_3_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="request__handler_8h_source.html"><span class="icondoc"></span></a><b>request_handler.h</b></td><td class="desc"></td></tr> +<tr id="row_0_2_4_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><a href="server__network__manager_8h_source.html"><span class="icondoc"></span></a><b>server_network_manager.h</b></td><td class="desc"></td></tr> </table> </div><!-- directory --> </div><!-- contents --> diff --git a/html/functions.html b/html/functions.html index be499d78b562d741b9bcd4812351011a32caa77d..a06ce1886bbc3452a454a85a006416bbb7aa3af9 100644 --- a/html/functions.html +++ b/html/functions.html @@ -94,12 +94,14 @@ $(function(){ initResizable(false); }); <h3><a id="index_b" name="index_b"></a>- b -</h3><ul> -<li>buildGameState() : <a class="el" href="class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3">MainGamePanelWizard</a></li> +<li>buildGameState() : <a class="el" href="class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3">MainGamePanelWizard</a>, <a class="el" href="class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99">TrickEstimationPanel</a></li> </ul> <h3><a id="index_c" name="index_c"></a>- c -</h3><ul> <li>card() : <a class="el" href="classcard.html#a764d65641c619aedf1842a30e54905b7">card</a></li> +<li>closeGameWindow() : <a class="el" href="class_game_controller.html#a21eea505305d56439efb835e1e148c2f">GameController</a></li> +<li>ConnectionPanel() : <a class="el" href="class_connection_panel.html#abc032283798f168176fc9af6fab9cbca">ConnectionPanel</a></li> <li>connectToServer() : <a class="el" href="class_game_controller.html#a023da21da545374ee46fb873149976c4">GameController</a></li> </ul> @@ -155,6 +157,10 @@ $(function(){ initResizable(false); }); <li>get_value() : <a class="el" href="classcard.html#a2baf8dfef09ac8c1a67b34c2e67186c3">card</a></li> <li>get_winner() : <a class="el" href="classtrick.html#a4b93ae88c17db486d975408cd8cfad1b">trick</a></li> <li>getMainThreadEventHandler() : <a class="el" href="class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16">GameController</a></li> +<li>getPlayerName() : <a class="el" href="class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071">ConnectionPanel</a></li> +<li>getServerAddress() : <a class="el" href="class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064">ConnectionPanel</a></li> +<li>getServerPort() : <a class="el" href="class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719">ConnectionPanel</a></li> +<li>getTrickEstimate() : <a class="el" href="class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c">TrickEstimationPanel</a></li> </ul> @@ -222,6 +228,7 @@ $(function(){ initResizable(false); }); <h3><a id="index_t" name="index_t"></a>- t -</h3><ul> <li>trick() : <a class="el" href="classtrick.html#a3b0a12789b87d15d9cdc4e5b6f85b47d">trick</a></li> +<li>TrickEstimationPanel() : <a class="el" href="class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5">TrickEstimationPanel</a></li> <li>try_add_player() : <a class="el" href="classgame__instance.html#a1176ce8464586487f9ae5676ca900e10">game_instance</a></li> <li>try_get_card() : <a class="el" href="classhand.html#a0a50cbbb167e6a1d633dd48bc4b695fe">hand</a></li> <li>try_remove_player() : <a class="el" href="classgame__instance.html#a2c6fed45a14273b09a9f202481fa62aa">game_instance</a></li> @@ -249,6 +256,7 @@ $(function(){ initResizable(false); }); <li>~hand() : <a class="el" href="classhand.html#af3ffc5e5b46f04b14f12a9fc130b220a">hand</a></li> <li>~player() : <a class="el" href="classplayer.html#a0a62c0208584465db2daa1ac6e15b1ad">player</a></li> <li>~trick() : <a class="el" href="classtrick.html#a22c0b586f1d6c3baeb7bb0e22eb7dfe2">trick</a></li> +<li>~TrickEstimationPanel() : <a class="el" href="class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656">TrickEstimationPanel</a></li> </ul> </div><!-- contents --> <!-- start footer part --> diff --git a/html/functions_func.html b/html/functions_func.html index d4c07cb7a71069efc5779eb8c911615dc5ed0826..85e1f75e16500d1cbdc1beaa33eded0321ef042a 100644 --- a/html/functions_func.html +++ b/html/functions_func.html @@ -94,12 +94,14 @@ $(function(){ initResizable(false); }); <h3><a id="index_b" name="index_b"></a>- b -</h3><ul> -<li>buildGameState() : <a class="el" href="class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3">MainGamePanelWizard</a></li> +<li>buildGameState() : <a class="el" href="class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3">MainGamePanelWizard</a>, <a class="el" href="class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99">TrickEstimationPanel</a></li> </ul> <h3><a id="index_c" name="index_c"></a>- c -</h3><ul> <li>card() : <a class="el" href="classcard.html#a764d65641c619aedf1842a30e54905b7">card</a></li> +<li>closeGameWindow() : <a class="el" href="class_game_controller.html#a21eea505305d56439efb835e1e148c2f">GameController</a></li> +<li>ConnectionPanel() : <a class="el" href="class_connection_panel.html#abc032283798f168176fc9af6fab9cbca">ConnectionPanel</a></li> <li>connectToServer() : <a class="el" href="class_game_controller.html#a023da21da545374ee46fb873149976c4">GameController</a></li> </ul> @@ -155,6 +157,10 @@ $(function(){ initResizable(false); }); <li>get_value() : <a class="el" href="classcard.html#a2baf8dfef09ac8c1a67b34c2e67186c3">card</a></li> <li>get_winner() : <a class="el" href="classtrick.html#a4b93ae88c17db486d975408cd8cfad1b">trick</a></li> <li>getMainThreadEventHandler() : <a class="el" href="class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16">GameController</a></li> +<li>getPlayerName() : <a class="el" href="class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071">ConnectionPanel</a></li> +<li>getServerAddress() : <a class="el" href="class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064">ConnectionPanel</a></li> +<li>getServerPort() : <a class="el" href="class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719">ConnectionPanel</a></li> +<li>getTrickEstimate() : <a class="el" href="class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c">TrickEstimationPanel</a></li> </ul> @@ -222,6 +228,7 @@ $(function(){ initResizable(false); }); <h3><a id="index_t" name="index_t"></a>- t -</h3><ul> <li>trick() : <a class="el" href="classtrick.html#a3b0a12789b87d15d9cdc4e5b6f85b47d">trick</a></li> +<li>TrickEstimationPanel() : <a class="el" href="class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5">TrickEstimationPanel</a></li> <li>try_add_player() : <a class="el" href="classgame__instance.html#a1176ce8464586487f9ae5676ca900e10">game_instance</a></li> <li>try_get_card() : <a class="el" href="classhand.html#a0a50cbbb167e6a1d633dd48bc4b695fe">hand</a></li> <li>try_remove_player() : <a class="el" href="classgame__instance.html#a2c6fed45a14273b09a9f202481fa62aa">game_instance</a></li> @@ -249,6 +256,7 @@ $(function(){ initResizable(false); }); <li>~hand() : <a class="el" href="classhand.html#af3ffc5e5b46f04b14f12a9fc130b220a">hand</a></li> <li>~player() : <a class="el" href="classplayer.html#a0a62c0208584465db2daa1ac6e15b1ad">player</a></li> <li>~trick() : <a class="el" href="classtrick.html#a22c0b586f1d6c3baeb7bb0e22eb7dfe2">trick</a></li> +<li>~TrickEstimationPanel() : <a class="el" href="class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656">TrickEstimationPanel</a></li> </ul> </div><!-- contents --> <!-- start footer part --> diff --git a/html/game__state_8h_source.html b/html/game__state_8h_source.html index 6cf8b0a5255919bcccdaf2bd0f1afe792b7de721..a499678e47409109d371ac64e751be40df3eff58 100644 --- a/html/game__state_8h_source.html +++ b/html/game__state_8h_source.html @@ -245,19 +245,19 @@ $(function(){ initResizable(false); }); <div class="ttc" id="aclassgame__state_html_a115a9b1dbb65db44669363b407aa62ac"><div class="ttname"><a href="classgame__state.html#a115a9b1dbb65db44669363b407aa62ac">game_state::get_trump_card_value</a></div><div class="ttdeci">int get_trump_card_value() const</div><div class="ttdoc">Gets the value of the trump card to display in GUI.</div><div class="ttdef"><b>Definition</b> game_state.cpp:135</div></div> <div class="ttc" id="aclassgame__state_html_a2d16f420a8aa651685461a5efb8bb600"><div class="ttname"><a href="classgame__state.html#a2d16f420a8aa651685461a5efb8bb600">game_state::get_current_player</a></div><div class="ttdeci">player * get_current_player() const</div><div class="ttdoc">Gets the current player.</div><div class="ttdef"><b>Definition</b> game_state.cpp:117</div></div> <div class="ttc" id="aclassgame__state_html_a2fbc370f93617298719f61514afdb5bc"><div class="ttname"><a href="classgame__state.html#a2fbc370f93617298719f61514afdb5bc">game_state::~game_state</a></div><div class="ttdeci">~game_state() override</div><div class="ttdef"><b>Definition</b> game_state.cpp:78</div></div> -<div class="ttc" id="aclassgame__state_html_a371d6a6d84395b90c15d84549b05d553"><div class="ttname"><a href="classgame__state.html#a371d6a6d84395b90c15d84549b05d553">game_state::is_player_in_game</a></div><div class="ttdeci">bool is_player_in_game(player *player) const</div><div class="ttdoc">Checks if the given player is in the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:202</div></div> +<div class="ttc" id="aclassgame__state_html_a371d6a6d84395b90c15d84549b05d553"><div class="ttname"><a href="classgame__state.html#a371d6a6d84395b90c15d84549b05d553">game_state::is_player_in_game</a></div><div class="ttdeci">bool is_player_in_game(player *player) const</div><div class="ttdoc">Checks if the given player is in the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:201</div></div> <div class="ttc" id="aclassgame__state_html_a3fce12f31ad0aab82b0d2da90e3e8e15"><div class="ttname"><a href="classgame__state.html#a3fce12f31ad0aab82b0d2da90e3e8e15">game_state::get_trick_number</a></div><div class="ttdeci">int get_trick_number() const</div><div class="ttdoc">Gets the trick number.</div><div class="ttdef"><b>Definition</b> game_state.cpp:186</div></div> <div class="ttc" id="aclassgame__state_html_a4327f753f1f5341f9fe3774ea3fbc99b"><div class="ttname"><a href="classgame__state.html#a4327f753f1f5341f9fe3774ea3fbc99b">game_state::get_last_trick</a></div><div class="ttdeci">trick * get_last_trick() const</div><div class="ttdoc">Gets the previous trick.</div><div class="ttdef"><b>Definition</b> game_state.cpp:161</div></div> <div class="ttc" id="aclassgame__state_html_a472fd1721c7cc9e3689394f18c767bf9"><div class="ttname"><a href="classgame__state.html#a472fd1721c7cc9e3689394f18c767bf9">game_state::get_trick</a></div><div class="ttdeci">trick * get_trick() const</div><div class="ttdoc">Gets the current trick.</div><div class="ttdef"><b>Definition</b> game_state.cpp:156</div></div> -<div class="ttc" id="aclassgame__state_html_a49851709fcec061d36478ed2fdcc3d9d"><div class="ttname"><a href="classgame__state.html#a49851709fcec061d36478ed2fdcc3d9d">game_state::update_current_player</a></div><div class="ttdeci">bool update_current_player(std::string &err)</div><div class="ttdoc">Updates the current player after estimating tricks or playing cards.</div><div class="ttdef"><b>Definition</b> game_state.cpp:323</div></div> -<div class="ttc" id="aclassgame__state_html_a4a4fde0700a05c589a6b9c4dbcffac18"><div class="ttname"><a href="classgame__state.html#a4a4fde0700a05c589a6b9c4dbcffac18">game_state::add_player</a></div><div class="ttdeci">bool add_player(player *player, std::string &err)</div><div class="ttdoc">Adds a player to the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:466</div></div> -<div class="ttc" id="aclassgame__state_html_a54873cd18b46555915d150a6d8dd6f83"><div class="ttname"><a href="classgame__state.html#a54873cd18b46555915d150a6d8dd6f83">game_state::write_into_json</a></div><div class="ttdeci">void write_into_json(rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) const override</div><div class="ttdoc">Serializes a game_state object into a json object.</div><div class="ttdef"><b>Definition</b> game_state.cpp:518</div></div> -<div class="ttc" id="aclassgame__state_html_a67fdd4b5682715cd2d848031a9911b17"><div class="ttname"><a href="classgame__state.html#a67fdd4b5682715cd2d848031a9911b17">game_state::finish_game</a></div><div class="ttdeci">bool finish_game(std::string &err) const</div><div class="ttdoc">Finishes a game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:510</div></div> -<div class="ttc" id="aclassgame__state_html_a6c65d95086a88b8d111de5553e1210ec"><div class="ttname"><a href="classgame__state.html#a6c65d95086a88b8d111de5553e1210ec">game_state::play_card</a></div><div class="ttdeci">bool play_card(player *player, const std::string &card_id, std::string &err)</div><div class="ttdoc">Plays a card.</div><div class="ttdef"><b>Definition</b> game_state.cpp:424</div></div> -<div class="ttc" id="aclassgame__state_html_a6ca6536eaec3404ff9b1ab39b8df4e67"><div class="ttname"><a href="classgame__state.html#a6ca6536eaec3404ff9b1ab39b8df4e67">game_state::start_game</a></div><div class="ttdeci">bool start_game(std::string &err)</div><div class="ttdoc">Starts the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:386</div></div> -<div class="ttc" id="aclassgame__state_html_a734fc594d457aa4e6db5bc7467e6442d"><div class="ttname"><a href="classgame__state.html#a734fc594d457aa4e6db5bc7467e6442d">game_state::remove_player</a></div><div class="ttdeci">bool remove_player(player *player, std::string &err)</div><div class="ttdoc">Removes a player from the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:445</div></div> -<div class="ttc" id="aclassgame__state_html_a745dd23945b6165470c494b036ac4667"><div class="ttname"><a href="classgame__state.html#a745dd23945b6165470c494b036ac4667">game_state::set_trick</a></div><div class="ttdeci">void set_trick(trick *new_trick)</div><div class="ttdoc">Sets the trick to the given trick.</div><div class="ttdef"><b>Definition</b> game_state.cpp:212</div></div> -<div class="ttc" id="aclassgame__state_html_a794d484961c92b5b737586ec5599963f"><div class="ttname"><a href="classgame__state.html#a794d484961c92b5b737586ec5599963f">game_state::from_json</a></div><div class="ttdeci">static game_state * from_json(const rapidjson::Value &json)</div><div class="ttdoc">Deserializes a game_state object from a json object.</div><div class="ttdef"><b>Definition</b> game_state.cpp:586</div></div> +<div class="ttc" id="aclassgame__state_html_a49851709fcec061d36478ed2fdcc3d9d"><div class="ttname"><a href="classgame__state.html#a49851709fcec061d36478ed2fdcc3d9d">game_state::update_current_player</a></div><div class="ttdeci">bool update_current_player(std::string &err)</div><div class="ttdoc">Updates the current player after estimating tricks or playing cards.</div><div class="ttdef"><b>Definition</b> game_state.cpp:321</div></div> +<div class="ttc" id="aclassgame__state_html_a4a4fde0700a05c589a6b9c4dbcffac18"><div class="ttname"><a href="classgame__state.html#a4a4fde0700a05c589a6b9c4dbcffac18">game_state::add_player</a></div><div class="ttdeci">bool add_player(player *player, std::string &err)</div><div class="ttdoc">Adds a player to the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:464</div></div> +<div class="ttc" id="aclassgame__state_html_a54873cd18b46555915d150a6d8dd6f83"><div class="ttname"><a href="classgame__state.html#a54873cd18b46555915d150a6d8dd6f83">game_state::write_into_json</a></div><div class="ttdeci">void write_into_json(rapidjson::Value &json, rapidjson::Document::AllocatorType &allocator) const override</div><div class="ttdoc">Serializes a game_state object into a json object.</div><div class="ttdef"><b>Definition</b> game_state.cpp:516</div></div> +<div class="ttc" id="aclassgame__state_html_a67fdd4b5682715cd2d848031a9911b17"><div class="ttname"><a href="classgame__state.html#a67fdd4b5682715cd2d848031a9911b17">game_state::finish_game</a></div><div class="ttdeci">bool finish_game(std::string &err) const</div><div class="ttdoc">Finishes a game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:508</div></div> +<div class="ttc" id="aclassgame__state_html_a6c65d95086a88b8d111de5553e1210ec"><div class="ttname"><a href="classgame__state.html#a6c65d95086a88b8d111de5553e1210ec">game_state::play_card</a></div><div class="ttdeci">bool play_card(player *player, const std::string &card_id, std::string &err)</div><div class="ttdoc">Plays a card.</div><div class="ttdef"><b>Definition</b> game_state.cpp:422</div></div> +<div class="ttc" id="aclassgame__state_html_a6ca6536eaec3404ff9b1ab39b8df4e67"><div class="ttname"><a href="classgame__state.html#a6ca6536eaec3404ff9b1ab39b8df4e67">game_state::start_game</a></div><div class="ttdeci">bool start_game(std::string &err)</div><div class="ttdoc">Starts the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:384</div></div> +<div class="ttc" id="aclassgame__state_html_a734fc594d457aa4e6db5bc7467e6442d"><div class="ttname"><a href="classgame__state.html#a734fc594d457aa4e6db5bc7467e6442d">game_state::remove_player</a></div><div class="ttdeci">bool remove_player(player *player, std::string &err)</div><div class="ttdoc">Removes a player from the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:443</div></div> +<div class="ttc" id="aclassgame__state_html_a745dd23945b6165470c494b036ac4667"><div class="ttname"><a href="classgame__state.html#a745dd23945b6165470c494b036ac4667">game_state::set_trick</a></div><div class="ttdeci">void set_trick(trick *new_trick)</div><div class="ttdoc">Sets the trick to the given trick.</div><div class="ttdef"><b>Definition</b> game_state.cpp:211</div></div> +<div class="ttc" id="aclassgame__state_html_a794d484961c92b5b737586ec5599963f"><div class="ttname"><a href="classgame__state.html#a794d484961c92b5b737586ec5599963f">game_state::from_json</a></div><div class="ttdeci">static game_state * from_json(const rapidjson::Value &json)</div><div class="ttdoc">Deserializes a game_state object from a json object.</div><div class="ttdef"><b>Definition</b> game_state.cpp:584</div></div> <div class="ttc" id="aclassgame__state_html_a88d19342ee76acc4660b3e56e8c126eb"><div class="ttname"><a href="classgame__state.html#a88d19342ee76acc4660b3e56e8c126eb">game_state::is_estimation_phase</a></div><div class="ttdeci">bool is_estimation_phase() const</div><div class="ttdoc">Checks if the game is in estimation phase.</div><div class="ttdef"><b>Definition</b> game_state.cpp:125</div></div> <div class="ttc" id="aclassgame__state_html_a9b83de8a89e3bb506184492d22c3cf45"><div class="ttname"><a href="classgame__state.html#a9b83de8a89e3bb506184492d22c3cf45">game_state::is_finished</a></div><div class="ttdeci">bool is_finished() const</div><div class="ttdoc">Checks if the game is finished.</div><div class="ttdef"><b>Definition</b> game_state.cpp:176</div></div> <div class="ttc" id="aclassgame__state_html_aa0092c41779f38eba5e921e43b38559c"><div class="ttname"><a href="classgame__state.html#aa0092c41779f38eba5e921e43b38559c">game_state::is_started</a></div><div class="ttdeci">bool is_started() const</div><div class="ttdoc">Checks if the game is started.</div><div class="ttdef"><b>Definition</b> game_state.cpp:171</div></div> @@ -265,11 +265,11 @@ $(function(){ initResizable(false); }); <div class="ttc" id="aclassgame__state_html_aa5263d03c85bce1e9d252e9017cbe282"><div class="ttname"><a href="classgame__state.html#aa5263d03c85bce1e9d252e9017cbe282">game_state::get_trick_estimate_sum</a></div><div class="ttdeci">int get_trick_estimate_sum() const</div><div class="ttdoc">Gets the trick estimate sum.</div><div class="ttdef"><b>Definition</b> game_state.cpp:191</div></div> <div class="ttc" id="aclassgame__state_html_aa75c4da6c0056e48e5040be8127d7473"><div class="ttname"><a href="classgame__state.html#aa75c4da6c0056e48e5040be8127d7473">game_state::get_max_round_number</a></div><div class="ttdeci">unsigned int get_max_round_number() const</div><div class="ttdoc">Gets the maximum round number.</div><div class="ttdef"><b>Definition</b> game_state.cpp:196</div></div> <div class="ttc" id="aclassgame__state_html_ab3ef836a1b3a1e2bc9e429a018c72eca"><div class="ttname"><a href="classgame__state.html#ab3ef836a1b3a1e2bc9e429a018c72eca">game_state::get_round_number</a></div><div class="ttdeci">int get_round_number() const</div><div class="ttdoc">Gets the round number.</div><div class="ttdef"><b>Definition</b> game_state.cpp:181</div></div> -<div class="ttc" id="aclassgame__state_html_ab520d4076c53f70a68bc19f355243a4d"><div class="ttname"><a href="classgame__state.html#ab520d4076c53f70a68bc19f355243a4d">game_state::setup_round</a></div><div class="ttdeci">void setup_round(std::string &err)</div><div class="ttdoc">Sets up a round.</div><div class="ttdef"><b>Definition</b> game_state.cpp:364</div></div> -<div class="ttc" id="aclassgame__state_html_abcaccd551f938f961d12266e34c037d2"><div class="ttname"><a href="classgame__state.html#abcaccd551f938f961d12266e34c037d2">game_state::get_players</a></div><div class="ttdeci">std::vector< player * > & get_players()</div><div class="ttdoc">Gets the players that joined the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:207</div></div> +<div class="ttc" id="aclassgame__state_html_ab520d4076c53f70a68bc19f355243a4d"><div class="ttname"><a href="classgame__state.html#ab520d4076c53f70a68bc19f355243a4d">game_state::setup_round</a></div><div class="ttdeci">void setup_round(std::string &err)</div><div class="ttdoc">Sets up a round.</div><div class="ttdef"><b>Definition</b> game_state.cpp:362</div></div> +<div class="ttc" id="aclassgame__state_html_abcaccd551f938f961d12266e34c037d2"><div class="ttname"><a href="classgame__state.html#abcaccd551f938f961d12266e34c037d2">game_state::get_players</a></div><div class="ttdeci">std::vector< player * > & get_players()</div><div class="ttdoc">Gets the players that joined the game.</div><div class="ttdef"><b>Definition</b> game_state.cpp:206</div></div> <div class="ttc" id="aclassgame__state_html_abdf6c5116ed643773d676c90a05e6fe4"><div class="ttname"><a href="classgame__state.html#abdf6c5116ed643773d676c90a05e6fe4">game_state::get_trump_color</a></div><div class="ttdeci">int get_trump_color() const</div><div class="ttdoc">Gets the trump color.</div><div class="ttdef"><b>Definition</b> game_state.cpp:130</div></div> -<div class="ttc" id="aclassgame__state_html_ac4ebff625d83c633c124890537d60354"><div class="ttname"><a href="classgame__state.html#ac4ebff625d83c633c124890537d60354">game_state::estimate_tricks</a></div><div class="ttdeci">bool estimate_tricks(const player *player, std::string &err, int trick_estimate)</div><div class="ttdoc">Sets the trick estimates for a player.</div><div class="ttdef"><b>Definition</b> game_state.cpp:402</div></div> -<div class="ttc" id="aclassgame__state_html_ad2e967638043670ebae93dd6ec32e91e"><div class="ttname"><a href="classgame__state.html#ad2e967638043670ebae93dd6ec32e91e">game_state::wrap_up_round</a></div><div class="ttdeci">void wrap_up_round(std::string &err)</div><div class="ttdoc">Wraps up a round.</div><div class="ttdef"><b>Definition</b> game_state.cpp:311</div></div> +<div class="ttc" id="aclassgame__state_html_ac4ebff625d83c633c124890537d60354"><div class="ttname"><a href="classgame__state.html#ac4ebff625d83c633c124890537d60354">game_state::estimate_tricks</a></div><div class="ttdeci">bool estimate_tricks(const player *player, std::string &err, int trick_estimate)</div><div class="ttdoc">Sets the trick estimates for a player.</div><div class="ttdef"><b>Definition</b> game_state.cpp:400</div></div> +<div class="ttc" id="aclassgame__state_html_ad2e967638043670ebae93dd6ec32e91e"><div class="ttname"><a href="classgame__state.html#ad2e967638043670ebae93dd6ec32e91e">game_state::wrap_up_round</a></div><div class="ttdeci">void wrap_up_round(std::string &err)</div><div class="ttdoc">Wraps up a round.</div><div class="ttdef"><b>Definition</b> game_state.cpp:309</div></div> <div class="ttc" id="aclassgame__state_html_ae161c283e275a57d71834754d11e9e40"><div class="ttname"><a href="classgame__state.html#ae161c283e275a57d71834754d11e9e40">game_state::is_full</a></div><div class="ttdeci">bool is_full() const</div><div class="ttdoc">Checks if the game is full.</div><div class="ttdef"><b>Definition</b> game_state.cpp:166</div></div> <div class="ttc" id="aclassgame__state_html_af4c553229260e307ff1f78dd0c74506d"><div class="ttname"><a href="classgame__state.html#af4c553229260e307ff1f78dd0c74506d">game_state::get_starting_player</a></div><div class="ttdeci">player * get_starting_player() const</div><div class="ttdoc">Gets the starting player of the current round.</div><div class="ttdef"><b>Definition</b> game_state.cpp:148</div></div> <div class="ttc" id="aclassplayer_html"><div class="ttname"><a href="classplayer.html">player</a></div><div class="ttdoc">Represents a player in the game.</div><div class="ttdef"><b>Definition</b> player.h:18</div></div> diff --git a/html/hierarchy.html b/html/hierarchy.html index 802e04d8576792bb124d9e72aa6e5f6ae9ad15c8..58dc4d5382a1a9cb37cc23f8fd3c278ed7d3be76 100644 --- a/html/hierarchy.html +++ b/html/hierarchy.html @@ -107,41 +107,40 @@ $(function(){ initResizable(false); }); <tr id="row_11_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable__value.html" target="_self">serializable_value< bool ></a></td><td class="desc"></td></tr> <tr id="row_11_2_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable__value.html" target="_self">serializable_value< std::string ></a></td><td class="desc"></td></tr> <tr id="row_11_3_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_3_" class="arrow" onclick="dynsection.toggleFolder('11_3_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classclient__request.html" target="_self">client_request</a></td><td class="desc"></td></tr> -<tr id="row_11_3_0_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classdecide__trump__color__request.html" target="_self">decide_trump_color_request</a></td><td class="desc"></td></tr> -<tr id="row_11_3_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classestimate__tricks__request.html" target="_self">estimate_tricks_request</a></td><td class="desc"></td></tr> -<tr id="row_11_3_2_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classjoin__game__request.html" target="_self">join_game_request</a></td><td class="desc"></td></tr> -<tr id="row_11_3_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classleave__game__request.html" target="_self">leave_game_request</a></td><td class="desc"></td></tr> -<tr id="row_11_3_4_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplay__card__request.html" target="_self">play_card_request</a></td><td class="desc"></td></tr> -<tr id="row_11_3_5_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classstart__game__request.html" target="_self">start_game_request</a></td><td class="desc"></td></tr> -<tr id="row_11_4_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable__value.html" target="_self">serializable_value< T ></a></td><td class="desc"></td></tr> -<tr id="row_11_5_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_5_" class="arrow" onclick="dynsection.toggleFolder('11_5_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__response.html" target="_self">server_response</a></td><td class="desc"></td></tr> -<tr id="row_11_5_0_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfull__state__response.html" target="_self">full_state_response</a></td><td class="desc"></td></tr> -<tr id="row_11_5_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classrequest__response.html" target="_self">request_response</a></td><td class="desc"></td></tr> -<tr id="row_11_6_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_6_" class="arrow" onclick="dynsection.toggleFolder('11_6_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classunique__serializable.html" target="_self">unique_serializable</a></td><td class="desc"></td></tr> -<tr id="row_11_6_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcard.html" target="_self">card</a></td><td class="desc">Represents a card in the game </td></tr> -<tr id="row_11_6_1_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classdeck.html" target="_self">deck</a></td><td class="desc">Represents the card deck in the game </td></tr> -<tr id="row_11_6_2_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__state.html" target="_self">game_state</a></td><td class="desc">Represents the state of the game </td></tr> -<tr id="row_11_6_3_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classhand.html" target="_self">hand</a></td><td class="desc">Represents a player's hand in the game </td></tr> -<tr id="row_11_6_4_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplayer.html" target="_self">player</a></td><td class="desc">Represents a player in the game </td></tr> -<tr id="row_11_6_5_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtrick.html" target="_self">trick</a></td><td class="desc">Represents the trick in the game </td></tr> -<tr id="row_12_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__network__manager.html" target="_self">server_network_manager</a></td><td class="desc"></td></tr> -<tr id="row_13_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classuuid__generator.html" target="_self">uuid_generator</a></td><td class="desc"></td></tr> -<tr id="row_14_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_14_" class="arrow" onclick="dynsection.toggleFolder('14_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxApp</b></td><td class="desc"></td></tr> -<tr id="row_14_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_wizard.html" target="_self">Wizard</a></td><td class="desc"></td></tr> -<tr id="row_15_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_15_" class="arrow" onclick="dynsection.toggleFolder('15_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxDialog</b></td><td class="desc"></td></tr> -<tr id="row_15_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_error_dialog.html" target="_self">ErrorDialog</a></td><td class="desc"></td></tr> -<tr id="row_15_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_board_dialog.html" target="_self">ScoreBoardDialog</a></td><td class="desc"></td></tr> -<tr id="row_15_2_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_dialog.html" target="_self">ScoreDialog</a></td><td class="desc"></td></tr> -<tr id="row_16_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_16_" class="arrow" onclick="dynsection.toggleFolder('16_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxFrame</b></td><td class="desc"></td></tr> -<tr id="row_16_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_game_window.html" target="_self">GameWindow</a></td><td class="desc"></td></tr> -<tr id="row_17_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_17_" class="arrow" onclick="dynsection.toggleFolder('17_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxPanel</b></td><td class="desc"></td></tr> -<tr id="row_17_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_connection_panel.html" target="_self">ConnectionPanel</a></td><td class="desc"></td></tr> -<tr id="row_17_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_image_panel.html" target="_self">ImagePanel</a></td><td class="desc"></td></tr> -<tr id="row_17_2_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_input_field.html" target="_self">InputField</a></td><td class="desc"></td></tr> -<tr id="row_17_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_game_panel_wizard.html" target="_self">MainGamePanelWizard</a></td><td class="desc">Visualizes Game State to user during the card playing phase. The Main Game Panel is shown before the game has started (Lobby) and also while the game is played (outside the trick estimation phase). It ensures that the game state is shown to all players in the GUI, and creates and positions all graphical elements. It also allows interaction of the user with the GUI via button clicks </td></tr> -<tr id="row_17_4_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_trick_estimation_panel.html" target="_self">TrickEstimationPanel</a></td><td class="desc"></td></tr> -<tr id="row_18_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_18_" class="arrow" onclick="dynsection.toggleFolder('18_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxThread</b></td><td class="desc"></td></tr> -<tr id="row_18_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_response_listener_thread.html" target="_self">ResponseListenerThread</a></td><td class="desc"></td></tr> +<tr id="row_11_3_0_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classestimate__tricks__request.html" target="_self">estimate_tricks_request</a></td><td class="desc"></td></tr> +<tr id="row_11_3_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classjoin__game__request.html" target="_self">join_game_request</a></td><td class="desc"></td></tr> +<tr id="row_11_3_2_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classleave__game__request.html" target="_self">leave_game_request</a></td><td class="desc"></td></tr> +<tr id="row_11_3_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplay__card__request.html" target="_self">play_card_request</a></td><td class="desc"></td></tr> +<tr id="row_11_3_4_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classstart__game__request.html" target="_self">start_game_request</a></td><td class="desc"></td></tr> +<tr id="row_11_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserializable__value.html" target="_self">serializable_value< T ></a></td><td class="desc"></td></tr> +<tr id="row_11_5_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_5_" class="arrow" onclick="dynsection.toggleFolder('11_5_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__response.html" target="_self">server_response</a></td><td class="desc"></td></tr> +<tr id="row_11_5_0_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classfull__state__response.html" target="_self">full_state_response</a></td><td class="desc"></td></tr> +<tr id="row_11_5_1_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classrequest__response.html" target="_self">request_response</a></td><td class="desc"></td></tr> +<tr id="row_11_6_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span id="arr_11_6_" class="arrow" onclick="dynsection.toggleFolder('11_6_')">▼</span><span class="icona"><span class="icon">C</span></span><a class="el" href="classunique__serializable.html" target="_self">unique_serializable</a></td><td class="desc"></td></tr> +<tr id="row_11_6_0_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classcard.html" target="_self">card</a></td><td class="desc">Represents a card in the game </td></tr> +<tr id="row_11_6_1_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classdeck.html" target="_self">deck</a></td><td class="desc">Represents the card deck in the game </td></tr> +<tr id="row_11_6_2_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classgame__state.html" target="_self">game_state</a></td><td class="desc">Represents the state of the game </td></tr> +<tr id="row_11_6_3_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classhand.html" target="_self">hand</a></td><td class="desc">Represents a player's hand in the game </td></tr> +<tr id="row_11_6_4_" class="odd"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classplayer.html" target="_self">player</a></td><td class="desc">Represents a player in the game </td></tr> +<tr id="row_11_6_5_" class="even"><td class="entry"><span style="width:48px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classtrick.html" target="_self">trick</a></td><td class="desc">Represents the trick in the game </td></tr> +<tr id="row_12_" class="odd"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classserver__network__manager.html" target="_self">server_network_manager</a></td><td class="desc"></td></tr> +<tr id="row_13_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classuuid__generator.html" target="_self">uuid_generator</a></td><td class="desc"></td></tr> +<tr id="row_14_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_14_" class="arrow" onclick="dynsection.toggleFolder('14_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxApp</b></td><td class="desc"></td></tr> +<tr id="row_14_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_wizard.html" target="_self">Wizard</a></td><td class="desc"></td></tr> +<tr id="row_15_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_15_" class="arrow" onclick="dynsection.toggleFolder('15_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxDialog</b></td><td class="desc"></td></tr> +<tr id="row_15_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_error_dialog.html" target="_self">ErrorDialog</a></td><td class="desc"></td></tr> +<tr id="row_15_1_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_board_dialog.html" target="_self">ScoreBoardDialog</a></td><td class="desc"></td></tr> +<tr id="row_15_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_score_dialog.html" target="_self">ScoreDialog</a></td><td class="desc"></td></tr> +<tr id="row_16_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_16_" class="arrow" onclick="dynsection.toggleFolder('16_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxFrame</b></td><td class="desc"></td></tr> +<tr id="row_16_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_game_window.html" target="_self">GameWindow</a></td><td class="desc"></td></tr> +<tr id="row_17_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_17_" class="arrow" onclick="dynsection.toggleFolder('17_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxPanel</b></td><td class="desc"></td></tr> +<tr id="row_17_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_connection_panel.html" target="_self">ConnectionPanel</a></td><td class="desc">A custom wxPanel for handling server connection input and UI. This panel provides fields for entering the server address, port, and player name. It also includes a background image and a "Connect" button </td></tr> +<tr id="row_17_1_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_image_panel.html" target="_self">ImagePanel</a></td><td class="desc"></td></tr> +<tr id="row_17_2_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_input_field.html" target="_self">InputField</a></td><td class="desc"></td></tr> +<tr id="row_17_3_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_main_game_panel_wizard.html" target="_self">MainGamePanelWizard</a></td><td class="desc">Visualizes Game State to user during the card playing phase. The Main Game Panel is shown before the game has started (Lobby) and also while the game is played (outside the trick estimation phase). It ensures that the game state is shown to all players in the GUI, and creates and positions all graphical elements. It also allows interaction of the user with the GUI via button clicks </td></tr> +<tr id="row_17_4_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_trick_estimation_panel.html" target="_self">TrickEstimationPanel</a></td><td class="desc">Handles the GUI layout and functionality for the trick estimation phase of the game </td></tr> +<tr id="row_18_" class="odd"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_18_" class="arrow" onclick="dynsection.toggleFolder('18_')">▼</span><span class="icona"><span class="icon">C</span></span><b>wxThread</b></td><td class="desc"></td></tr> +<tr id="row_18_0_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class_response_listener_thread.html" target="_self">ResponseListenerThread</a></td><td class="desc"></td></tr> </table> </div><!-- directory --> </div><!-- contents --> diff --git a/html/index.html b/html/index.html index 1c2a3c81739e3bc910e52e9e26bd60849753dabb..99d39471311f2c008ae8659d10011113d92d4ef8 100644 --- a/html/index.html +++ b/html/index.html @@ -193,7 +193,7 @@ End of Game</div></div> <h1><a class="anchor" id="autotoc_md40"></a> 5 Play on Different Devices</h1> <p>When playing the game on a single device, the default server address <em>127.0.0.1</em> and server port <em>50505</em> can be used during the connection phase.</p> -<p>However, the game can also be played from different devices on the same Wi-Fi network 🛜 or if all devices are connected to the same VPN. In this case, one player needs to host the server, while all other players only have to run their client. When connecting to the game, all players have to enter the private IP address of the player hosting the server in the <em>server address</em> field. The default port <em>50505</em> can be kept.</p> +<p>However, the game can also be played from different devices on the same Wi-Fi network 🛜. In this case, one player needs to host the server, while all other players only have to run their client. When connecting to the game, all players have to enter the private IP address of the player hosting the server in the <em>server address</em> field. The default port <em>50505</em> can be kept.</p> <h2><a class="anchor" id="autotoc_md41"></a> Get local IP address to host server</h2> <p>On macOS version 10.4 throughout the latest version run the following command in the terminal: </p><div class="fragment"><div class="line">ipconfig getifaddr en0</div> diff --git a/html/join__game__request_8h_source.html b/html/join__game__request_8h_source.html index 0d1b5e20ba2e7014410979dbbf53198ac5f3ed63..97c02b6c1d23cb3ec610750862311ea5060b0c99 100644 --- a/html/join__game__request_8h_source.html +++ b/html/join__game__request_8h_source.html @@ -136,9 +136,9 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div> <div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div> <div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_JOIN_GAME_REQUEST_H</span></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> <div class="ttc" id="aclassjoin__game__request_html"><div class="ttname"><a href="classjoin__game__request.html">join_game_request</a></div><div class="ttdef"><b>Definition</b> join_game_request.h:13</div></div> -<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:33</div></div> +<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:32</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/leave__game__request_8h_source.html b/html/leave__game__request_8h_source.html index 3839ff9968c9437a26a48d796c9d4d0e144e6edd..afad4c31458558ec2ae56191c0e85a41b527f0a2 100644 --- a/html/leave__game__request_8h_source.html +++ b/html/leave__game__request_8h_source.html @@ -136,9 +136,9 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div> <div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div> <div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="preprocessor">#endif </span><span class="comment">//LEAVE_GAME_REQUEST_H</span></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> <div class="ttc" id="aclassleave__game__request_html"><div class="ttname"><a href="classleave__game__request.html">leave_game_request</a></div><div class="ttdef"><b>Definition</b> leave_game_request.h:12</div></div> -<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:33</div></div> +<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:32</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/md__r_e_a_d_m_e.html b/html/md__r_e_a_d_m_e.html index 3b9d75bd1a4b7ad67c5f8b82ba88f109785d4059..0f0cb3fd609622ad77c3a85a95d36fecdaebc882 100644 --- a/html/md__r_e_a_d_m_e.html +++ b/html/md__r_e_a_d_m_e.html @@ -175,7 +175,7 @@ $(function(){ initResizable(false); }); <h1><a class="anchor" id="autotoc_md18"></a> 5 Play on Different Devices</h1> <p>When playing the game on a single device, the default server address <em>127.0.0.1</em> and server port <em>50505</em> can be used during the connection phase.</p> -<p>However, the game can also be played from different devices on the same Wi-Fi network 🛜 or if all devices are connected to the same VPN. In this case, one player needs to host the server, while all other players only have to run their client. When connecting to the game, all players have to enter the private IP address of the player hosting the server in the <em>server address</em> field. The default port <em>50505</em> can be kept.</p> +<p>However, the game can also be played from different devices on the same Wi-Fi network 🛜. In this case, one player needs to host the server, while all other players only have to run their client. When connecting to the game, all players have to enter the private IP address of the player hosting the server in the <em>server address</em> field. The default port <em>50505</em> can be kept.</p> <h2><a class="anchor" id="autotoc_md19"></a> Get local IP address to host server</h2> <p>On macOS version 10.4 throughout the latest version run the following command in the terminal: </p><div class="fragment"><div class="line">ipconfig getifaddr en0</div> diff --git a/html/play__card__request_8h_source.html b/html/play__card__request_8h_source.html index 7fec37ca6850f01a7b2774d0edfbeb8c377e8146..aafee070ca75e51f9cb4271f3ae200acae8bd2ec 100644 --- a/html/play__card__request_8h_source.html +++ b/html/play__card__request_8h_source.html @@ -125,9 +125,9 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> </div> <div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_PLAY_CARD_REQUEST_H</span></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> <div class="ttc" id="aclassplay__card__request_html"><div class="ttname"><a href="classplay__card__request.html">play_card_request</a></div><div class="ttdef"><b>Definition</b> play_card_request.h:13</div></div> -<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:33</div></div> +<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:32</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/html/request__handler_8h_source.html b/html/request__handler_8h_source.html index f0a9584dcee711f6c28fb71e8daba1541cc9e565..beb7a61714d92b985af08dda946f17b4b359e980 100644 --- a/html/request__handler_8h_source.html +++ b/html/request__handler_8h_source.html @@ -110,7 +110,7 @@ $(function(){ initResizable(false); }); <div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span>};</div> </div> <div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_REQUEST_HANDLER_H</span></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> <div class="ttc" id="aclassrequest__handler_html"><div class="ttname"><a href="classrequest__handler.html">request_handler</a></div><div class="ttdef"><b>Definition</b> request_handler.h:12</div></div> <div class="ttc" id="aclassrequest__response_html"><div class="ttname"><a href="classrequest__response.html">request_response</a></div><div class="ttdef"><b>Definition</b> request_response.h:12</div></div> </div><!-- fragment --></div><!-- contents --> diff --git a/html/search/all_17.js b/html/search/all_17.js index b3db00ed16359e14dccfcc7926c4aaf75d50c332..75946822f784d50f87e0f9ee8211b2c77d3f2612 100644 --- a/html/search/all_17.js +++ b/html/search/all_17.js @@ -3,7 +3,7 @@ var searchData= ['the_20game_0',['the Game',['../md__r_e_a_d_m_e.html#autotoc_md14',1,'3 Run the Game'],['../index.html#autotoc_md36',1,'3 Run the Game'],['../md__r_e_a_d_m_e.html#autotoc_md16',1,'4 Play the Game'],['../index.html#autotoc_md38',1,'4 Play the Game']]], ['to_20host_20server_1',['to host server',['../md__r_e_a_d_m_e.html#autotoc_md19',1,'Get local IP address to host server'],['../index.html#autotoc_md41',1,'Get local IP address to host server']]], ['trick_2',['trick',['../classtrick.html',1,'trick'],['../classtrick.html#a3b0a12789b87d15d9cdc4e5b6f85b47d',1,'trick::trick()'],['../classtrick.html#ad55ad2f0462144ee39c0e6d392543a14',1,'trick::trick(const trick &other)'],['../classtrick.html#abb172ad9a476e96a754eea0c33e1eda9',1,'trick::trick(const std::string &id)'],['../classtrick.html#ab756ba7a19c4bf98f0d8456ad0081fc3',1,'trick::trick(const std::string &id, const std::vector< std::pair< card *, player * > > &cards, serializable_value< int > *trick_color, serializable_value< int > *trump_color)'],['../classtrick.html#a3ecb1c5ebe84a300d7388e2846737fa4',1,'trick::trick(int trump)']]], - ['trickestimationpanel_3',['TrickEstimationPanel',['../class_trick_estimation_panel.html',1,'']]], + ['trickestimationpanel_3',['TrickEstimationPanel',['../class_trick_estimation_panel.html',1,'TrickEstimationPanel'],['../class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5',1,'TrickEstimationPanel::TrickEstimationPanel()']]], ['try_5fadd_5fplayer_4',['try_add_player',['../classgame__instance.html#a1176ce8464586487f9ae5676ca900e10',1,'game_instance']]], ['try_5fget_5fcard_5',['try_get_card',['../classhand.html#a0a50cbbb167e6a1d633dd48bc4b695fe',1,'hand']]], ['try_5fremove_5fplayer_6',['try_remove_player',['../classgame__instance.html#a2c6fed45a14273b09a9f202481fa62aa',1,'game_instance']]] diff --git a/html/search/all_1a.js b/html/search/all_1a.js index 688609a17ecd2657de1d22465b69f6fc6b58314f..169e6d0e95e71bec3f8707660fffca505da4b75c 100644 --- a/html/search/all_1a.js +++ b/html/search/all_1a.js @@ -6,5 +6,6 @@ var searchData= ['_7egame_5fstate_3',['~game_state',['../classgame__state.html#a2fbc370f93617298719f61514afdb5bc',1,'game_state']]], ['_7ehand_4',['~hand',['../classhand.html#af3ffc5e5b46f04b14f12a9fc130b220a',1,'hand']]], ['_7eplayer_5',['~player',['../classplayer.html#a0a62c0208584465db2daa1ac6e15b1ad',1,'player']]], - ['_7etrick_6',['~trick',['../classtrick.html#a22c0b586f1d6c3baeb7bb0e22eb7dfe2',1,'trick']]] + ['_7etrick_6',['~trick',['../classtrick.html#a22c0b586f1d6c3baeb7bb0e22eb7dfe2',1,'trick']]], + ['_7etrickestimationpanel_7',['~TrickEstimationPanel',['../class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656',1,'TrickEstimationPanel']]] ]; diff --git a/html/search/all_8.js b/html/search/all_8.js index 6a30117788769dddd612dc34f63c69cd22a0c568..fc403a6aebcb036e9ad40c2637a48a703cbd8e53 100644 --- a/html/search/all_8.js +++ b/html/search/all_8.js @@ -1,5 +1,5 @@ var searchData= [ ['base_5fclass_5fproperties_0',['base_class_properties',['../structclient__request_1_1base__class__properties.html',1,'client_request::base_class_properties'],['../structserver__response_1_1base__class__properties.html',1,'server_response::base_class_properties']]], - ['buildgamestate_1',['buildGameState',['../class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3',1,'MainGamePanelWizard']]] + ['buildgamestate_1',['buildGameState',['../class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3',1,'MainGamePanelWizard::buildGameState()'],['../class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99',1,'TrickEstimationPanel::buildGameState()']]] ]; diff --git a/html/search/all_9.js b/html/search/all_9.js index b9b785673febe0da4071b6a41a488b51bc2f9072..4754e3a0161b77cfb80ead6411bd46ac3d7c98fc 100644 --- a/html/search/all_9.js +++ b/html/search/all_9.js @@ -3,10 +3,11 @@ var searchData= ['card_0',['card',['../classcard.html',1,'card'],['../classcard.html#a764d65641c619aedf1842a30e54905b7',1,'card::card()']]], ['client_5frequest_1',['client_request',['../classclient__request.html',1,'']]], ['clientnetworkmanager_2',['ClientNetworkManager',['../class_client_network_manager.html',1,'']]], - ['code_3',['Code',['../md__r_e_a_d_m_e.html#autotoc_md10',1,'2.2 Compile Code'],['../index.html#autotoc_md32',1,'2.2 Compile Code']]], - ['coding_20documentation_4',['Coding Documentation',['../md__r_e_a_d_m_e.html#autotoc_md21',1,'6 Coding Documentation'],['../index.html#autotoc_md43',1,'6 Coding Documentation']]], - ['compile_20code_5',['Compile Code',['../md__r_e_a_d_m_e.html#autotoc_md10',1,'2.2 Compile Code'],['../index.html#autotoc_md32',1,'2.2 Compile Code']]], - ['compile_20instructions_6',['Compile Instructions',['../md__r_e_a_d_m_e.html#autotoc_md6',1,'2 Compile Instructions'],['../index.html#autotoc_md28',1,'2 Compile Instructions']]], - ['connectionpanel_7',['ConnectionPanel',['../class_connection_panel.html',1,'']]], - ['connecttoserver_8',['connectToServer',['../class_game_controller.html#a023da21da545374ee46fb873149976c4',1,'GameController']]] + ['closegamewindow_3',['closeGameWindow',['../class_game_controller.html#a21eea505305d56439efb835e1e148c2f',1,'GameController']]], + ['code_4',['Code',['../md__r_e_a_d_m_e.html#autotoc_md10',1,'2.2 Compile Code'],['../index.html#autotoc_md32',1,'2.2 Compile Code']]], + ['coding_20documentation_5',['Coding Documentation',['../md__r_e_a_d_m_e.html#autotoc_md21',1,'6 Coding Documentation'],['../index.html#autotoc_md43',1,'6 Coding Documentation']]], + ['compile_20code_6',['Compile Code',['../md__r_e_a_d_m_e.html#autotoc_md10',1,'2.2 Compile Code'],['../index.html#autotoc_md32',1,'2.2 Compile Code']]], + ['compile_20instructions_7',['Compile Instructions',['../md__r_e_a_d_m_e.html#autotoc_md6',1,'2 Compile Instructions'],['../index.html#autotoc_md28',1,'2 Compile Instructions']]], + ['connectionpanel_8',['ConnectionPanel',['../class_connection_panel.html',1,'ConnectionPanel'],['../class_connection_panel.html#abc032283798f168176fc9af6fab9cbca',1,'ConnectionPanel::ConnectionPanel()']]], + ['connecttoserver_9',['connectToServer',['../class_game_controller.html#a023da21da545374ee46fb873149976c4',1,'GameController']]] ]; diff --git a/html/search/all_a.js b/html/search/all_a.js index 8d1054a4ae0dc32a59786e86828f1d247b545137..7c5bde9b57981b838a31ac83e6dc4137cdf3076b 100644 --- a/html/search/all_a.js +++ b/html/search/all_a.js @@ -1,11 +1,10 @@ var searchData= [ - ['decide_5ftrump_5fcolor_5frequest_0',['decide_trump_color_request',['../classdecide__trump__color__request.html',1,'']]], - ['deck_1',['deck',['../classdeck.html',1,'deck'],['../classdeck.html#a2ff8465ba7b13201bdf650fe461b442e',1,'deck::deck()'],['../classdeck.html#ac18be42e5ad9ade42faed5be057f558b',1,'deck::deck(const std::vector< card * > &cards)']]], - ['derived_5ffrom_2',['derived_from',['../structvector__utils_1_1derived__from.html',1,'vector_utils']]], - ['devices_3',['Devices',['../md__r_e_a_d_m_e.html#autotoc_md18',1,'5 Play on Different Devices'],['../index.html#autotoc_md40',1,'5 Play on Different Devices']]], - ['different_20devices_4',['Different Devices',['../md__r_e_a_d_m_e.html#autotoc_md18',1,'5 Play on Different Devices'],['../index.html#autotoc_md40',1,'5 Play on Different Devices']]], - ['documentation_5',['Documentation',['../md__r_e_a_d_m_e.html#autotoc_md21',1,'6 Coding Documentation'],['../index.html#autotoc_md43',1,'6 Coding Documentation']]], - ['draw_5fcards_6',['draw_cards',['../classdeck.html#afa56e0fb7919ca1ceebae9b3bd79280d',1,'deck']]], - ['draw_5ftrump_7',['draw_trump',['../classdeck.html#ac5b85f992cf36d00873d2c7be7dc8c2b',1,'deck']]] + ['deck_0',['deck',['../classdeck.html',1,'deck'],['../classdeck.html#a2ff8465ba7b13201bdf650fe461b442e',1,'deck::deck()'],['../classdeck.html#ac18be42e5ad9ade42faed5be057f558b',1,'deck::deck(const std::vector< card * > &cards)']]], + ['derived_5ffrom_1',['derived_from',['../structvector__utils_1_1derived__from.html',1,'vector_utils']]], + ['devices_2',['Devices',['../md__r_e_a_d_m_e.html#autotoc_md18',1,'5 Play on Different Devices'],['../index.html#autotoc_md40',1,'5 Play on Different Devices']]], + ['different_20devices_3',['Different Devices',['../md__r_e_a_d_m_e.html#autotoc_md18',1,'5 Play on Different Devices'],['../index.html#autotoc_md40',1,'5 Play on Different Devices']]], + ['documentation_4',['Documentation',['../md__r_e_a_d_m_e.html#autotoc_md21',1,'6 Coding Documentation'],['../index.html#autotoc_md43',1,'6 Coding Documentation']]], + ['draw_5fcards_5',['draw_cards',['../classdeck.html#afa56e0fb7919ca1ceebae9b3bd79280d',1,'deck']]], + ['draw_5ftrump_6',['draw_trump',['../classdeck.html#ac5b85f992cf36d00873d2c7be7dc8c2b',1,'deck']]] ]; diff --git a/html/search/all_d.js b/html/search/all_d.js index 22c4d455cb73e3a38f066d6ba62873c3a28e4744..5a21cf48093769559fdec6c46a9a83f5c7ab0cfc 100644 --- a/html/search/all_d.js +++ b/html/search/all_d.js @@ -35,5 +35,9 @@ var searchData= ['get_5ftrump_5fcolor_32',['get_trump_color',['../classtrick.html#a69c49e2968abb235a6c7148cb05b0e64',1,'trick::get_trump_color()'],['../classgame__state.html#abdf6c5116ed643773d676c90a05e6fe4',1,'game_state::get_trump_color()']]], ['get_5fvalue_33',['get_value',['../classcard.html#a2baf8dfef09ac8c1a67b34c2e67186c3',1,'card']]], ['get_5fwinner_34',['get_winner',['../classtrick.html#a4b93ae88c17db486d975408cd8cfad1b',1,'trick']]], - ['getmainthreadeventhandler_35',['getMainThreadEventHandler',['../class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16',1,'GameController']]] + ['getmainthreadeventhandler_35',['getMainThreadEventHandler',['../class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16',1,'GameController']]], + ['getplayername_36',['getPlayerName',['../class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071',1,'ConnectionPanel']]], + ['getserveraddress_37',['getServerAddress',['../class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064',1,'ConnectionPanel']]], + ['getserverport_38',['getServerPort',['../class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719',1,'ConnectionPanel']]], + ['gettrickestimate_39',['getTrickEstimate',['../class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c',1,'TrickEstimationPanel']]] ]; diff --git a/html/search/classes_2.js b/html/search/classes_2.js index 0a7cef8664b90442298380b4afdfea3fa6f78fad..2f544a7de01e1ce19489bfad037d5d8d945168dd 100644 --- a/html/search/classes_2.js +++ b/html/search/classes_2.js @@ -1,6 +1,5 @@ var searchData= [ - ['decide_5ftrump_5fcolor_5frequest_0',['decide_trump_color_request',['../classdecide__trump__color__request.html',1,'']]], - ['deck_1',['deck',['../classdeck.html',1,'']]], - ['derived_5ffrom_2',['derived_from',['../structvector__utils_1_1derived__from.html',1,'vector_utils']]] + ['deck_0',['deck',['../classdeck.html',1,'']]], + ['derived_5ffrom_1',['derived_from',['../structvector__utils_1_1derived__from.html',1,'vector_utils']]] ]; diff --git a/html/search/functions_1.js b/html/search/functions_1.js index 4b286c6a29d3c2a33999b7084e8b9433e2e83b3a..4cb2abc826cfd07fc92186b9774d842f94b82b36 100644 --- a/html/search/functions_1.js +++ b/html/search/functions_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['buildgamestate_0',['buildGameState',['../class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3',1,'MainGamePanelWizard']]] + ['buildgamestate_0',['buildGameState',['../class_main_game_panel_wizard.html#a83517cab2cccba78cce79450de3bb7f3',1,'MainGamePanelWizard::buildGameState()'],['../class_trick_estimation_panel.html#a5fce2351ee10c1656c28ed6b79710c99',1,'TrickEstimationPanel::buildGameState()']]] ]; diff --git a/html/search/functions_11.js b/html/search/functions_11.js index 688609a17ecd2657de1d22465b69f6fc6b58314f..169e6d0e95e71bec3f8707660fffca505da4b75c 100644 --- a/html/search/functions_11.js +++ b/html/search/functions_11.js @@ -6,5 +6,6 @@ var searchData= ['_7egame_5fstate_3',['~game_state',['../classgame__state.html#a2fbc370f93617298719f61514afdb5bc',1,'game_state']]], ['_7ehand_4',['~hand',['../classhand.html#af3ffc5e5b46f04b14f12a9fc130b220a',1,'hand']]], ['_7eplayer_5',['~player',['../classplayer.html#a0a62c0208584465db2daa1ac6e15b1ad',1,'player']]], - ['_7etrick_6',['~trick',['../classtrick.html#a22c0b586f1d6c3baeb7bb0e22eb7dfe2',1,'trick']]] + ['_7etrick_6',['~trick',['../classtrick.html#a22c0b586f1d6c3baeb7bb0e22eb7dfe2',1,'trick']]], + ['_7etrickestimationpanel_7',['~TrickEstimationPanel',['../class_trick_estimation_panel.html#aa3747f2eff3ec518e3c1e0f7e882b656',1,'TrickEstimationPanel']]] ]; diff --git a/html/search/functions_2.js b/html/search/functions_2.js index 0dd76f55481694dd21ee57b9fc6f07b9c26dfa8d..25883de5857a45dfc1b1a7d39c5cbdc05626768a 100644 --- a/html/search/functions_2.js +++ b/html/search/functions_2.js @@ -1,5 +1,7 @@ var searchData= [ ['card_0',['card',['../classcard.html#a764d65641c619aedf1842a30e54905b7',1,'card']]], - ['connecttoserver_1',['connectToServer',['../class_game_controller.html#a023da21da545374ee46fb873149976c4',1,'GameController']]] + ['closegamewindow_1',['closeGameWindow',['../class_game_controller.html#a21eea505305d56439efb835e1e148c2f',1,'GameController']]], + ['connectionpanel_2',['ConnectionPanel',['../class_connection_panel.html#abc032283798f168176fc9af6fab9cbca',1,'ConnectionPanel']]], + ['connecttoserver_3',['connectToServer',['../class_game_controller.html#a023da21da545374ee46fb873149976c4',1,'GameController']]] ]; diff --git a/html/search/functions_6.js b/html/search/functions_6.js index c697929f4ffab406329d72f719bbab2a89da8077..3949bdc39cb5fca0f179a4230cd1536e4fc8561a 100644 --- a/html/search/functions_6.js +++ b/html/search/functions_6.js @@ -30,5 +30,9 @@ var searchData= ['get_5ftrump_5fcolor_27',['get_trump_color',['../classtrick.html#a69c49e2968abb235a6c7148cb05b0e64',1,'trick::get_trump_color()'],['../classgame__state.html#abdf6c5116ed643773d676c90a05e6fe4',1,'game_state::get_trump_color()']]], ['get_5fvalue_28',['get_value',['../classcard.html#a2baf8dfef09ac8c1a67b34c2e67186c3',1,'card']]], ['get_5fwinner_29',['get_winner',['../classtrick.html#a4b93ae88c17db486d975408cd8cfad1b',1,'trick']]], - ['getmainthreadeventhandler_30',['getMainThreadEventHandler',['../class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16',1,'GameController']]] + ['getmainthreadeventhandler_30',['getMainThreadEventHandler',['../class_game_controller.html#abec8c73ea01e4b7e01b2ca1d932e0c16',1,'GameController']]], + ['getplayername_31',['getPlayerName',['../class_connection_panel.html#a166e8404b755b5bdf719356b8bd07071',1,'ConnectionPanel']]], + ['getserveraddress_32',['getServerAddress',['../class_connection_panel.html#aae98ee379bc9ba0ad2b41793658b8064',1,'ConnectionPanel']]], + ['getserverport_33',['getServerPort',['../class_connection_panel.html#ab0dc7af0934d4184aa04d220e0bd9719',1,'ConnectionPanel']]], + ['gettrickestimate_34',['getTrickEstimate',['../class_trick_estimation_panel.html#a7ebe75adf21a2bc63bc084b98d836f7c',1,'TrickEstimationPanel']]] ]; diff --git a/html/search/functions_e.js b/html/search/functions_e.js index 06eb3296c3da0735ee5b59f5d0586762507b3f40..e523fa5738f7b5fc6fd7bdf49bf08336f5cc0b54 100644 --- a/html/search/functions_e.js +++ b/html/search/functions_e.js @@ -1,7 +1,8 @@ var searchData= [ ['trick_0',['trick',['../classtrick.html#a3b0a12789b87d15d9cdc4e5b6f85b47d',1,'trick::trick()'],['../classtrick.html#ad55ad2f0462144ee39c0e6d392543a14',1,'trick::trick(const trick &other)'],['../classtrick.html#abb172ad9a476e96a754eea0c33e1eda9',1,'trick::trick(const std::string &id)'],['../classtrick.html#ab756ba7a19c4bf98f0d8456ad0081fc3',1,'trick::trick(const std::string &id, const std::vector< std::pair< card *, player * > > &cards, serializable_value< int > *trick_color, serializable_value< int > *trump_color)'],['../classtrick.html#a3ecb1c5ebe84a300d7388e2846737fa4',1,'trick::trick(int trump)']]], - ['try_5fadd_5fplayer_1',['try_add_player',['../classgame__instance.html#a1176ce8464586487f9ae5676ca900e10',1,'game_instance']]], - ['try_5fget_5fcard_2',['try_get_card',['../classhand.html#a0a50cbbb167e6a1d633dd48bc4b695fe',1,'hand']]], - ['try_5fremove_5fplayer_3',['try_remove_player',['../classgame__instance.html#a2c6fed45a14273b09a9f202481fa62aa',1,'game_instance']]] + ['trickestimationpanel_1',['TrickEstimationPanel',['../class_trick_estimation_panel.html#afd077148509843e32e7acbe2331b3ab5',1,'TrickEstimationPanel']]], + ['try_5fadd_5fplayer_2',['try_add_player',['../classgame__instance.html#a1176ce8464586487f9ae5676ca900e10',1,'game_instance']]], + ['try_5fget_5fcard_3',['try_get_card',['../classhand.html#a0a50cbbb167e6a1d633dd48bc4b695fe',1,'hand']]], + ['try_5fremove_5fplayer_4',['try_remove_player',['../classgame__instance.html#a2c6fed45a14273b09a9f202481fa62aa',1,'game_instance']]] ]; diff --git a/html/start__game__request_8h_source.html b/html/start__game__request_8h_source.html index b4da719df27849ae59fd764bb5e2a3d9f1b2f8c5..6b245e8fcaa5976589802637e5f46f86216ea920 100644 --- a/html/start__game__request_8h_source.html +++ b/html/start__game__request_8h_source.html @@ -122,9 +122,9 @@ $(function(){ initResizable(false); }); </div> <div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div> <div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="preprocessor">#endif </span><span class="comment">//WIZARD_START_GAME_REQUEST_H</span></div> -<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:30</div></div> +<div class="ttc" id="aclassclient__request_html"><div class="ttname"><a href="classclient__request.html">client_request</a></div><div class="ttdef"><b>Definition</b> client_request.h:29</div></div> <div class="ttc" id="aclassstart__game__request_html"><div class="ttname"><a href="classstart__game__request.html">start_game_request</a></div><div class="ttdef"><b>Definition</b> start_game_request.h:13</div></div> -<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:33</div></div> +<div class="ttc" id="astructclient__request_1_1base__class__properties_html"><div class="ttname"><a href="structclient__request_1_1base__class__properties.html">client_request::base_class_properties</a></div><div class="ttdef"><b>Definition</b> client_request.h:32</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> diff --git a/src/client/GameController.cpp b/src/client/GameController.cpp index 5e48993983c88e7a6eb5bdfd7044ef2b1c771c8f..e3d51346e5e139ebdc4a79c0ce408965db031dca 100644 --- a/src/client/GameController.cpp +++ b/src/client/GameController.cpp @@ -278,6 +278,8 @@ void GameController::showGameOverMessage() { return a->get_scores().back()->get_value() > b->get_scores().back()->get_value(); }); + int max_score = players.front()->get_scores().back()->get_value(); + // list all players for(int i = 0; i < players.size(); i++) { @@ -289,12 +291,16 @@ void GameController::showGameOverMessage() { if(i == 0) { winnerText = " Winner!"; } + else if(players[i]->get_scores().back()->get_value() == max_score) + { + winnerText = " Winner!"; + } std::string playerName = playerState->get_player_name(); if(playerState->get_id() == GameController::_me->get_id()) { playerName = "You"; - if(i == 0) { + if(i == 0 || players[i]->get_scores().back()->get_value() == max_score) { winnerText = " You won!!!"; } }