openbsd-ports/games/numptyphysics/patches/patch-Script_h
dcoppa 3a96856ab4 Update to the latest svn snapshots:
numptyphysics -> 2010/09/16

npcomplete -> 2010/01/24

Kudos to sthen@ for mirroring the distfiles
2012-12-12 14:58:00 +00:00

29 lines
689 B
Plaintext

$OpenBSD: patch-Script_h,v 1.1 2012/12/12 14:58:00 dcoppa Exp $
--- Script.h.orig Wed Dec 5 15:53:11 2012
+++ Script.h Thu Dec 6 11:03:42 2012
@@ -78,9 +78,9 @@ class ScriptRecorder (public)
ScriptLog* getLog() { return m_log; }
private:
+ ScriptLog *m_log;
bool m_running;
bool m_isPaused;
- ScriptLog *m_log;
int m_lastTick;
};
@@ -88,6 +88,13 @@ class ScriptRecorder (public)
class ScriptPlayer
{
public:
+ ScriptPlayer()
+ : m_playing(false),
+ m_isPaused(false),
+ m_log(0),
+ m_scene(0),
+ m_index(0),
+ m_lastTick(0) {}
void start( const ScriptLog* log, Scene* scene );
bool isRunning() const;