projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added various new element action sounds to native BD engine
[rocksndiamonds.git]
/
src
/
game_em
/
global.h
diff --git
a/src/game_em/global.h
b/src/game_em/global.h
index 88c6a5e22f5f55046161abf07eacd95520cadba0..33b96423371a5fca79bbb2ee71cfe637b6be2c14 100644
(file)
--- a/
src/game_em/global.h
+++ b/
src/game_em/global.h
@@
-1,58
+1,31
@@
#ifndef GLOBAL_H
#define GLOBAL_H
#ifndef GLOBAL_H
#define GLOBAL_H
-#include "
game
_em.h"
+#include "
main
_em.h"
-#define EM_GFX_DIR "graphics.EM"
-#define EM_SND_DIR "sounds.EM"
-#define EM_LVL_DIR "levels.EM"
-/* arbitrary maximum length of filenames (cos i am lazy) */
-#define MAXNAME 1024
+/* global variables */
-extern int debug;
-extern char *progname;
-extern char *arg_basedir;
+extern int frame;
+extern int screen_x, screen_y;
-extern unsigned int frame;
-extern short ulaw_to_linear[256];
-extern unsigned char linear_to_ulaw[65536];
+/* global function prototypes */
-/* all global function prototypes */
-
-int open_all(void);
-void close_all(void);
-
-void readjoy(byte);
-void input_eventloop(void);
-
-void blitscreen(void);
void game_initscreen(void);
void game_initscreen(void);
-void game_animscreen(void);
+void game_init_random(void);
+void game_init_cave_buffers(void);
void play_sound(int, int, int);
void play_sound(int, int, int);
-void sound_play(void);
-
-int cave_convert(char *);
-boolean LoadNativeLevel_EM(char *);
+void play_element_sound(int, int, int, int);
-void game_init_vars(void);
-void game_play_init(int, char *);
-void game_loop(byte);
+boolean logic_check_wrap(void);
+void logic_move(void);
+void logic_init(void);
+void logic(void);
-void synchro_1(void);
-void synchro_2(void);
-void synchro_3(void);
-
-int cleanup_em_level(unsigned char *, int);
+int cleanup_em_level(unsigned char *, int, char *);
void convert_em_level(unsigned char *, int);
void prepare_em_level(void);
void convert_em_level(unsigned char *, int);
void prepare_em_level(void);
-int sound_thread(void);
-int read_sample(char *, short **, long *);
-
-void read_cave_list(void);
-void free_cave_list(void);
-
#endif
#endif