mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
rv_ignore fixup
This commit is contained in:
parent
9d2faeef51
commit
5e09993eca
@ -848,7 +848,7 @@ void readcolor(const string& cfname) {
|
|||||||
string lab2 = "";
|
string lab2 = "";
|
||||||
while(true) {
|
while(true) {
|
||||||
int c = fgetc(f);
|
int c = fgetc(f);
|
||||||
if(rv_ignore(ch) || c == ',' || c == ';' || c == EOF) break;
|
if(rv_ignore(c) || c == ',' || c == ';' || c == EOF) break;
|
||||||
else lab2 += c;
|
else lab2 += c;
|
||||||
}
|
}
|
||||||
x = vdata[getid(lab2)].cp;
|
x = vdata[getid(lab2)].cp;
|
||||||
|
@ -243,6 +243,8 @@ function<void(presmode)> roguevizslide_action(char c, const T& t, const U& act)
|
|||||||
int getnewid(string s);
|
int getnewid(string s);
|
||||||
extern string fname;
|
extern string fname;
|
||||||
|
|
||||||
|
bool rv_ignore(char c);
|
||||||
|
|
||||||
colorpair perturb(colorpair cp);
|
colorpair perturb(colorpair cp);
|
||||||
void queuedisk(const shiftmatrix& V, const colorpair& cp, bool legend, const string* info, int i);
|
void queuedisk(const shiftmatrix& V, const colorpair& cp, bool legend, const string* info, int i);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user