diff options
| author | Japa | 2010-09-11 10:08:00 +0000 |
|---|---|---|
| committer | Japa | 2010-09-11 10:08:00 +0000 |
| commit | f289538a4f71e65f4e94503631d0c0852daad518 (patch) | |
| tree | 89f88a8a096aaf6b85609381485c0e16fb23e449 /GUI.h | |
| parent | f5cd4faed27242435796b21ee6ecf3599930acfd (diff) | |
| download | stonesense-f289538a4f71e65f4e94503631d0c0852daad518.tar.gz stonesense-f289538a4f71e65f4e94503631d0c0852daad518.tar.bz2 stonesense-f289538a4f71e65f4e94503631d0c0852daad518.tar.xz | |
preliminary multithreading work. still needs stuff done to the block allocators to make things not crash.
Diffstat (limited to 'GUI.h')
| -rw-r--r-- | GUI.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -28,6 +28,7 @@ void saveMegashot(); void saveImage(ALLEGRO_BITMAP* image);
void draw_particle_cloud(int count, float centerX, float centerY, float rangeX, float rangeY, ALLEGRO_BITMAP *sprite);
extern WorldSegment* viewedSegment;//current, loaded
+extern WorldSegment* altSegment;//background
extern int DisplayedSegmentX;
extern int DisplayedSegmentY;
extern int DisplayedSegmentZ;
@@ -53,4 +54,6 @@ extern vector<string*> IMGFilenames; ALLEGRO_COLOR operator*(const ALLEGRO_COLOR &color1, const ALLEGRO_COLOR &color2);
ALLEGRO_COLOR operator+(const ALLEGRO_COLOR &color1, const ALLEGRO_COLOR &color2);
ALLEGRO_COLOR getDayShade(int hour, int tick);
-ALLEGRO_COLOR partialBlend(const ALLEGRO_COLOR & color2, const ALLEGRO_COLOR & color1, int percent);
\ No newline at end of file +ALLEGRO_COLOR partialBlend(const ALLEGRO_COLOR & color2, const ALLEGRO_COLOR & color1, int percent);
+
+void swapSegments(void);
\ No newline at end of file |
