cave-story-solaris/src/PixTone.h
Clownacy 03250d62a0 Make variables more accurate
This commit changes which variables are static: the Mac (and
presumably the Linux) debug data tells you what variables are static,
by prefixing their names with double_underscores.

The variable names themselves also hint at this: global variables are
prefixed with 'g', and use upper-camelcase, while static variables
use whatever_you_call_this.
2020-05-03 20:28:56 +01:00

32 lines
552 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;
extern signed char gWaveModelTable[6][0x100];
void MakeWaveTables(void);
BOOL MakePixelWaveData(const PIXTONEPARAMETER *ptp, unsigned char *pData);