From ecc49d0da55a9c21760392db547c30dfd67907dd Mon Sep 17 00:00:00 2001 From: Eli2 Date: Thu, 28 Dec 2017 04:26:51 +0100 Subject: [PATCH] Cinematic: make functions static --- src/cinematic/CinematicKeyframer.cpp | 4 ++-- src/cinematic/CinematicKeyframer.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/cinematic/CinematicKeyframer.cpp b/src/cinematic/CinematicKeyframer.cpp index 38215291d2..feac1ff55b 100644 --- a/src/cinematic/CinematicKeyframer.cpp +++ b/src/cinematic/CinematicKeyframer.cpp @@ -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; @@ -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; diff --git a/src/cinematic/CinematicKeyframer.h b/src/cinematic/CinematicKeyframer.h index 6c28f2012b..1881f2f2d9 100644 --- a/src/cinematic/CinematicKeyframer.h +++ b/src/cinematic/CinematicKeyframer.h @@ -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();