diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/main.cpp | 15 |
2 files changed, 5 insertions, 15 deletions
@@ -1,3 +1,8 @@ +2005-12-18 Eugenio Favalli <elvenprogrammer@gmail.com> + + * data/maps/new_10-1.tmx.gz, src/main.cpp: Removed unused code and + added changes to snowy map by Bertram. + 2005-12-15 Eugenio Favalli <elvenprogrammer@gmail.com> * src/game.cpp: Fixed setup window behaviour. diff --git a/src/main.cpp b/src/main.cpp index e745e7cd..03e6000f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -316,21 +316,6 @@ void exit_engine() delete logger; } -/** Check to see if a file exists */ -int exists(const std::string &file) -{ - FILE *fp = NULL; - fp = fopen(file.c_str(), "r"); - if (!fp) - { - return false; - } - else { - fclose(fp); - return true; - } -} - struct Options { Options():printHelp(false),skipUpdate(false) {}; |