projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed element graphic on properties page in level editor
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_graphics.h
diff --git
a/src/game_bd/bd_graphics.h
b/src/game_bd/bd_graphics.h
index 15a24b99eb93942c4f2049bf01e0c9e22ef1d6fb..6b522fcc504143d767ddbc23d864e2fdefbd1112 100644
(file)
--- a/
src/game_bd/bd_graphics.h
+++ b/
src/game_bd/bd_graphics.h
@@
-17,17
+17,13
@@
#ifndef BD_GRAPHICS_H
#define BD_GRAPHICS_H
#ifndef BD_GRAPHICS_H
#define BD_GRAPHICS_H
-#include <SDL.h>
-
#include "bd_cave.h"
#include "bd_gameplay.h"
extern Bitmap *gd_screen_bitmap;
#include "bd_cave.h"
#include "bd_gameplay.h"
extern Bitmap *gd_screen_bitmap;
-extern const Uint8 *gd_keystate;
-
-typedef guint32 GdColor;
+typedef unsigned int GdColor;
void set_cell_size(int s);
void set_play_area(int w, int h);
void set_cell_size(int s);
void set_play_area(int w, int h);
@@
-35,7
+31,11
@@
void set_play_area(int w, int h);
int get_play_area_w(void);
int get_play_area_h(void);
int get_play_area_w(void);
int get_play_area_h(void);
-void gd_init_keystate(void);
+void gd_init_play_area(void);
+
+void gd_prepare_tile_bitmap(GdCave *cave, Bitmap *bitmap, int scale_down_factor);
+void gd_set_tile_bitmap_reference(Bitmap *bitmap);
+Bitmap *gd_get_tile_bitmap(Bitmap *bitmap);
int gd_drawcave(Bitmap *dest, GdGame *gameplay, boolean);
boolean gd_scroll(GdGame *gameplay, boolean exact_scroll, boolean immediate);
int gd_drawcave(Bitmap *dest, GdGame *gameplay, boolean);
boolean gd_scroll(GdGame *gameplay, boolean exact_scroll, boolean immediate);
@@
-43,4
+43,6
@@
void gd_scroll_to_origin(void);
int get_scroll_x(void);
int get_scroll_y(void);
int get_scroll_x(void);
int get_scroll_y(void);
+Bitmap **gd_get_title_screen_bitmaps(void);
+
#endif // BD_GRAPHICS_H
#endif // BD_GRAPHICS_H