Commit Graph
337 Commits
Author SHA1 Message Date
lotodore 25ed93f477 Making cppcheck happy. 2011-12-23 17:14:36 +00:00
lotodore 38d224590a Send state of seats at the beginning of each hand. 2011-12-21 20:56:41 +00:00
doitux fb94675aee another way to initialize stayOnTableStatus for player-objects 2011-12-18 22:34:55 +00:00
lotodore 0a8cd1cce4 Implementing automatic kick of players after a certain timeout within a game. 2011-12-16 22:39:24 +00:00
lotodore 1bf12328ee Remove players from game (without possibility to rejoin) if they did not act within a certain time. Feature is still broken, because the timer is canceled on disconnect. 2011-12-11 19:37:51 +00:00
floty d38bd0fef0 establishing new parameter roundBeforePostRiver; deleting needless parameter bettingRoundsPlayed 2011-11-13 16:00:19 +00:00
lotodore edef79e9d1 Disable rejoin for players who have been kicked. 2011-11-13 14:28:54 +00:00
floty 982b6ec686 resolving warnings 2011-11-13 11:55:18 +00:00
floty 2437407ffc optimizing local sqlite-logging; implementing second steps network client sqlite-logging 2011-11-13 01:05:28 +00:00
floty 385a641ede optimizing local sqlite-logging; implementing first steps network client sqlite-logging 2011-11-09 21:39:37 +00:00
lotodore 32d26e3644 Removing AFK-warning message. Preparing integration of a new auto-AFK mode. 2011-11-07 21:07:13 +00:00
floty 6fbb5c9841 running astyle 2011-11-02 18:27:15 +00:00
floty 3352a199fc sqlite-logging at the end of hand/game possible; moving winner/sitOut-logging from gui to engine 2011-11-01 18:03:48 +00:00
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 03083e8ec0 Rejoin works. 2011-10-11 19:18:11 +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
doitux d1e7266501 fix wrong include indents 2011-07-03 19:45:08 +00:00
doitux 29242aa47d Switching license from GPL2 to AGPL3. Translation files update 2011-07-02 23:03:18 +00:00
lotodore 070319da52 Moving game.cpp and game.h to engine folder, because they are part of the engine. 2011-07-02 15:00:47 +00:00
lotodore 0e85294519 Switching license from GPL2 to AGPL3. 2011-07-02 14:57:03 +00:00
floty 7715063fe6 implementing sqlite3_free for error-messages 2011-04-19 19:42:49 +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 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