diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-12-18 16:48:14 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2005-12-18 16:48:14 +0000 |
commit | c35ce879333e5525e4d5075dd04a34cbeb01602d (patch) | |
tree | b8af0fd8abc4ac700773fb35ee8bc86f4029193f | |
parent | 8d4db9bd41eca76fb7a46fe235695f7a50ecd5e9 (diff) | |
download | mana-c35ce879333e5525e4d5075dd04a34cbeb01602d.tar.gz mana-c35ce879333e5525e4d5075dd04a34cbeb01602d.tar.bz2 mana-c35ce879333e5525e4d5075dd04a34cbeb01602d.tar.xz mana-c35ce879333e5525e4d5075dd04a34cbeb01602d.zip |
Removed unused code and added changes to snowy map by Bertram.
-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) {}; |