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)
40 /* often used screen positions */
43 #define SXSIZE (SCR_FIELDX * TILEX)
44 #define SYSIZE (SCR_FIELDY * TILEY)
47 /* ------------------------------------------------------------------------- */
48 /* data structure definitions */
49 /* ------------------------------------------------------------------------- */
51 /* ------------------------------------------------------------------------- */
52 /* exported variables */
53 /* ------------------------------------------------------------------------- */
55 extern struct LevelInfo_SP native_sp_level;
57 extern struct GameInfo_SP game_sp;
60 /* ------------------------------------------------------------------------- */
61 /* exported functions */
62 /* ------------------------------------------------------------------------- */
64 #endif /* MAIN_SP_H */