From b74b514b010c56d0886e1c44da0114b67af19853 Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 8 Feb 2001 20:01:41 +0000 Subject: [PATCH] --- source/player/demoplay.cpp | 58 +++++++++++++++++++++++++++++++++ source/player/demoplay.h | 66 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 source/player/demoplay.cpp create mode 100644 source/player/demoplay.h diff --git a/source/player/demoplay.cpp b/source/player/demoplay.cpp new file mode 100644 index 000000000..5dfcdabc1 --- /dev/null +++ b/source/player/demoplay.cpp @@ -0,0 +1,58 @@ +/*========================================================================= + + demoplay.cpp + + Author: PKG + Created: + Project: Spongebob + Purpose: + + Copyright (c) 2001 Climax Development Ltd + +===========================================================================*/ + +/*---------------------------------------------------------------------- + Includes + -------- */ + +#include "player\demoplay.h" + + +/* Std Lib + ------- */ + +/* Data + ---- */ + +/*---------------------------------------------------------------------- + Tyepdefs && Defines + ------------------- */ + +/*---------------------------------------------------------------------- + Structure defintions + -------------------- */ + +/*---------------------------------------------------------------------- + Function Prototypes + ------------------- */ + +/*---------------------------------------------------------------------- + Vars + ---- */ + + +/*---------------------------------------------------------------------- + Function: + Purpose: + Params: + Returns: + ---------------------------------------------------------------------- */ +#include "utils\utils.h" +PLAYERINPUT CDemoPlayer::readPadInput() +{ + return PI_NONE; +} + + +/*=========================================================================== +end */ diff --git a/source/player/demoplay.h b/source/player/demoplay.h new file mode 100644 index 000000000..467232034 --- /dev/null +++ b/source/player/demoplay.h @@ -0,0 +1,66 @@ +/*========================================================================= + + demoplay.h + + Author: PKG + Created: + Project: Spongebob + Purpose: + + Copyright (c) 2001 Climax Development Ltd + +===========================================================================*/ + +#ifndef __PLAYER_DEMOPLAY_H__ +#define __PLAYER_DEMOPLAY_H__ + +/*---------------------------------------------------------------------- + Includes + -------- */ + +#ifndef __PLAYER_PLAYER_H__ +#include "player/player.h" +#endif + + +/* Std Lib + ------- */ + +/*---------------------------------------------------------------------- + Tyepdefs && Defines + ------------------- */ + +/*---------------------------------------------------------------------- + Structure defintions + -------------------- */ + +class CDemoPlayer : public CPlayer +{ +public: + typedef struct + { + u8 m_inputValue; + u8 m_length; + }demoPlayerControl; + +protected: + virtual PLAYERINPUT readPadInput(); +private: + +}; + + +/*---------------------------------------------------------------------- + Globals + ------- */ + +/*---------------------------------------------------------------------- + Functions + --------- */ + +/*---------------------------------------------------------------------- */ + +#endif /* __PLAYER_DEMOPLAY_H__ */ + +/*=========================================================================== + end */