2010-01-02 13:41:50 +01:00
|
|
|
#ifndef __MOCKS_C64_H__
|
|
|
|
#define __MOCKS_C64_H__
|
|
|
|
|
|
|
|
/* Network connection type */
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
NONE,
|
|
|
|
CONNECT,
|
|
|
|
MASTER,
|
|
|
|
CLIENT
|
|
|
|
};
|
|
|
|
|
|
|
|
class C64
|
|
|
|
{
|
|
|
|
public:
|
2010-01-10 20:57:45 +01:00
|
|
|
C64()
|
|
|
|
{
|
|
|
|
this->have_a_break = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Pause()
|
|
|
|
{
|
|
|
|
this->have_a_break = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Resume()
|
|
|
|
{
|
|
|
|
this->have_a_break = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool IsPaused()
|
|
|
|
{
|
|
|
|
return this->have_a_break;
|
|
|
|
}
|
|
|
|
|
2010-01-25 11:59:08 +01:00
|
|
|
void startFakeKeySequence(const char *what)
|
|
|
|
{
|
|
|
|
printf("Faking %s\n", what);
|
|
|
|
}
|
|
|
|
|
2010-01-25 13:07:57 +01:00
|
|
|
void LoadSnapshot(const char *name)
|
|
|
|
{
|
|
|
|
printf("Loading savegame %s\n", name);
|
|
|
|
}
|
|
|
|
|
|
|
|
void SaveSnapshot(const char *name)
|
|
|
|
{
|
|
|
|
printf("Saving savegame %s\n", name);
|
|
|
|
}
|
|
|
|
|
2010-01-02 13:41:50 +01:00
|
|
|
int network_connection_type;
|
2010-01-10 20:57:45 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
bool have_a_break;
|
2010-01-02 13:41:50 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
extern C64 *TheC64;
|
|
|
|
|
|
|
|
#endif /*__MOCKS_C64_H__ */
|