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 |
|
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 |
|