Minor style-related changes
svn-id: r47839
This commit is contained in:
parent
887ca3145e
commit
d4949d03d4
9 changed files with 24 additions and 24 deletions
|
@ -818,7 +818,7 @@ void Draw::handleWinBorder(int16 id) {
|
||||||
_vm->_util->setMousePos(_vm->_global->_inter_mouseX, _vm->_global->_inter_mouseY);
|
_vm->_util->setMousePos(_vm->_global->_inter_mouseX, _vm->_global->_inter_mouseY);
|
||||||
}
|
}
|
||||||
|
|
||||||
winTrace(_cursorX,_cursorY, _fascinWin[id].width, _fascinWin[id].height);
|
winTrace(_cursorX, _cursorY, _fascinWin[id].width, _fascinWin[id].height);
|
||||||
winTrace(_vm->_global->_inter_mouseX, _vm->_global->_inter_mouseY, _fascinWin[id].width, _fascinWin[id].height);
|
winTrace(_vm->_global->_inter_mouseX, _vm->_global->_inter_mouseY, _fascinWin[id].width, _fascinWin[id].height);
|
||||||
_cursorX = _vm->_global->_inter_mouseX;
|
_cursorX = _vm->_global->_inter_mouseX;
|
||||||
_cursorY = _vm->_global->_inter_mouseY;
|
_cursorY = _vm->_global->_inter_mouseY;
|
||||||
|
|
|
@ -558,7 +558,7 @@ uint16 Hotspots::checkMouse(Type type, uint16 &id, uint16 &index) const {
|
||||||
if (_vm->getGameType() == kGameTypeFascination)
|
if (_vm->getGameType() == kGameTypeFascination)
|
||||||
winId = _vm->_draw->isOverWin(dx, dy);
|
winId = _vm->_draw->isOverWin(dx, dy);
|
||||||
|
|
||||||
warning("checkmouse %d - %d %d",winId, dx, dy);
|
warning("checkmouse %d - %d %d", winId, dx, dy);
|
||||||
|
|
||||||
if (winId < 0) {
|
if (winId < 0) {
|
||||||
winId = 0;
|
winId = 0;
|
||||||
|
|
|
@ -223,7 +223,7 @@ void Inter_Fascination::oFascin_activeWin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Inter_Fascination::oFascin_openWin() {
|
void Inter_Fascination::oFascin_openWin() {
|
||||||
int16 retVal,id;
|
int16 retVal, id;
|
||||||
_vm->_game->_script->evalExpr(&id);
|
_vm->_game->_script->evalExpr(&id);
|
||||||
retVal = _vm->_game->_script->readVarIndex();
|
retVal = _vm->_game->_script->readVarIndex();
|
||||||
WRITE_VAR((retVal / 4), (int32) _vm->_draw->openWin(id));
|
WRITE_VAR((retVal / 4), (int32) _vm->_draw->openWin(id));
|
||||||
|
|
|
@ -721,7 +721,7 @@ bool Inter_v1::o1_loadCursor(OpFuncParams ¶ms) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Inter_v1::o1_switch (OpFuncParams ¶ms) {
|
bool Inter_v1::o1_switch(OpFuncParams ¶ms) {
|
||||||
uint32 offset;
|
uint32 offset;
|
||||||
|
|
||||||
checkSwitchTable(offset);
|
checkSwitchTable(offset);
|
||||||
|
|
|
@ -614,7 +614,7 @@ void MDYPlayer::interpret() {
|
||||||
}
|
}
|
||||||
do {
|
do {
|
||||||
instr = *_playPos;
|
instr = *_playPos;
|
||||||
debugC(6, kDebugSound,"MDYPlayer::interpret instr 0x%X", instr);
|
debugC(6, kDebugSound, "MDYPlayer::interpret instr 0x%X", instr);
|
||||||
switch (instr) {
|
switch (instr) {
|
||||||
case 0xF8:
|
case 0xF8:
|
||||||
_wait = *(_playPos++);
|
_wait = *(_playPos++);
|
||||||
|
@ -627,7 +627,7 @@ void MDYPlayer::interpret() {
|
||||||
_playPos++;
|
_playPos++;
|
||||||
ctrlByte1 = *(_playPos++);
|
ctrlByte1 = *(_playPos++);
|
||||||
ctrlByte2 = *(_playPos++);
|
ctrlByte2 = *(_playPos++);
|
||||||
debugC(6, kDebugSound,"MDYPlayer::interpret ctrlBytes 0x%X 0x%X", ctrlByte1, ctrlByte2);
|
debugC(6, kDebugSound, "MDYPlayer::interpret ctrlBytes 0x%X 0x%X", ctrlByte1, ctrlByte2);
|
||||||
if (ctrlByte1 != 0x7F || ctrlByte2 != 0) {
|
if (ctrlByte1 != 0x7F || ctrlByte2 != 0) {
|
||||||
_playPos -= 2;
|
_playPos -= 2;
|
||||||
while (*(_playPos++) != 0xF7)
|
while (*(_playPos++) != 0xF7)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue