projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed obsolete toon animation code (done by global animations now)
[rocksndiamonds.git]
/
src
/
libgame
/
toons.h
diff --git
a/src/libgame/toons.h
b/src/libgame/toons.h
index 449687cd26f98a274d7236e61824f588b09973e4..26867df97eb846a1710c7b14d14f39128c711c00 100644
(file)
--- a/
src/libgame/toons.h
+++ b/
src/libgame/toons.h
@@
-21,47
+21,6
@@
#define ANIM_STOP 2
#define ANIM_STOP 2
-struct ToonScreenInfo
-{
- Bitmap *save_buffer;
- void (*update_function)(void);
- void (*prepare_backbuffer_function)(void);
- boolean (*redraw_needed_function)(void);
-
- struct ToonInfo *toons;
- int num_toons;
-
- int startx, starty;
- int width, height;
-
- int frame_delay_value;
-};
-
-struct ToonInfo
-{
- Bitmap *bitmap;
-
- int src_x, src_y;
- int width, height;
- int anim_frames;
- int anim_start_frame;
- int anim_delay;
- int anim_mode;
- int step_offset;
- int step_delay;
-
- char *direction;
- char *position;
-};
-
-
int getAnimationFrame(int, int, int, int, int);
int getAnimationFrame(int, int, int, int, int);
-void InitToonScreen(Bitmap *, void (*update_function)(void),
- void (*prepare_backbuffer_function)(void),
- boolean (*redraw_needed_function)(void),
- struct ToonInfo *, int, int, int, int, int, int);
-
-void HandleAnimation(int);
-
#endif /* TOONS_H */
#endif /* TOONS_H */