1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-03-30 07:17:03 +00:00

dialog::first_list_fake_key constant

This commit is contained in:
Zeno Rogue 2022-12-04 14:46:50 +01:00
parent 5d13663695
commit 0770a11164

View File

@ -156,10 +156,11 @@ EX namespace dialog {
} }
EX int list_size_min, list_size_max, list_fake_key; EX int list_size_min, list_size_max, list_fake_key;
EX const int first_list_fake_key = 10000;
EX void init() { EX void init() {
list_size_min = list_size_max = 0; list_size_min = list_size_max = 0;
list_fake_key = 10000; list_fake_key = first_list_fake_key;
items.clear(); items.clear();
key_actions.clear(); key_actions.clear();
keyhandler = dialog::handler; keyhandler = dialog::handler;