00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef SWIG_Armagetronad_WRAP_H_
00012 #define SWIG_Armagetronad_WRAP_H_
00013
00014 namespace Swig {
00015 class Director;
00016 }
00017
00018
00019 class SwigDirector_TConfItemBase : public tConfItemBase, public Swig::Director {
00020
00021 public:
00022 SwigDirector_TConfItemBase(VALUE self, char const *title, tConfItemBase::callbackFunc *cb = 0);
00023 virtual ~SwigDirector_TConfItemBase();
00024 virtual void ReadVal(std::istream &s);
00025 virtual void WriteVal(std::ostream &s);
00026 };
00027
00028
00029 class SwigDirector_TPath : public tPath, public Swig::Director {
00030
00031 public:
00032 SwigDirector_TPath(VALUE self);
00033 virtual ~SwigDirector_TPath();
00034 virtual void Paths(tArray<tString > &paths) const;
00035 };
00036
00037
00038 class SwigDirector_NNetObject : public nNetObject, public Swig::Director {
00039
00040 public:
00041 SwigDirector_NNetObject(VALUE self, int owner = -1);
00042 SwigDirector_NNetObject(VALUE self, nMessage &m);
00043 virtual void AddRef();
00044 virtual void Release();
00045 virtual void ReleaseOwnership();
00046 virtual void TakeOwnership();
00047 virtual void Dump(tConsole &con);
00048 virtual nDescriptor &CreatorDescriptor() const;
00049 virtual void InitAfterCreation();
00050 virtual ~SwigDirector_NNetObject();
00051 virtual nMachine &DoGetMachine() const;
00052 virtual nMachine &DoGetMachineSwigPublic() const {
00053 return nNetObject::DoGetMachine();
00054 }
00055 virtual bool ActionOnQuit();
00056 virtual void ActionOnDelete();
00057 virtual bool BroadcastExistence();
00058 virtual void PrintName(tString &s) const;
00059 virtual bool ClearToTransmit(int user) const;
00060 virtual void WriteSync(nMessage &m);
00061 virtual void ReadSync(nMessage &m);
00062 virtual bool SyncIsNew(nMessage &m);
00063 virtual void WriteCreate(nMessage &m);
00064 virtual void ReceiveControlNet(nMessage &m);
00065 virtual bool AcceptClientSync() const;
00066 };
00067
00068
00069 class SwigDirector_UMenuItemAction : public uMenuItemAction, public Swig::Director {
00070
00071 public:
00072 SwigDirector_UMenuItemAction(VALUE self, uMenu *M, tOutput const &name, tOutput const &help);
00073 virtual ~SwigDirector_UMenuItemAction();
00074 virtual tString Help();
00075 virtual void Render(REAL x, REAL y, REAL alpha = 1, bool selected = 0);
00076 virtual void RenderBackground();
00077 virtual void LeftRight(int arg0);
00078 virtual void LeftRightRelease();
00079 virtual void Enter();
00080 virtual bool Event(SDL_Event &arg0);
00081 virtual REAL SpaceRight();
00082 virtual bool IsSelectable();
00083 };
00084
00085
00086 class SwigDirector_GSimpleAI : public gSimpleAI, public Swig::Director {
00087
00088 public:
00089 SwigDirector_GSimpleAI(VALUE self);
00090 virtual ~SwigDirector_GSimpleAI();
00091 virtual REAL DoThink();
00092 };
00093
00094
00095 class SwigDirector_GSimpleAIFactory : public gSimpleAIFactory, public Swig::Director {
00096
00097 public:
00098 SwigDirector_GSimpleAIFactory(VALUE self);
00099 virtual gSimpleAI *DoCreate() const;
00100 };
00101
00102
00103 #endif