summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {};