summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* fix bug where server is sending message to wrong clientsReiner Herrmann2011-01-25
|
* added some debug outputReiner Herrmann2011-01-25
|
* sleep seems to be needed :>Reiner Herrmann2011-01-25
|
* sleep doesn't seem to be requiredReiner Herrmann2011-01-25
|
* update stacks in ui after placing cards / selecting stacksReiner Herrmann2011-01-25
|
* use renamed function card_stack_clearReiner Herrmann2011-01-25
|
* Merge branch 'master' of ssh://icarus-git/~git/oxenReiner Herrmann2011-01-25
|\
| * Added documentation.Mario Kilies2011-01-25
| |
| * Implemented card_stack_push(). Renamed card_stack_clear() to ↵Mario Kilies2011-01-25
| | | | | | | | card_stack_replace() and card_stack_upper_card() to card_stack_top(). Added documentation.
* | finished implementing play_cards function for client/server; added new ↵Reiner Herrmann2011-01-25
|/ | | | message type next_action which indicates whether the game is finished or the server will deal new cards
* Added client side score calculation for players.Mario Kilies2011-01-25
|
* Added 'Choose stack' message.Mario Kilies2011-01-25
|
* forgot to add file in last commit :>Reiner Herrmann2011-01-25
|
* Merge branch 'master' of ssh://icarus-git/~git/oxenReiner Herrmann2011-01-25
|\
| * Message window is now displayed through the client states.Mario Kilies2011-01-25
| |
* | implement part of state_client_play_cards(); added new message type: hello ↵Reiner Herrmann2011-01-25
|/ | | | reply from server which notifies clients of their player-ids
* Implemented the message window.Mario Kilies2011-01-25
|
* Code does compile again.Mario Kilies2011-01-25
|
* Merge branch 'master' of ssh://git@wg.reiner-h.de:22003/~git/oxenMario Kilies2011-01-25
|\
| * corrected server_parse_selected_stack()Reiner Herrmann2011-01-25
| |
* | Minor changes. Renamed global.[ch] to data_store.[ch], data_store to ↵Mario Kilies2011-01-25
|/ | | | data_store_t and datamodel() to data_store().
* Removed awkward pnoc_t and refactored its contents to the new ↵Mario Kilies2011-01-25
| | | | player_list_entry_t.
* Created a mainstack datatype. Refactored server game states into separate ↵Mario Kilies2011-01-25
| | | | functions.
* Refactored client game states into separate functions instead of handling ↵Mario Kilies2011-01-25
| | | | them in a huge switch() statement.
* Being trolled once again by fucking git.Mario Kilies2011-01-25
|
* Minor refactoring of game states.Mario Kilies2011-01-25
|
* Remove chosen card from hand.Mario Kilies2011-01-25
|
* ui_display_wnd_current_state() has now optional highlighting of a player in ↵Mario Kilies2011-01-25
| | | | the table and is able to display '-' if the player has not played an open card (This is used to display the window before the actual gameplay has begun).
* little cleanup; enable interrupts (ctrl-c)Reiner Herrmann2011-01-25
|
* use player count instead of MAX_PLAYERS.Reiner Herrmann2011-01-24
| | | | | | this is allowed because only the first $count elements will be sorted by qsort/pnoc_sort, so only pnocs of valid players will be sorted.
* server: send open cards to clientsReiner Herrmann2011-01-24
| | | | client: receive open cards from clients, sort and display them
* receive and store selected (open) cards from playersReiner Herrmann2011-01-24
|
* Merge branch 'master' of ssh://icarus-git/~git/oxenReiner Herrmann2011-01-24
|\
| * Implemented STATE_CLIENT_SELECT_OPEN_CARD.Mario Kilies2011-01-24
| |
* | add mapping between sockets and pnocsReiner Herrmann2011-01-24
|/
* renamed draw_card to mainstack_remove_cardReiner Herrmann2011-01-24
|
* send hands drawn from mainstack to clientReiner Herrmann2011-01-24
|
* added function for drawing cards from main stack; initialize table stacks ↵Reiner Herrmann2011-01-24
| | | | with drawn cards
* Display stack points window.Mario Kilies2011-01-24
|
* Added game loop termination. Commented out debug messages.Mario Kilies2011-01-24
|
* First attempt to implement STATE_CLIENT_WAIT_FOR_HAND_CARDS.Mario Kilies2011-01-24
|
* Second part of huge refactoring of networking related code.Mario Kilies2011-01-24
|
* Added some consts.Mario Kilies2011-01-24
|
* Huge refactoring of network related code.Mario Kilies2011-01-24
|
* Source code refactoring. Moved net/client/server stuff to 'net' subfolder.Mario Kilies2011-01-24
|
* adapted client_recv_hello to data storeReiner Herrmann2011-01-23
|
* implement function which sends initial stacksReiner Herrmann2011-01-23
|
* added generic net_send function and adapted functions it is usingReiner Herrmann2011-01-23
|
* adapt player_list receive function to data storeReiner Herrmann2011-01-23
|
* started refactoring: separate server process for local client; moved net ↵Reiner Herrmann2011-01-23
| | | | code from main.c to game.c