Source tidying.
This commit is contained in:
parent
b145541ed4
commit
69c2fdf680
|
@ -261,7 +261,7 @@ static void checkCollisions(Bullet *b)
|
|||
}
|
||||
}
|
||||
|
||||
void doBulletHitEffect(Bullet *b)
|
||||
static void doBulletHitEffect(Bullet *b)
|
||||
{
|
||||
switch (b->type)
|
||||
{
|
||||
|
|
|
@ -78,7 +78,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
|
||||
#define NUM_TEXTURE_BUCKETS 32
|
||||
#define NUM_ATLAS_BUCKETS 64
|
||||
#define NUM_GLYPH_BUCKETS 128
|
||||
|
||||
#define MAX_GLYPHS 400
|
||||
|
||||
#define MAX_STARS 500
|
||||
|
||||
|
|
|
@ -35,10 +35,10 @@ void startSectionTransition(void)
|
|||
|
||||
void endSectionTransition(void)
|
||||
{
|
||||
long elasped = 250 - (SDL_GetTicks() - transitionStartTime);
|
||||
long elapsed = 250 - (SDL_GetTicks() - transitionStartTime);
|
||||
|
||||
if (elasped > 0)
|
||||
if (elapsed > 0)
|
||||
{
|
||||
SDL_Delay(elasped);
|
||||
SDL_Delay(elapsed);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ char *timeToDate(long millis)
|
|||
|
||||
timeinfo = localtime(&time);
|
||||
|
||||
strftime(DATE, MAX_NAME_LENGTH, "%d %b %Y, %I:%M%p", timeinfo);
|
||||
strftime(DATE, MAX_NAME_LENGTH, "%d %b %Y, %H:%M%p", timeinfo);
|
||||
|
||||
return DATE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue