[Scummvm-git-logs] scummvm master -> 6b1e1075f303efdc46ec6c6e8b19e6e16a8c0cb8
OMGPizzaGuy
noreply at scummvm.org
Sat Jan 7 20:09:23 UTC 2023
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:
b0304ef83b ULTIMA8: Remove TODO comments for palettes that were handled in shapes
6b1e1075f3 ULTIMA8: Clear the surface when debugging the sorter
Commit: b0304ef83bf37c84df9e026c819fd24b34da4d7e
https://github.com/scummvm/scummvm/commit/b0304ef83bf37c84df9e026c819fd24b34da4d7e
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2023-01-07T14:08:55-06:00
Commit Message:
ULTIMA8: Remove TODO comments for palettes that were handled in shapes
Changed paths:
engines/ultima/ultima8/graphics/render_surface.h
diff --git a/engines/ultima/ultima8/graphics/render_surface.h b/engines/ultima/ultima8/graphics/render_surface.h
index 286e5931034..b87c3517071 100644
--- a/engines/ultima/ultima8/graphics/render_surface.h
+++ b/engines/ultima/ultima8/graphics/render_surface.h
@@ -129,17 +129,6 @@ public:
//
// Surface Palettes
//
- // TODO: Handle Ultima8 and Crusader Xforms
- //
-
- // Set The Surface Palette
- // virtual void SetPalette(uint8 palette[768]) = 0;
-
- // Set The Surface Palette to be the one used by another surface
- // TODO: virtual void SetPalette(RenderSurface &) = 0;
-
- // Get The Surface Palette
- // TODO: virtual void GetPalette(uint8 palette[768]) = 0;
virtual void CreateNativePalette(Palette *palette, int maxindex = 0);
Commit: 6b1e1075f303efdc46ec6c6e8b19e6e16a8c0cb8
https://github.com/scummvm/scummvm/commit/6b1e1075f303efdc46ec6c6e8b19e6e16a8c0cb8
Author: Matthew Jimenez (matthew.jimenez at outlook.com)
Date: 2023-01-07T14:08:55-06:00
Commit Message:
ULTIMA8: Clear the surface when debugging the sorter
Changed paths:
engines/ultima/ultima8/world/item_sorter.cpp
diff --git a/engines/ultima/ultima8/world/item_sorter.cpp b/engines/ultima/ultima8/world/item_sorter.cpp
index 92b75084d73..d16d508684f 100644
--- a/engines/ultima/ultima8/world/item_sorter.cpp
+++ b/engines/ultima/ultima8/world/item_sorter.cpp
@@ -252,6 +252,13 @@ void ItemSorter::AddItem(const Item *add) {
}
void ItemSorter::PaintDisplayList(RenderSurface *surf, bool item_highlight) {
+ if (_sortLimit) {
+ // Clear the surface when debugging the sorter
+ Rect r;
+ surf->GetClippingRect(r);
+ surf->Fill32(0, r);
+ }
+
SortItem *it = _items;
SortItem *end = nullptr;
_painted = nullptr; // Reset the paint tracking
More information about the Scummvm-git-logs
mailing list