small cleanup of unused variables and functions which Ivanovic found
This commit is contained in:
parent
159ae78e11
commit
badabe330f
4 changed files with 0 additions and 11 deletions
|
@ -2205,14 +2205,6 @@ static bool filter_loc_impl(const gamemap::location& loc, const std::string& xlo
|
|||
return loc.matches_range(xloc, yloc);
|
||||
}
|
||||
|
||||
static bool filter_loc(const gamemap::location& loc, const vconfig cfg)
|
||||
{
|
||||
const std::string xloc = cfg["x"];
|
||||
const std::string yloc = cfg["y"];
|
||||
|
||||
return filter_loc_impl(loc,xloc,yloc);
|
||||
}
|
||||
|
||||
static bool process_event(event_handler& handler, const queued_event& ev)
|
||||
{
|
||||
if(handler.disabled())
|
||||
|
|
|
@ -79,7 +79,6 @@ struct _TCPsocket {
|
|||
IPaddress localAddress;
|
||||
int sflag;
|
||||
};
|
||||
unsigned int buf_id = 0;
|
||||
unsigned int waiting_threads = 0;
|
||||
size_t min_threads = 0;
|
||||
size_t max_threads = 0;
|
||||
|
|
|
@ -48,7 +48,6 @@ namespace {
|
|||
|
||||
bool mix_ok = false;
|
||||
unsigned music_start_time = 0;
|
||||
unsigned bell_volume;
|
||||
|
||||
const size_t n_of_channels = 16; // number of allocated channels
|
||||
const size_t bell_channel = 0;
|
||||
|
|
|
@ -56,7 +56,6 @@ std::vector<tooltip>::const_iterator current_tooltip = tips.end();
|
|||
|
||||
int tooltip_handle = 0;
|
||||
|
||||
SDL_Rect current_rect;
|
||||
surface current_background = NULL;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue