Merge branch 'master' of https://github.com/rheit/zdoom into zmaster

This commit is contained in:
Christoph Oelckers 2015-04-27 18:19:44 +02:00
commit 98029a12ec
8 changed files with 34 additions and 25 deletions

View file

@ -113,7 +113,7 @@ public:
BYTE chipnum = reg >> 8; BYTE chipnum = reg >> 8;
if (chipnum != CurChip) if (chipnum != CurChip)
{ {
BYTE switcher[2] = { chipnum + 1, 2 }; BYTE switcher[2] = { (BYTE)(chipnum + 1), 2 };
fwrite(switcher, 1, 2, File); fwrite(switcher, 1, 2, File);
} }
reg &= 255; reg &= 255;
@ -192,7 +192,7 @@ public:
"\0\0\0\0" // Total milliseconds "\0\0\0\0" // Total milliseconds
"\0\0\0", // Total data "\0\0\0", // Total data
1, 20, File); 1, 20, File);
char type[4] = { Dual * 2, 0, 0, 0 }; // Single or dual OPL-2 char type[4] = { (char)(Dual * 2), 0, 0, 0 }; // Single or dual OPL-2
fwrite(type, 1, 4, File); fwrite(type, 1, 4, File);
} }
virtual ~OPL_DOSBOXdump() virtual ~OPL_DOSBOXdump()

View file

@ -26,7 +26,14 @@ inline int CheckException(DWORD code)
#else #else
#ifdef __try
#undef __try
#endif
#define __try #define __try
#ifdef __except
#undef __except
#endif
#define __except(a) if (0) #define __except(a) if (0)
#endif #endif

View file

@ -3,10 +3,10 @@
#include <windows.h> #include <windows.h>
#define USE_WINDOWS_DWORD #define USE_WINDOWS_DWORD
#endif #endif
#include "except.h"
#include "mpg123_decoder.h" #include "mpg123_decoder.h"
#include "files.h" #include "files.h"
#include "except.h"
#ifdef HAVE_MPG123 #ifdef HAVE_MPG123
static bool inited = false; static bool inited = false;

View file

@ -3,12 +3,12 @@
#include <windows.h> #include <windows.h>
#define USE_WINDOWS_DWORD #define USE_WINDOWS_DWORD
#endif #endif
#include "except.h"
#include "sndfile_decoder.h" #include "sndfile_decoder.h"
#include "templates.h" #include "templates.h"
#include "files.h" #include "files.h"
#include "xs_Float.h" #include "xs_Float.h"
#include "except.h"
#ifdef HAVE_SNDFILE #ifdef HAVE_SNDFILE

View file

@ -21,6 +21,7 @@ actor MiniZorcher : Pistol
states states
{ {
Spawn: Spawn:
MINZ A -1
stop stop
} }
} }

View file

@ -124,6 +124,7 @@ DoomEdNums
3003 = Flembrane 3003 = Flembrane
3004 = FlemoidusCommonus 3004 = FlemoidusCommonus
3006 = ChexSoul 3006 = ChexSoul
5010 = MiniZorcher
} }
skill baby skill baby

Binary file not shown.

After

Width:  |  Height:  |  Size: 848 B