comparison Engine/Objects/Player.cpp @ 2566:30eb6dcac768

big spell fx overhaul
author a.parshin
date Wed, 20 May 2015 21:05:07 +0200
parents 91c75d202d30
children d569340b05ff
comparison
equal deleted inserted replaced
2565:117c219bf913 2566:30eb6dcac768
4670 pMouse->RemoveHoldingItem(); 4670 pMouse->RemoveHoldingItem();
4671 pGUIWindow_CurrentMenu->Release(); 4671 pGUIWindow_CurrentMenu->Release();
4672 pIcons_LOD->RemoveTexturesPackFromTextureList(); 4672 pIcons_LOD->RemoveTexturesPackFromTextureList();
4673 current_screen_type = SCREEN_GAME; 4673 current_screen_type = SCREEN_GAME;
4674 viewparams->bRedrawGameUI = 1; 4674 viewparams->bRedrawGameUI = 1;
4675 _42777D_CastSpell_UseWand_ShootArrow(scroll_id, player_num - 1, 0x85u, 1, 0); 4675 _42777D_CastSpell_UseWand_ShootArrow((SPELL_TYPE)scroll_id, player_num - 1, 0x85u, 1, 0);
4676 } 4676 }
4677 else 4677 else
4678 { 4678 {
4679 pMouse->RemoveHoldingItem(); 4679 pMouse->RemoveHoldingItem();
4680 pMessageQueue_50C9E8->AddGUIMessage(UIMSG_SpellScrollUse, scroll_id, player_num - 1); 4680 pMessageQueue_50C9E8->AddGUIMessage(UIMSG_SpellScrollUse, scroll_id, player_num - 1);
8147 { 8147 {
8148 unsigned __int16 v9; // ax@5 8148 unsigned __int16 v9; // ax@5
8149 8149
8150 SpriteObject a1a; // [sp+Ch] [bp-74h]@1 8150 SpriteObject a1a; // [sp+Ch] [bp-74h]@1
8151 //SpriteObject::SpriteObject(&a1a); 8151 //SpriteObject::SpriteObject(&a1a);
8152 a1a.uType = 600; 8152 a1a.uType = SPRITE_600;
8153 a1a.stru_24.Reset(); 8153 a1a.containing_item.Reset();
8154 8154
8155 a1a.spell_id = SPELL_FIRE_FIREBALL; 8155 a1a.spell_id = SPELL_FIRE_FIREBALL;
8156 a1a.spell_level = 8; 8156 a1a.spell_level = 8;
8157 a1a.spell_skill = 3; 8157 a1a.spell_skill = 3;
8158 v9 = 0; 8158 v9 = 0;