Commit Graph
355 Commits
Author SHA1 Message Date
lotodore 07dc39d107 Client engine should now be completely thread safe. const int& -> int. Player CardsValue is now returned as copy, not the array itself. 2007-06-11 17:48:22 +00:00
doitux 2a346c91fa fold for human player display in network game 2007-06-11 05:59:59 +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
doitux f6673698a5 comment fix 2007-06-09 10:10:39 +00:00
lotodore 056ae1aa32 Cleaned up some networking code. Total sets are now calculated by the client. 2007-06-08 20:19:21 +00:00
doitux 4b8049e9dd bugfix 2007-06-08 19:37:21 +00:00
lotodore f886ebda86 Removed iostream includes, as they slow down compilation. 2007-06-07 19:37:35 +00:00
lotodore ee76f454bd Linefeeds. 2007-06-07 18:52:58 +00:00
lotodore 9a59e688e6 Logging in network games should work now. 2007-06-07 18:41:11 +00:00
lotodore a4944ce34f Linefeeds. 2007-06-07 16:19:51 +00:00
lotodore 48c7a27145 Pot and total sets are now displayed correctly. 2007-06-07 15:09:51 +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 8a22157cbd First try of showing cards when everybody is all in. 2007-06-06 21:16:52 +00:00
doitux 5cfbda2532 log fix 2007-06-05 21:20:32 +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 2623d43290 2007-06-03 09:26:53 +00:00
doitux f425a7d167 2007-06-03 08:17:33 +00:00
doitux ccb339be04 highlightRoundLabel --> refreshGameLabels 2007-05-29 18:37:49 +00:00
doitux 41b0a0129a logging not longer in mainwindow 2007-05-29 13:15:58 +00:00
lotodore 1232017e3a Fixed running more than the first hand in network games. 2007-05-27 13:24:52 +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
doitux 9c2d3a9723 logging playerAction in engine now 2007-05-26 12:40:45 +00:00
lotodore c5e34fe186 Should be working to play up to river. 2007-05-25 19:53:07 +00:00
lotodore e14d01432c Flop/turn/river cards are now sent in a network game. 2007-05-25 18:28:05 +00:00
lotodore e8d7009106 Fixed GUI refresh. Added calls to setHighestSet. 2007-05-24 23:38:40 +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
lotodore 2556f43340 First try: Transferring client action. 2007-05-23 22:31:56 +00:00
floty f9ad1b6b75 bugfix ID 4 2007-05-23 20:03:10 +00:00
lotodore 2e12f1bc25 Fixed id bug in networking code. Dealer id is now set correctly. Phew. 2007-05-22 23:27:21 +00:00
lotodore 4dd26a3c3a Fixed g++ warnings. Additional client displaying. 2007-05-21 19:52:26 +00:00
lotodore 2ce67297ee Tools - random number function is now static. Fixed player number issue with network games (GUI player number needs to be 0), this still requires some work. 2007-05-21 19:00:06 +00:00
doitux 63b278a88e invisible check in heads up bugfix 2007-05-20 13:03:43 +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 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 a9e2d56b0d bugfix: wrong blinds in heads up 2007-05-18 11:38:37 +00:00
lotodore c160a09811 Some include file optimizations. Fixes for the server. 2007-05-15 20:37:37 +00:00
floty c3fd4dded6 2007-05-14 21:28:05 +00:00
lotodore 5f033730da Restructured network server. 2007-05-14 21:18:24 +00:00
lotodore 7540ea17bd Fixed relationship of network session and player data to be consistent with the game engine. Now sending card's values via network. Fixed net packet checks. 2007-05-13 22:25:59 +00:00
doitux e2d394f576 one ConfigFile for all 2007-05-13 18:17:25 +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
lotodore 4a10d6188c Fixed player counting bug. Fixed player number. Joining/leaving network game should work now. Added player type to localplayer. 2007-05-08 06:45:46 +00:00
floty d90a172577 bugfix PositionArray 2007-04-30 11:53:40 +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
floty 20cb07bddb 2007-04-03 21:07:56 +00:00
floty 734a05cad4 2007-04-03 18:52:33 +00:00