projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100107-1-src
[rocksndiamonds.git]
/
src
/
game_sp
/
main_sp.h
diff --git
a/src/game_sp/main_sp.h
b/src/game_sp/main_sp.h
index 127445a0909c4193436ee7d0527dadda0474ab03..008afa319562d3ab84a781ae6b70b84e2fa00194 100644
(file)
--- a/
src/game_sp/main_sp.h
+++ b/
src/game_sp/main_sp.h
@@
-34,8
+34,14
@@
#define TILEX (ORIG_TILEX * ZOOM_FACTOR)
#define TILEY (ORIG_TILEY * ZOOM_FACTOR)
#define TILEX (ORIG_TILEX * ZOOM_FACTOR)
#define TILEY (ORIG_TILEY * ZOOM_FACTOR)
+#define ORIG_SCR_MENUX 20
+#define ORIG_SCR_MENUY 12
+#define SCR_MENUX 17
+#define SCR_MENUY 12
#define SCR_FIELDX 17
#define SCR_FIELDY 17
#define SCR_FIELDX 17
#define SCR_FIELDY 17
+#define MAX_BUF_XSIZE (2 + SCR_FIELDX + 2)
+#define MAX_BUF_YSIZE (2 + SCR_FIELDY + 2)
/* often used screen positions */
#define SX 8
/* often used screen positions */
#define SX 8
@@
-43,6
+49,11
@@
#define SXSIZE (SCR_FIELDX * TILEX)
#define SYSIZE (SCR_FIELDY * TILEY)
#define SXSIZE (SCR_FIELDX * TILEX)
#define SYSIZE (SCR_FIELDY * TILEY)
+#define REAL_SX (SX - 2)
+#define REAL_SY (SY - 2)
+#define FULL_SXSIZE (2 + SXSIZE + 2)
+#define FULL_SYSIZE (2 + SYSIZE + 2)
+
/* ------------------------------------------------------------------------- */
/* data structure definitions */
/* ------------------------------------------------------------------------- */
/* data structure definitions */
@@
-54,7
+65,9
@@
extern struct LevelInfo_SP native_sp_level;
extern struct LevelInfo_SP native_sp_level;
-extern struct GameInfo_SP game_sp;
+extern Bitmap *screenBitmap;
+
+extern Bitmap *sp_objects;
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- */