hooks_control added

This commit is contained in:
Zeno Rogue 2023-08-06 11:47:21 +02:00
parent 92cf27a056
commit 0168e4c7a8
1 changed files with 4 additions and 0 deletions

View File

@ -708,6 +708,8 @@ EX bool mouseaiming(bool shmupon) {
/* visualization only -- the HyperRogue movement keys should move the camera */
EX bool game_keys_scroll;
EX purehookset hooks_control;
EX void mainloopiter() {
GLWRAP;
DEBB(DF_GRAPH, ("main loop\n"));
@ -974,6 +976,8 @@ EX void mainloopiter() {
#endif
achievement_pump();
callhooks(hooks_control);
for(auto d: dialog::key_queue) {
println(hlog, "handling key ", d);
handlekey(d, d);