cave-story-solaris/src/PixTone.h
2020-01-07 04:46:58 +00:00

30 lines
505 B
C

#pragma once
#include "WindowsWrapper.h"
typedef struct PIXTONEPARAMETER2
{
int model;
double num;
int top;
int offset;
} PIXTONEPARAMETER2;
typedef struct PIXTONEPARAMETER
{
int use;
int size;
PIXTONEPARAMETER2 oMain;
PIXTONEPARAMETER2 oPitch;
PIXTONEPARAMETER2 oVolume;
int initial;
int pointAx;
int pointAy;
int pointBx;
int pointBy;
int pointCx;
int pointCy;
} PIXTONEPARAMETER;
void MakeWaveTables(void);
BOOL MakePixelWaveData(const PIXTONEPARAMETER *ptp, unsigned char *pData);