mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-13 04:13:03 +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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user