Fixed errors in inline.h.

More compiling.  156 unique undefined references.
This commit is contained in:
Steven Fuller 2001-08-03 05:30:40 +00:00 committed by Patryk Obara
parent cfd7274022
commit 29792b40ef
19 changed files with 504 additions and 1092 deletions

View file

@ -5,6 +5,194 @@
#include "fixer.h"
#include "3dc.h"
#include "platform.h"
#include "psndplat.h"
/* smacker.c */
int FmvColorRed;
int FmvColorGreen;
int FmvColourBlue;
void GetFMVInformation(int *messageNumberPtr, int *frameNumberPtr)
{
fprintf(stderr, "GetFMVInformation(%p, %p)\n", messageNumberPtr, frameNumberPtr);
}
void InitialiseTriggeredFMVs()
{
fprintf(stderr, "InitialiseTriggeredFMVs()\n");
}
void StartFMVAtFrame(int number, int frame)
{
fprintf(stderr, "StartFMVAtFrame(%d, %d)\n", number, frame);
}
void StartTriggerPlotFMV(int number)
{
fprintf(stderr, "StartTriggerPlotFMV(%d)\n", number);
}
void UpdateAllFMVTextures()
{
fprintf(stderr, "UpdateAllFMVTextures()\n");
}
/* win_func.cpp */
void CheckForWindowsMessages()
{
fprintf(stderr, "CheckForWindowsMessages()\n");
}
/* psndplat.cpp */
ACTIVESOUNDSAMPLE ActiveSounds[SOUND_MAXACTIVE];
ACTIVESOUNDSAMPLE BlankActiveSound = {SID_NOSOUND,ASP_Minimum,0,0,NULL,0,0,0,0,0,{{0,0,0},0,0},NULL, NULL, NULL};
SOUNDSAMPLEDATA BlankGameSound = {0,0,0,0,NULL,0,NULL};
SOUNDSAMPLEDATA GameSounds[SID_MAXIMUM];
int PlatStartSoundSys()
{
fprintf(stderr, "PlatStartSoundSys()\n");
return 0;
}
void PlatEndSoundSys()
{
fprintf(stderr, "PlatEndSoundSys()\n");
}
int PlatChangeGlobalVolume(int volume)
{
fprintf(stderr, "PlatChangeGlobalVolume(%d)\n", volume);
return 1;
}
int PlatPlaySound(int activeIndex)
{
fprintf(stderr, "PlatPlaySound(%d)\n", activeIndex);
return 1;
}
void PlatStopSound(int activeIndex)
{
fprintf(stderr, "PlatStopSound(%d)\n", activeIndex);
}
int PlatChangeSoundVolume(int activeIndex, int volume)
{
fprintf(stderr, "PlatChangeSoundVolume(%d, %d)\n", activeIndex, volume);
return 1;
}
int PlatChangeSoundPitch(int activeIndex, int pitch)
{
fprintf(stderr, "PlatChangeSoundPitch(%d, %d)\n", activeIndex, pitch);
return 1;
}
int PlatSoundHasStopped(int activeIndex)
{
fprintf(stderr, "PlatSoundHasStopped(%d)\n", activeIndex);
return 1;
}
int PlatDo3dSound(int activeIndex)
{
fprintf(stderr, "PlatDo3dSound(%d)\n", activeIndex);
return 1;
}
void PlatEndGameSound(SOUNDINDEX index)
{
fprintf(stderr, "PlatEndGameSound(%d)\n", index);
}
unsigned int PlatMaxHWSounds()
{
fprintf(stderr, "PlatMaxHWSounds()\n");
return 256;
}
void InitialiseBaseFrequency(SOUNDINDEX soundNum)
{
fprintf(stderr, "InitialiseBaseFrequency(%d)\n", soundNum);
}
int LoadWavFile(int soundNum, char * wavFileName)
{
fprintf(stderr, "LoadWavFile(%d, %s)\n", soundNum, wavFileName);
return 0;
}
unsigned char *ExtractWavFile(int soundIndex, unsigned char *bufferPtr)
{
fprintf(stderr, "ExtractWavFile(%d, %p)\n", soundIndex, bufferPtr);
return 0;
}
int LoadWavFromFastFile(int soundNum, char * wavFileName)
{
fprintf(stderr, "LoadWavFromFastFile(%d, %s)\n", soundNum, wavFileName);
return 0;
}
void PlatUpdatePlayer()
{
fprintf(stderr, "PlatUpdatePlayer()\n");
}
void PlatSetEnviroment(unsigned int env_index, float reverb_mix)
{
fprintf(stderr, "PlatSetEnvironment(%d, %f)\n", env_index, reverb_mix);
}
void UpdateSoundFrequencies()
{
fprintf(stderr, "UpdateSoundFreqncies()\n");
}
/* alt_tab.cpp */
void ATIncludeSurface(void * pSurface, void * hBackup)
{
fprintf(stderr, "ATIncludeSurface(%p, %p)\n", pSurface, hBackup);
}
void ATRemoveSurface(void * pSurface)
{
fprintf(stderr, "ATRemoveSurface(%p)\n", pSurface);
}
void ATRemoveTexture(void * pTexture)
{
fprintf(stderr, "ATRemoveTexture(%p)\n", pTexture);
}
/* avp_menugfx.cpp */
char AAFontWidths[256];
void FadedScreen(int alpha)
{
fprintf(stderr, "FadedScreen(%d)\n", alpha);
}
/* winmain.c */
BOOL KeepMainRifFile = FALSE;
/* avpreg.cpp */
char* AvpCDPath = 0;
@ -20,12 +208,65 @@ extern char * SecondSoundDir;
}
/* d3d_render.cpp */
int NumberOfLandscapePolygons;
int FMVParticleColour;
void InitDrawTest()
{
fprintf(stderr, "InitDrawTest()\n");
}
void InitForceField()
{
fprintf(stderr, "InitForceField()\n");
}
/* avp_userprofile.c */
int SmackerSoundVolume;
/* dd_func.cpp */
long BackBufferPitch;
void FlipBuffers()
{
fprintf(stderr, "FlipBuffers()\n");
}
int ChangePalette (unsigned char* NewPalette)
{
fprintf(stderr, "ChangePalette(%p)\n", NewPalette);
return 0;
}
/* di_func.cpp */
unsigned char DebouncedGotAnyKey;
unsigned char DebouncedKeyboardInput[MAX_NUMBER_OF_INPUT_KEYS];
int GotJoystick;
int GotMouse;
int JoystickEnabled;
int MouseVelX;
int MouseVelY;
void DirectReadKeyboard()
{
fprintf(stderr, "DirectReadKeyboard()\n");
}
void DirectReadMouse()
{
fprintf(stderr, "DirectReadMouse()\n");
}
void ReadJoysticks()
{
fprintf(stderr, "ReadJoysticks()\n");
}
/* dx_proj.cpp */
int use_mmx_math = 1;
@ -79,6 +320,29 @@ void CDDA_SwitchOn()
}
/* winmain.c */
int HWAccel = 0;
/* dxlog.c */
void dx_str_log(char const * str, int line, char const * file)
{
fprintf(stderr, "dx_str_log: %s/%d: %s\n", file, line, str);
}
void dx_strf_log(char const * fmt, ... )
{
va_list ap;
va_start(ap, fmt);
fprintf(stderr, "dx_strf_log: ");
vfprintf(stderr,fmt,ap);
va_end(ap);
}
void dx_line_log(int line, char const * file)
{
fprintf(stderr, "dx_line_log: %s/%d\n", file, line);
}
#if 0
/* pldnet.c */
@ -105,7 +369,7 @@ HANDLE CreateFileA(const char *file, int write, int x, int y, int flags, int fla
return CreateFileA(file, write, x, y, flags, flags2, z);
}
int WriteFile(HANDLE file, const void *data, int len, unsigned long *byteswritten, int x)
int WriteFile(HANDLE file, const void *data, int len, /* unsigned long */ void *byteswritten, int x)
{
fprintf(stderr, "WriteFile(%d, %p, %d, %p, %d)\n", file, data, len, byteswritten, x);
@ -211,3 +475,10 @@ int timeGetTime()
return 0;
}
int GetTickCount()
{
fprintf(stderr, "GetTickCount()\n");
return 0;
}