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

dreammaster paulfgilbert at gmail.com
Wed Jan 2 04:21:02 CET 2019


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:
b4c3df62e3 GLK: FROTZ: Cleanup of incorrect namespace comments


Commit: b4c3df62e32e0c25001b8149bbd8311b54f953f0
    https://github.com/scummvm/scummvm/commit/b4c3df62e32e0c25001b8149bbd8311b54f953f0
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-01-01T19:04:12-08:00

Commit Message:
GLK: FROTZ: Cleanup of incorrect namespace comments

Changed paths:
    engines/glk/frotz/config.cpp
    engines/glk/frotz/frotz.cpp
    engines/glk/frotz/glk_interface.cpp
    engines/glk/frotz/mem.cpp
    engines/glk/frotz/processor.cpp
    engines/glk/frotz/processor_buffer.cpp
    engines/glk/frotz/processor_input.cpp
    engines/glk/frotz/processor_maths.cpp
    engines/glk/frotz/processor_mem.cpp
    engines/glk/frotz/processor_objects.cpp
    engines/glk/frotz/processor_screen.cpp
    engines/glk/frotz/processor_streams.cpp
    engines/glk/frotz/processor_table.cpp
    engines/glk/frotz/processor_text.cpp
    engines/glk/frotz/processor_variables.cpp
    engines/glk/frotz/processor_windows.cpp
    engines/glk/frotz/quetzal.cpp
    engines/glk/frotz/screen.cpp
    engines/glk/frotz/sound_folder.cpp
    engines/glk/frotz/windows.cpp
    engines/glk/frotz/windows.h


diff --git a/engines/glk/frotz/config.cpp b/engines/glk/frotz/config.cpp
index aff4679..f98e1e8 100644
--- a/engines/glk/frotz/config.cpp
+++ b/engines/glk/frotz/config.cpp
@@ -168,5 +168,5 @@ bool UserOptions::isInfocom() const {
 	return g_vm->getOptions() & OPTION_INFOCOM;
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/frotz.cpp b/engines/glk/frotz/frotz.cpp
index c2341d4..e837f65 100644
--- a/engines/glk/frotz/frotz.cpp
+++ b/engines/glk/frotz/frotz.cpp
@@ -118,5 +118,5 @@ Common::Error Frotz::loadGameData(strid_t file) {
 	return Common::kNoError;
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/glk_interface.cpp b/engines/glk/frotz/glk_interface.cpp
index 514435a..0f08799 100644
--- a/engines/glk/frotz/glk_interface.cpp
+++ b/engines/glk/frotz/glk_interface.cpp
@@ -606,5 +606,5 @@ zchar GlkInterface::os_read_line(int max, zchar *buf, int timeout, int width, in
 	return ZC_RETURN;
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/mem.cpp b/engines/glk/frotz/mem.cpp
index 0665eea..227b673 100644
--- a/engines/glk/frotz/mem.cpp
+++ b/engines/glk/frotz/mem.cpp
@@ -303,5 +303,5 @@ void Mem::mem_undiff(zbyte *diff, long diff_length, zbyte *dest) {
 	}
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor.cpp b/engines/glk/frotz/processor.cpp
index 9fcb3b2..b9631c8 100644
--- a/engines/glk/frotz/processor.cpp
+++ b/engines/glk/frotz/processor.cpp
@@ -662,5 +662,5 @@ void Processor::z_restore_undo(void) {
 	store((zword)restore_undo());
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_buffer.cpp b/engines/glk/frotz/processor_buffer.cpp
index 8b9e411..65f1fda 100644
--- a/engines/glk/frotz/processor_buffer.cpp
+++ b/engines/glk/frotz/processor_buffer.cpp
@@ -188,5 +188,5 @@ void Processor::runtimeError(ErrorCode errNum) {
 	}
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_input.cpp b/engines/glk/frotz/processor_input.cpp
index 91c86c8..f9dc66f 100644
--- a/engines/glk/frotz/processor_input.cpp
+++ b/engines/glk/frotz/processor_input.cpp
@@ -219,5 +219,5 @@ void Processor::z_read_mouse() {
 	storew((zword)(zargs[0] + 6), menu_selected);	// menu selection
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_maths.cpp b/engines/glk/frotz/processor_maths.cpp
index 79ff65c..635a9b5 100644
--- a/engines/glk/frotz/processor_maths.cpp
+++ b/engines/glk/frotz/processor_maths.cpp
@@ -101,5 +101,5 @@ void Processor::z_test() {
 	branch((zargs[0] & zargs[1]) == zargs[1]);
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_mem.cpp b/engines/glk/frotz/processor_mem.cpp
index dec7520..e3bd596 100644
--- a/engines/glk/frotz/processor_mem.cpp
+++ b/engines/glk/frotz/processor_mem.cpp
@@ -214,5 +214,5 @@ void Processor::memory_close(void) {
 	}
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_objects.cpp b/engines/glk/frotz/processor_objects.cpp
index ab136f3..9e71ba9 100644
--- a/engines/glk/frotz/processor_objects.cpp
+++ b/engines/glk/frotz/processor_objects.cpp
@@ -728,5 +728,5 @@ void Processor::z_test_attr() {
 	branch(value & (0x80 >> (zargs[1] & 7)));
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_screen.cpp b/engines/glk/frotz/processor_screen.cpp
index 60672c8..da45fa1 100644
--- a/engines/glk/frotz/processor_screen.cpp
+++ b/engines/glk/frotz/processor_screen.cpp
@@ -190,11 +190,7 @@ void Processor::z_buffer_mode() {
 }
 
 void Processor::z_buffer_screen() {
-#ifdef TODO
-store((zword)os_buffer_screen((zargs[0] == (zword)-1) ? -1 : zargs[0]));
-#else
 	store(0);
-#endif
 }
 
 void Processor::z_erase_line() {
@@ -209,8 +205,7 @@ void Processor::z_erase_line() {
 
 void Processor::z_erase_window() {
 	short w = zargs[0];
-	if (w == -2)
-	{
+	if (w == -2) {
 		if (_wp._upper) {
 			glk_set_window(_wp._upper);
 #ifdef GARGLK
@@ -221,8 +216,7 @@ void Processor::z_erase_window() {
 		}
 		glk_window_clear(_wp._lower);
 	}
-	if (w == -1)
-	{
+	if (w == -1) {
 		if (_wp._upper) {
 			glk_set_window(_wp._upper);
 #ifdef GARGLK
@@ -588,5 +582,5 @@ void Processor::z_split_window() {
 	split_window(zargs[0]);
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_streams.cpp b/engines/glk/frotz/processor_streams.cpp
index 187220b..067708f 100644
--- a/engines/glk/frotz/processor_streams.cpp
+++ b/engines/glk/frotz/processor_streams.cpp
@@ -609,5 +609,5 @@ void Processor::z_verify() {
 	branch(checksum == h_checksum);
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_table.cpp b/engines/glk/frotz/processor_table.cpp
index b926725..c3c994a 100644
--- a/engines/glk/frotz/processor_table.cpp
+++ b/engines/glk/frotz/processor_table.cpp
@@ -116,5 +116,5 @@ void Processor::z_storew() {
 	storew((zword)(zargs[0] + 2 * zargs[1]), zargs[2]);
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_text.cpp b/engines/glk/frotz/processor_text.cpp
index 2b82f29..1f3d6b3 100644
--- a/engines/glk/frotz/processor_text.cpp
+++ b/engines/glk/frotz/processor_text.cpp
@@ -906,5 +906,5 @@ void Processor::z_tokenise() {
 	tokenise_line(zargs[0], zargs[1], zargs[2], zargs[3] != 0);
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_variables.cpp b/engines/glk/frotz/processor_variables.cpp
index 6e6a191..875572d 100644
--- a/engines/glk/frotz/processor_variables.cpp
+++ b/engines/glk/frotz/processor_variables.cpp
@@ -195,5 +195,5 @@ void Processor::z_store() {
 	}
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/processor_windows.cpp b/engines/glk/frotz/processor_windows.cpp
index ad16bba..7b042d9 100644
--- a/engines/glk/frotz/processor_windows.cpp
+++ b/engines/glk/frotz/processor_windows.cpp
@@ -330,5 +330,5 @@ zword Processor::winarg2() {
 	return zargs[2];
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/quetzal.cpp b/engines/glk/frotz/quetzal.cpp
index 11fc3f4..53de293 100644
--- a/engines/glk/frotz/quetzal.cpp
+++ b/engines/glk/frotz/quetzal.cpp
@@ -490,5 +490,5 @@ int Quetzal::restore(Common::SeekableReadStream *svf, Processor *proc) {
 	return (progress == GOT_ALL ? 2 : fatal);
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/screen.cpp b/engines/glk/frotz/screen.cpp
index 8bdfafd..d843528 100644
--- a/engines/glk/frotz/screen.cpp
+++ b/engines/glk/frotz/screen.cpp
@@ -93,5 +93,5 @@ void BitmapFont::drawChar(Graphics::Surface *dst, uint32 chr, int x, int y, uint
 	}
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/sound_folder.cpp b/engines/glk/frotz/sound_folder.cpp
index fd99b0b..761978e 100644
--- a/engines/glk/frotz/sound_folder.cpp
+++ b/engines/glk/frotz/sound_folder.cpp
@@ -142,5 +142,5 @@ Common::SeekableReadStream *SoundZip::createReadStreamForMember(const Common::St
 	return _zip->createReadStreamForMember(_filenames[name]);
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/windows.cpp b/engines/glk/frotz/windows.cpp
index b49c6d1..e30f61e 100644
--- a/engines/glk/frotz/windows.cpp
+++ b/engines/glk/frotz/windows.cpp
@@ -33,5 +33,5 @@ Window &Windows::operator[](uint idx) {
 	return _windows[idx];
 }
 
-} // End of namespace Scott
+} // End of namespace Frotz
 } // End of namespace Glk
diff --git a/engines/glk/frotz/windows.h b/engines/glk/frotz/windows.h
index ef300fb..e685c4f 100644
--- a/engines/glk/frotz/windows.h
+++ b/engines/glk/frotz/windows.h
@@ -28,6 +28,8 @@
 namespace Glk {
 namespace Frotz {
 
+#include "glk/windows.h"
+
 /**
  * Represents one of the virtual windows
  */





More information about the Scummvm-git-logs mailing list