Commit Graph
199 Commits
Author SHA1 Message Date
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 a85ec4ee5a Players can now join and leave as they wish. Still TODO: Need to fix player number. 2007-05-06 23:27:08 +00:00
doitux c3e102f745 new connected player list in waitforservertostartgame 2007-05-06 21:15:43 +00:00
doitux 9a717fb0c2 fixes 20/40 bug 2007-05-03 22:44:08 +00:00
doitux d7e2bf9a2e 2007-05-02 22:46:29 +00:00
doitux 1413961624 2007-05-02 21:51:02 +00:00
lotodore f6fb29b883 GUI initialization now called by session. 2007-05-02 21:20:54 +00:00
doitux 0c45c62189 2007-05-02 10:32:19 +00:00
doitux 5e3e73789d blinking start-stop button 2007-05-01 22:51:10 +00:00
doitux 89a4e06edf 2007-05-01 21:14:46 +00:00
doitux b9e1df25fc some mac hints 2007-04-30 23:14:30 +00:00
floty 8aeba9c16f bugfix PositionArray 2007-04-30 11:56:31 +00:00
doitux 44fb72fd8e some bugfixes --> see changelog 2007-04-29 18:48:20 +00:00
lotodore da2939a7a8 Error messages are shown when joining a network game fails. Still need to handle players which left and kicking players. 2007-04-28 13:07:06 +00:00
lotodore e0bc14282f Now using int as parameters for the signal/slot method. This needs to be fixed some time... 2007-04-27 22:55:19 +00:00
lotodore 73a5117066 Configuration is transferred. A new game should be started on client side, but signal/slot is not working yet. Oh well. 2007-04-27 21:35:18 +00:00
lotodore 29b6050ee1 Game configuration now placed in a struct. Prepared to send/receive game configuration over tcp. 2007-04-26 23:07:08 +00:00
lotodore e202a83fbc Fixed bug: "hands before raise" is now taken from dialog. Removed config from game.cpp for networking. 2007-04-26 21:11:13 +00:00
doitux 6230dc8581 utf8 for logdir and datadir xml stream 2007-04-21 20:42:50 +00:00
lotodore a8cce94d3b Back to rev. 347 2007-04-20 23:14:08 +00:00
doitux 5437f91315 2007-04-20 08:18:18 +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
lotodore 07a0e01620 Added callback to display player names of connected players. 2007-04-08 20:35:42 +00:00
doitux 9696201cf8 2007-04-03 22:36:17 +00:00
doitux b79a3a8e43 2007-04-03 10:55:16 +00:00
doitux 2a4d935827 add windowicon 2007-03-31 09:17:37 +00:00
doitux 745d244151 tschakkaaaaaaaaaa 2007-03-31 00:04:36 +00:00
doitux c223328738 2007-03-30 21:09:05 +00:00
doitux fd741792df 2007-03-30 12:47:41 +00:00
doitux a00e3cde42 gui freeze 2007-03-30 12:44:16 +00:00
doitux 1c7f572fbf 2007-03-29 22:58:04 +00:00
doitux c1f7a257f1 2007-03-29 00:15:43 +00:00
doitux db54e45739 2007-03-28 17:44:22 +00:00
doitux 4a9274f483 2007-03-28 10:21:51 +00:00
doitux 91391eed5c 2007-03-27 21:36:56 +00:00
doitux adb86aa931 2007-03-27 16:02:23 +00:00
doitux 9ddb4e24da 2007-03-26 00:12:35 +00:00
doitux 25fb7a68f9 2007-03-23 21:45:30 +00:00
doitux a64ca62476 gamespeed bug 2007-03-23 20:02:48 +00:00
doitux a0cd981dcb 2007-03-21 00:59:05 +00:00
doitux fd58b87316 2007-03-21 00:41:29 +00:00
lotodore 62e72617ba When creating a network game, a client is also started.
Network errors are handled globally.
Fixed last network thread issue by using a notification queue, should work fine now.
2007-03-20 14:05:16 +00:00
lotodore ef10602d5c Initial handshake and network game start. Works with multiple clients. Not yet stable, because it is not thread-safe. GUI callbacks not complete yet (server dialog not updated). 2007-03-20 02:20:50 +00:00
doitux 5f7ff8ca54 2007-03-20 00:42:12 +00:00
doitux be37505d94 2007-03-20 00:41:39 +00:00
doitux 5b90442470 2007-03-17 14:58:12 +00:00
doitux 4d5e9dba18 2007-03-17 12:02:28 +00:00
doitux bce36dfc28 2007-03-14 09:02:41 +00:00
lotodore f5289a6fcf Added helper class for receiving data. Modified sender thread to support sending partial packets. Prepared abstractions for server state machine. 2007-03-13 02:23:12 +00:00