summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spuencoder.c2
-rw-r--r--spuregion.c4
-rw-r--r--spuregion.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/spuencoder.c b/spuencoder.c
index 811422f..973e241 100644
--- a/spuencoder.c
+++ b/spuencoder.c
@@ -94,7 +94,7 @@ void cSpuEncoder::encode(cBitmap *bmap, int top, int left)
cSpuRegion *reg = new cSpuRegion();
for (int i = 0; i < numColors; i++) {
- reg->addColIndex(bitmap->Index(colors[i]));
+ reg->addIndex(bitmap->Index(colors[i]));
}
regions.push_back(reg);
diff --git a/spuregion.c b/spuregion.c
index 973b787..da36a64 100644
--- a/spuregion.c
+++ b/spuregion.c
@@ -48,7 +48,7 @@ sSection *cSpuRegion::section(uint8_t num)
return &sections[num];
}
-bool cSpuRegion::addColIndex(tIndex idx)
+bool cSpuRegion::addIndex(tIndex idx)
{
sSection *sec = &sections[usedSections];
@@ -61,7 +61,7 @@ bool cSpuRegion::addColIndex(tIndex idx)
return true;
}
-bool cSpuRegion::containsColIndex(tIndex idx)
+bool cSpuRegion::containsIndex(tIndex idx)
{
sSection *sec = &sections[usedSections];
diff --git a/spuregion.h b/spuregion.h
index 8fa0e3d..e22d7f6 100644
--- a/spuregion.h
+++ b/spuregion.h
@@ -50,8 +50,8 @@ public:
uint8_t openSections();
sSection *section(uint8_t num);
- bool addColIndex(tIndex idx);
- bool containsColIndex(tIndex idx);
+ bool addIndex(tIndex idx);
+ bool containsIndex(tIndex idx);
private:
uint8_t usedSections;