Finalize layout
This commit is contained in:
		
							parent
							
								
									2b3dbc5fec
								
							
						
					
					
						commit
						6114c2d5d4
					
				
							
								
								
									
										1
									
								
								card.c
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								card.c
									
									
									
									
									
								
							@ -77,6 +77,7 @@ void order_deck(Hand *h) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void remove_from_hand(Hand *h, Card *c) {
 | 
					void remove_from_hand(Hand *h, Card *c) {
 | 
				
			||||||
 | 
					  c->selected = false;
 | 
				
			||||||
  bool card_found = false;
 | 
					  bool card_found = false;
 | 
				
			||||||
  for (int i = 0; i < h->count - 1; i++) {
 | 
					  for (int i = 0; i < h->count - 1; i++) {
 | 
				
			||||||
    if (h->cards[i] == c) card_found = true;
 | 
					    if (h->cards[i] == c) card_found = true;
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										12
									
								
								game.c
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								game.c
									
									
									
									
									
								
							@ -917,12 +917,12 @@ void draw_frame(Game *g) {
 | 
				
			|||||||
    DrawText(g->field_multiplier->explanation, 60, 445, 20, BLACK);
 | 
					    DrawText(g->field_multiplier->explanation, 60, 445, 20, BLACK);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  DrawText(g->player.points_string, 40, 650, 20, BLACK);
 | 
					  DrawText(g->player.points_string, 1000, 650, 20, BLACK);
 | 
				
			||||||
  DrawText(g->player.teyaku_string, 40, 680, 20, BLACK);
 | 
					  DrawText(g->player.teyaku_string, 1000, 680, 20, BLACK);
 | 
				
			||||||
  DrawText(g->right.points_string, 40, 725, 20, BLACK);
 | 
					  DrawText(g->right.points_string, 1000, 260, 20, BLACK);
 | 
				
			||||||
  DrawText(g->right.teyaku_string, 40, 755, 20, BLACK);
 | 
					  DrawText(g->right.teyaku_string, 1100, 260, 20, BLACK);
 | 
				
			||||||
  DrawText(g->left.points_string, 40, 800, 20, BLACK);
 | 
					  DrawText(g->left.points_string, 200, 260, 20, BLACK);
 | 
				
			||||||
  DrawText(g->left.teyaku_string, 40, 830, 20, BLACK);
 | 
					  DrawText(g->left.teyaku_string, 300, 260, 20, BLACK);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  char round_text[40];
 | 
					  char round_text[40];
 | 
				
			||||||
  if (g->current_round < g->number_of_rounds)
 | 
					  if (g->current_round < g->number_of_rounds)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user