[Scummvm-cvs-logs] scummvm master -> f6538d0e0d76cd5ecc8af9755848e00a3bdebada

Strangerke arnaud.boutonne at gmail.com
Sat May 14 00:06:51 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
f6538d0e0d TSAGE: Add blue force library files


Commit: f6538d0e0d76cd5ecc8af9755848e00a3bdebada
    https://github.com/scummvm/scummvm/commit/f6538d0e0d76cd5ecc8af9755848e00a3bdebada
Author: strangerke (arnaud.boutonne at gmail.com)
Date: 2011-05-13T15:05:51-07:00

Commit Message:
TSAGE: Add blue force library files

Changed paths:
    engines/tsage/tsage.cpp



diff --git a/engines/tsage/tsage.cpp b/engines/tsage/tsage.cpp
index aa8ba71..4f55ecf 100644
--- a/engines/tsage/tsage.cpp
+++ b/engines/tsage/tsage.cpp
@@ -68,9 +68,15 @@ void TSageEngine::initialise() {
 	if (_vm->getFeatures() & GF_DEMO) {
 		// Add the single library file associated with the demo
 		_resourceManager->addLib(getPrimaryFilename());
-	} else {
+	} else if (_vm->getGameID() == GType_Ringworld) {
 		_resourceManager->addLib("RING.RLB");
 		_resourceManager->addLib("TSAGE.RLB");
+	} else if (_vm->getGameID() == GType_BlueForce) {
+		_resourceManager->addLib("BLUE.RLB");
+		if (_vm->getFeatures() & GF_FLOPPY) {
+			_resourceManager->addLib("FILES.RLB");
+			_resourceManager->addLib("TSAGE.RLB");
+		}
 	}
 
 	_globals = new Globals();






More information about the Scummvm-git-logs mailing list