aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/vgafades.cpp
diff options
context:
space:
mode:
authorD G Turner2011-12-01 19:43:43 +0000
committerD G Turner2011-12-01 19:43:43 +0000
commit349cbc527f33858b6275daaa8f770cd6f7fcd42d (patch)
tree9e8b535ba79d699c408631419dd80965e6eb40c9 /engines/dreamweb/vgafades.cpp
parentd1144963da664891baae241b72d6cfc65ae8d216 (diff)
downloadscummvm-rg350-349cbc527f33858b6275daaa8f770cd6f7fcd42d.tar.gz
scummvm-rg350-349cbc527f33858b6275daaa8f770cd6f7fcd42d.tar.bz2
scummvm-rg350-349cbc527f33858b6275daaa8f770cd6f7fcd42d.zip
DREAMWEB: Fix compilation due to dreamgen.* function renaming.
Diffstat (limited to 'engines/dreamweb/vgafades.cpp')
-rw-r--r--engines/dreamweb/vgafades.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/engines/dreamweb/vgafades.cpp b/engines/dreamweb/vgafades.cpp
index c4c473f040..f0ed36620d 100644
--- a/engines/dreamweb/vgafades.cpp
+++ b/engines/dreamweb/vgafades.cpp
@@ -36,31 +36,31 @@ uint8 *DreamGenContext::endPalette() {
return segRef(data.word(kBuffers)).ptr(kEndpal, 256*3);
}
-void DreamGenContext::clearstartpal() {
+void DreamGenContext::clearStartPal() {
memset(startPalette(), 0, 256*3);
}
-void DreamGenContext::clearendpal() {
+void DreamGenContext::clearEndPal() {
memset(endPalette(), 0, 256*3);
}
-void DreamGenContext::paltostartpal() {
+void DreamGenContext::palToStartPal() {
memcpy(startPalette(), mainPalette(), 256*3);
}
-void DreamGenContext::endpaltostart() {
+void DreamGenContext::endPalToStart() {
memcpy(startPalette(), endPalette(), 256*3);
}
-void DreamGenContext::startpaltoend() {
+void DreamGenContext::startPalToEnd() {
memcpy(endPalette(), startPalette(), 256*3);
}
-void DreamGenContext::paltoendpal() {
+void DreamGenContext::palToEndPal() {
memcpy(endPalette(), mainPalette(), 256*3);
}
-void DreamGenContext::fadecalculation() {
+void DreamGenContext::fadeCalculation() {
if (data.byte(kFadecount) == 0) {
data.byte(kFadedirection) = 0;
return;
@@ -83,29 +83,29 @@ void DreamGenContext::fadecalculation() {
--data.byte(kFadecount);
}
-void DreamGenContext::fadeupyellows() {
- paltoendpal();
+void DreamGenContext::fadeupYellows() {
+ palToEndPal();
memset(endPalette() + 231*3, 0, 8*3);
memset(endPalette() + 246*3, 0, 1*3);
data.byte(kFadedirection) = 1;
data.byte(kFadecount) = 63;
data.byte(kColourpos) = 0;
data.byte(kNumtofade) = 128;
- hangon(128);
+ hangOn(128);
}
-void DreamGenContext::fadeupmonfirst() {
- paltostartpal();
- paltoendpal();
+void DreamGenContext::fadeupMonFirst() {
+ palToStartPal();
+ palToEndPal();
memset(startPalette() + 231*3, 0, 8*3);
memset(startPalette() + 246*3, 0, 1*3);
data.byte(kFadedirection) = 1;
data.byte(kFadecount) = 63;
data.byte(kColourpos) = 0;
data.byte(kNumtofade) = 128;
- hangon(64);
- playchannel1(26);
- hangon(64);
+ hangOn(64);
+ playChannel1(26);
+ hangOn(64);
}
} /*namespace dreamgen */