aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/slice_animations.h
diff options
context:
space:
mode:
authorPeter Kohaut2016-09-26 23:38:35 +0200
committerEugene Sandulenko2016-09-29 22:33:41 +0200
commitf1cb735ee07c11785f67080ea800a72dd551ae19 (patch)
tree7f67364d748a1091164ecaa98386165a76f78a8f /engines/bladerunner/slice_animations.h
parentcfc8ffed8af71714cc6378b412557d5fc03781d4 (diff)
downloadscummvm-rg350-f1cb735ee07c11785f67080ea800a72dd551ae19.tar.gz
scummvm-rg350-f1cb735ee07c11785f67080ea800a72dd551ae19.tar.bz2
scummvm-rg350-f1cb735ee07c11785f67080ea800a72dd551ae19.zip
BLADERUNNER: added rendering support for lighting and effects, but its not working correctly yet
Diffstat (limited to 'engines/bladerunner/slice_animations.h')
-rw-r--r--engines/bladerunner/slice_animations.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/bladerunner/slice_animations.h b/engines/bladerunner/slice_animations.h
index 1e35d6b90c..0abdfb1ce0 100644
--- a/engines/bladerunner/slice_animations.h
+++ b/engines/bladerunner/slice_animations.h
@@ -27,16 +27,20 @@
#include "common/file.h"
#include "common/str.h"
#include "common/types.h"
-#include "vector.h"
+
+#include "bladerunner/color.h"
+#include "bladerunner/vector.h"
+
namespace BladeRunner {
class BladeRunnerEngine;
struct SlicePalette {
- uint16 color[256];
+ uint16 color555[256];
+ Color256 color[256];
- uint16 &operator[](size_t i) { return color[i]; }
+// uint16 &operator[](size_t i) { return color555[i]; }
};
class SliceAnimations {