aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/anim.cpp
diff options
context:
space:
mode:
authorGregory Montoir2007-12-14 19:21:19 +0000
committerGregory Montoir2007-12-14 19:21:19 +0000
commitbb30d560b2edaade39ce5fea556ed0106d1cea0d (patch)
tree24e00e209a44c8e3a87c9bb2678efb1ca4d79883 /engines/cine/anim.cpp
parent57460c21b3991944edacf75dbe5b8cfbe197b6f9 (diff)
downloadscummvm-rg350-bb30d560b2edaade39ce5fea556ed0106d1cea0d.tar.gz
scummvm-rg350-bb30d560b2edaade39ce5fea556ed0106d1cea0d.tar.bz2
scummvm-rg350-bb30d560b2edaade39ce5fea556ed0106d1cea0d.zip
renamed several structures, variables and functions
svn-id: r29860
Diffstat (limited to 'engines/cine/anim.cpp')
-rw-r--r--engines/cine/anim.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp
index 522e0717d8..1b39340301 100644
--- a/engines/cine/anim.cpp
+++ b/engines/cine/anim.cpp
@@ -36,7 +36,7 @@
namespace Cine {
-struct animHeader2Struct {
+struct AnimHeader2Struct {
uint32 field_0;
uint16 width;
uint16 height;
@@ -48,9 +48,9 @@ struct animHeader2Struct {
static uint16 animDataCount = 0;
-animHeaderStruct animHeader;
+AnimHeaderStruct animHeader;
-animDataEntry animData[] = {
+static const AnimDataEntry animData[] = {
{"ALPHA", 0xF},
{"TITRE2", 0xF},
{"ET", 0xC},
@@ -519,7 +519,7 @@ void convert8BBP2(byte * dest, byte * source, int16 width, int16 height) {
}
void loadSet(const char *resourceName, int16 idx) {
- animHeader2Struct header2;
+ AnimHeader2Struct header2;
uint32 fullSize;
uint16 numSpriteInAnim;
int16 foundFileIdx = findFileInBundle(resourceName);
@@ -678,7 +678,7 @@ void loadResourcesFromSave() {
foundFileIdx = currentPtr->fileIdx;
- strcpy(animName, partBuffer[foundFileIdx].partName);
+ strcpy(animName, partBuffer[foundFileIdx].partName);
ptr = dataPtr = readBundleFile(foundFileIdx);
isSpl = (strstr(animName, ".SPL")) ? 1 : 0;