Mercurial > mm7
comparison Viewport.cpp @ 1328:8ed112935a48
m
author | Ritor1 |
---|---|
date | Tue, 02 Jul 2013 14:08:30 +0600 |
parents | cc8d58f2bf0c |
children | 1e35cfed7928 |
comparison
equal
deleted
inserted
replaced
1327:8433de6fd7d0 | 1328:8ed112935a48 |
---|---|
301 SpriteObject::OnInteraction(a2.y); | 301 SpriteObject::OnInteraction(a2.y); |
302 return; | 302 return; |
303 } | 303 } |
304 if ( !pParty->pPickedItem.uItemID ) | 304 if ( !pParty->pPickedItem.uItemID ) |
305 return; | 305 return; |
306 __debugbreak();//no checker | |
306 v6 = 0; | 307 v6 = 0; |
307 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; | 308 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; |
308 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 309 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
309 LOWORD(v6) = 0; | 310 LOWORD(v6) = 0; |
310 else | 311 else |
354 stru_50C198.LootActor(&pActors[v16]); | 355 stru_50C198.LootActor(&pActors[v16]); |
355 return; | 356 return; |
356 } | 357 } |
357 if ( !pParty->pPickedItem.uItemID ) | 358 if ( !pParty->pPickedItem.uItemID ) |
358 return; | 359 return; |
360 __debugbreak();//no checker | |
359 v6 = 0; | 361 v6 = 0; |
360 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; | 362 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; |
361 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 363 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
362 LOWORD(v6) = 0; | 364 LOWORD(v6) = 0; |
363 else | 365 else |
402 { | 404 { |
403 if ( HIWORD(v0) >= clickable_distance) | 405 if ( HIWORD(v0) >= clickable_distance) |
404 { | 406 { |
405 if ( !pParty->pPickedItem.uItemID ) | 407 if ( !pParty->pPickedItem.uItemID ) |
406 return; | 408 return; |
409 __debugbreak();//no checker | |
407 v6 = 0; | 410 v6 = 0; |
408 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; | 411 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; |
409 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 412 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
410 LOWORD(v6) = 0; | 413 LOWORD(v6) = 0; |
411 else | 414 else |
487 { | 490 { |
488 if ( (signed int)(((unsigned int)v0 >> 16) - pDecorationList->pDecorations[pLevelDecorations[(signed int)(unsigned __int16)v0 >> 3].uDecorationDescID].uRadius) >= clickable_distance ) | 491 if ( (signed int)(((unsigned int)v0 >> 16) - pDecorationList->pDecorations[pLevelDecorations[(signed int)(unsigned __int16)v0 >> 3].uDecorationDescID].uRadius) >= clickable_distance ) |
489 { | 492 { |
490 if ( !pParty->pPickedItem.uItemID ) | 493 if ( !pParty->pPickedItem.uItemID ) |
491 return; | 494 return; |
495 __debugbreak();//no checker | |
492 v6 = 0; | 496 v6 = 0; |
493 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; | 497 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; |
494 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 498 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
495 LOWORD(v6) = 0; | 499 LOWORD(v6) = 0; |
496 else | 500 else |
552 { | 556 { |
553 ShowNothingHereStatus(); | 557 ShowNothingHereStatus(); |
554 if ( !pParty->pPickedItem.uItemID ) | 558 if ( !pParty->pPickedItem.uItemID ) |
555 return; | 559 return; |
556 } | 560 } |
561 __debugbreak();//no checker | |
557 v6 = 0; | 562 v6 = 0; |
558 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; | 563 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; |
559 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 564 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
560 LOWORD(v6) = 0; | 565 LOWORD(v6) = 0; |
561 else | 566 else |
604 { | 609 { |
605 ShowNothingHereStatus(); | 610 ShowNothingHereStatus(); |
606 if ( !pParty->pPickedItem.uItemID ) | 611 if ( !pParty->pPickedItem.uItemID ) |
607 return; | 612 return; |
608 } | 613 } |
614 __debugbreak();//no checker | |
609 v6 = 0; | 615 v6 = 0; |
610 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; | 616 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; |
611 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 617 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
612 LOWORD(v6) = 0; | 618 LOWORD(v6) = 0; |
613 else | 619 else |
653 } | 659 } |
654 if ( PID_TYPE(v0) != OBJECT_BModel || HIWORD(v0) >= clickable_distance ) | 660 if ( PID_TYPE(v0) != OBJECT_BModel || HIWORD(v0) >= clickable_distance ) |
655 { | 661 { |
656 if ( !pParty->pPickedItem.uItemID ) | 662 if ( !pParty->pPickedItem.uItemID ) |
657 return; | 663 return; |
664 __debugbreak();//no checker | |
658 v6 = 0; | 665 v6 = 0; |
659 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; | 666 a1.uType = pItemsTable->pItems[pParty->pPickedItem.uItemID].uSpriteID; |
660 if ( (signed int)pObjectList->uNumObjects <= 0 ) | 667 if ( (signed int)pObjectList->uNumObjects <= 0 ) |
661 LOWORD(v6) = 0; | 668 LOWORD(v6) = 0; |
662 else | 669 else |