Commit Graph
84 Commits
Author SHA1 Message Date
lotodore 9d0edc5eee Major redesign: The game can not be left without disconnecting from the server. This happens if a player is kicked, if he wishes to leave, or for other reasons. Error packets from the server will always cause a disconnect, however.
If joining a game fails, there is a proper failure packet now.
2007-09-06 19:09:05 +00:00
lotodore 9ed217609b Internet game lobby dialog shows now overview of games and whether they are private. Now showing connection progress before the internet game lobby. 2007-09-04 12:44:11 +00:00
lotodore bd53403752 Major redesign: Using game ids and player ids in gui (associated with tree view items).
Player list of all network games is now dynamically updated in lobby (no polling, server sends events).
2007-09-02 16:36:52 +00:00
doitux 1e20e202e0 2007-08-29 19:27:12 +00:00
doitux a79aa7708d 2007-08-28 01:10:41 +00:00
lotodore 56b24e09eb Major design change in network protocol: Player information is now requested by clients whenever it is needed. The server only sends player ids. The client has a cache with player information. 2007-08-26 22:41:37 +00:00
lotodore 839a4f7112 More steps towards supporting multiple games per server. Player rights still broken, so starting the game is not possible. Games are not yet terminated after all players have left. 2007-08-21 12:34:33 +00:00
doitux 23963e4ac5 add GameLobbyDialog 2007-08-20 21:23:03 +00:00
doitux 260182f570 start anti-peek feature 2007-08-19 12:33:24 +00:00
doitux 851cce3e45 refactoring Bugfix 2007-08-11 14:36:20 +00:00
doitux c34f683c41 BeRo refactoring 2007-08-07 13:07:39 +00:00
doitux 2f76bb82f9 BeRo refactoring 2007-08-07 00:05:29 +00:00
doitux 562e8760f5 waitforservertostartgamedialog removed 2007-08-06 12:10:55 +00:00
lotodore 0da29b3874 The console server can now be fully used for a single game. The first player to join the game is admin, he can start the game and kick players.
However, if the admin player leaves, a new game can only be started if all players have left before (this is a bug, admin status should be passed to another player).
2007-08-02 20:52:13 +00:00
eflist 7c8d65ca1c some changes for better integration on the mac-plattform 2007-06-24 23:01:16 +00:00
lotodore 5c63a12104 All sounds are now only played if sound output is on (even the ping in network game). Audio is only initialized if it is enabled. Fixed double sounds in network games. Simplified fading out cards on fold. 2007-06-16 09:48:23 +00:00
doitux 4bfe82d214 signalFadeOutHumanPlayerCards() 2007-06-15 21:46:02 +00:00
doitux 9b766c26c8 notification-sound for "its your turn" in online game 2007-06-15 03:15:27 +00:00
lotodore baf2c82864 Added new packet type as end of game notification. Now displaying dialogs at end of game, to start a new game. Server errors are displayed. 2007-06-10 23:28:25 +00:00
lotodore b624714f5d Resetting cards value on client side each hand. Added GUI synchronization function. Fixed update of pot when all but one fold. Reset sets on end of hand. 2007-06-10 12:46:29 +00:00
lotodore db4aea3f78 Automatic action when for player timeout. First try, not finished yet. 2007-06-08 22:14:05 +00:00
lotodore 9a29830532 Player action timeout - display is working, function still missing. 2007-06-07 23:24:22 +00:00
lotodore f886ebda86 Removed iostream includes, as they slow down compilation. 2007-06-07 19:37:35 +00:00
lotodore 05a86be4fe Delay after showing cards when all in condition is true. Added option TCP_NODELAY. Round is now shown before dealing cards. 2007-06-07 14:06:22 +00:00
lotodore 686c028b38 Server errors are now shown. 2007-06-04 17:04:03 +00:00
lotodore 1fcb0c80fd Fixed init gui in networking (is now thread safe). Fixed displaying of game/hand number for network games. 2007-06-03 13:36:24 +00:00
doitux 916d2fa208 2007-06-01 22:49:37 +00:00
doitux 68a3abdc75 sound free? 2007-05-31 07:46:19 +00:00
doitux 830e7dc6ee hopefully fix blocking soundcards bug ;) 2007-05-30 22:03:40 +00:00
doitux a79e69aad3 optional "play sound effects"
optional "timeout for player action"
2007-05-30 08:05:53 +00:00
doitux 1f70aeeefe timoutcallback to mainwindow 2007-05-30 07:21:24 +00:00
doitux ba82acbd06 add timeoutanimation for network player actions 2007-05-29 21:31:30 +00:00
doitux ccb339be04 highlightRoundLabel --> refreshGameLabels 2007-05-29 18:37:49 +00:00
doitux bc63661d96 add sound-system SDL_mixer 2007-05-29 12:22:05 +00:00
doitux 61e2131470 add changeHumanPlayerNameDialog 2007-05-28 19:56:57 +00:00
doitux 0e1abc3656 2007-05-28 18:48:12 +00:00
lotodore 5cb5509dec Networking should mostly be working now. Some small issues concerning the display of pot/sets, and some delays are still needed. 2007-05-26 17:06:03 +00:00
doitux 9c2d3a9723 logging playerAction in engine now 2007-05-26 12:40:45 +00:00
doitux a6ea197a43 set chatinput maximum 2007-05-25 17:57:03 +00:00
doitux 654ce481ca chat-blinking if invisible and message received 2007-05-25 10:49:26 +00:00
doitux 2333079b13 add chat functions 2007-05-25 00:09:51 +00:00
lotodore 5431f0b93a Network: First round seems to work fine now. Pot/sets not yet displayed correctly. 2007-05-24 20:26:23 +00:00
doitux 73626eb40d avatar gallery started 2007-05-23 10:19:10 +00:00
lotodore 4a53678291 Client engine factory needs to be free of configuration file (configuration provided by server). Separated specific start data from general game data. Sending client game object to GUI after creation. Client thread now manages player and game data. 2007-05-20 00:16:29 +00:00
lotodore e7b31f2d44 All gui calls through guiwrapper are now thread safe. 2007-05-18 23:16:54 +00:00
lotodore b773c30ae0 Start position of dealer is now set via network. Added files for network client engine. Added factory code. 2007-05-18 17:13:27 +00:00
doitux bc146c8899 closeevent fix 2007-05-14 13:01:16 +00:00
lotodore 2d894c6a2c Trying to bring life to the server. 2007-05-14 12:40:42 +00:00
doitux 8ad92920cc one ConfigFile for all
killed the tinyxml warnings
2007-05-13 12:35:27 +00:00
lotodore 6fbef0af20 Two step initialization for engine. First step: Create and initialize objects (constructor). Second step: Start the engine, update the UI. 2007-05-12 22:00:59 +00:00