projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed unused functions and definitions
[rocksndiamonds.git]
/
src
/
game_bd
/
bd_cave.h
diff --git
a/src/game_bd/bd_cave.h
b/src/game_bd/bd_cave.h
index c9c4a432811b96d99e5147465abe07c89d74285d..35b2b80b9d58ad41a71888db18f894aa53a40a37 100644
(file)
--- a/
src/game_bd/bd_cave.h
+++ b/
src/game_bd/bd_cave.h
@@
-322,7
+322,7
@@
typedef struct _gd_cave_replay
GdString player_name; /* who played this */
GdString date; /* when played */
GdString player_name; /* who played this */
GdString date; /* when played */
-
GString *comment;
/* some comments from the player */
+
char *comment;
/* some comments from the player */
int score; /* score collected */
int duration; /* number of seconds played */
int score; /* score collected */
int duration; /* number of seconds played */
@@
-366,8
+366,8
@@
typedef struct _gd_cave
GdString difficulty; /* difficulty of the game, for info purposes */
GdString www; /* link to author's webpage */
GdString date; /* date of creation */
GdString difficulty; /* difficulty of the game, for info purposes */
GdString www; /* link to author's webpage */
GdString date; /* date of creation */
-
GString *story;
/* story for the cave - will be shown when the cave is played. */
-
GString *remark;
/* some note */
+
char *story;
/* story for the cave - will be shown when the cave is played. */
+
char *remark;
/* some note */
GdString charset; /* these are not used by gdash */
GdString fontset;
GdString charset; /* these are not used by gdash */
GdString fontset;
@@
-712,10
+712,6
@@
GdReplay *gd_replay_new(void);
GdReplay *gd_replay_new_from_replay(GdReplay *orig);
void gd_replay_free(GdReplay *replay);
void gd_replay_store_movement(GdReplay *replay, GdDirection player_move, boolean player_fire, boolean suicide);
GdReplay *gd_replay_new_from_replay(GdReplay *orig);
void gd_replay_free(GdReplay *replay);
void gd_replay_store_movement(GdReplay *replay, GdDirection player_move, boolean player_fire, boolean suicide);
-boolean gd_replay_get_next_movement(GdReplay *replay, GdDirection *player_move, boolean *player_fire, boolean *suicide);
-void gd_replay_rewind(GdReplay *replay);
-
-char *gd_replay_movements_to_bdcff(GdReplay *replay);
guint32 gd_cave_adler_checksum(GdCave *cave);
void gd_cave_adler_checksum_more(GdCave *cave, guint32 *a, guint32 *b);
guint32 gd_cave_adler_checksum(GdCave *cave);
void gd_cave_adler_checksum_more(GdCave *cave, guint32 *a, guint32 *b);