From 4d933a15f65809afa330622339a200f15cb19eeb Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 26 May 2016 22:17:42 -0400 Subject: VOYEUR: Reorder ViewPortResource fields to fix VS packing warnings --- engines/voyeur/files.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/voyeur') diff --git a/engines/voyeur/files.h b/engines/voyeur/files.h index 8726b38ddf..92b43958d3 100644 --- a/engines/voyeur/files.h +++ b/engines/voyeur/files.h @@ -325,9 +325,13 @@ private: ViewPortAddPtr addFn, ViewPortRestorePtr restoreFn); public: ViewPortResource *_parent; + ViewPortSetupPtr _setupFn; int _pageCount; + ViewPortAddPtr _addFn; int _pageIndex; + ViewPortRestorePtr _restoreFn; int _lastPage; + ScreenMethodPtr _fn1; Common::Rect _bounds; PictureResource *_currentPic; PictureResource *_activePage; @@ -340,10 +344,6 @@ public: int _rectListCount[3]; Common::Rect _clipRect; - ScreenMethodPtr _fn1; - ViewPortSetupPtr _setupFn; - ViewPortAddPtr _addFn; - ViewPortRestorePtr _restoreFn; Common::Rect _fontRect; public: ViewPortResource(BoltFilesState &state, const byte *src); -- cgit v1.2.3