mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-08 01:14:07 +00:00
added hooks_anim
This commit is contained in:
parent
2cb1e2cb04
commit
3ee0956fd7
@ -605,10 +605,14 @@ EX void reflect_view() {
|
|||||||
|
|
||||||
bool clearup;
|
bool clearup;
|
||||||
|
|
||||||
|
EX purehookset hooks_anim;
|
||||||
|
|
||||||
EX void apply() {
|
EX void apply() {
|
||||||
int t = ticks - lastticks;
|
int t = ticks - lastticks;
|
||||||
lastticks = ticks;
|
lastticks = ticks;
|
||||||
|
|
||||||
|
callhooks(hooks_anim);
|
||||||
|
|
||||||
switch(ma) {
|
switch(ma) {
|
||||||
case maTranslation:
|
case maTranslation:
|
||||||
if(history::on) {
|
if(history::on) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user