This commit is contained in:
parent
d59390dbc0
commit
b74b514b01
58
source/player/demoplay.cpp
Normal file
58
source/player/demoplay.cpp
Normal file
@ -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 */
|
66
source/player/demoplay.h
Normal file
66
source/player/demoplay.h
Normal file
@ -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 */
|
Loading…
Reference in New Issue
Block a user