apply patch from Martin Gerhardy - more quake2 related modules compiled and misc fixes

git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@195 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
TTimo
2008-02-18 20:54:58 +00:00
parent 7a51df0e11
commit a06f65b042
32 changed files with 115 additions and 52 deletions

View File

@@ -38,6 +38,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
class IGL2DWindow
{
public:
virtual ~IGL2DWindow() { }
// Increment the number of references to this object
virtual void IncRef () = 0;
// Decrement the reference count
@@ -49,6 +50,7 @@ public:
class IGL3DWindow
{
public:
virtual ~IGL3DWindow() { }
// Increment the number of references to this object
virtual void IncRef () = 0;
// Decrement the reference count

View File

@@ -55,6 +55,7 @@ to make sure they have been decref'ed ? (sounds easy, may not be that much).
class IShader
{
public:
virtual ~IShader() { }
// Increment the number of references to this object
virtual void IncRef () = 0;
// Decrement the reference count

View File

@@ -44,6 +44,7 @@ typedef void (* PFN_QERAPP_MAPPRINTF) ( char *text, ... );
class IPluginTexdef
{
public:
virtual ~IPluginTexdef() { }
// Increment the number of references to this object
virtual void IncRef () = 0;
// Decrement the reference count

View File

@@ -41,6 +41,7 @@ public:
eRadioButton,
};
virtual ~IToolbarButton() { }
virtual const char* getImage() const = 0;
virtual const char* getText() const = 0;
virtual const char* getTooltip() const = 0;

View File

@@ -34,6 +34,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
class IWindowListener
{
public:
virtual ~IWindowListener() { }
// Increment the number of references to this object
virtual void IncRef () = 0;
// Decrement the reference count
@@ -65,6 +66,7 @@ public:
class IWindow
{
public:
virtual ~IWindow() {}
// Increment the number of references to this object
virtual void IncRef () = 0;
// Decrement the reference count
@@ -107,6 +109,7 @@ public:
class IListener
{
public:
virtual ~IListener() {}
// Increment the number of references to this object
virtual void IncRef () = 0;
// Decrement the reference count
@@ -119,6 +122,7 @@ public:
class IXYWndWrapper
{
public:
virtual ~IXYWndWrapper() {}
virtual void SnapToGrid( int x1, int y1, vec3_t pt ) = 0;
virtual VIEWTYPE GetViewType( void ) = 0;
};

View File

@@ -580,6 +580,7 @@ typedef unsigned long (* PFN_QERAPP_GETTICKCOUNT) ();
class IModelCache
{
public:
virtual ~IModelCache() { }
virtual entity_interfaces_t *GetByID(const char *id, const char* version) = 0;
virtual void DeleteByID(const char *id, const char* version) = 0;
virtual void RefreshAll() = 0;
@@ -590,12 +591,14 @@ typedef IModelCache* (* PFN_GETMODELCACHE)();
class IFileTypeList
{
public:
virtual ~IFileTypeList() { }
virtual void addType(filetype_t type) = 0;
};
class IFileTypeRegistry
{
public:
virtual ~IFileTypeRegistry() { }
virtual void addType(const char* key, filetype_t type) = 0;
virtual void getTypeList(const char* key, IFileTypeList* typelist) = 0;
private: