projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into releases
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index dce2b888943693f787fb882b19dd4a20dd9413e3..51e8df8905b2a0f1e70e6a43e92bb0a12c5c9174 100644
(file)
--- a/
src/libgame/system.c
+++ b/
src/libgame/system.c
@@
-46,6
+46,8
@@
LevelDirTree *leveldir_first = NULL;
LevelDirTree *leveldir_current = NULL;
int level_nr;
LevelDirTree *leveldir_current = NULL;
int level_nr;
+struct LevelStats level_stats[MAX_LEVELS];
+
Display *display = NULL;
Visual *visual = NULL;
int screen = 0;
Display *display = NULL;
Visual *visual = NULL;
int screen = 0;
@@
-1178,7
+1180,9
@@
static void CreateScaledBitmaps(Bitmap *old_bitmap, int zoom_factor,
int width_4, height_4;
int width_8, height_8;
int width_16, height_16;
int width_4, height_4;
int width_8, height_8;
int width_16, height_16;
+#if 0
int width_32, height_32;
int width_32, height_32;
+#endif
int new_width, new_height;
/* calculate new image dimensions for normal sized image */
int new_width, new_height;
/* calculate new image dimensions for normal sized image */
@@
-1209,8
+1213,10
@@
static void CreateScaledBitmaps(Bitmap *old_bitmap, int zoom_factor,
height_8 = height_1 / 8;
width_16 = width_1 / 16;
height_16 = height_1 / 16;
height_8 = height_1 / 8;
width_16 = width_1 / 16;
height_16 = height_1 / 16;
+#if 0
width_32 = width_1 / 32;
height_32 = height_1 / 32;
width_32 = width_1 / 32;
height_32 = height_1 / 32;
+#endif
UPDATE_BUSY_STATE();
UPDATE_BUSY_STATE();