[Scummvm-cvs-logs] SF.net SVN: scummvm:[55556] scummvm/trunk/engines/hugo
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Wed Jan 26 23:50:36 CET 2011
Revision: 55556
http://scummvm.svn.sourceforge.net/scummvm/?rev=55556&view=rev
Author: strangerke
Date: 2011-01-26 22:50:36 +0000 (Wed, 26 Jan 2011)
Log Message:
-----------
HUGO: Cleanup: Suppress an obsolete warning and a comment
Modified Paths:
--------------
scummvm/trunk/engines/hugo/display.cpp
scummvm/trunk/engines/hugo/schedule.cpp
Modified: scummvm/trunk/engines/hugo/display.cpp
===================================================================
--- scummvm/trunk/engines/hugo/display.cpp 2011-01-26 20:03:12 UTC (rev 55555)
+++ scummvm/trunk/engines/hugo/display.cpp 2011-01-26 22:50:36 UTC (rev 55556)
@@ -93,7 +93,7 @@
}
void Screen::displayBackground() {
- debugC(1, kDebugDisplay, "displayBackground");
+ debugC(1, kDebugDisplay, "displayBackground()");
g_system->copyRectToScreen(_frontBuffer, 320, 0, 0, 320, 200);
}
@@ -131,7 +131,7 @@
* Saves the current palette in a savegame
*/
void Screen::savePal(Common::WriteStream *f) {
- debugC(1, kDebugDisplay, "savePal");
+ debugC(1, kDebugDisplay, "savePal()");
for (int i = 0; i < _paletteSize; i++)
f->writeByte(_curPalette[i]);
@@ -141,7 +141,7 @@
* Restore the current palette from a savegame
*/
void Screen::restorePal(Common::SeekableReadStream *f) {
- debugC(1, kDebugDisplay, "restorePal");
+ debugC(1, kDebugDisplay, "restorePal()");
byte pal[4];
@@ -175,7 +175,7 @@
* base bit set (in which case the object is foreground).
*/
overlayState_t Screen::findOvl(seq_t *seq_p, image_pt dst_p, uint16 y) {
- debugC(4, kDebugDisplay, "findOvl");
+ debugC(4, kDebugDisplay, "findOvl()");
for (; y < seq_p->lines; y++) { // Each line in object
image_pt ovb_p = _vm->getBaseBoundaryOverlay() + ((uint16)(dst_p - _frontBuffer) >> 3); // Ptr into overlay bits
@@ -229,7 +229,7 @@
* Merge rectangles A,B leaving result in B
*/
void Screen::merge(rect_t *rectA, rect_t *rectB) {
- debugC(6, kDebugDisplay, "merge");
+ debugC(6, kDebugDisplay, "merge()");
int16 xa = rectA->x + rectA->dx; // Find x2,y2 for each rectangle
int16 xb = rectB->x + rectB->dx;
@@ -249,7 +249,7 @@
* have holes, in which case dx = 0. Returns used length of blist.
*/
int16 Screen::mergeLists(rect_t *list, rect_t *blist, int16 len, int16 blen, int16 bmax) {
- debugC(4, kDebugDisplay, "mergeLists");
+ debugC(4, kDebugDisplay, "mergeLists()");
int16 coalesce[kBlitListSize]; // List of overlapping rects
// Process the list
@@ -287,7 +287,7 @@
* Trailing args are int16 x,y,dx,dy for the D_ADD operation
*/
void Screen::displayList(dupdate_t update, ...) {
- debugC(6, kDebugDisplay, "displayList");
+ debugC(6, kDebugDisplay, "displayList()");
static int16 addIndex, restoreIndex; // Index into add/restore lists
static rect_t restoreList[kRectListSize]; // The restore list
@@ -376,7 +376,7 @@
* Returns height of characters in current font
*/
int16 Screen::fontHeight() {
- debugC(2, kDebugDisplay, "fontHeight");
+ debugC(2, kDebugDisplay, "fontHeight()");
static int16 height[kNumFonts] = {5, 7, 8};
return height[_fnt - kFirstFont];
@@ -454,7 +454,7 @@
}
void Screen::drawStatusText() {
- debugC(4, kDebugDisplay, "drawStatusText");
+ debugC(4, kDebugDisplay, "drawStatusText()");
loadFont(U_FONT8);
uint16 sdx = stringLength(_vm->_statusLine);
@@ -645,7 +645,7 @@
/**
* Load fonts from Hugo.dat
* These fonts are a workaround to avoid handling TTF fonts used by DOS versions
-* TODO: Properly handle the vector based font files (win31)
+* TODO: Get rid of this function when the win1 fonts are supported
*/
void Screen_v1d::loadFontArr(Common::File &in) {
for (int i = 0; i < kNumFonts; i++) {
Modified: scummvm/trunk/engines/hugo/schedule.cpp
===================================================================
--- scummvm/trunk/engines/hugo/schedule.cpp 2011-01-26 20:03:12 UTC (rev 55555)
+++ scummvm/trunk/engines/hugo/schedule.cpp 2011-01-26 22:50:36 UTC (rev 55556)
@@ -908,7 +908,6 @@
}
f->write(saveEventArr, sizeof(saveEventArr));
- warning("TODO: serialize saveEventArr");
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list