diff options
author | Travis Howell | 2005-07-13 12:22:08 +0000 |
---|---|---|
committer | Travis Howell | 2005-07-13 12:22:08 +0000 |
commit | c14e60cb616ce737ca1ec6582154837a57b39bb4 (patch) | |
tree | 2512a3ba0ac90e2be8b050135104af6473c13854 /scumm | |
parent | f756b74d043d7a76ce09b80078ad5f77a9b6af9c (diff) | |
download | scummvm-rg350-c14e60cb616ce737ca1ec6582154837a57b39bb4.tar.gz scummvm-rg350-c14e60cb616ce737ca1ec6582154837a57b39bb4.tar.bz2 scummvm-rg350-c14e60cb616ce737ca1ec6582154837a57b39bb4.zip |
Rename function
Add comments for missing cases.
svn-id: r18538
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/wiz_he.cpp | 20 | ||||
-rw-r--r-- | scumm/wiz_he.h | 2 |
2 files changed, 15 insertions, 7 deletions
diff --git a/scumm/wiz_he.cpp b/scumm/wiz_he.cpp index aea26c53c7..d5ac53734b 100644 --- a/scumm/wiz_he.cpp +++ b/scumm/wiz_he.cpp @@ -1609,7 +1609,7 @@ void Wiz::fillWizRect(const WizParameters *params) { } } -void Wiz::fillWizParallelogram(const WizParameters *params) { +void Wiz::fillWizLine(const WizParameters *params) { if (params->processFlags & kWPFClipBox2) { int state = 0; if (params->processFlags & kWPFNewState) { @@ -1818,23 +1818,31 @@ void Wiz::processWizImage(const WizParameters *params) { fillWizRect(params); break; case 10: - fillWizParallelogram(params); + fillWizLine(params); + break; + case 11: + // TODO: Fill Pixel + error("fillWizPixel"); break; case 12: // Used in PuttsFunShop/SamsFunShop - // TODO: Flood fill + // TODO: Flood Fill break; case 13: // Used in PuttsFunShop/SamsFunShop - // TODO: Start font + // TODO: Start Font break; case 14: // Used in PuttsFunShop/SamsFunShop - // TODO: End font + // TODO: End Font break; case 15: // Used in PuttsFunShop/SamsFunShop - // TODO: Create font + // TODO: Create Font + break; + case 16: + // TODO: Render Font String + error("Render Font String"); break; case 17: // Used in PuttsFunShop/SamsFunShop diff --git a/scumm/wiz_he.h b/scumm/wiz_he.h index 68767bbc90..98ee502aa2 100644 --- a/scumm/wiz_he.h +++ b/scumm/wiz_he.h @@ -163,7 +163,7 @@ public: void createWizEmptyImage(const WizParameters *params); void fillWizRect(const WizParameters *params); - void fillWizParallelogram(const WizParameters *params); + void fillWizLine(const WizParameters *params); void getWizImageDim(int resNum, int state, int32 &w, int32 &h); int getWizImageStates(int resnum); |