diff options
author | peter1138 <peter1138@openttd.org> | 2009-02-07 01:01:02 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-02-07 01:01:02 +0000 |
commit | 967491a22d6828686f17c9ea6215d3a48cee7dc8 (patch) | |
tree | 96e2527960abf9f0224b1ad21987e0e62bb6985c /src/gfxinit.h | |
parent | ae2fda6c0214d4952a1fadcb891a8daa819e65ba (diff) | |
download | openttd-967491a22d6828686f17c9ea6215d3a48cee7dc8.tar.xz |
(svn r15389) -Feature: Add ability to select which base graphics set is used from the Game Options window. The change takes effect when the window is closed. This option can only be used from the intro menu, as reloading graphics during a game may cause issues.
Diffstat (limited to 'src/gfxinit.h')
-rw-r--r-- | src/gfxinit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gfxinit.h b/src/gfxinit.h index deaa6c32c..3bee8c281 100644 --- a/src/gfxinit.h +++ b/src/gfxinit.h @@ -15,6 +15,10 @@ void FindGraphicsSets(); bool SetGraphicsSet(const char *name); char *GetGraphicsSetsList(char *p, const char *last); +int GetNumGraphicsSets(); +int GetIndexOfCurrentGraphicsSet(); +const char *GetGraphicsSetName(int index); + extern char *_ini_graphics_set; #endif /* GFXINIT_H */ |