projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20100419-1-src
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index cb23bae615649c143a0e385aa126f6eb869a4f63..8461537a9329e91bfa9d0c327380493d9be8af91 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-8104,6
+8104,12
@@
void ChangeViewportPropertiesIfNeeded()
int new_scr_fieldx = (vp_playfield->width - 2 * border_size) / TILESIZE;
int new_scr_fieldy = (vp_playfield->height - 2 * border_size) / TILESIZE;
int new_scr_fieldx = (vp_playfield->width - 2 * border_size) / TILESIZE;
int new_scr_fieldy = (vp_playfield->height - 2 * border_size) / TILESIZE;
+#if 0
+ /* !!! TEST ONLY !!! */
+ // InitGfxBuffers();
+ return;
+#endif
+
if (viewport.window.width != WIN_XSIZE ||
viewport.window.height != WIN_YSIZE)
{
if (viewport.window.width != WIN_XSIZE ||
viewport.window.height != WIN_YSIZE)
{
@@
-8152,4
+8158,8
@@
void ChangeViewportPropertiesIfNeeded()
InitToons();
}
}
InitToons();
}
}
+
+#if 0
+ printf("::: %d, %d / %d, %d [%d]\n", VX, VY, EX, EY, game_status);
+#endif
}
}