projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup of unused EM engine source files and declarations
[rocksndiamonds.git]
/
src
/
game_em
/
init.c
diff --git
a/src/game_em/init.c
b/src/game_em/init.c
index 5f8ea9188b1913b3c26ea04a50cf47488855a2c6..9937110a8a80808cda87047659324bca926ee5cb 100644
(file)
--- a/
src/game_em/init.c
+++ b/
src/game_em/init.c
@@
-13,17
+13,9
@@
Bitmap *sprBitmap;
Bitmap *screenBitmap;
Bitmap *screenBitmap;
-char play[SAMPLE_MAX];
-int play_x[SAMPLE_MAX];
-int play_y[SAMPLE_MAX];
-int play_element[SAMPLE_MAX];
-
struct GlobalInfo_EM global_em_info;
struct GameInfo_EM game_em;
struct GlobalInfo_EM global_em_info;
struct GameInfo_EM game_em;
-char *progname;
-char *arg_basedir;
-
int open_all(void)
{
Bitmap *emc_bitmaps[2];
int open_all(void)
{
Bitmap *emc_bitmaps[2];
@@
-48,8
+40,6
@@
void em_open_all(void)
/* pre-calculate some data */
tab_generate();
/* pre-calculate some data */
tab_generate();
- progname = "emerald mine";
-
if (open_all() != 0)
Error(ERR_EXIT, "em_open_all(): open_all() failed");
if (open_all() != 0)
Error(ERR_EXIT, "em_open_all(): open_all() failed");
@@
-78,10
+68,6
@@
void play_sound(int x, int y, int sample)
play_element_sound(x, y, sample, -1);
}
play_element_sound(x, y, sample, -1);
}
-void sound_play(void)
-{
-}
-
unsigned int InitEngineRandom_EM(int seed)
{
if (seed == NEW_RANDOMIZE)
unsigned int InitEngineRandom_EM(int seed)
{
if (seed == NEW_RANDOMIZE)