File:
[RetroPC.NET] /
np2 /
common /
parts.h
Revision
1.2:
download - view:
text,
annotated -
select for diffs
Sun Oct 26 17:59:53 2003 JST (22 years ago) by
yui
Branches:
MAIN
CVS tags:
VER_0_80,
VER_0_79,
VER_0_78,
VER_0_77,
VER_0_76,
VER_0_75,
VER_0_74,
VER_0_73,
VER_0_72,
VER_0_71,
VER_0_70,
HEAD
fix rand(MacOSX) mmx(Win9x) (T.Yui)
#ifndef PARTSCALL
#define PARTSCALL
#endif
#ifdef __cplusplus
extern "C" {
#endif
void PARTSCALL rand_setseed(SINT32 seed);
SINT32 PARTSCALL rand_get(void);
BYTE PARTSCALL AdjustAfterMultiply(BYTE value);
BYTE PARTSCALL AdjustBeforeDivision(BYTE value);
UINT PARTSCALL sjis2jis(UINT sjis);
UINT PARTSCALL jis2sjis(UINT jis);
void PARTSCALL satuation_s16(SINT16 *dst, const SINT32 *src, UINT size);
void PARTSCALL satuation_s16x(SINT16 *dst, const SINT32 *src, UINT size);
#ifdef __cplusplus
}
#endif
RetroPC.NET-CVS <cvs@retropc.net>