Mercurial > mm7
comparison UI/UiGame.cpp @ 2102:0db53678ff48
RasterLine2D, DIALOGUE_EVT_A etc.
author | Ritor1 |
---|---|
date | Tue, 17 Dec 2013 21:34:20 +0600 |
parents | ee2724b9ca05 |
children | 90cc547a7927 |
comparison
equal
deleted
inserted
replaced
2101:ee2724b9ca05 | 2102:0db53678ff48 |
---|---|
419 case DIALOGUE_ARENA_ALREADY_WON: | 419 case DIALOGUE_ARENA_ALREADY_WON: |
420 pInString = pGlobalTXT_LocalizationStrings[582]; // "You already won this trip to the Arena:" | 420 pInString = pGlobalTXT_LocalizationStrings[582]; // "You already won this trip to the Arena:" |
421 break; | 421 break; |
422 | 422 |
423 default: | 423 default: |
424 if (uDialogueType > DIALOGUE_18 && uDialogueType < DIALOGUE_23 && !byte_5B0938[0]) | 424 if (uDialogueType > DIALOGUE_18 && uDialogueType < DIALOGUE_EVT_E && !byte_5B0938[0]) |
425 { | 425 { |
426 pInString = (char *)current_npc_text; | 426 pInString = (char *)current_npc_text; |
427 } | 427 } |
428 else if (pGreetType == 1)//QuestNPC_greet | 428 else if (pGreetType == 1)//QuestNPC_greet |
429 { | 429 { |
1983 else | 1983 else |
1984 { | 1984 { |
1985 long long _a = (uZoom * (signed __int64)pIndoor->pVertices[pOutline->uVertex1ID].x); | 1985 long long _a = (uZoom * (signed __int64)pIndoor->pVertices[pOutline->uVertex1ID].x); |
1986 uint _b = ((unsigned int)((unsigned __int64)_a >> 16) << 16); | 1986 uint _b = ((unsigned int)((unsigned __int64)_a >> 16) << 16); |
1987 int _c = ((signed int)(_b - uZoom * pParty->vPosition.x) >> 16); | 1987 int _c = ((signed int)(_b - uZoom * pParty->vPosition.x) >> 16); |
1988 pX = uCenterX + ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pOutline->uVertex1ID].x) >> 16) << 16) - uZoom * pParty->vPosition.x) >> 16); | 1988 pX = uCenterX + ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pIndoor->pMapOutlines->pOutlines[i].uVertex1ID].x) >> 16) << 16) - uZoom * pParty->vPosition.x) >> 16); |
1989 pY = uCenterY - ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pOutline->uVertex1ID].y) >> 16) << 16) - uZoom * pParty->vPosition.y) >> 16); | 1989 pY = uCenterY - ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pIndoor->pMapOutlines->pOutlines[i].uVertex1ID].y) >> 16) << 16) - uZoom * pParty->vPosition.y) >> 16); |
1990 pZ = uCenterX + ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pOutline->uVertex2ID].x) >> 16) << 16) - uZoom * pParty->vPosition.x) >> 16); | 1990 pZ = uCenterX + ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pIndoor->pMapOutlines->pOutlines[i].uVertex2ID].x) >> 16) << 16) - uZoom * pParty->vPosition.x) >> 16); |
1991 pW = uCenterY - ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pOutline->uVertex2ID].y) >> 16) << 16) - uZoom * pParty->vPosition.y) >> 16); | 1991 pW = uCenterY - ((signed int)(((unsigned int)((unsigned __int64)(uZoom * (signed __int64)pIndoor->pVertices[pIndoor->pMapOutlines->pOutlines[i].uVertex2ID].y) >> 16) << 16) - uZoom * pParty->vPosition.y) >> 16); |
1992 v15 = abs(pOutline->sZ - pParty->vPosition.z) / 8; | 1992 v15 = abs(pOutline->sZ - pParty->vPosition.z) / 8; |
1993 if ( v15 > 100 ) | 1993 if ( v15 > 100 ) |
1994 v15 = 100; | 1994 v15 = 100; |
1995 //if ( i == 1000 )//pY < 0 && pW > 16 ) | 1995 //if ( i == 1000 )//pY < 0 && pW > 16 ) |
1996 //__debugbreak(); | 1996 //__debugbreak(); |