| 1 | /*************************************************************************** |
| 2 | systemstream.h - description |
| 3 | ------------------- |
| 4 | begin : Sat Sep 30 2000 |
| 5 | copyright : (C) 2000 by Waldemar Baraldi |
| 6 | email : [email protected] |
| 7 | ***************************************************************************/ |
| 8 | |
| 9 | /*************************************************************************** |
| 10 | * * |
| 11 | * This program is free software; you can redistribute it and/or modify * |
| 12 | * it under the terms of the GNU General Public License as published by * |
| 13 | * the Free Software Foundation; either version 2 of the License, or * |
| 14 | * (at your option) any later version. * |
| 15 | * * |
| 16 | ***************************************************************************/ |
| 17 | |
| 18 | #ifndef SYSTEM_STREAM_H |
| 19 | #define SYSTEM_STREAM_Hcxx . . $ `src/systemstream.h:19:9`! |
| 20 | |
| 21 | #include "eventstream.h"cxx . . $ `<file>/src/eventstream.h`/ |
| 22 | #include "SDL.h" |
| 23 | |
| 24 | class SystemStreamcxx . . $ SystemStream# : public EventStreamcxx . . $ EventStream#{ |
| 25 | |
| 26 | public: |
| 27 | |
| 28 | /** En un futuro no muy lejano esto debiera poder sobrescribirse.*/ |
| 29 | |
| 30 | SystemStreamcxx . . $ SystemStream#SystemStream(49f6e7a06ebc5aa8).(){ |
| 31 | emtcxx . . $ EventStream#emt.[0]=cxx . . $ EventStream#EMT#`operator=`(946056c5950d181e).(struct EMTcxx . . $ EventStream#EMT#){SDLK_UPcxx . . $ SDLK_UP., UPcxx . . $ UP.}; |
| 32 | emtcxx . . $ EventStream#emt.[1]=cxx . . $ EventStream#EMT#`operator=`(946056c5950d181e).(struct EMTcxx . . $ EventStream#EMT#){SDLK_DOWNcxx . . $ SDLK_DOWN., DOWNcxx . . $ DOWN.}; |
| 33 | emtcxx . . $ EventStream#emt.[2]=cxx . . $ EventStream#EMT#`operator=`(946056c5950d181e).(struct EMTcxx . . $ EventStream#EMT#){SDLK_LEFTcxx . . $ SDLK_LEFT., LEFTcxx . . $ LEFT.}; |
| 34 | emtcxx . . $ EventStream#emt.[3]=cxx . . $ EventStream#EMT#`operator=`(946056c5950d181e).(struct EMTcxx . . $ EventStream#EMT#){SDLK_RIGHTcxx . . $ SDLK_RIGHT., RIGHTcxx . . $ RIGHT.}; |
| 35 | emtcxx . . $ EventStream#emt.[4]=cxx . . $ EventStream#EMT#`operator=`(946056c5950d181e).(struct EMTcxx . . $ EventStream#EMT#){SDLK_SPACEcxx . . $ SDLK_SPACE., HITcxx . . $ HIT.}; |
| 36 | emtcxx . . $ EventStream#emt.[5]=cxx . . $ EventStream#EMT#`operator=`(946056c5950d181e).(struct EMTcxx . . $ EventStream#EMT#){SDLK_ESCAPEcxx . . $ SDLK_ESCAPE., BACKcxx . . $ BACK.}; |
| 37 | emtcxx . . $ EventStream#emt.[6]=cxx . . $ EventStream#EMT#`operator=`(946056c5950d181e).(struct EMTcxx . . $ EventStream#EMT#){SDLK_RETURNcxx . . $ SDLK_RETURN., GOcxx . . $ GO.}; |
| 38 | npairscxx . . $ EventStream#npairs.=7; |
| 39 | } |
| 40 | }; |
| 41 | |
| 42 | #endif |
| 43 |