diff options
| author | Japa | 2011-02-19 19:11:19 +0000 |
|---|---|---|
| committer | Japa | 2011-02-19 19:11:19 +0000 |
| commit | f1cd36716229dd3f0795824197b14dcd0d979540 (patch) | |
| tree | a9391276cc5f0c569fe531996964a6cb57d2263e /SpriteObjects.h | |
| parent | d8523cd32f9aea85ce0ef0c6fb12c8562922dad2 (diff) | |
| parent | c2f73a1f356890e8ed6ada37a4613ce4836d4712 (diff) | |
| download | stonesense-f1cd36716229dd3f0795824197b14dcd0d979540.tar.gz stonesense-f1cd36716229dd3f0795824197b14dcd0d979540.tar.bz2 stonesense-f1cd36716229dd3f0795824197b14dcd0d979540.tar.xz | |
merged in the multithreaded branch.
Diffstat (limited to 'SpriteObjects.h')
| -rw-r--r-- | SpriteObjects.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/SpriteObjects.h b/SpriteObjects.h index 3014802..4d8db1c 100644 --- a/SpriteObjects.h +++ b/SpriteObjects.h @@ -21,6 +21,9 @@ #define LIGHTYES 1
#define LIGHTNO 2
+
+class Block;
+
class c_sprite
{
private:
@@ -94,8 +97,8 @@ public: c_sprite(void);
~c_sprite(void);
void draw_screen(int x, int y);
- void draw_world(int x, int y, int z, bool chop = false);
- void draw_world_offset(int x, int y, int z, int offset, bool chop = false);
+ void draw_world(int x, int y, int z, Block * b, bool chop = false);
+ void draw_world_offset(int x, int y, int z, Block * b, int offset, bool chop = false);
void draw_world_ramp_bottom(int x, int y, int z, bool chop = false);
void set_by_xml(TiXmlElement* elemSprite, int32_t fileindex);
void set_by_xml(TiXmlElement* elemSprite);
|
