diff options
author | aap <aap@papnet.eu> | 2019-06-02 10:25:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-02 10:25:55 +0200 |
commit | 9c26e46e17b421288f7653f4c9cff81b4b6cdfb0 (patch) | |
tree | c1b34122ddd4be0461a5310c964e8218b9f5781e /src/skel/skeleton.h | |
parent | implemented splashes; fixed zones (diff) | |
parent | Merge branch 'master' into master (diff) | |
download | re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.gz re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.bz2 re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.lz re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.xz re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.tar.zst re3-9c26e46e17b421288f7653f4c9cff81b4b6cdfb0.zip |
Diffstat (limited to 'src/skel/skeleton.h')
-rw-r--r-- | src/skel/skeleton.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/skel/skeleton.h b/src/skel/skeleton.h index 891ca14f..d6ec3c37 100644 --- a/src/skel/skeleton.h +++ b/src/skel/skeleton.h @@ -24,17 +24,17 @@ extern "C" enum RsInputDeviceType { - rsKEYBOARD, - rsMOUSE, - rsPAD + rsKEYBOARD, + rsMOUSE, + rsPAD }; typedef enum RsInputDeviceType RsInputDeviceType; enum RsEventStatus { - rsEVENTERROR, - rsEVENTPROCESSED, - rsEVENTNOTPROCESSED + rsEVENTERROR, + rsEVENTPROCESSED, + rsEVENTNOTPROCESSED }; typedef enum RsEventStatus RsEventStatus; @@ -88,27 +88,27 @@ typedef RsEventStatus (*RsInputEventHandler)(RsEvent event, void *param); typedef struct RsInputDevice RsInputDevice; struct RsInputDevice { - RsInputDeviceType inputDeviceType; - RwBool used; - RsInputEventHandler inputEventHandler; + RsInputDeviceType inputDeviceType; + RwBool used; + RsInputEventHandler inputEventHandler; }; typedef struct RsGlobalType RsGlobalType; struct RsGlobalType { - const RwChar *appName; - RwInt32 width; - RwInt32 height; - RwInt32 maximumWidth; - RwInt32 maximumHeight; + const RwChar *appName; + RwInt32 width; + RwInt32 height; + RwInt32 maximumWidth; + RwInt32 maximumHeight; RwInt32 maxFPS; - RwBool quit; + RwBool quit; - void *ps; /* platform specific data */ + void *ps; /* platform specific data */ - RsInputDevice keyboard; - RsInputDevice mouse; - RsInputDevice pad; + RsInputDevice keyboard; + RsInputDevice mouse; + RsInputDevice pad; }; enum RsKeyCodes @@ -183,14 +183,14 @@ typedef enum RsKeyCodes RsKeyCodes; typedef struct RsKeyStatus RsKeyStatus; struct RsKeyStatus { - RwInt32 keyCharCode; + RwInt32 keyCharCode; }; typedef struct RsPadButtonStatus RsPadButtonStatus; struct RsPadButtonStatus { - RwInt32 padID; - RwUInt32 padButtons; + RwInt32 padID; + RwUInt32 padButtons; }; enum RsPadButtons @@ -203,14 +203,14 @@ enum RsPadButtons rsPADBUTTON4 = 4, rsPADBUTTON5 = 5, - rsPADBUTTON6 = 6, - rsPADBUTTON7 = 7, - rsPADBUTTON8 = 8, + rsPADBUTTON6 = 6, + rsPADBUTTON7 = 7, + rsPADBUTTON8 = 8, rsPADSELECT = 9, rsPADBUTTONA1 = 10, - rsPADBUTTONA2 = 11, + rsPADBUTTONA2 = 11, rsPADSTART = 12, @@ -245,7 +245,7 @@ RsSelectDevice(void); extern RwBool RsInputDeviceAttach(RsInputDeviceType inputDevice, - RsInputEventHandler inputEventHandler); + RsInputEventHandler inputEventHandler); extern RwUInt32 RsTimer(void); |