diff options
Diffstat (limited to 'engines/dm/menus.cpp')
| -rw-r--r-- | engines/dm/menus.cpp | 22 | 
1 files changed, 11 insertions, 11 deletions
| diff --git a/engines/dm/menus.cpp b/engines/dm/menus.cpp index 1d93895e09..ee023e7522 100644 --- a/engines/dm/menus.cpp +++ b/engines/dm/menus.cpp @@ -64,7 +64,7 @@ void MenuMan::f395_drawMovementArrows() {  	Box &dest = g2_BoxMovementArrows;
  	uint16 w = disp.getWidth(k13_MovementArrowsIndice);
 -	disp.f132_blitToBitmap(arrowsBitmap, w, 0, 0, disp._g348_bitmapScreen, k160_byteWidthScreen * 2, dest, k255_ColorNoTransparency);
 +	disp.f132_blitToBitmap(arrowsBitmap, disp._g348_bitmapScreen, dest, 0, 0, w, k160_byteWidthScreen * 2, k255_ColorNoTransparency);
  }
  void MenuMan::f388_clearActingChampion() {
  	ChampionMan &cm = *_vm->_championMan;
 @@ -113,7 +113,7 @@ T0386006:  	box2._x2 = box._x2 - 2; // no need to add +1 for exclusive boundaries, box already has that
  	box2._y1 = 95;
  	box2._y2 = 110 + 1;
 -	dm.f132_blitToBitmap(bitmapIcon, 16, 0, 0, dm._g348_bitmapScreen, k160_byteWidthScreen * 2, box2);
 +	dm.f132_blitToBitmap(bitmapIcon, dm._g348_bitmapScreen, box2, 0, 0, 16, k160_byteWidthScreen * 2, k255_ColorNoTransparency);
  	if (champion.getAttributes(k0x0008_ChampionAttributeDisableAction) || _vm->_championMan->_g299_candidateChampionOrdinal || _vm->_championMan->_g300_partyIsSleeping) {
  		warning("MISSING CODE: F0136_VIDEO_ShadeScreenBox");
  	}
 @@ -208,13 +208,13 @@ void MenuMan::f387_drawActionArea() {  			box = g500_BoxActionArea2ActionMenu;
  		if (_g713_actionList._actionIndices[1] == k255_ChampionActionNone)
  			box = g501_BoxActionArea1ActionMenu;
 -		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k10_MenuActionAreaIndice), 96, 0, 0, dispMan._g348_bitmapScreen, k160_byteWidthScreen * 2, box, k255_ColorNoTransparency);
 +		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k10_MenuActionAreaIndice), dispMan._g348_bitmapScreen, box, 0, 0, 96, k160_byteWidthScreen * 2, k255_ColorNoTransparency);
  		textMan.f41_printWithTrailingSpaces(dispMan._g348_bitmapScreen, k160_byteWidthScreen * 2, 235, 83, k0_ColorBlack, k4_ColorCyan, champMan._gK71_champions[_vm->M1_ordinalToIndex(champMan._g506_actingChampionOrdinal)]._name,
 -												k7_ChampionNameMaximumLength, k200_heightScreen);
 +											k7_ChampionNameMaximumLength, k200_heightScreen);
  		for (uint16 actionListIndex = 0; actionListIndex < 3; actionListIndex++) {
  			textMan.f41_printWithTrailingSpaces(dispMan._g348_bitmapScreen, k160_byteWidthScreen * 2, 241, 93 + actionListIndex * 12, k4_ColorCyan, k0_ColorBlack,
 -													f384_getActionName(_g713_actionList._actionIndices[actionListIndex]),
 -													k12_ActionNameMaximumLength, k200_heightScreen);
 +												f384_getActionName(_g713_actionList._actionIndices[actionListIndex]),
 +												k12_ActionNameMaximumLength, k200_heightScreen);
  		}
  	}
  	warning("MISSING CODE: F0078_MOUSE_ShowPointer");
 @@ -315,7 +315,7 @@ void MenuMan::f392_buildSpellAreaLine(int16 spellAreaBitmapLine) {  	Champion &champ = _vm->_championMan->_gK71_champions[_vm->_championMan->_g514_magicCasterChampionIndex];
  	if (spellAreaBitmapLine == k2_SpellAreaAvailableSymbols) {
  		dispMan._g578_useByteBoxCoordinates = false;
 -		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k11_MenuSpellAreLinesIndice), 96, 0, 12, _gK72_bitmapSpellAreaLine, 96, gK74_BoxSpellAreaLine, k255_ColorNoTransparency);
 +		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k11_MenuSpellAreLinesIndice), _gK72_bitmapSpellAreaLine, gK74_BoxSpellAreaLine, 0, 12, 96, 96, k255_ColorNoTransparency);
  		int16 x = 1;
  		byte c = 96 + (6 * champ._symbolStep);
  		char spellSymbolString[2] = {'\0', '\0'};
 @@ -325,7 +325,7 @@ void MenuMan::f392_buildSpellAreaLine(int16 spellAreaBitmapLine) {  		}
  	} else if (spellAreaBitmapLine == k3_SpellAreaChampionSymbols) {
  		dispMan._g578_useByteBoxCoordinates = false;
 -		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k11_MenuSpellAreLinesIndice), 96, 0, 24, _gK72_bitmapSpellAreaLine, 96, gK74_BoxSpellAreaLine, k255_ColorNoTransparency);
 +		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k11_MenuSpellAreLinesIndice), _gK72_bitmapSpellAreaLine, gK74_BoxSpellAreaLine, 0, 24, 96, 96, k255_ColorNoTransparency);
  		char spellSymbolString[2] = {'\0', '\0'};
  		int16 x = 8;
  		for (uint16 symbolIndex = 0; symbolIndex < 4; symbolIndex++) {
 @@ -345,7 +345,7 @@ void MenuMan::f394_setMagicCasterAndDrawSpellArea(int16 champIndex) {  		return;
  	if (champMan._g514_magicCasterChampionIndex == kM1_ChampionNone) {
  		warning("MISSING CODE: F0077_MOUSE_HidePointer_CPSE");
 -		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k9_MenuSpellAreaBackground), 96, 0, 0, dispMan._g348_bitmapScreen, k160_byteWidthScreen * 2, g0_BoxSpellArea);
 +		dispMan.f132_blitToBitmap(dispMan.f489_getBitmap(k9_MenuSpellAreaBackground), dispMan._g348_bitmapScreen, g0_BoxSpellArea, 0, 0, 96, k160_byteWidthScreen * 2, k255_ColorNoTransparency);
  		warning("MISSING CODE: F0078_MOUSE_ShowPointer");
  	}
  	if (champIndex == kM1_ChampionNone) {
 @@ -361,9 +361,9 @@ void MenuMan::f394_setMagicCasterAndDrawSpellArea(int16 champIndex) {  	f392_buildSpellAreaLine(k2_SpellAreaAvailableSymbols);
  	warning("MISSING CODE: F0077_MOUSE_HidePointer_CPSE");
  	f393_drawSpellAreaControls((ChampionIndex)champIndex);
 -	dispMan.f132_blitToBitmap(_gK72_bitmapSpellAreaLine, 96, 0, 0, dispMan._g348_bitmapScreen, k160_byteWidthScreen * 2, gK75_BoxSpellAreaLine2);
 +	dispMan.f132_blitToBitmap(_gK72_bitmapSpellAreaLine, dispMan._g348_bitmapScreen, gK75_BoxSpellAreaLine2, 0, 0, 96, k160_byteWidthScreen * 2, k255_ColorNoTransparency);
  	f392_buildSpellAreaLine(k3_SpellAreaChampionSymbols);
 -	dispMan.f132_blitToBitmap(_gK72_bitmapSpellAreaLine, 96, 0, 0, dispMan._g348_bitmapScreen, k160_byteWidthScreen * 2, gK76_BoxSpellAreaLine3);
 +	dispMan.f132_blitToBitmap(_gK72_bitmapSpellAreaLine, dispMan._g348_bitmapScreen, gK76_BoxSpellAreaLine3, 0, 0, 96, k160_byteWidthScreen * 2, k255_ColorNoTransparency);
  	warning("MISSING CODE: F0078_MOUSE_ShowPointer");
  }
  }
 | 
