mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
AVALANCHE: Remove unnecessary TODOs.
This commit is contained in:
parent
40269800de
commit
759e499626
@ -336,7 +336,7 @@ void AvalancheEngine::synchronize(Common::Serializer &sz) {
|
||||
|
||||
}
|
||||
|
||||
bool AvalancheEngine::canSaveGameStateCurrently() { // TODO: Refine these!!!
|
||||
bool AvalancheEngine::canSaveGameStateCurrently() {
|
||||
return (_animationsEnabled && _alive);
|
||||
}
|
||||
|
||||
@ -381,7 +381,7 @@ Common::String AvalancheEngine::getSaveFileName(const int slot) {
|
||||
return Common::String::format("%s.%03d", _targetName.c_str(), slot);
|
||||
}
|
||||
|
||||
bool AvalancheEngine::canLoadGameStateCurrently() { // TODO: Refine these!!!
|
||||
bool AvalancheEngine::canLoadGameStateCurrently() {
|
||||
return (_animationsEnabled);
|
||||
}
|
||||
|
||||
|
@ -678,7 +678,7 @@ void DropDownMenu::setup() {
|
||||
_menuBar.draw();
|
||||
}
|
||||
|
||||
void DropDownMenu::update() { // TODO: Optimize it ASAP!!! It really needs it...
|
||||
void DropDownMenu::update() {
|
||||
_vm->_graphics->saveScreen();
|
||||
|
||||
Common::Point cursorPos = _vm->getMousePos();
|
||||
|
@ -97,7 +97,7 @@ public:
|
||||
void drawWinningPic();
|
||||
|
||||
// Ghostroom's functions:
|
||||
void ghostDrawGhost(byte ghostArr[2][66][26], uint16 destX, int16 destY); // Very similar to loadPictureSign(). TODO: Unify the two later if possible.
|
||||
void ghostDrawGhost(byte ghostArr[2][66][26], uint16 destX, int16 destY);
|
||||
void ghostDrawGlerk(byte glerkArr[4][35][9], uint16 destX, uint16 destY); // Very similar to ghostDrawGhost(), but not enough to unify the two.
|
||||
Graphics::Surface ghostLoadPicture(Common::File &file, Common::Point &coord);
|
||||
void ghostDrawPicture(const Graphics::Surface &picture, uint16 destX, uint16 destY);
|
||||
@ -106,7 +106,7 @@ public:
|
||||
// Help's function:
|
||||
void helpDrawButton(int y, byte which);
|
||||
void helpDrawHighlight(byte which, Color color);
|
||||
void helpDrawBigText(const Common::String text, int16 x, int16 y, Color color); // Very similar to drawText. TODO: Try to unify the two.
|
||||
void helpDrawBigText(const Common::String text, int16 x, int16 y, Color color);
|
||||
|
||||
// Shoot em' up's functions:
|
||||
void seuDrawTitle();
|
||||
@ -199,12 +199,11 @@ private:
|
||||
Graphics::Surface loadPictureSign(Common::File &file, uint16 width, uint16 height); // Reads a tricky type of picture used for the "game over"/"about" scrolls and in the mini-game Nim.
|
||||
|
||||
void drawText(Graphics::Surface &surface, const Common::String text, FontType font, byte fontHeight, int16 x, int16 y, Color color);
|
||||
void drawBigText(Graphics::Surface &surface, const Common::String text, FontType font, byte fontHeight, int16 x, int16 y, Color color); // Very similar to drawText. TODO: Try to unify the two.
|
||||
void drawBigText(Graphics::Surface &surface, const Common::String text, FontType font, byte fontHeight, int16 x, int16 y, Color color);
|
||||
void drawPicture(Graphics::Surface &target, const Graphics::Surface picture, uint16 destX, uint16 destY);
|
||||
|
||||
// Taken from Free Pascal's Procedure InternalEllipseDefault. Used to replace Pascal's procedure arc.
|
||||
// Returns the end point of the arc. (Needed in Clock.)
|
||||
// TODO: Make it more accurate later.
|
||||
Common::Point drawArc(Graphics::Surface &surface, int16 x, int16 y, int16 stAngle, int16 endAngle, uint16 radius, Color color);
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user