diff options
author | Robert Špalek | 2009-11-01 23:04:56 +0000 |
---|---|---|
committer | Robert Špalek | 2009-11-01 23:04:56 +0000 |
commit | f77446a500046ae156e07ea7cdbebbf23c5877b3 (patch) | |
tree | 91ef27e361d8e1e378f650e00a7f6784ba0fd73a /engines/draci/animation.h | |
parent | 8a7c5dbc6fdf54d1dce1c1d279ccbe3c2b7f2189 (diff) | |
download | scummvm-rg350-f77446a500046ae156e07ea7cdbebbf23c5877b3.tar.gz scummvm-rg350-f77446a500046ae156e07ea7cdbebbf23c5877b3.tar.bz2 scummvm-rg350-f77446a500046ae156e07ea7cdbebbf23c5877b3.zip |
Commented on loop() before refactoring.
svn-id: r45604
Diffstat (limited to 'engines/draci/animation.h')
-rw-r--r-- | engines/draci/animation.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/draci/animation.h b/engines/draci/animation.h index 11cdc3d414..e7ffc9d761 100644 --- a/engines/draci/animation.h +++ b/engines/draci/animation.h @@ -104,8 +104,11 @@ public: void markDirtyRect(Surface *surface) const; - // Animation callbacks - + // Animation callbacks. They can only do simple things, such as + // setting the value of some variable or stopping an animation. In + // particular, they cannot run sub-loops or anything like that, because + // the callback is called at an arbitrary time without much control + // over what the state of the rest of the program is. void registerCallback(AnimationCallback callback) { _callback = callback; } void doNothing() {} |