*Finished cleaning the Win32 code so that the game compiles again.

*Fixed the SDF[0][0] being set to 1 when killing wandering or summoned monsters.

Chokboyz

git-svn-id: http://openexile.googlecode.com/svn/trunk@132 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
Chokboyz
2009-10-18 23:26:28 +00:00
parent a7893db77b
commit 5ebbe14d6f
32 changed files with 484 additions and 367 deletions

View File

@@ -8,7 +8,8 @@
#ifndef _SOUNDTOOL_H
#define _SOUNDTOOL_H
const int NUM_SOUNDS = 100;
#define NUM_SOUNDS 100
typedef unsigned short snd_num_t;
void init_snd_tool();
@@ -32,8 +33,8 @@ void kill_sound();
extern HMODULE hModule;
extern short can_ignore[100];
extern bool sounds_missing;
HGLOBAL sound_handles[NUM_SOUNDS];
char* snds[NUM_SOUNDS];
extern HGLOBAL sound_handles[NUM_SOUNDS];
extern char* snds[NUM_SOUNDS];
#else
#error Invalid platform
#endif
@@ -41,9 +42,11 @@ char* snds[NUM_SOUNDS];
extern short snd_played[4];
extern bool play_sounds;
extern short last_played;
extern bool always_async[100];
extern bool always_asynch[100];
extern bool load_when_play[100];
extern short sound_delay[100];
extern short store_last_sound_played;
void move_sound(unsigned char ter,short step);
#endif