4 /* ========================================================================= */
5 /* external functions and definitions imported from main program to game_sp */
6 /* ========================================================================= */
8 #include "../engines.h"
11 /* ========================================================================= */
12 /* functions and definitions that are exported from game_sp to main program */
13 /* ========================================================================= */
18 /* ========================================================================= */
19 /* internal functions and definitions that are not exported to main program */
20 /* ========================================================================= */
23 /* ------------------------------------------------------------------------- */
24 /* constant definitions */
25 /* ------------------------------------------------------------------------- */
27 /* screen sizes and positions for SP engine */
34 #define TILEX (ORIG_TILEX * ZOOM_FACTOR)
35 #define TILEY (ORIG_TILEY * ZOOM_FACTOR)
37 #define ORIG_SCR_MENUX 20
38 #define ORIG_SCR_MENUY 12
43 #define MAX_BUF_XSIZE (SCR_FIELDX + 2)
44 #define MAX_BUF_YSIZE (SCR_FIELDY + 2)
46 /* often used screen positions */
49 #define SXSIZE (SCR_FIELDX * TILEX)
50 #define SYSIZE (SCR_FIELDY * TILEY)
53 /* ------------------------------------------------------------------------- */
54 /* data structure definitions */
55 /* ------------------------------------------------------------------------- */
57 /* ------------------------------------------------------------------------- */
58 /* exported variables */
59 /* ------------------------------------------------------------------------- */
61 extern struct LevelInfo_SP native_sp_level;
63 extern Bitmap *screenBitmap;
65 extern Bitmap *sp_objects;
68 /* ------------------------------------------------------------------------- */
69 /* exported functions */
70 /* ------------------------------------------------------------------------- */
72 #endif /* MAIN_SP_H */