diff options
author | Max Horn | 2006-07-06 21:44:48 +0000 |
---|---|---|
committer | Max Horn | 2006-07-06 21:44:48 +0000 |
commit | 1d8d9f5510dc5f574e926bd6fadb9d20337daede (patch) | |
tree | 5cdcf6c8a233159776be9d90f3f39885222f65eb /backends/PalmOS/Src/builder/scumm/bl_gfx.c | |
parent | 9269ebe9f5a281f452594f1e8108e31c88a398fb (diff) | |
download | scummvm-rg350-1d8d9f5510dc5f574e926bd6fadb9d20337daede.tar.gz scummvm-rg350-1d8d9f5510dc5f574e926bd6fadb9d20337daede.tar.bz2 scummvm-rg350-1d8d9f5510dc5f574e926bd6fadb9d20337daede.zip |
Moving remaining platform/backends code, as previously threatened
svn-id: r23380
Diffstat (limited to 'backends/PalmOS/Src/builder/scumm/bl_gfx.c')
-rw-r--r-- | backends/PalmOS/Src/builder/scumm/bl_gfx.c | 111 |
1 files changed, 0 insertions, 111 deletions
diff --git a/backends/PalmOS/Src/builder/scumm/bl_gfx.c b/backends/PalmOS/Src/builder/scumm/bl_gfx.c deleted file mode 100644 index 0ac90e5636..0000000000 --- a/backends/PalmOS/Src/builder/scumm/bl_gfx.c +++ /dev/null @@ -1,111 +0,0 @@ -#include <PalmOS.h> -#include "b_globals.h" -/////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////// -typedef struct { - Int8 numOfIterations; - Int8 deltaTable[16]; // four times l / t / r / b - Int8 stripTable[16]; // ditto -} TransitionEffect; -/////////////////////////////////////////////////////////////////// -static void addGfx_transitionEffects() { - TransitionEffect transitionEffects[5] = { - // Iris effect (looks like an opening/closing camera iris) - { - 13, // Number of iterations - { - 1, 1, -1, 1, - -1, 1, -1, -1, - 1, -1, -1, -1, - 1, 1, 1, -1 - }, - { - 0, 0, 39, 0, - 39, 0, 39, 24, - 0, 24, 39, 24, - 0, 0, 0, 24 - } - }, - - // Box wipe (a box expands from the upper-left corner to the lower-right corner) - { - 25, // Number of iterations - { - 0, 1, 2, 1, - 2, 0, 2, 1, - 2, 0, 2, 1, - 0, 0, 0, 0 - }, - { - 0, 0, 0, 0, - 0, 0, 0, 0, - 1, 0, 1, 0, - 255, 0, 0, 0 - } - }, - - // Box wipe (a box expands from the lower-right corner to the upper-left corner) - { - 25, // Number of iterations - { - -2, -1, 0, -1, - -2, -1, -2, 0, - -2, -1, -2, 0, - 0, 0, 0, 0 - }, - { - 39, 24, 39, 24, - 39, 24, 39, 24, - 38, 24, 38, 24, - 255, 0, 0, 0 - } - }, - - // Inverse box wipe - { - 25, // Number of iterations - { - 0, -1, -2, -1, - -2, 0, -2, -1, - -2, 0, -2, -1, - 0, 0, 0, 0 - }, - { - 0, 24, 39, 24, - 39, 0, 39, 24, - 38, 0, 38, 24, - 255, 0, 0, 0 - } - }, - - // Inverse iris effect, specially tailored for V1/V2 games - { - 9, // Number of iterations - { - -1, -1, 1, -1, - -1, 1, 1, 1, - -1, -1, -1, 1, - 1, -1, 1, 1 - }, - { - 7, 7, 32, 7, - 7, 8, 32, 8, - 7, 8, 7, 8, - 32, 7, 32, 8 - } - } - }; - - writeRecord(transitionEffects, sizeof(transitionEffects), GBVARS_TRANSITIONEFFECTS_INDEX , GBVARS_SCUMM); -} - -/////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////// - -void addGfx() { - addGfx_transitionEffects(); - -}
\ No newline at end of file |