[Scummvm-cvs-logs] scummvm master -> 89f40bc02a45ca88e189c5882b71dbeeaf5fec1c
fingolfin
max at quendi.de
Tue May 3 13:28:57 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
89f40bc02a VIDEO: Cleanup mixed array / type declaration
Commit: 89f40bc02a45ca88e189c5882b71dbeeaf5fec1c
https://github.com/scummvm/scummvm/commit/89f40bc02a45ca88e189c5882b71dbeeaf5fec1c
Author: Max Horn (max at quendi.de)
Date: 2011-05-03T04:25:01-07:00
Commit Message:
VIDEO: Cleanup mixed array / type declaration
Changed paths:
video/codecs/truemotion1.cpp
diff --git a/video/codecs/truemotion1.cpp b/video/codecs/truemotion1.cpp
index 70c456d..b7d1f40 100644
--- a/video/codecs/truemotion1.cpp
+++ b/video/codecs/truemotion1.cpp
@@ -60,12 +60,14 @@ enum {
};
// { valid for metatype }, algorithm, num of deltas, vert res, horiz res
-struct {
+struct CompressionType {
int algorithm;
int blockWidth; // vres
int blockHeight; // hres
int blockType;
-} static const compressionTypes[17] = {
+};
+
+static const CompressionType compressionTypes[17] = {
{ ALGO_NOP, 0, 0, 0 },
{ ALGO_RGB16V, 4, 4, BLOCK_4x4 },
More information about the Scummvm-git-logs
mailing list