diff options
Diffstat (limited to 'plugins/SplashScreen/src')
-rw-r--r-- | plugins/SplashScreen/src/headers.h | 5 | ||||
-rw-r--r-- | plugins/SplashScreen/src/main.cpp | 6 | ||||
-rw-r--r-- | plugins/SplashScreen/src/options.cpp | 1 |
3 files changed, 1 insertions, 11 deletions
diff --git a/plugins/SplashScreen/src/headers.h b/plugins/SplashScreen/src/headers.h index 127635df8b..b080917889 100644 --- a/plugins/SplashScreen/src/headers.h +++ b/plugins/SplashScreen/src/headers.h @@ -61,14 +61,11 @@ struct SPLASHOPTS {
byte active;
byte playsnd;
- byte loopsnd;
- byte runonce;
byte fadein;
byte fadeout;
- byte inheritGS;
+ byte inheritGS; //???
byte random;
byte showversion;
- byte fontsize;
int showtime;
int fosteps;
int fisteps;
diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp index f84164153e..72a827901f 100644 --- a/plugins/SplashScreen/src/main.cpp +++ b/plugins/SplashScreen/src/main.cpp @@ -87,12 +87,6 @@ void SplashMain() if (bstartup & (options.active == 1))
{
- if (options.runonce)
- {
- db_set_b(NULL, MODNAME, "Active", 0);
- db_set_b(NULL, MODNAME, "DisableAfterStartup", 0);
- }
-
if (hAdvaimg == NULL)
{
hAdvaimg = LoadLibrary(szhAdvaimgPath);
diff --git a/plugins/SplashScreen/src/options.cpp b/plugins/SplashScreen/src/options.cpp index df819697aa..ded6acd23a 100644 --- a/plugins/SplashScreen/src/options.cpp +++ b/plugins/SplashScreen/src/options.cpp @@ -34,7 +34,6 @@ void ReadDbConfig() options.inheritGS = db_get_b(NULL, MODNAME, "InheritGlobalSound", 1);
options.showversion = db_get_b(NULL, MODNAME, "ShowVersion", 0);
options.random = db_get_b(NULL, MODNAME, "Random", 0);
- options.runonce = db_get_b(NULL, MODNAME, "DisableAfterStartup", 0);
}
BOOL Exists(LPCTSTR strName)
|