Commit Graph
54 Commits
Author SHA1 Message Date
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 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 f886ebda86 Removed iostream includes, as they slow down compilation. 2007-06-07 19:37:35 +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
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 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 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
lotodore 496261de7b Changes for Win98 support. 2007-04-13 22:10:55 +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
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
lotodore 4e40f11f90 Made the callback work. Updated error messages. 2007-02-18 19:16:34 +00:00
lotodore a4eefbe18b ClientThread is now created in Session. 2007-02-18 13:45:56 +00:00
doitux 6eb192f846 2007-02-17 23:27:33 +00:00
doitux af6c4dc235 2007-02-17 23:18:34 +00:00
doitux 206a47922f new functions in gui-interface for connectToServerDialogImpl 2007-02-17 20:01:20 +00:00
doitux a7fa1b03e7 2007-02-04 13:46:27 +00:00
doitux ff6c1e5cbd 2007-02-04 00:34:44 +00:00
doitux a36e212577 2007-01-31 22:48:44 +00:00
doitux 973dd79ac8 2007-01-31 21:43:33 +00:00
doitux 48019eaa63 flip holcards when all active players all in 2007-01-29 09:11:44 +00:00
doitux e67c72e010 2007-01-22 22:25:58 +00:00