home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-09-29 | 631 b | 29 lines | [TEXT/KAHL] |
- //
- // scrolling_noise is there for ease of use;
- // it can be used to create a scrolling area.
- //
- class scrolling_noise : public gworld
- {
- public:
- scrolling_noise( int breedte, int hoogte, int diepte,
- short dh, short dv, port &original);
-
- scrolling_noise( int breedte, int hoogte, int diepte,
- short dh, short dv, CTabHandle cTable = nil);
- ~scrolling_noise();
- void step() const;
-
- private:
-
- void init( int breedte, int hoogte, int diepte, short dh, short dv);
-
- short d_h;
- short d_v;
- gworld *newHor;
- gworld *newVert;
- Rect origHorRect;
- Rect destHorRect;
- Rect origVertRect;
- Rect destVertRect;
- };
-