| 1 |
Description: restore Loki Software splashscreen (yes, this is just pure nostalgia) |
| 2 |
Author: Sébastien Noel <[email protected]> |
| 3 |
Forwarded: not-needed |
| 4 |
--- a/Descent3/descent.cpp |
| 5 |
+++ b/Descent3/descent.cpp |
| 6 |
@@ -598,7 +598,6 @@ void MainLoop() { |
| 7 |
SetScreenMode(SM_NULL); |
| 8 |
} |
| 9 |
|
| 10 |
-#if (defined(OEM) || defined(DEMO) || defined(RELEASE)) |
| 11 |
// Shows a fullscreen static bitmap |
| 12 |
void ShowStaticScreen(char *bitmap_filename, bool timed, float delay_time) { |
| 13 |
extern void ui_SetScreenMode(int w, int h); |
| 14 |
@@ -647,7 +646,6 @@ void ShowStaticScreen(char *bitmap_filen |
| 15 |
|
| 16 |
ui_SetScreenMode(Max_window_w, Max_window_h); |
| 17 |
} |
| 18 |
-#endif |
| 19 |
|
| 20 |
// --------------------------------------------------------------------------- |
| 21 |
// Accessor functions |
| 22 |
--- a/Descent3/init.cpp |
| 23 |
+++ b/Descent3/init.cpp |
| 24 |
@@ -1769,11 +1769,12 @@ void InitMessage(const char *c, float pr |
| 25 |
} |
| 26 |
|
| 27 |
////////////////////////////////////////////////////////////////////////////// |
| 28 |
-#if (defined(OEM) || defined(DEMO) || defined(RELEASE)) |
| 29 |
void ShowStaticScreen(char *bitmap_filename, bool timed = false, float delay_time = 0.0f); |
| 30 |
-#endif |
| 31 |
|
| 32 |
void IntroScreen() { |
| 33 |
+#if defined(__LINUX__) |
| 34 |
+ ShowStaticScreen("loki.ogf", true, 3.0); |
| 35 |
+#endif |
| 36 |
// #if (defined(OEM) || defined(DEMO) ) |
| 37 |
#ifdef DEMO |
| 38 |
ShowStaticScreen("tantrum.ogf", true, 3.0); |