diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-27 18:41:26 +0400 |
commit | 699030ceb698f827fe582bf03a78a44ffc283629 (patch) | |
tree | b9bd3afdc7d131f66460fad247135c3ed155a2ff /source/gameengine/GamePlayer | |
parent | 626f73718631a641fe2d9fe6e2786fc48a341ff7 (diff) |
use const for readonly strings and set some functions to static
Diffstat (limited to 'source/gameengine/GamePlayer')
-rw-r--r-- | source/gameengine/GamePlayer/common/GPC_Engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/GamePlayer/common/GPC_Engine.h b/source/gameengine/GamePlayer/common/GPC_Engine.h index 5df8834dbae..70e5a3ee631 100644 --- a/source/gameengine/GamePlayer/common/GPC_Engine.h +++ b/source/gameengine/GamePlayer/common/GPC_Engine.h @@ -102,9 +102,9 @@ public: // Initialize() functions are not put here since they have // different prototypes for Unix and Windows void StartLoadingAnimation(); - bool Start(char *filename); // file-on-disk starter + bool Start(const char *filename); // file-on-disk starter bool Start(unsigned char *blenderDataBuffer, - unsigned int blenderDataBufferSize); // file-in-memory starter + unsigned int blenderDataBufferSize); // file-in-memory starter void Stop(); virtual void Exit(); |