projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19990117-1
[rocksndiamonds.git]
/
src
/
cartoons.c
diff --git
a/src/cartoons.c
b/src/cartoons.c
index 44242e8753fad73e83a23599efb9283a4e905a4a..834996b73c53ff4a49d594226fc40ee6de9f5dcb 100644
(file)
--- a/
src/cartoons.c
+++ b/
src/cartoons.c
@@
-107,8
+107,8
@@
void DoAnimation()
void HandleAnimation(int mode)
{
void HandleAnimation(int mode)
{
- static long animstart_delay = -1;
- static long animstart_delay_value = 0;
+ static
unsigned
long animstart_delay = -1;
+ static
unsigned
long animstart_delay_value = 0;
static boolean anim_restart = TRUE;
static boolean reset_delay = TRUE;
static int toon_nr = 0;
static boolean anim_restart = TRUE;
static boolean reset_delay = TRUE;
static int toon_nr = 0;
@@
-191,12
+191,12
@@
void HandleAnimation(int mode)
boolean AnimateToon(int toon_nr, boolean restart)
{
boolean AnimateToon(int toon_nr, boolean restart)
{
- static pos_x = 0, pos_y = 0;
- static delta_x = 0, delta_y = 0;
+ static
int
pos_x = 0, pos_y = 0;
+ static
int
delta_x = 0, delta_y = 0;
static int frame = 0, frame_step = 1;
static boolean horiz_move, vert_move;
static int frame = 0, frame_step = 1;
static boolean horiz_move, vert_move;
- static long anim_delay = 0;
- static
int
anim_delay_value = 0;
+ static
unsigned
long anim_delay = 0;
+ static
unsigned long
anim_delay_value = 0;
static int width,height;
static int pad_x,pad_y;
static int cut_x,cut_y;
static int width,height;
static int pad_x,pad_y;
static int cut_x,cut_y;