resolves BOOL/BRESULT (mouse/sound)

refs #90
 svn merge -r 193:214 https://amethyst.yui.ne.jp/svn-dev/x1/xmil/branches/yui/WORK_01
This commit is contained in:
yui 2015-11-13 14:10:20 +00:00
parent 8031987c1a
commit d7cebb23e9
20 changed files with 21 additions and 21 deletions

View File

@ -13,7 +13,7 @@ typedef struct {
static MOUSEMNG mousemng;
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = mousemng.x;
*y = mousemng.y;

View File

@ -9,7 +9,7 @@ enum {
extern "C" {
#endif
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
#ifdef __cplusplus
}

View File

@ -2,7 +2,7 @@
#include "mousemng.h"
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = 0;
*y = 0;

View File

@ -3,7 +3,7 @@
extern "C" {
#endif
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
#ifdef __cplusplus
}

View File

@ -19,7 +19,7 @@ typedef struct {
static MOUSEMNG mousemng;
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = mousemng.x;
*y = mousemng.y;
@ -177,7 +177,7 @@ void mousemng_toggle(UINT proc) {
#else
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = 0;
*y = 0;

View File

@ -9,7 +9,7 @@ enum {
extern "C" {
#endif
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
#ifdef __cplusplus
}

View File

@ -2,7 +2,7 @@
#include "mousemng.h"
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BRESULT bClear)
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BOOL bClear)
{
*pwX = 0;
*pwY = 0;

View File

@ -4,7 +4,7 @@ extern "C"
{
#endif
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BRESULT bClear);
REG8 mousemng_getstat(SINT16 *pwX, SINT16 *pwY, BOOL bClear);
#ifdef __cplusplus
}

View File

@ -13,7 +13,7 @@ typedef struct {
static MOUSEMNG mousemng;
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = mousemng.x;
*y = mousemng.y;

View File

@ -9,7 +9,7 @@ enum {
extern "C" {
#endif
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
#ifdef __cplusplus
}

View File

@ -16,7 +16,7 @@ typedef struct {
static MOUSEMNG mousemng;
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = mousemng.x;
*y = mousemng.y;

View File

@ -9,7 +9,7 @@ enum {
extern "C" {
#endif
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
#ifdef __cplusplus
}

View File

@ -364,7 +364,7 @@ void soundmng_pcmvolume(UINT num, int volume) {
}
}
BRESULT soundmng_pcmplay(UINT num, BRESULT loop) {
BRESULT soundmng_pcmplay(UINT num, BOOL loop) {
LPDIRECTSOUNDBUFFER dsbuf;

View File

@ -18,7 +18,7 @@ void soundmng_play(void);
void soundmng_stop(void);
void soundmng_sync(void);
BRESULT soundmng_pcmplay(UINT num, BRESULT loop);
BRESULT soundmng_pcmplay(UINT num, BOOL loop);
void soundmng_pcmstop(UINT num);
#ifdef __cplusplus

View File

@ -16,7 +16,7 @@ typedef struct {
static MOUSEMNG mousemng;
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = mousemng.x;
*y = mousemng.y;

View File

@ -9,7 +9,7 @@ enum {
extern "C" {
#endif
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
#ifdef __cplusplus
}

View File

@ -364,7 +364,7 @@ void soundmng_pcmvolume(UINT num, int volume) {
}
}
BRESULT soundmng_pcmplay(UINT num, BRESULT loop) {
BRESULT soundmng_pcmplay(UINT num, BOOL loop) {
LPDIRECTSOUNDBUFFER dsbuf;

View File

@ -18,7 +18,7 @@ void soundmng_play(void);
void soundmng_stop(void);
void soundmng_sync(void);
BRESULT soundmng_pcmplay(UINT num, BRESULT loop);
BRESULT soundmng_pcmplay(UINT num, BOOL loop);
void soundmng_pcmstop(UINT num);
#ifdef __cplusplus

View File

@ -3,7 +3,7 @@
#include "mousemng.h"
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear) {
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear) {
*x = 0;
*y = 0;

View File

@ -3,7 +3,7 @@
extern "C" {
#endif
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BRESULT clear);
REG8 mousemng_getstat(SINT16 *x, SINT16 *y, BOOL clear);
#ifdef __cplusplus
}