2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CINPUTGENERATOR
|
|
|
|
#define _CINPUTGENERATOR
|
2022-09-13 04:26:54 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-10-01 06:19:09 +00:00
|
|
|
#include "rstl/single_ptr.hpp"
|
|
|
|
|
|
|
|
#include "Kyoto/Input/IController.hpp"
|
|
|
|
|
2022-09-13 04:26:54 +00:00
|
|
|
class COsContext;
|
2022-10-01 06:19:09 +00:00
|
|
|
class IController;
|
2022-09-13 04:26:54 +00:00
|
|
|
|
|
|
|
class CInputGenerator {
|
|
|
|
public:
|
2022-10-09 05:37:23 +00:00
|
|
|
CInputGenerator(COsContext*, float, float);
|
2022-09-13 04:26:54 +00:00
|
|
|
|
2022-10-01 06:19:09 +00:00
|
|
|
IController* GetController() const { return x4_controller.get(); }
|
|
|
|
|
2022-09-13 04:26:54 +00:00
|
|
|
private:
|
2022-10-01 06:19:09 +00:00
|
|
|
COsContext* x0_context;
|
|
|
|
rstl::single_ptr< IController > x4_controller;
|
|
|
|
bool x8_connectedControllers[4];
|
2022-10-09 05:37:23 +00:00
|
|
|
float xc_leftDiv;
|
|
|
|
float x10_rightDiv;
|
2022-09-13 04:26:54 +00:00
|
|
|
};
|
2022-10-01 06:19:09 +00:00
|
|
|
CHECK_SIZEOF(CInputGenerator, 0x14)
|
2022-09-13 04:26:54 +00:00
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CINPUTGENERATOR
|