[Scummvm-git-logs] scummvm master -> ed394dc83f3866b937a5e015b346fd63a981bb8c

aquadran noreply at scummvm.org
Sun Jul 31 20:11:17 UTC 2022


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:
ed394dc83f ICB: ELDORADO: Added copyright info in game menu


Commit: ed394dc83f3866b937a5e015b346fd63a981bb8c
    https://github.com/scummvm/scummvm/commit/ed394dc83f3866b937a5e015b346fd63a981bb8c
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-07-31T22:11:12+02:00

Commit Message:
ICB: ELDORADO: Added copyright info in game menu

Changed paths:
    engines/icb/options_manager_pc.cpp
    engines/icb/surface_manager.cpp


diff --git a/engines/icb/options_manager_pc.cpp b/engines/icb/options_manager_pc.cpp
index c740ce10e55..3da740b140d 100644
--- a/engines/icb/options_manager_pc.cpp
+++ b/engines/icb/options_manager_pc.cpp
@@ -1608,7 +1608,9 @@ void OptionsManager::DrawMainOptionsScreen(uint32 surface_id) {
 		Draw_vertical_line(m_box.right + 1, m_box.bottom - m_lipLength, m_lipLength + 2, &m_drawColour, surface_address, pitch);
 		Draw_horizontal_line(m_box.left, m_box.bottom + 1, m_box.right - m_box.left + 1, &m_drawColour, surface_address, pitch);
 
-		DisplayText(surface_address, pitch, "Copyright 2000 Revolution Software", 0, SCREEN_DEPTH - 100, PALEFONT, TRUE8);
+		if (g_icb->getGameType() == GType_ELDORADO)
+			DisplayText(surface_address, pitch, "Copyright (c) 2000 DreamWorks SKG", 0, SCREEN_DEPTH - 120, PALEFONT, TRUE8);
+		DisplayText(surface_address, pitch, "Copyright (c) 2000 Revolution Software Ltd", 0, SCREEN_DEPTH - 100, PALEFONT, TRUE8);
 
 		// Unlock the working buffer
 		surface_manager->Unlock_surface(surface_id);
diff --git a/engines/icb/surface_manager.cpp b/engines/icb/surface_manager.cpp
index 6a1127da28f..2cf785014cb 100644
--- a/engines/icb/surface_manager.cpp
+++ b/engines/icb/surface_manager.cpp
@@ -24,6 +24,7 @@
  *
  */
 
+#include "engines/icb/icb.h"
 #include "engines/icb/common/px_common.h"
 #include "engines/icb/surface_manager.h"
 #include "engines/icb/mission.h"
@@ -158,7 +159,10 @@ uint32 _surface_manager::Init_direct_draw() {
 	// Debug info
 	Zdebug("*SURFACE_MANAGER* Initalizing the SDL video interface");
 
-	g_system->setWindowCaption(Common::U32String("In Cold Blood (C)2000 Revolution Software Ltd"));
+	if (g_icb->getGameType() == GType_ICB)
+		g_system->setWindowCaption(Common::U32String("In Cold Blood"));
+	else
+		g_system->setWindowCaption(Common::U32String("The Road to El Dorado"));
 	initGraphics(SCREEN_WIDTH, SCREEN_DEPTH, nullptr);
 
 	screenSurface = new Graphics::Surface();




More information about the Scummvm-git-logs mailing list