comparison Events.cpp @ 2331:9551756f46c4

Moving functions out of mm7_6.cpp into appropriate classes as static methods or free functions
author Grumpy7
date Wed, 02 Apr 2014 01:21:05 +0200
parents fd788d2e9585
children ddb803517a48
comparison
equal deleted inserted replaced
2330:5133eea7a4ca 2331:9551756f46c4
10 #include "MapInfo.h" 10 #include "MapInfo.h"
11 #include "Game.h" 11 #include "Game.h"
12 #include "Render.h" 12 #include "Render.h"
13 #include "GUIWindow.h" 13 #include "GUIWindow.h"
14 #include "GUIProgressBar.h" 14 #include "GUIProgressBar.h"
15 #include "SpriteObject.h"
15 #include "Chest.h" 16 #include "Chest.h"
16 #include "stru176.h" 17 #include "stru176.h"
17 #include "LOD.h" 18 #include "LOD.h"
18 #include "Actor.h" 19 #include "Actor.h"
19 #include "Party.h" 20 #include "Party.h"
756 case EVENT_ForPartyMember: 757 case EVENT_ForPartyMember:
757 player_choose = _evt->v5; 758 player_choose = _evt->v5;
758 ++curr_seq_num; 759 ++curr_seq_num;
759 break; 760 break;
760 case EVENT_SummonItem: 761 case EVENT_SummonItem:
761 sub_42F7EB_DropItemAt(_evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8), 762 SpriteObject::sub_42F7EB_DropItemAt(_evt->v5 + ((_evt->v6 + ((_evt->v7 + ((uint)_evt->v8 << 8)) << 8)) << 8),
762 _evt->v9 + ((_evt->v10 + ((_evt->v11 + ((uint)_evt->v12 << 8)) << 8)) << 8), 763 _evt->v9 + ((_evt->v10 + ((_evt->v11 + ((uint)_evt->v12 << 8)) << 8)) << 8),
763 _evt->v13 + ((_evt->v14 + ((_evt->v15 + ((uint)_evt->v16 << 8)) << 8)) << 8), 764 _evt->v13 + ((_evt->v14 + ((_evt->v15 + ((uint)_evt->v16 << 8)) << 8)) << 8),
764 _evt->v17 + ((_evt->v18 + ((_evt->v19 + ((uint)_evt->v20 << 8)) << 8)) << 8), 765 _evt->v17 + ((_evt->v18 + ((_evt->v19 + ((uint)_evt->v20 << 8)) << 8)) << 8),
765 _evt->v21 + ((_evt->v22 + ((_evt->v23 + ((uint)_evt->v24 << 8)) << 8)) << 8), 766 _evt->v21 + ((_evt->v22 + ((_evt->v23 + ((uint)_evt->v24 << 8)) << 8)) << 8),
766 _evt->v25, _evt->v26, 0, 0); 767 _evt->v25, _evt->v26, 0, 0);