173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
void
history(int n)
{
static bool rec = false;
if (!rec && n >= 0 && n < vhistory.count) {
rec = true;
execute(vhistory[vhistory.count - n - 1]);
rec = false;
}
}
COMMAND(history, ARG_1INT)
void
keypress(int code, bool isDown)
|
|
|
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
|
void
history(int n)
{
static bool rec = false;
if (!rec && n >= 0 && n < vhistory.count) {
rec = true;
execute(vhistory[vhistory.count - n - 1], true);
rec = false;
}
}
COMMAND(history, ARG_1INT)
void
keypress(int code, bool isDown)
|