summaryrefslogtreecommitdiff
path: root/GUI.h
diff options
context:
space:
mode:
authorJapa2010-09-11 10:08:00 +0000
committerJapa2010-09-11 10:08:00 +0000
commitf289538a4f71e65f4e94503631d0c0852daad518 (patch)
tree89f88a8a096aaf6b85609381485c0e16fb23e449 /GUI.h
parentf5cd4faed27242435796b21ee6ecf3599930acfd (diff)
downloadstonesense-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/GUI.h b/GUI.h
index da57fea..df476e2 100644
--- a/GUI.h
+++ b/GUI.h
@@ -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