summaryrefslogtreecommitdiffhomepage
path: root/Stars45/Drive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Stars45/Drive.cpp')
-rw-r--r--Stars45/Drive.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/Stars45/Drive.cpp b/Stars45/Drive.cpp
index e1aeb0e..24536cf 100644
--- a/Stars45/Drive.cpp
+++ b/Stars45/Drive.cpp
@@ -31,6 +31,7 @@
#include "Bolt.h"
#include "Solid.h"
#include "Game.h"
+#include "ContentBundle.h"
// +--------------------------------------------------------------------+
@@ -75,16 +76,16 @@ Drive::Drive(SUBTYPE drive_type, float max_thrust, float max_aug, bool show)
switch (drive_type) {
default:
- case PLASMA: name = Game::GetInstance()->GetText("sys.drive.plasma"); break;
- case FUSION: name = Game::GetInstance()->GetText("sys.drive.fusion"); break;
- case GREEN: name = Game::GetInstance()->GetText("sys.drive.green"); break;
- case RED: name = Game::GetInstance()->GetText("sys.drive.red"); break;
- case BLUE: name = Game::GetInstance()->GetText("sys.drive.blue"); break;
- case YELLOW: name = Game::GetInstance()->GetText("sys.drive.yellow"); break;
- case STEALTH: name = Game::GetInstance()->GetText("sys.drive.stealth"); break;
+ case PLASMA: name = ContentBundle::GetInstance()->GetText("sys.drive.plasma"); break;
+ case FUSION: name = ContentBundle::GetInstance()->GetText("sys.drive.fusion"); break;
+ case GREEN: name = ContentBundle::GetInstance()->GetText("sys.drive.green"); break;
+ case RED: name = ContentBundle::GetInstance()->GetText("sys.drive.red"); break;
+ case BLUE: name = ContentBundle::GetInstance()->GetText("sys.drive.blue"); break;
+ case YELLOW: name = ContentBundle::GetInstance()->GetText("sys.drive.yellow"); break;
+ case STEALTH: name = ContentBundle::GetInstance()->GetText("sys.drive.stealth"); break;
}
- abrv = Game::GetInstance()->GetText("sys.drive.abrv");
+ abrv = ContentBundle::GetInstance()->GetText("sys.drive.abrv");
emcon_power[0] = 0;
emcon_power[1] = 50;