diff options
Diffstat (limited to '')
-rwxr-xr-x | include/game.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h index 3a24aba..2a30ee7 100755 --- a/include/game.h +++ b/include/game.h @@ -3588,5 +3588,77 @@ namespace nw4r { extern float EnemyBounceValue;
+class dStockItemShadow_c : public dBase_c {
+ public:
+ m2d::EmbedLayout_c layout;
+
+ nw4r::lyt::Pane *rootPane;
+ nw4r::lyt::TextBox *textBoxes[14];
+ nw4r::lyt::Picture *buttonBases[7];
+ bool layoutLoaded, visible, needsUpdate;
+ int values[8];
+ nw4r::lyt::TextBox *hammerValue, *hammerX;
+ nw4r::lyt::Picture *hammerButtonBase;
+};
+
+class dStockItem_c : public dBase_c {
+ public:
+ int onCreate();
+ int onDelete();
+ int beforeExecute();
+ int onExecute();
+ int onDraw();
+
+ dStockItem_c();
+ ~dStockItem_c();
+
+
+ u32 _70;
+ m2d::EmbedLayout_c layout;
+ dStateWrapper_c<dStockItem_c> state;
+
+ nw4r::lyt::Pane
+ *rootPane,
+ *N_forUse_PPos[4],
+ *N_icon[7],
+ *N_stockItem, *N_stockItem_01,
+ *N_itemSelect_00;
+
+ nw4r::lyt::Picture
+ *P_icon[7],
+ *P_buttonBase[7],
+ *P_iconBase[10];
+
+ /*da2DPlayer_c*/void *player2d[4];
+ /*daWMItem_c*/void *itemPtr[7];
+ dStockItemShadow_c *shadow;
+ int actionTaken;
+ u32 _318, _31C, _320, _324;
+ int usedItem;
+ EGG::Effect effectArray[4], oneEffect;
+ int effectIDs[4];
+ int selectedItem, previousItem;
+ u32 _8A8, _8AC;
+ int playerCount, counts[7];
+ u32 _8D0;
+ int someAnimID;
+ bool isPlayerActive[4], layoutLoaded, show, _8DE;
+
+ /*daWMItem_c*/void *newItemPtr[8];
+ int newCounts[8];
+ nw4r::lyt::Picture *newButtonBase[8];
+ nw4r::lyt::Pane *newIconPanes[8];
+ nw4r::lyt::Picture *newIconPictures[8];
+
+ void setScalesOfSomeThings();
+ int getIconPictureIDforPlayer(int i);
+};
+
+
+// Some ugly code
+extern void *SelectCursorPointer;
+extern "C" void UpdateSelectCursor(nw4r::lyt::Pane *pane, int whichOne, bool unkBool);
+extern "C" void HideSelectCursor(void *scPtr, int whichOne);
+
#endif
|