Remove residual function
This commit is contained in:
@@ -98,15 +98,6 @@ short special_to_paste = -1;
|
|||||||
bool monst_on_space(location loc,short m_num);
|
bool monst_on_space(location loc,short m_num);
|
||||||
static bool terrain_matches(unsigned char x, unsigned char y, ter_num_t ter);
|
static bool terrain_matches(unsigned char x, unsigned char y, ter_num_t ter);
|
||||||
|
|
||||||
void init_current_terrain() {
|
|
||||||
// short i,j;
|
|
||||||
// location d_loc(0,0);
|
|
||||||
// rectangle d_rect = {0,0,0,0};
|
|
||||||
// cTown::cWandering d_wan = {0,0,0,0};
|
|
||||||
// cTown::cCreature dummy_creature = {0,0,loc(),0,0,0,0,0,0,0};
|
|
||||||
// //city_ter_rect_type dummy_ter_rect = {{0,0,0,0},0,0};
|
|
||||||
}
|
|
||||||
|
|
||||||
void init_screen_locs() {
|
void init_screen_locs() {
|
||||||
for(short i = 0; i < 4; i++)
|
for(short i = 0; i < 4; i++)
|
||||||
border_rect[i] = terrain_rect;
|
border_rect[i] = terrain_rect;
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
|
|
||||||
#include "scen.global.hpp"
|
#include "scen.global.hpp"
|
||||||
|
|
||||||
void init_current_terrain();
|
|
||||||
void init_screen_locs();
|
void init_screen_locs();
|
||||||
void handle_action(location the_point,sf::Event event);
|
void handle_action(location the_point,sf::Event event);
|
||||||
void flash_rect(rectangle to_flash);
|
void flash_rect(rectangle to_flash);
|
||||||
|
@@ -124,7 +124,6 @@ void init_scened(int argc, char* argv[]) {
|
|||||||
|
|
||||||
set_cursor(watch_curs);
|
set_cursor(watch_curs);
|
||||||
boost::thread init_thread([]() {
|
boost::thread init_thread([]() {
|
||||||
init_current_terrain();
|
|
||||||
check_for_intel();
|
check_for_intel();
|
||||||
srand(time(nullptr));
|
srand(time(nullptr));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user