Mercurial > molko
comparison src/core/message.c @ 65:80a913d25aa9
core: implement script, closes #2465 @2h
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 27 Jan 2020 12:24:20 +0100 |
parents | da9b7462ab92 |
children | 7187c0d9b9c0 |
comparison
equal
deleted
inserted
replaced
64:da9b7462ab92 | 65:80a913d25aa9 |
---|---|
24 #include "painter.h" | 24 #include "painter.h" |
25 #include "sprite.h" | 25 #include "sprite.h" |
26 #include "texture.h" | 26 #include "texture.h" |
27 #include "window.h" | 27 #include "window.h" |
28 | 28 |
29 #define MESSAGE_SPEED 150 /* Time delay for animations */ | 29 #define MESSAGE_SPEED 200 /* Time delay for animations */ |
30 #define MESSAGE_TIMEOUT 5000 /* Time for auto-closing */ | 30 #define MESSAGE_TIMEOUT 5000 /* Time for auto-closing */ |
31 | 31 |
32 static unsigned int | 32 static unsigned int |
33 average(const struct message *msg) | 33 average(const struct message *msg) |
34 { | 34 { |