Skip to content

Commit

Permalink
Cinematic: make functions static
Browse files Browse the repository at this point in the history
  • Loading branch information
Eli2 committed Dec 28, 2017
1 parent 05b531c commit ecc49d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/cinematic/CinematicKeyframer.cpp
Expand Up @@ -112,7 +112,7 @@ static CinematicKeyframe * SearchAndMoveKey(int f)
return k + 1;
}

CinematicKeyframe * SearchKey(int f, int * num)
static CinematicKeyframe * SearchKey(int f, int * num)
{
if(!CKTrack || !CKTrack->nbkey)
return NULL;
Expand Down Expand Up @@ -328,7 +328,7 @@ void AddKeyLoad(const CinematicKeyframe & key) {
*k = key;
}

CinematicKeyframe * GetKey(int f, int * num)
static CinematicKeyframe * GetKey(int f, int * num)
{
if(!CKTrack || !CKTrack->key)
return NULL;
Expand Down
3 changes: 0 additions & 3 deletions src/cinematic/CinematicKeyframer.h
Expand Up @@ -92,9 +92,6 @@ void PlayTrack(Cinematic * c);
void SetCurrFrame(int frame);
float GetTrackFPS();

CinematicKeyframe * GetKey(int f, int * num);
CinematicKeyframe * SearchKey(int f, int * num);

float GetTimeKeyFramer();
void UpDateAllKeyLight();

Expand Down

0 comments on commit ecc49d0

Please sign in to comment.