123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- #ifndef KESSVorschau_H
- #define KESSVorschau_H
- #include <KSGScript.h>
- #include <AuswahlBox.h>
- #include <Thread.h>
- using namespace Framework;
- using namespace KSGScript;
- class KESSVorschauKarteScript : public Thread
- {
- private:
- KSGScriptObj *fenster;
- Punkt pos;
- LRahmen *ram;
- HINSTANCE ksgs;
- Text pfad;
- bool sichtbar;
- bool besitztTestVersion;
- int verbleibend;
- bool vollversionErwerbbar;
- bool testversionErwerbbar;
- int vvPreis;
- int tvPreis;
- int kupfer;
- unsigned char alpha;
- bool aktion;
- int ak;
- int ref;
- public:
-
- KESSVorschauKarteScript( Schrift *zSchrift, TextFeld *zLog );
-
- ~KESSVorschauKarteScript();
-
- void thread() override;
- void setScriptParams( bool hatTV, int tvVerb, bool vvEn, bool tvEn, int vvK, int tvK, int k );
- void ladeKarteSeite( char *pfad );
- void ksgsAktion( RCArray< KSGSVariable > *parameter, KSGSVariable **retVal );
- void doMausEreignis( MausEreignis &me );
- void doTastaturEreignis( TastaturEreignis &te );
- bool tick( double zeit );
- void render( Bild &zRObj );
-
- KESSVorschauKarteScript *getThis();
- KESSVorschauKarteScript *release();
- };
- class KESSVorschauKarte
- {
- private:
- Knopf *auswählen;
- Bild *hintergrund;
- AlphaFeld *ausgewählt;
- LRahmen *ram;
- bool ausw;
- bool rend;
- int ref;
- public:
-
- KESSVorschauKarte( Schrift *schrift );
-
- ~KESSVorschauKarte();
-
- void ladeKarte( char *pfad );
- bool doMausEreignis( MausEreignis &me );
- bool tick( double zeit );
- void render( Bild &zRObj );
-
- KESSVorschauKarte *getThis();
- KESSVorschauKarte *release();
- };
- class KESSVorschau : public Zeichnung
- {
- private:
- Schrift *schrift;
- KESSVorschauKarteScript *script;
- KESSVorschauKarte *karte;
- Knopf *beenden;
- AuswahlBox *besitztTestVersion;
- TextFeld *spieleVerbleibend;
- AuswahlBox *vvErwerbbar;
- AuswahlBox *tvErwerbbar;
- TextFeld *vvPreis;
- TextFeld *tvPreis;
- TextFeld *kupfer;
- Text pfad;
- TextFeld *log;
- unsigned char alpha;
- bool sichtbar;
- double tickVal;
- int aktion;
- bool rend;
- int ref;
- public:
-
- KESSVorschau( Schrift *zSchrift );
-
- ~KESSVorschau();
-
- int getAktion();
- void ladeKarte( char *pfad );
- void setSichtbar( bool sicht );
- void doMausEreignis( MausEreignis &me );
- void doTastaturEreignis( TastaturEreignis &te );
- bool tick( double zeit );
- void render( Bild &zRObj );
-
- bool istSichtbar() const;
-
- KESSVorschau *getThis();
- KESSVorschau *release();
- };
- #endif
|