summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-01-17 09:23:55 +0100
committerTreeki <treeki@gmail.com>2013-01-17 09:23:55 +0100
commit1e2fe2181af8215e6da3f55d0350385d0af2f7e0 (patch)
tree697f2105ceedd031f901c896d2747ccdfc2b43bb /include
parent4a51200b922d2ed0896562d95d1d9e390a014db3 (diff)
downloadkamek-1e2fe2181af8215e6da3f55d0350385d0af2f7e0.tar.gz
kamek-1e2fe2181af8215e6da3f55d0350385d0af2f7e0.zip
myriad updates and fixes to EVERYTHING
Diffstat (limited to '')
-rwxr-xr-xinclude/game.h72
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