diff options
author | Max Horn | 2011-12-07 11:45:03 +0100 |
---|---|---|
committer | Max Horn | 2011-12-07 11:47:22 +0100 |
commit | 89128f2b3fcc48839287c830ce7ebfcfe478ee06 (patch) | |
tree | d679b55ebc4333242d07f420116e58a9c014e96c | |
parent | 3056c39a7589903acbf870b8f054373411cbd582 (diff) | |
download | scummvm-rg350-89128f2b3fcc48839287c830ce7ebfcfe478ee06.tar.gz scummvm-rg350-89128f2b3fcc48839287c830ce7ebfcfe478ee06.tar.bz2 scummvm-rg350-89128f2b3fcc48839287c830ce7ebfcfe478ee06.zip |
DREAMWEB: Document class DreamBase
-rw-r--r-- | engines/dreamweb/dreambase.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/dreamweb/dreambase.h b/engines/dreamweb/dreambase.h index 310a4102b5..b75231c31f 100644 --- a/engines/dreamweb/dreambase.h +++ b/engines/dreamweb/dreambase.h @@ -34,6 +34,15 @@ namespace DreamWeb { namespace DreamGen { +/** + * This class is one of the parent classes of DreamGenContext. Its sole purpose + * is to allow us to incrementally move things out of DreamGenContext into this + * base class, as soon as they don't modify any context registers (ax, bx, cx, ...) + * anymore. + * Ultimately, DreamGenContext should be empty, at which point it can be removed + * together with class Context. When that happens, we can probably merge + * DreamBase into DreamWebEngine. + */ class DreamBase { protected: DreamWeb::DreamWebEngine *engine; @@ -69,8 +78,6 @@ public: void frameOutFx(uint8 *dst, const uint8 *src, uint16 pitch, uint16 width, uint16 height, uint16 x, uint16 y); void doShake(); void showPCX(const Common::String &name); - -// TODO: Move more methods from stubs.h to here. }; |