* moved some editor graphics from "RocksDoor.pcx" to "RocksMore.pcx"
(to prevent compatibility mapping of these newer graphics to older
(custom) versions of "RocksDoor.pcx" which did not contain them yet)
2010-06-23
* added graphics performance optimization to native Supaplex game engine
* fixed bug with accidentally removing preceding buffer in SP engine
2010-06-23
* added graphics performance optimization to native Supaplex game engine
* fixed bug with accidentally removing preceding buffer in SP engine
+ * moved some editor graphics from "RocksDoor.pcx" to "RocksMore.pcx"
+ (to prevent compatibility mapping of these newer graphics to older
+ (custom) versions of "RocksDoor.pcx" which did not contain them yet)
2010-06-18
* added separately configurable game panel background to graphics config
2010-06-18
* added separately configurable game panel background to graphics config
{ "global.busy.frames_per_line", "7" },
{ "global.busy.delay", "2" },
{ "global.busy.frames_per_line", "7" },
{ "global.busy.delay", "2" },
- { "editor.element_border", "RocksElements.pcx" },
- { "editor.element_border.x", "0" },
- { "editor.element_border.y", "0" },
+ { "editor.element_border", "RocksMore.pcx" },
+ { "editor.element_border.xpos", "0" },
+ { "editor.element_border.ypos", "2" },
- { "editor.element_border_input", "RocksDoor.pcx" },
- { "editor.element_border_input.x", "740" },
- { "editor.element_border_input.y", "48" },
+ { "editor.element_border_input", "RocksMore.pcx" },
+ { "editor.element_border_input.xpos", "10" },
+ { "editor.element_border_input.ypos", "7" },
- { "editor.cascade_list", "RocksDoor.pcx" },
- { "editor.cascade_list.x", "708" },
- { "editor.cascade_list.y", "80" },
+ { "editor.cascade_list", "RocksMore.pcx" },
+ { "editor.cascade_list.xpos", "10" },
+ { "editor.cascade_list.ypos", "8" },
{ "editor.cascade_list.frames", "1" },
{ "editor.cascade_list.frames", "1" },
- { "editor.cascade_list.active", "RocksDoor.pcx" },
- { "editor.cascade_list.active.x", "740" },
- { "editor.cascade_list.active.y", "80" },
+ { "editor.cascade_list.active", "RocksMore.pcx" },
+ { "editor.cascade_list.active.xpos", "9" },
+ { "editor.cascade_list.active.ypos", "8" },
{ "editor.cascade_list.active.frames", "1" },
{ "background", UNDEFINED_FILENAME },
{ "editor.cascade_list.active.frames", "1" },
{ "background", UNDEFINED_FILENAME },
-#define COMPILE_DATE_STRING "2010-06-23 10:23"
+#define COMPILE_DATE_STRING "2010-06-23 13:30"
+#if NEW_SCROLL
+ int softscroll_offset = (setup.soft_scrolling ? 2 * TILEX : 0);
+#else
int softscroll_offset = (setup.soft_scrolling ? TILEX : 0);
int softscroll_offset = (setup.soft_scrolling ? TILEX : 0);
BlitBitmap(drawto_field, drawto_field,
FX + TILEX * (dx == -1) - softscroll_offset,
BlitBitmap(drawto_field, drawto_field,
FX + TILEX * (dx == -1) - softscroll_offset,
int key_joystick_mapping = 0;
#if 1
int key_joystick_mapping = 0;
#if 1
+#if NEW_SCROLL
+boolean redraw[2 + MAX_LEV_FIELDX + 2][2 + MAX_LEV_FIELDY + 2];
+#else
boolean redraw[MAX_LEV_FIELDX + 2][MAX_LEV_FIELDY + 2];
boolean redraw[MAX_LEV_FIELDX + 2][MAX_LEV_FIELDY + 2];
#else
boolean redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
#endif
#else
boolean redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
#endif
#include "conf_mus.h" /* include auto-generated data structure definitions */
#include "conf_mus.h" /* include auto-generated data structure definitions */
#define IMG_UNDEFINED (-1)
#define IMG_EMPTY IMG_EMPTY_SPACE
#define IMG_SP_EMPTY IMG_EMPTY_SPACE
#define IMG_UNDEFINED (-1)
#define IMG_EMPTY IMG_EMPTY_SPACE
#define IMG_SP_EMPTY IMG_EMPTY_SPACE
extern int key_joystick_mapping;
#if 1
extern int key_joystick_mapping;
#if 1
+#if NEW_SCROLL
+extern boolean redraw[2 + MAX_LEV_FIELDX + 2][2 + MAX_LEV_FIELDY + 2];
+#else
extern boolean redraw[MAX_LEV_FIELDX + 2][MAX_LEV_FIELDY + 2];
extern boolean redraw[MAX_LEV_FIELDX + 2][MAX_LEV_FIELDY + 2];
#else
extern boolean redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
#endif
#else
extern boolean redraw[MAX_BUF_XSIZE][MAX_BUF_YSIZE];
#endif
{
if (mode == DRAW_BUFFERED && setup.soft_scrolling)
{
{
if (mode == DRAW_BUFFERED && setup.soft_scrolling)
{
+#if NEW_SCROLL
+ FX = 2 * TILEX;
+ FY = 2 * TILEY;
+ BX1 = -2;
+ BY1 = -2;
+ BX2 = SCR_FIELDX + 1;
+ BY2 = SCR_FIELDY + 1;
+ redraw_x1 = 2;
+ redraw_y1 = 2;
+#else
FX = TILEX;
FY = TILEY;
BX1 = -1;
FX = TILEX;
FY = TILEY;
BX1 = -1;
BY2 = SCR_FIELDY;
redraw_x1 = 1;
redraw_y1 = 1;
BY2 = SCR_FIELDY;
redraw_x1 = 1;
redraw_y1 = 1;
drawto_field = fieldbuffer;
}
drawto_field = fieldbuffer;
}