Commit Graph
305 Commits
Author SHA1 Message Date
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 024258e41c More cppcheck fixes. 2011-02-09 15:01:07 +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 5f3cb7aa9c Correcting leak fix. 2011-02-08 09:26:55 +00:00
lotodore 84afa5d02b Fixing memory leaks (in currently unused code). 2011-02-08 09:17:50 +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 924d6a38b7 remove configFile from Log 2011-01-03 17:56:06 +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
floty 0380ae0ced bugfix: playerNeedToShowCards-List for all in situations 2010-09-04 23:30:55 +00:00
lotodore cc897745c4 Send list of cards which need to be shown instead of all cards of non-fold players. 2010-07-23 15:55:52 +00:00
floty 7f3e3f6dfd delete some bug for determining the list of player who have to show their cards. additionally the lastActionPlayer is now determined correctly (especially in every betting roud) 2010-07-22 21:17:22 +00:00
floty aae32164ff detemine player who need to show their cards at the end of the hand. this version is possibly buggy, because its tested marginal. additionally the lastActionPlayer is determined not correctly so far. 2010-07-22 06:03:11 +00:00
lotodore 3acaf0ce5a Return winner list as need to show cards for now. 2010-07-17 21:14:32 +00:00
lotodore 0a15afacbb Let the server send cards on request of the corresponding user. 2010-07-17 21:11:12 +00:00
doitux 96fa7c642c show cards button gui action hopefully implemented ;-) 2010-07-16 09:13:43 +00:00
floty 756e92aeab implement frame for list of player who need to show their cards at the end of the hand 2010-07-15 22:37:46 +00:00
doitux b34dcdc597 fix Qt Database error message when close the app 2010-07-13 19:13:38 +00:00