comparison Engine/Events.cpp @ 2566:30eb6dcac768

big spell fx overhaul
author a.parshin
date Wed, 20 May 2015 21:05:07 +0200
parents e06a3fe9ad6e
children dd36326a9994
comparison
equal deleted inserted replaced
2565:117c219bf913 2566:30eb6dcac768
713 case EVENT_ForPartyMember: 713 case EVENT_ForPartyMember:
714 player_choose = _evt->v5; 714 player_choose = _evt->v5;
715 ++curr_seq_num; 715 ++curr_seq_num;
716 break; 716 break;
717 case EVENT_SummonItem: 717 case EVENT_SummonItem:
718 SpriteObject::sub_42F7EB_DropItemAt(_evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8), 718 SpriteObject::sub_42F7EB_DropItemAt(
719 _evt->v9 + ((_evt->v10 + ((_evt->v11 + ((uint)_evt->v12 << 8)) << 8)) << 8), 719 (SPRITE_OBJECT_TYPE)(_evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8)),
720 _evt->v13 + ((_evt->v14 + ((_evt->v15 + ((uint)_evt->v16 << 8)) << 8)) << 8), 720 _evt->v9 + ((_evt->v10 + ((_evt->v11 + ((uint)_evt->v12 << 8)) << 8)) << 8),
721 _evt->v17 + ((_evt->v18 + ((_evt->v19 + ((uint)_evt->v20 << 8)) << 8)) << 8), 721 _evt->v13 + ((_evt->v14 + ((_evt->v15 + ((uint)_evt->v16 << 8)) << 8)) << 8),
722 _evt->v21 + ((_evt->v22 + ((_evt->v23 + ((uint)_evt->v24 << 8)) << 8)) << 8), 722 _evt->v17 + ((_evt->v18 + ((_evt->v19 + ((uint)_evt->v20 << 8)) << 8)) << 8),
723 _evt->v25, _evt->v26, 0, 0); 723 _evt->v21 + ((_evt->v22 + ((_evt->v23 + ((uint)_evt->v24 << 8)) << 8)) << 8),
724 _evt->v25, _evt->v26, 0, 0
725 );
724 ++curr_seq_num; 726 ++curr_seq_num;
725 break; 727 break;
726 case EVENT_Compare: 728 case EVENT_Compare:
727 pValue = EVT_DWORD(_evt->v7); 729 pValue = EVT_DWORD(_evt->v7);
728 if ( player_choose <= 3 ) 730 if ( player_choose <= 3 )