24 lines
520 B
C++
24 lines
520 B
C++
|
|
#pragma once
|
||
|
|
#include "Crawler.h"
|
||
|
|
#include "Menu.h"
|
||
|
|
#include "DEFINES.h"
|
||
|
|
#include "olcPixelGameEngine.h"
|
||
|
|
#include "safemap.h"
|
||
|
|
#include "Item.h"
|
||
|
|
|
||
|
|
INCLUDE_GFX
|
||
|
|
typedef Attribute A;
|
||
|
|
|
||
|
|
const Menu Menu::InitializeInventoryWindow(){
|
||
|
|
constexpr int invWidth=5;
|
||
|
|
constexpr int invHeight=3;
|
||
|
|
constexpr int totalItemSlots=invWidth*invHeight;
|
||
|
|
|
||
|
|
Menu inventoryWindow(CENTERED,{24*invWidth,24*(invHeight+1)});
|
||
|
|
|
||
|
|
for(int i=0;i<totalItemSlots;i++){
|
||
|
|
inventoryWindow.GetStringVec(A::INDEXED_ITEMS).push_back();
|
||
|
|
}
|
||
|
|
|
||
|
|
return testSubMenu;
|
||
|
|
}
|