Remove empty function `trigShutDown`
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11709 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
3390509fe7
commit
d01a61bdc1
|
@ -305,9 +305,6 @@ void frameShutDown(void)
|
||||||
/* Destroy the Application window */
|
/* Destroy the Application window */
|
||||||
SDL_Quit();
|
SDL_Quit();
|
||||||
|
|
||||||
/* shutdown the trig stuff */
|
|
||||||
trigShutDown();
|
|
||||||
|
|
||||||
// Shutdown the resource stuff
|
// Shutdown the resource stuff
|
||||||
resShutDown();
|
resShutDown();
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,12 +83,6 @@ bool trigInitialise(void)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Shutdown the trig tables */
|
|
||||||
void trigShutDown(void)
|
|
||||||
{}
|
|
||||||
|
|
||||||
|
|
||||||
int32_t iSin(uint16_t a)
|
int32_t iSin(uint16_t a)
|
||||||
{
|
{
|
||||||
int sign[4] = {1, 1, -1, -1};
|
int sign[4] = {1, 1, -1, -1};
|
||||||
|
|
|
@ -40,9 +40,6 @@ extern "C"
|
||||||
/* Initialise the Trig tables */
|
/* Initialise the Trig tables */
|
||||||
extern bool trigInitialise(void);
|
extern bool trigInitialise(void);
|
||||||
|
|
||||||
/* Shutdown the trig tables */
|
|
||||||
extern void trigShutDown(void);
|
|
||||||
|
|
||||||
// Deterministic trig functions.
|
// Deterministic trig functions.
|
||||||
int32_t iSin(uint16_t a); ///< Returns sin(a*2π >> 16) << 16, rounded to nearest integer. Used as the x component in this game.
|
int32_t iSin(uint16_t a); ///< Returns sin(a*2π >> 16) << 16, rounded to nearest integer. Used as the x component in this game.
|
||||||
int32_t iCos(uint16_t a); ///< Returns cos(a*2π >> 16) << 16, rounded to nearest integer. Used as the y component in this game.
|
int32_t iCos(uint16_t a); ///< Returns cos(a*2π >> 16) << 16, rounded to nearest integer. Used as the y component in this game.
|
||||||
|
|
Loading…
Reference in New Issue