mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 01:00:25 +00:00
shift_argi and shift_args <- add this before!
This commit is contained in:
parent
7cd37f1021
commit
2786221def
@ -87,6 +87,10 @@ EX namespace arg {
|
||||
EX const string& args() { return argument[pos]; }
|
||||
EX const char* argcs() { return args().c_str(); }
|
||||
EX int argi() { return atoi(argcs()); }
|
||||
|
||||
EX int shift_argi() { shift(); return argi(); }
|
||||
EX const string& shift_args() { shift(); return args(); }
|
||||
|
||||
EX unsigned arghex() { return strtoll(argcs(), NULL, 16); }
|
||||
EX ld argf() {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user