mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-22 09:27:40 +00:00
fixed hotkeys in the inventory mode
This commit is contained in:
@@ -167,6 +167,7 @@ namespace inv {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void compute() {
|
void compute() {
|
||||||
|
|
||||||
for(int i=0; i<ittypes; i++) remaining[i] = -usedup[i];
|
for(int i=0; i<ittypes; i++) remaining[i] = -usedup[i];
|
||||||
for(int i=0; i<ittypes; i++) if(usedup[i] >= TESTMIRRORED) {
|
for(int i=0; i<ittypes; i++) if(usedup[i] >= TESTMIRRORED) {
|
||||||
remaining[i] += MIRRORED;
|
remaining[i] += MIRRORED;
|
||||||
@@ -253,7 +254,8 @@ namespace inv {
|
|||||||
}
|
}
|
||||||
|
|
||||||
map<char, eItem> orbmap;
|
map<char, eItem> orbmap;
|
||||||
string orbkeys = "zfwplSetsTaMIYgCcPOWAFydLGRUuouE.,bVNhDwWZnrvhBm0123456789";
|
string orbkeys = "zfwplSetsTaMIYgCcPOWAFydLGRUkouE.,bVNxDjJZnrvhBm0123456789";
|
||||||
|
|
||||||
typedef pair<int, int> pxy;
|
typedef pair<int, int> pxy;
|
||||||
vector<pxy> orbcoord;
|
vector<pxy> orbcoord;
|
||||||
|
|
||||||
@@ -338,7 +340,7 @@ namespace inv {
|
|||||||
which = itNone;
|
which = itNone;
|
||||||
|
|
||||||
if(plain) dialog::init(XLAT(mirroring ? "mirror what?" : "inventory"), forecolor, 150, 100);
|
if(plain) dialog::init(XLAT(mirroring ? "mirror what?" : "inventory"), forecolor, 150, 100);
|
||||||
|
|
||||||
int j = 0, oc = 6;
|
int j = 0, oc = 6;
|
||||||
for(int i=0; i<ittypes; i++) {
|
for(int i=0; i<ittypes; i++) {
|
||||||
eItem o = eItem(i);
|
eItem o = eItem(i);
|
||||||
|
Reference in New Issue
Block a user