summaryrefslogtreecommitdiff
path: root/src/base_media_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 22:17:15 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 22:17:15 +0000
commit6c9078fd30097b38537a60fbecb9828da69c3517 (patch)
tree6601ea8e21edd22b54d054d94cd9c129f8162458 /src/base_media_base.h
parentd89095b3ecb9c326e169db33294efac9b818276a (diff)
downloadopenttd-6c9078fd30097b38537a60fbecb9828da69c3517.tar.xz
(svn r21844) -Codechange: move documentation towards the code to make it more likely to be updates [a-c].
Diffstat (limited to 'src/base_media_base.h')
-rw-r--r--src/base_media_base.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/base_media_base.h b/src/base_media_base.h
index 273739cb9..a8fae72f2 100644
--- a/src/base_media_base.h
+++ b/src/base_media_base.h
@@ -104,14 +104,6 @@ struct BaseSet {
return Tnum_files - this->valid_files;
}
- /**
- * Read the set information from a loaded ini.
- * @param ini the ini to read from
- * @param path the path to this ini file (for filenames)
- * @param full_filename the full filename of the loaded file (for error reporting purposes)
- * @param allow_empty_filename empty filenames are valid
- * @return true if loading was successful.
- */
bool FillSetDetails(IniFile *ini, const char *path, const char *full_filename, bool allow_empty_filename = true);
/**
@@ -177,42 +169,11 @@ public:
return fs.Scan(GetExtension(), Tbase_set::SUBDIR, Tbase_set::SUBDIR != GM_DIR);
}
- /**
- * Set the set to be used.
- * @param name of the set to use
- * @return true if it could be loaded
- */
static bool SetSet(const char *name);
-
- /**
- * Returns a list with the sets.
- * @param p where to print to
- * @param last the last character to print to
- * @return the last printed character
- */
static char *GetSetsList(char *p, const char *last);
-
- /**
- * Count the number of available graphics sets.
- * @return the number of sets
- */
static int GetNumSets();
-
- /**
- * Get the index of the currently active graphics set
- * @return the current set's index
- */
static int GetIndexOfUsedSet();
-
- /**
- * Get the name of the graphics set at the specified index
- * @return the name of the set
- */
static const Tbase_set *GetSet(int index);
- /**
- * Return the used set.
- * @return the used set.
- */
static const Tbase_set *GetUsedSet();
/**