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 */