Commit Graph
292 Commits
Author SHA1 Message Date
floty 7798bd0f37 delete unused variable "myWinnerState" in player 2011-10-29 16:21:29 +00:00
floty bb3fb9e13c delete unused function "getMyWinnerState"; activate Engine-Action-Log in localHand; run astyle 2011-10-29 14:41:17 +00:00
lotodore 024f10328a Making cppcheck happier. 2011-10-27 20:14:48 +00:00
floty 7f13da91e5 applying astyle 2011-10-26 22:29:47 +00:00
floty f1dc2e90a5 - rename lastPlayersTurn -> previousPlayerID and lastActionPlayer -> lastActionPlayerID 2011-10-26 19:34:57 +00:00
floty fb01a698d5 - some changes in sqlite logging
- replace myAction-int by PlayerAction in player-object
2011-10-24 20:44:22 +00:00
floty ad4aace71d - some changes in sqlite logging
- replace beroID-int by GameState in hand
2011-10-22 23:57:02 +00:00
floty a958c4916e some changes in hole cards logging 2011-10-22 14:00:33 +00:00
floty 8ae7db3e96 - updating sqlite-log
- handID in bero is unnecessary; removing parameter value
2011-10-21 00:16:43 +00:00
lotodore 32843b2100 Use boost::random for random number generation. 2011-10-11 15:15:22 +00:00
lotodore d6ab25d816 Trying to make rejoin work, still broken due to change of unique id during game. 2011-09-28 20:20:08 +00:00
lotodore 32ba77709e More work on rejoin: The server now detects when a rejoin is possible and allows the player to login directly, without waiting for a possible existing connection to be terminated. A session GUID is stored in the cache directory on client side for this purpose. 2011-08-28 17:14:03 +00:00
floty 8c61403fb5 Switching license from GPL2 to AGPL3. 2011-07-03 22:27:36 +00:00
floty 0b6ab97d26 sqlite-log: logging hole cards 2011-03-25 01:17:56 +00:00
floty 6ccd1d0d0e sqlite-log: transmitting some functions to cardsValue for logging hole cards 2011-03-20 22:16:57 +00:00
lotodore 5857f07309 Remove reference to network session from player objects. 2011-03-10 19:26:04 +00:00
lotodore 4ec5f4eae9 Removing dependency to gnutls, only gcrypt is required now. 2011-03-08 18:42:57 +00:00
floty e74d0fbf47 implementing pair for level-list 2011-03-06 15:22:13 +00:00
lotodore 5144690bee Hacking around memory leak. 2011-03-01 09:07:39 +00:00
lotodore 6f290be894 Removing several unnecessary allocations. 2011-02-28 22:05:44 +00:00
lotodore 2cd2ac57ca Fixing cppcheck issue and compiler warning. 2011-02-28 18:29:57 +00:00
lotodore b78dc5af75 Making list iterator standard conforming. 2011-02-28 17:12:55 +00:00
lotodore 3b3ca6339e Cosmetic changes. 2011-02-27 22:05:15 +00:00
lotodore 9e425136f1 Adding new types of random number generators: 1. shuffle a list non-deterministic (not the default shuffle) 2. get random numbers of a range 3. get random numbers of a range, without duplicates (the latest based on floty's idea). Note that the existing random number works quite well, the new approach uses boost::random and is more flexible if other distributions are needed for the AI.
The code is currently disabled due to link problems on debian/ubuntu (boost::random seems to be missing there).
2011-02-27 21:54:43 +00:00
floty 9c2dc64fbd sqlite-log: deleting unused parameters and implementing logging board cards 2011-02-27 16:34:39 +00:00
floty 1f833d106a sqlite-log: implementing action logging 2011-02-27 00:03:39 +00:00
lotodore 63b28d7167 Running astyle. 2011-02-26 10:09:45 +00:00
floty e17b5fa74e sqlite-log: complete new hand log 2011-02-25 21:21:36 +00:00
lotodore 02518c67b2 Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
2011-02-11 20:02:08 +00:00
lotodore 4032bf48a2 Fixing cppcheck "Prefer prefix ++/-- operators for non-primitive types." issues. 2011-02-09 14:33:39 +00:00
lotodore f4eb7221e3 Fixing more cppcheck issues. 2011-02-08 12:10:39 +00:00
lotodore 2a7456998a Improve thread safety. 2011-01-12 23:35:45 +00:00
floty a2d0272ed3 remove board-pointer from player 2011-01-12 22:33:03 +00:00
lotodore 3974e7cac5 More shared_ptr in engine to prevent race conditions when accessing client engine from gui. Still incomplete. 2011-01-09 14:16:20 +00:00
floty f84e629f17 remove hand-object from board 2011-01-06 22:00:52 +00:00
lotodore 6952ad8a70 Some header file changes. 2011-01-03 20:23:34 +00:00
floty a0f91b04c7 putting log from local_engine to engine; implementing hand-logging 2010-12-30 01:57:23 +00:00
floty 121575caa5 sqlite-logging: include log in pokerth_lib; new function for game-logging 2010-12-28 23:01:39 +00:00
floty 29e16e3489 create log in session; put some include from header to cpp 2010-12-20 20:30:12 +00:00
floty 0e46188ff3 some bugfixes in Log and guiLog 2010-12-18 23:10:10 +00:00
floty 4f89969bd3 implementing first function in new log.cpp 2010-12-17 23:18:30 +00:00
floty 4e2a989031 bugfix guilog, adding new log in local_engine 2010-12-15 23:01:10 +00:00
floty a1837a43f6 initialize some variables in constructor 2010-11-01 21:12:29 +00:00
lotodore edad47b7f4 Making cppcheck even happier. 2010-10-28 08:04:36 +00:00
floty 3141743430 delete no longer required "playersTurn" 2010-09-29 20:56:38 +00:00
floty 377f6dde6e active sqlite-log with symbol constant 2010-09-29 17:43:49 +00:00
floty 9dfe3dc344 bugfix deadlock when computer player are going all in with their raise 2010-09-22 21:26:57 +00:00
floty cefe5b9240 bugfix full bet rule 2010-09-08 19:21:15 +00:00
lotodore 6464700d94 AFK players are now kicked from ranking games after some timeouts if they do not enable autocheck/fold. 2010-09-05 14:33:34 +00:00
floty 03be7c2f16 localboard without 'cout' 2010-09-04 23:41:13 +00:00