Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-10 03:47:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-10 03:47:06 +0400
commit5a29885007c66752adbdcd62cdac5e7749f083fd (patch)
tree2d8d1423bd074dec951b5248be3036505f759c5c /source/gameengine/GamePlayer/ghost
parent09b34e69d4c5fb4bc305f84188959bb49d1979f2 (diff)
code cleanup: bge static functions & use C++ guarded alloc for the character class.
Diffstat (limited to 'source/gameengine/GamePlayer/ghost')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index 725c23c60e3..54457d0efdf 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -172,7 +172,7 @@ static BOOL scr_saver_init(int argc, char **argv)
#endif /* WIN32 */
-void usage(const char* program, bool isBlenderPlayer)
+static void usage(const char* program, bool isBlenderPlayer)
{
const char * consoleoption;
const char * example_filename = "";
@@ -332,7 +332,7 @@ static BlendFileData *load_game_data(const char *progname, char *filename = NULL
return bfd;
}
-bool GPG_NextFrame(GHOST_ISystem* system, GPG_Application *app, int &exitcode, STR_String &exitstring, GlobalSettings *gs)
+static bool GPG_NextFrame(GHOST_ISystem* system, GPG_Application *app, int &exitcode, STR_String &exitstring, GlobalSettings *gs)
{
bool run = true;
system->processEvents(false);
@@ -352,7 +352,7 @@ struct GPG_NextFrameState {
GlobalSettings *gs;
} gpg_nextframestate;
-int GPG_PyNextFrame(void *state0)
+static int GPG_PyNextFrame(void *state0)
{
GPG_NextFrameState *state = (GPG_NextFrameState *) state0;
int exitcode;