Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Functions
lobby_view.cpp File Reference
#include "lobby_view.h"
#include "render_window.h"
#include "screen_coordinate.h"
#include "draw.h"
#include "draw_board.h"
#include "board_layout.h"
#include "lobby_options.h"
#include "game_options.h"
#include "game_resources.h"
#include "sfml_helper.h"
#include <cassert>
#include <cmath>
#include <iostream>
Include dependency graph for lobby_view.cpp:

Functions

void draw_color_panel (lobby_view &v, const side player_side)
 Show the side/color the players have picked.
 
void draw_countdown (lobby_view &v, const int n_left_secs)
 Show the countdown.
 
void draw_race_panel (lobby_view &v, const side player_side)
 Show the races the players have picked.
 
void draw_background (lobby_view &v)
 The background image.
 
void draw_king_portrait (lobby_view &v, const side player_side)
 Show the portraits of the kings of the race the players use.
 
void draw_layout_panels (lobby_view &v)
 Show where the panels will be drawn.
 
void draw_selected_panel (lobby_view &v, const side player_side)
 Draw the cursor on the selected panel.
 
void draw_ready_panel (lobby_view &v, const side player_side)
 Show if the players are ready.
 
void draw_lobby_title (lobby_view &v)
 The image at the top.
 

Function Documentation

◆ draw_background()

void draw_background ( lobby_view v)

The background image.

◆ draw_color_panel()

void draw_color_panel ( lobby_view v,
const side  player_side 
)

Show the side/color the players have picked.

◆ draw_countdown()

void draw_countdown ( lobby_view v,
const int  n_left_secs 
)

Show the countdown.

◆ draw_king_portrait()

void draw_king_portrait ( lobby_view v,
const side  player_side 
)

Show the portraits of the kings of the race the players use.

◆ draw_layout_panels()

void draw_layout_panels ( lobby_view v)

Show where the panels will be drawn.

◆ draw_lobby_title()

void draw_lobby_title ( lobby_view v)

The image at the top.

◆ draw_race_panel()

void draw_race_panel ( lobby_view v,
const side  player_side 
)

Show the races the players have picked.

◆ draw_ready_panel()

void draw_ready_panel ( lobby_view v,
const side  player_side 
)

Show if the players are ready.

◆ draw_selected_panel()

void draw_selected_panel ( lobby_view v,
const side  player_side 
)

Draw the cursor on the selected panel.