projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rocksndiamonds-3.1.2
[rocksndiamonds.git]
/
src
/
libgame
/
toons.h
diff --git
a/src/libgame/toons.h
b/src/libgame/toons.h
index 4d3e0be8a08d2579177c915d82fe38bb17756871..313458372e363252b52ed40af19317fc3125c83b 100644
(file)
--- a/
src/libgame/toons.h
+++ b/
src/libgame/toons.h
@@
-35,8
+35,27
@@
struct ToonScreenInfo
struct ToonInfo
{
struct ToonInfo
{
- Bitmap *bitmap;
+#if 0
+ int graphic;
+ int width, height;
+ int src_x, src_y;
+ int anim_frames;
+ int step_delay;
+ int step_offset;
+ int anim_mode;
+ int direction;
+ int position;
+ int anim_delay;
+ int anim_start_frame;
+ Bitmap *bitmap; /* dynamically initialized */
+
+ char *direction_str;
+ char *position_str;
+
+#else
+
+ Bitmap *bitmap;
int src_x, src_y;
int width, height;
int anim_frames;
int src_x, src_y;
int width, height;
int anim_frames;
@@
-45,9
+64,9
@@
struct ToonInfo
int anim_mode;
int step_offset;
int step_delay;
int anim_mode;
int step_offset;
int step_delay;
-
char *direction;
char *position;
char *direction;
char *position;
+#endif
};
};