Commit Graph
65 Commits
Author SHA1 Message Date
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
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
lotodore e19f6c7471 Rewrote the code which handles leaving of players during the network game. Some bug is still remaining. 2007-06-15 10:38:41 +00:00
lotodore 5af91f4ea2 Winning a game is now logged. 2007-06-11 20:35:12 +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 9a59e688e6 Logging in network games should work now. 2007-06-07 18:41:11 +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
doitux ffbe8ac924 add logPlayerLeftMsg() 2007-06-04 07:43:44 +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 ccb339be04 highlightRoundLabel --> refreshGameLabels 2007-05-29 18:37:49 +00:00
doitux fbfd9eb96a playerbuttons hand after get incative bugfix
logDealBoardCards now in engine
2007-05-26 19:28:34 +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
lotodore 13a731e041 Chat messages are now working. 2007-05-25 16:03:12 +00:00
doitux 2333079b13 add chat functions 2007-05-25 00:09:51 +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
lotodore 5f033730da Restructured network server. 2007-05-14 21:18:24 +00:00
lotodore 2d894c6a2c Trying to bring life to the server. 2007-05-14 12:40:42 +00:00
lotodore 37bf6e4eb9 Added packet type to start a "Hand". Added generic gui for the server. 2007-05-13 17:50:48 +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
lotodore 7c6337d810 Changes in preparation for the integration of the network server. GUI does not directly know Game and Hand any more, only Session. WARNING: This version crashes due to initialization order problems. 2007-05-11 12:01:13 +00:00
doitux c3e102f745 new connected player list in waitforservertostartgame 2007-05-06 21:15:43 +00:00
doitux d7e2bf9a2e 2007-05-02 22:46:29 +00:00
lotodore f6fb29b883 GUI initialization now called by session. 2007-05-02 21:20:54 +00:00
lotodore e0bc14282f Now using int as parameters for the signal/slot method. This needs to be fixed some time... 2007-04-27 22:55:19 +00:00
lotodore 73a5117066 Configuration is transferred. A new game should be started on client side, but signal/slot is not working yet. Oh well. 2007-04-27 21:35:18 +00:00
doitux 6230dc8581 utf8 for logdir and datadir xml stream 2007-04-21 20:42:50 +00:00
lotodore a8cce94d3b Back to rev. 347 2007-04-20 23:14:08 +00:00
doitux 2b94ce958f path to UTF8
configfile split
2007-04-18 00:11:24 +00:00
lotodore 27cd08ccb0 Maximum number of players is now a constant in game_defs.h. 2007-04-17 07:28:32 +00:00
doitux cd37f783ef 2007-04-13 21:54:26 +00:00
lotodore 07a0e01620 Added callback to display player names of connected players. 2007-04-08 20:35:42 +00:00
doitux e89b543a92 stringToUtf8 added in guiinterface 2007-04-08 16:46:50 +00:00
doitux 1c7f572fbf 2007-03-29 22:58:04 +00:00
doitux 84bac69ed8 2007-03-26 00:12:56 +00:00
lotodore ef10602d5c Initial handshake and network game start. Works with multiple clients. Not yet stable, because it is not thread-safe. GUI callbacks not complete yet (server dialog not updated). 2007-03-20 02:20:50 +00:00
lotodore f5289a6fcf Added helper class for receiving data. Modified sender thread to support sending partial packets. Prepared abstractions for server state machine. 2007-03-13 02:23:12 +00:00
doitux ab0be3910f cleaned 2007-02-18 23:06:17 +00:00
doitux 7c5d8a3b44 2007-02-18 21:06:21 +00:00
lotodore 4e40f11f90 Made the callback work. Updated error messages. 2007-02-18 19:16:34 +00:00
lotodore 36270e4b88 Fixed gui wrapper. Fixed client data compiler errors. 2007-02-18 15:13:55 +00:00
lotodore a4eefbe18b ClientThread is now created in Session. 2007-02-18 13:45:56 +00:00
doitux 4e69e4d7e6 2007-02-18 00:51:40 +00:00