Commit Graph
46 Commits
Author SHA1 Message Date
lotodore 4a53678291 Client engine factory needs to be free of configuration file (configuration provided by server). Separated specific start data from general game data. Sending client game object to GUI after creation. Client thread now manages player and game data. 2007-05-20 00:16:29 +00:00
lotodore e7b31f2d44 All gui calls through guiwrapper are now thread safe. 2007-05-18 23:16:54 +00:00
lotodore b773c30ae0 Start position of dealer is now set via network. Added files for network client engine. Added factory code. 2007-05-18 17:13:27 +00:00
lotodore 5f033730da Restructured network server. 2007-05-14 21:18:24 +00:00
lotodore 2d894c6a2c Trying to bring life to the server. 2007-05-14 12:40:42 +00:00
lotodore 37bf6e4eb9 Added packet type to start a "Hand". Added generic gui for the server. 2007-05-13 17:50:48 +00:00
doitux 8ad92920cc one ConfigFile for all
killed the tinyxml warnings
2007-05-13 12:35:27 +00:00
lotodore 6fbef0af20 Two step initialization for engine. First step: Create and initialize objects (constructor). Second step: Start the engine, update the UI. 2007-05-12 22:00:59 +00:00
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
doitux c3e102f745 new connected player list in waitforservertostartgame 2007-05-06 21:15:43 +00:00
doitux d7e2bf9a2e 2007-05-02 22:46:29 +00:00
lotodore f6fb29b883 GUI initialization now called by session. 2007-05-02 21:20:54 +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
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 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
doitux cd37f783ef 2007-04-13 21:54:26 +00:00
lotodore 07a0e01620 Added callback to display player names of connected players. 2007-04-08 20:35:42 +00:00
doitux e89b543a92 stringToUtf8 added in guiinterface 2007-04-08 16:46:50 +00:00
doitux 1c7f572fbf 2007-03-29 22:58:04 +00:00
doitux 84bac69ed8 2007-03-26 00:12:56 +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
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
doitux ab0be3910f cleaned 2007-02-18 23:06:17 +00:00
doitux 7c5d8a3b44 2007-02-18 21:06:21 +00:00
lotodore 4e40f11f90 Made the callback work. Updated error messages. 2007-02-18 19:16:34 +00:00
lotodore 36270e4b88 Fixed gui wrapper. Fixed client data compiler errors. 2007-02-18 15:13:55 +00:00
lotodore a4eefbe18b ClientThread is now created in Session. 2007-02-18 13:45:56 +00:00
doitux 4e69e4d7e6 2007-02-18 00:51:40 +00:00
doitux 6eb192f846 2007-02-17 23:27:33 +00:00
doitux af6c4dc235 2007-02-17 23:18:34 +00:00
doitux 206a47922f new functions in gui-interface for connectToServerDialogImpl 2007-02-17 20:01:20 +00:00
doitux a7fa1b03e7 2007-02-04 13:46:27 +00:00
doitux ff6c1e5cbd 2007-02-04 00:34:44 +00:00
doitux a36e212577 2007-01-31 22:48:44 +00:00
doitux 973dd79ac8 2007-01-31 21:43:33 +00:00
doitux 48019eaa63 flip holcards when all active players all in 2007-01-29 09:11:44 +00:00
doitux e67c72e010 2007-01-22 22:25:58 +00:00
doitux 756bca9f02 2007-01-21 22:58:22 +00:00
doitux 019ca62194 2007-01-21 14:20:15 +00:00
doitux e715cde49f playernicks for local game enabled 2007-01-19 19:13:59 +00:00
doitux 34b33a16e7 2007-01-14 13:23:04 +00:00
doitux 507ffdd2a8 2007-01-13 22:29:17 +00:00
doitux 1e8152e97c 2007-01-13 18:55:48 +00:00