diff --git a/src/avp/win95/gadgets/trepgadg.hpp b/src/avp/win95/gadgets/trepgadg.hpp index 37c8cd4..6f01c64 100644 --- a/src/avp/win95/gadgets/trepgadg.hpp +++ b/src/avp/win95/gadgets/trepgadg.hpp @@ -56,12 +56,12 @@ int FixP_Alpha ); - struct r2pos TextReportGadget :: GetPos_Rel + struct r2pos GetPos_Rel ( const struct r2rect& R2Rect_Parent ) const; - r2size TextReportGadget :: GetSize + r2size GetSize ( const struct r2rect& R2Rect_Parent ) const; diff --git a/src/avp/win95/projload.hpp b/src/avp/win95/projload.hpp index 037187b..141d18c 100644 --- a/src/avp/win95/projload.hpp +++ b/src/avp/win95/projload.hpp @@ -10,6 +10,8 @@ #include "hierchnk.hpp" +class File_Chunk; + // project specifc structure contained in rif handle struct Project_RifHandle {}; diff --git a/src/win95/alt_tab.cpp b/src/win95/alt_tab.cpp index 529abcb..c1c3e2f 100644 --- a/src/win95/alt_tab.cpp +++ b/src/win95/alt_tab.cpp @@ -103,7 +103,7 @@ struct AltTabEntry inline bool operator != (AltTabEntry const & rEntry) const { return ! operator == (rEntry); } - friend inline HashFunction(AltTabEntry const & rEntry) + friend inline unsigned HashFunction(AltTabEntry const & rEntry) { return HashFunction(rEntry.m_pDxGraphic); } }; diff --git a/src/win95/chnkload.hpp b/src/win95/chnkload.hpp index adf2163..e5db4e9 100644 --- a/src/win95/chnkload.hpp +++ b/src/win95/chnkload.hpp @@ -11,6 +11,8 @@ #include "bmpnames.hpp" #include "projload.hpp" +class Sprite_Header_Chunk; + #if 0 extern BOOL copy_to_mainshpl (Shape_Chunk *shape, int list_pos); extern BOOL copy_to_mainshpl (Shape_Sub_Shape_Chunk *shape, int list_pos); diff --git a/src/win95/chunk.hpp b/src/win95/chunk.hpp index e021062..bb58380 100644 --- a/src/win95/chunk.hpp +++ b/src/win95/chunk.hpp @@ -365,7 +365,7 @@ public: virtual void fill_data_block_for_process(char * data_start); - Chunk* Chunk_With_Children::DynCreate(const char* data); + Chunk* DynCreate(const char* data); protected: diff --git a/src/win95/chunkpal.hpp b/src/win95/chunkpal.hpp index 534eff9..c293072 100644 --- a/src/win95/chunkpal.hpp +++ b/src/win95/chunkpal.hpp @@ -7,6 +7,8 @@ #include "palette.h" #endif +class Environment_Data_Chunk; + static const unsigned char * grab_pixel_data(int ssize, unsigned char const * sdata) { if (!ssize) return 0; diff --git a/src/win95/iff.cpp b/src/win95/iff.cpp index 4e176d6..d7581b3 100644 --- a/src/win95/iff.cpp +++ b/src/win95/iff.cpp @@ -219,12 +219,14 @@ namespace IFF } // namespace IFF -inline unsigned HashFunction(IFF::RegEntry const & rEntry) -{ - return HashFunction(rEntry.m_idChunk.m_nID); -} + namespace IFF { + + inline unsigned HashFunction(IFF::RegEntry const & rEntry) + { + return ::HashFunction(rEntry.m_idChunk.m_nID); + } static ::HashTable * g_pRegister = NULL;