[Scummvm-git-logs] scummvm master -> 2c115c5f45ada9f1a8fd3b8de0c0175324254e4a

bluegr noreply at scummvm.org
Sun Jul 3 19:12:36 UTC 2022


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

Summary:
1463a129d4 CHEWY: Rename some actions in room 82 (film set)
2c115c5f45 CHEWY: Disable unfinished dynamic hotspot code


Commit: 1463a129d41fbb9da90a6fa1927126f470792631
    https://github.com/scummvm/scummvm/commit/1463a129d41fbb9da90a6fa1927126f470792631
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2022-07-03T22:12:19+03:00

Commit Message:
CHEWY: Rename some actions in room 82 (film set)

Changed paths:
    engines/chewy/rooms/room82.cpp
    engines/chewy/rooms/room82.h
    engines/chewy/t_event.cpp


diff --git a/engines/chewy/rooms/room82.cpp b/engines/chewy/rooms/room82.cpp
index 01a588b1901..5830c6a3be4 100644
--- a/engines/chewy/rooms/room82.cpp
+++ b/engines/chewy/rooms/room82.cpp
@@ -110,7 +110,7 @@ void Room82::setup_func() {
 	goAutoXy(nicDestX, 110, P_NICHELLE, ANI_GO);
 }
 
-void Room82::talk1() {
+void Room82::talkWithDirector() {
 	if (_G(gameState).flags30_40)
 		return;
 
@@ -133,7 +133,7 @@ void Room82::talk1() {
 	Room66::proc8(2, 7, transitionAniNr, transitionDiaNr);
 }
 
-void Room82::talk2() {
+void Room82::talkWithFilmDiva() {
 	hideCur();
 	autoMove(3, P_CHEWY);
 	startAadWait(453);
@@ -242,7 +242,7 @@ void Room82::proc8() {
 	showCur();
 }
 
-int Room82::proc9() {
+int Room82::procClimbLadderToGorilla() {
 	if (_G(cur)->usingInventoryCursor() || !_G(gameState).flags30_40)
 		return 0;
 
diff --git a/engines/chewy/rooms/room82.h b/engines/chewy/rooms/room82.h
index 9f74437778a..a7b9c36a5e5 100644
--- a/engines/chewy/rooms/room82.h
+++ b/engines/chewy/rooms/room82.h
@@ -30,14 +30,14 @@ public:
 	static void entry();
 	static void xit(int16 eib_nr);
 	static void setup_func();
-	static void talk1();
-	static void talk2();
+	static void talkWithDirector();
+	static void talkWithFilmDiva();
 	static void talk3();
 	static int proc3();
 	static void proc4();
 	static int proc6();
 	static void proc8();
-	static int proc9();
+	static int procClimbLadderToGorilla();
 };
 
 } // namespace Rooms
diff --git a/engines/chewy/t_event.cpp b/engines/chewy/t_event.cpp
index 0a82e7d8bb4..e0bdac8a17b 100644
--- a/engines/chewy/t_event.cpp
+++ b/engines/chewy/t_event.cpp
@@ -645,7 +645,7 @@ int16 atsAction(int16 txtNr, int16 txtMode, int16 mode) {
 
 					case 467:
 					case 473:
-						retValue = Room82::proc9();
+						retValue = Room82::procClimbLadderToGorilla();
 						break;
 
 					case 468:
@@ -977,11 +977,11 @@ int16 atsAction(int16 txtNr, int16 txtMode, int16 mode) {
 						break;
 
 					case 468:
-						Room82::talk1();
+						Room82::talkWithDirector();
 						break;
 
 					case 469:
-						Room82::talk2();
+						Room82::talkWithFilmDiva();
 						break;
 
 					case 471:


Commit: 2c115c5f45ada9f1a8fd3b8de0c0175324254e4a
    https://github.com/scummvm/scummvm/commit/2c115c5f45ada9f1a8fd3b8de0c0175324254e4a
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2022-07-03T22:12:20+03:00

Commit Message:
CHEWY: Disable unfinished dynamic hotspot code

This removes the description in some hotspots at the moment

Changed paths:
    engines/chewy/text.cpp


diff --git a/engines/chewy/text.cpp b/engines/chewy/text.cpp
index 17c7d22026d..7352cc15b9c 100644
--- a/engines/chewy/text.cpp
+++ b/engines/chewy/text.cpp
@@ -320,7 +320,8 @@ uint8 Text::updateTextStatus(int16 entry, int16 subEntry, int16 strNr, int16 typ
 
 	const uint8 status = buffer[(entry * MAX_ATS_STATUS) + (subEntry + 1) / 2];
 	if (strNr >= 0) {
-		buffer[(entry * MAX_ATS_STATUS) + (subEntry + 1) / 2] = strNr; // getTextStatus(status, subEntry, strNr);
+		// TODO: This is buggy
+		//buffer[(entry * MAX_ATS_STATUS) + (subEntry + 1) / 2] = strNr; // getTextStatus(status, subEntry, strNr);
 		return strNr;
 	}
 




More information about the Scummvm-git-logs mailing list