summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-12-18 16:48:14 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-12-18 16:48:14 +0000
commitc35ce879333e5525e4d5075dd04a34cbeb01602d (patch)
treeb8af0fd8abc4ac700773fb35ee8bc86f4029193f
parent8d4db9bd41eca76fb7a46fe235695f7a50ecd5e9 (diff)
downloadmana-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--ChangeLog5
-rw-r--r--src/main.cpp15
2 files changed, 5 insertions, 15 deletions
diff --git a/ChangeLog b/ChangeLog
index d81063a3..bbfc77cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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) {};