Ali El Gariani
25e4ad6c94
Finish to make the use of update_last_draw_time() consistent.
...
We update it before get the current frame, because if the redraw is
trigerred by a need_update, we need to draw the new frame not the old
one.
I think that the previous use just caused a tiny lag when we redraw
every x ms, but can cause a "duration of the frame" delay if we redraw
only when an update is needed (which is the good optimal
behavior). This also can prevent skipping of the last frame (if after
drawing, we update a new frame but finish the anim) PS: other game
objects already use update_last_draw_time() like that.
2007-11-07 14:12:52 +00:00
..
2007-11-02 20:26:42 +00:00
2007-11-04 20:14:24 +00:00
2007-10-30 16:46:15 +00:00
2007-11-07 12:31:25 +00:00
2007-08-31 19:09:40 +00:00
2007-11-01 16:36:11 +00:00
2007-08-31 19:09:40 +00:00
2007-08-15 13:41:56 +00:00
2007-10-26 16:02:04 +00:00
2007-08-31 20:46:01 +00:00
2007-08-27 13:54:58 +00:00
2007-10-26 16:02:04 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-10-26 16:02:04 +00:00
2007-09-21 21:40:25 +00:00
2007-08-31 19:09:40 +00:00
2007-09-15 11:50:33 +00:00
2007-08-31 19:09:40 +00:00
2007-09-14 01:50:13 +00:00
2007-09-14 01:50:13 +00:00
2007-11-03 16:56:27 +00:00
2007-11-03 16:56:27 +00:00
2007-09-13 00:04:52 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-10-28 21:26:41 +00:00
2007-10-28 21:26:41 +00:00
2007-10-26 16:02:04 +00:00
2007-09-12 07:32:07 +00:00
2007-09-20 15:28:00 +00:00
2007-09-13 00:04:52 +00:00
2007-08-31 19:09:40 +00:00
2007-09-01 15:42:01 +00:00
2007-09-15 21:03:28 +00:00
2007-09-15 21:03:28 +00:00
2007-10-29 14:57:10 +00:00
2007-10-29 14:57:10 +00:00
2007-10-24 13:23:13 +00:00
2007-10-23 18:26:56 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-10-29 15:13:54 +00:00
2007-08-31 19:09:40 +00:00
2007-11-05 23:34:54 +00:00
2007-10-28 10:17:53 +00:00
2007-08-31 19:09:40 +00:00
2007-09-01 16:06:36 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-09-08 03:31:35 +00:00
2007-09-08 03:31:35 +00:00
2007-08-31 19:09:40 +00:00
2007-08-15 13:41:56 +00:00
2007-09-05 17:00:32 +00:00
2007-08-31 19:09:40 +00:00
2007-10-15 22:45:28 +00:00
2007-09-01 16:03:53 +00:00
2007-11-03 18:54:25 +00:00
2007-09-27 19:56:29 +00:00
2007-08-15 13:41:56 +00:00
2007-11-05 11:18:29 +00:00
2007-08-31 19:09:40 +00:00
2007-10-30 01:47:39 +00:00
2007-10-31 20:02:40 +00:00
2007-10-31 20:02:40 +00:00
2007-10-29 15:23:56 +00:00
2007-10-29 15:13:54 +00:00
2007-10-05 13:36:57 +00:00
2007-10-26 16:02:04 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-11-03 16:45:29 +00:00
2007-09-29 22:49:37 +00:00
2007-09-14 19:07:10 +00:00
2007-08-15 13:41:56 +00:00
2007-11-04 20:44:53 +00:00
2007-09-22 00:12:41 +00:00
2007-09-17 11:33:52 +00:00
2007-09-17 11:33:52 +00:00
2007-11-04 19:50:35 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-09-18 00:40:40 +00:00
2007-08-15 13:41:56 +00:00
2007-11-05 11:20:35 +00:00
2007-10-31 16:37:55 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-11-02 17:42:15 +00:00
2007-11-02 17:42:15 +00:00
2007-08-31 04:07:54 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-10-04 19:36:59 +00:00
2007-08-31 19:09:40 +00:00
2007-11-06 21:35:55 +00:00
2007-11-04 16:40:08 +00:00
2007-08-31 19:09:40 +00:00
2007-08-15 13:41:56 +00:00
2007-10-26 16:02:04 +00:00
2007-08-31 19:09:40 +00:00
2007-09-01 03:35:09 +00:00
2007-09-01 03:35:09 +00:00
2007-11-04 15:26:06 +00:00
2007-08-25 00:50:23 +00:00
2007-10-26 16:02:04 +00:00
2007-08-15 13:41:56 +00:00
2007-11-07 03:36:16 +00:00
2007-11-04 15:26:06 +00:00
2007-11-02 11:18:28 +00:00
2007-10-25 12:05:22 +00:00
2007-11-02 03:45:14 +00:00
2007-10-04 14:40:02 +00:00
2007-10-26 16:02:04 +00:00
2007-10-04 14:13:29 +00:00
2007-10-29 14:57:10 +00:00
2007-08-28 16:18:19 +00:00
2007-10-31 18:51:59 +00:00
2007-10-25 12:05:22 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 17:46:53 +00:00
2007-11-03 09:11:52 +00:00
2007-08-15 13:41:56 +00:00
2007-11-02 03:43:26 +00:00
2007-10-19 02:12:08 +00:00
2007-11-07 03:36:16 +00:00
2007-11-07 03:36:16 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-11-06 19:38:44 +00:00
2007-10-31 20:33:15 +00:00
2007-11-06 19:50:08 +00:00
2007-10-02 02:19:08 +00:00
2007-11-06 19:50:08 +00:00
2007-11-06 19:50:08 +00:00
2007-10-05 09:09:23 +00:00
2007-08-15 13:41:56 +00:00
2007-11-06 19:50:08 +00:00
2007-11-06 19:50:08 +00:00
2007-09-02 04:52:26 +00:00
2007-09-02 04:52:26 +00:00
2007-09-02 04:52:26 +00:00
2007-09-02 04:52:26 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-09-20 15:39:40 +00:00
2007-09-12 17:19:22 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-15 13:41:56 +00:00
2007-09-15 18:06:55 +00:00
2007-08-31 19:09:40 +00:00
2007-08-15 13:41:56 +00:00
2007-10-05 13:36:57 +00:00
2007-08-31 19:09:40 +00:00
2007-09-27 19:56:29 +00:00
2007-09-27 19:56:29 +00:00
2007-10-07 18:20:59 +00:00
2007-10-02 18:17:05 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-10-06 02:45:52 +00:00
2007-10-06 02:45:52 +00:00
2007-08-31 19:09:40 +00:00
2007-08-23 22:16:57 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-11-05 11:18:29 +00:00
2007-11-05 11:18:29 +00:00
2007-09-05 03:55:02 +00:00
2007-08-31 19:09:40 +00:00
2007-09-20 17:09:44 +00:00
2007-09-01 03:41:19 +00:00
2007-09-20 15:38:47 +00:00
2007-08-31 19:09:40 +00:00
2007-10-05 09:09:23 +00:00
2007-10-04 21:16:14 +00:00
2007-08-15 13:41:56 +00:00
2007-09-20 17:35:50 +00:00
2007-10-20 16:10:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-15 13:41:56 +00:00
2007-08-15 13:41:56 +00:00
2007-09-22 10:50:37 +00:00
2007-08-17 13:32:19 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-11-07 14:12:52 +00:00
2007-10-28 10:17:53 +00:00
2007-11-04 15:22:33 +00:00
2007-11-04 15:22:33 +00:00
2007-11-03 05:21:44 +00:00
2007-11-02 18:50:35 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-10-28 12:34:59 +00:00
2007-10-28 12:34:59 +00:00
2007-11-03 17:54:59 +00:00
2007-11-03 17:54:59 +00:00
2007-09-15 11:50:33 +00:00
2007-08-15 13:41:56 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-09-08 05:57:06 +00:00
2007-08-31 19:09:40 +00:00
2007-08-31 19:09:40 +00:00
2007-08-19 03:34:33 +00:00
2007-08-31 19:09:40 +00:00
2007-08-15 13:41:56 +00:00
2007-10-16 07:49:13 +00:00
2007-08-15 13:41:56 +00:00