summaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
2010-11-27Fixed minor regression in server.Vegard Storheil Eriksen1-3/+3
2010-11-27Split target type and target offset in Action.Vegard Storheil Eriksen2-6/+15
2010-11-27Removed obsolete files.Vegard Storheil Eriksen3-68/+0
2010-11-27Changed format of RoundState again.Vegard Storheil Eriksen2-19/+28
2010-11-27Added List class to avoid reinventing features in each case.Vegard Storheil Eriksen5-40/+41
2010-11-25Changed contents of Message::RoundState. Made relevant changes to client.Vegard Storheil Eriksen2-6/+23
2010-11-25Added dora-field to RoundState.Vegard Storheil Eriksen2-0/+4
2010-11-25Add invisible-flag to Tile.Vegard Storheil Eriksen1-0/+2
2010-11-25Add get_set() to Tile.Vegard Storheil Eriksen2-1/+46
2010-11-25Add Action() taking type and target and Actions::operator bool().Vegard Storheil Eriksen2-0/+18
2010-11-25Added Tiles::sort().Vegard Storheil Eriksen2-6/+30
2010-11-25Added get_num(), operator==() and operator++() to Tile.Vegard Storheil Eriksen2-0/+26
2010-11-25Action::operator==() should take a reference.Vegard Storheil Eriksen2-2/+2
2010-11-25Remove Action::player and turn Action::target into an int.Vegard Storheil Eriksen1-6/+5
2010-11-25Check for valid action.Vegard Storheil Eriksen2-1/+22
2010-11-24Added error handling around connections.Vegard Storheil Eriksen2-5/+15
2010-11-23Changed the target in action from 2 ints into a vector<int>. Making it ↵Atle Hellvik Havsø1-6/+3
easier to scale when we start with kan and riichi. Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-23Added a second target to Action.Atle Hellvik Havsø1-0/+3
2010-11-22Minor fix to SetAtle Hellvik Havsø1-1/+1
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-22Added a Set class.Atle Hellvik Havsø3-0/+28
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-21Added a empty RoundEnd Message.Atle Hellvik Havsø3-0/+14
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-21Server sends the players id in the game together with the GameStart message.Atle Hellvik Havsø2-0/+3
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-20Minor change with State.Atle Hellvik Havsø2-3/+3
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-20Made the Player class have a ID (That gets set during a game) which they add ↵Atle Hellvik Havsø1-0/+4
to the Action-message. So we can keep track of which player did what action. Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-19Add RoundStart, RoundState and RoundAction messages.Vegard Storheil Eriksen3-0/+83
2010-11-19Add Action and State classes.Vegard Storheil Eriksen2-0/+78
2010-11-19Remove useless Tile(uint16_t) constructor.Vegard Storheil Eriksen2-7/+7
2010-11-19Move Tiles typedef.Vegard Storheil Eriksen1-0/+3
2010-11-16Some commenting for debug. Changed tile-class. Created basic drawHand in table.Ole Daniel Evensen2-10/+6
2010-11-15Changed Tile API.Vegard Storheil Eriksen2-11/+14
2010-11-15Implement server program flow around GameStart.Vegard Storheil Eriksen1-1/+1
2010-11-15Added Message::NullBase and Message::BoostBase. Edited Message::GameStart to ↵Vegard Storheil Eriksen2-22/+83
contain list of players.
2010-11-15Added Message::Ready.Vegard Storheil Eriksen2-0/+22
2010-11-15Added Game-class and GameStart message.Vegard Storheil Eriksen3-0/+26
2010-11-15Minor cleanup.Vegard Storheil Eriksen2-4/+0
2010-11-15Connection API changes.Vegard Storheil Eriksen2-17/+4
2010-11-15Fix bug in Message::LoginResponse::serialize().Vegard Storheil Eriksen1-1/+1
2010-11-15Moved recv_queue from ConnectionBase to client Connection.Vegard Storheil Eriksen2-17/+5
2010-11-15Changed Message-API. Implemented Hello, Login, LoginResponse.Vegard Storheil Eriksen5-127/+190
2010-11-08Started on payload classes.Vegard Storheil Eriksen3-23/+103
2010-11-08Added missing headers.Vegard Storheil Eriksen2-1/+3
2010-11-07Add a temporary payload to messages.Vegard Storheil Eriksen2-4/+21
2010-11-07Add connectionbase destructor printing diagnostic message.Vegard Storheil Eriksen2-3/+6
2010-11-06Added Tile-class.Vegard Storheil Eriksen2-0/+77
2010-11-06Added Message-class, interfaced ConnectionBase to Message.Vegard Storheil Eriksen4-7/+94
2010-11-06First take on abstract ConnectionBase, ASIO listening and connection handling.Vegard Storheil Eriksen2-0/+56