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

dreammaster noreply at scummvm.org
Mon Apr 27 10:23:29 UTC 2026


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

Summary:
f698c07043 MADS: DRAGONSPHERE: Section 9 support functions


Commit: f698c070436d35d2dd870493e3ac4ee78fb543d4
    https://github.com/scummvm/scummvm/commit/f698c070436d35d2dd870493e3ac4ee78fb543d4
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2026-04-27T20:17:53+10:00

Commit Message:
MADS: DRAGONSPHERE: Section 9 support functions

Changed paths:
    engines/mads/madsv2/dragonsphere/rooms/room909.cpp
    engines/mads/madsv2/dragonsphere/rooms/section9.cpp


diff --git a/engines/mads/madsv2/dragonsphere/rooms/room909.cpp b/engines/mads/madsv2/dragonsphere/rooms/room909.cpp
index f34c95d3ffc..651d59f2cf2 100644
--- a/engines/mads/madsv2/dragonsphere/rooms/room909.cpp
+++ b/engines/mads/madsv2/dragonsphere/rooms/room909.cpp
@@ -45,11 +45,9 @@ void room_909_daemon() {
 }
 
 void room_909_pre_parser() {
-
 }
 
 void room_909_parser() {
-
 }
 
 void room_909_synchronize(Common::Serializer &s) {
diff --git a/engines/mads/madsv2/dragonsphere/rooms/section9.cpp b/engines/mads/madsv2/dragonsphere/rooms/section9.cpp
index 0b1ce04f6bf..1c00068a877 100644
--- a/engines/mads/madsv2/dragonsphere/rooms/section9.cpp
+++ b/engines/mads/madsv2/dragonsphere/rooms/section9.cpp
@@ -21,10 +21,13 @@
 
 #include "mads/madsv2/core/game.h"
 #include "mads/madsv2/core/kernel.h"
+#include "mads/madsv2/core/pal.h"
 #include "mads/madsv2/core/player.h"
 #include "mads/madsv2/core/room.h"
+#include "mads/madsv2/core/sound.h"
 #include "mads/madsv2/dragonsphere/global.h"
 #include "mads/madsv2/dragonsphere/rooms/section9.h"
+#include "mads/madsv2/dragonsphere/dragonsphere.h"
 
 namespace MADS {
 namespace MADSV2 {
@@ -38,12 +41,25 @@ void section_9_init() {
 }
 
 void section_9_walker() {
+	sound_queue(5);
+	global[perform_displacements] = 0;
+	*player.series_name = '\0';
+	player.scaling_velocity = -1;
 }
 
 void section_9_interface() {
+	Common::strcpy_s(kernel.interface, kernel_interface_name(7));
+	pal_change_color(47, 56, 254, 32);
 }
 
 void section_9_music() {
+	if (!g_engine->_soundFlag)
+		sound_queue(4);
+
+	if (!g_engine->_musicFlag)
+		sound_queue(3);
+	else if (new_room == 909)
+		sound_play(62);
 }
 
 void section_9_constructor() {
@@ -66,8 +82,6 @@ void section_9_preload() {
 	section_init_code_pointer = section_9_init;
 	section_room_constructor = section_9_constructor;
 	section_music_reset_pointer = section_9_music;
-	section_daemon_code_pointer = NULL;
-	section_parser_code_pointer = NULL;
 }
 
 } // namespace Rooms




More information about the Scummvm-git-logs mailing list