Changeset 6981 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Feb 2, 2006, 2:45:07 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 29 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/effects/graphics_effect.cc
r6979 r6981 20 20 #include "graphics_effect.h" 21 21 22 #include "graphics_engine.h"23 22 #include "load_param.h" 24 23 -
trunk/src/lib/graphics/importer/height_map.h
r6956 r6981 28 28 class HeightMap; 29 29 30 class Tile 30 class Tile 31 31 { 32 32 public: … … 40 40 float x; 41 41 float z; 42 ~Tile();42 virtual ~Tile(); 43 43 44 44 … … 47 47 HeightMap* hmref; 48 48 VertexArrayModel* highResModel; 49 VertexArrayModel* lowResModel; 49 VertexArrayModel* lowResModel; 50 50 int highRes; 51 51 int lowRes; … … 60 60 void load(int Mode); 61 61 void load(const char*, int Mode); 62 void scale( Vector V); 62 void scale( Vector V); 63 63 void setAbsCoor(Vector V); 64 float getHeight(float x, float y); 64 float getHeight(float x, float y); 65 65 float getNormal(float x, float y); 66 66 HeightMap(); 67 67 HeightMap(const char*); 68 68 HeightMap(const char*, const char*); 69 ~HeightMap();69 virtual ~HeightMap(); 70 70 71 71 friend class Tile; … … 74 74 SDL_Surface* heightMap; 75 75 SDL_Surface* colourMap; 76 unsigned char* heights; 76 unsigned char* heights; 77 77 unsigned char* colours; 78 78 … … 80 80 void drawRect(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight ); 81 81 void fixBoarder(int xBottomLeft, int yBottomLeft, int xTopRight, int yTopRight); 82 Vector ** normalVectorField ; 82 Vector ** normalVectorField ; 83 83 Tile *** tiles; 84 84 Vector camCoords; 85 Vector offsetCoords; 85 Vector offsetCoords; 86 86 Material * tmp_mat; 87 87 Material* red_mat; -
trunk/src/lib/graphics/importer/media_container.h
r6731 r6981 45 45 46 46 MediaContainer(const char* filename = NULL); 47 ~MediaContainer();47 virtual ~MediaContainer(); 48 48 49 49 bool loadMedia(const char* filename); … … 53 53 54 54 private: 55 55 56 56 GLuint getNextFrame(); 57 57 void unloadMedia(); -
trunk/src/lib/graphics/importer/movie_player.h
r6731 r6981 59 59 60 60 MoviePlayer(const char* filename = NULL); 61 ~MoviePlayer();61 virtual ~MoviePlayer(); 62 62 63 63 bool loadMovie(const char* filename); -
trunk/src/lib/graphics/importer/texture.h
r6465 r6981 20 20 Texture(const char* imageName = NULL, GLenum target = GL_TEXTURE_2D); 21 21 // Texture(TEXTURE_TYPE type, int resolution); 22 ~Texture();22 virtual ~Texture(); 23 23 24 24 bool loadImage(const char* imageName, GLenum target = GL_TEXTURE_2D); -
trunk/src/lib/graphics/importer/texture_sequence.h
r6532 r6981 23 23 TextureSequence(unsigned int count = 0, ...); 24 24 // Texture(TEXTURE_TYPE type, int resolution); 25 ~TextureSequence();25 virtual ~TextureSequence(); 26 26 27 27 bool loadImageSeries(unsigned int count, ...); -
trunk/src/lib/graphics/text_engine/text.h
r5768 r6981 40 40 public: 41 41 Text(const char* fontFile = NULL, unsigned int fontSize = TEXT_DEFAULT_SIZE); 42 ~Text();42 virtual ~Text(); 43 43 void init(); 44 44 -
trunk/src/lib/gui/gtk_gui/gui.h
r4836 r6981 24 24 public: 25 25 Gui(int argc, char *argv[]); 26 ~Gui();26 virtual ~Gui(); 27 27 28 28 void startGui(); -
trunk/src/lib/gui/gtk_gui/gui_audio.h
r4746 r6981 14 14 public: 15 15 GuiAudio(); 16 ~GuiAudio();16 virtual ~GuiAudio(); 17 17 }; 18 18 #endif /* _GUI_AUDIO_H */ -
trunk/src/lib/gui/gtk_gui/gui_banner.h
r4746 r6981 16 16 public: 17 17 GuiBanner(); 18 ~GuiBanner();18 virtual ~GuiBanner(); 19 19 }; 20 20 -
trunk/src/lib/gui/gtk_gui/gui_exec.h
r5319 r6981 34 34 public: 35 35 GuiExec(); 36 ~GuiExec();36 virtual ~GuiExec(); 37 37 38 38 void setConfDir(const char* confDir); -
trunk/src/lib/gui/gtk_gui/gui_flags.h
r4836 r6981 22 22 public: 23 23 GuiFlags(); 24 ~GuiFlags();24 virtual ~GuiFlags(); 25 25 26 26 void setTextFromFlags(Widget* widget); 27 27 static void flagsText(Widget* widget, void* flagInfo); 28 28 29 29 //! Struct that handles flag information. 30 30 struct FlagInfo -
trunk/src/lib/gui/gtk_gui/gui_keys.h
r4746 r6981 28 28 public: 29 29 GuiKeys(); 30 ~GuiKeys();30 virtual ~GuiKeys(); 31 31 32 32 static Window* inputWindow; //!< A Window that gets keyboard clicks. Static, because only one needed. … … 55 55 MiscKeys(); 56 56 57 Button* getOpenButton(); 57 Button* getOpenButton(); 58 58 }; 59 59 -
trunk/src/lib/gui/gtk_gui/gui_update.h
r4944 r6981 100 100 public: 101 101 GuiUpdate(); 102 ~GuiUpdate();102 virtual ~GuiUpdate(); 103 103 104 104 #ifdef HAVE_CURL -
trunk/src/lib/gui/gtk_gui/gui_video.h
r4746 r6981 18 18 private: 19 19 // Button* advancedWindowGetButton(); 20 20 21 21 public: 22 22 GuiVideo(); 23 ~GuiVideo();23 virtual ~GuiVideo(); 24 24 25 25 private: -
trunk/src/lib/network/connection_monitor.h
r5822 r6981 14 14 public: 15 15 ConnectionMonitor(); 16 ~ConnectionMonitor();16 virtual ~ConnectionMonitor(); 17 17 18 18 void processPacket(byte* packet, unsigned int packetLength); -
trunk/src/lib/network/converter.h
r6959 r6981 30 30 static int intToByteArray(int x, byte* a, int length); 31 31 static int byteArrayToInt(const byte* a, int* x); 32 32 33 33 static int _intToByteArray(int x, byte* a, int length); 34 34 static int _byteArrayToInt(const byte* a, int* x); … … 60 60 private: 61 61 Converter(); 62 ~Converter();62 virtual ~Converter(); 63 63 }; 64 64 -
trunk/src/lib/network/data_stream.h
r6341 r6981 20 20 DataStream(); 21 21 DataStream(DataStream& inStream, DataStream& outStream); 22 ~DataStream();22 virtual ~DataStream(); 23 23 24 24 -
trunk/src/lib/network/network_game_manager.h
r6737 r6981 76 76 { 77 77 public: 78 ~NetworkGameManager();78 virtual ~NetworkGameManager(); 79 79 80 80 static NetworkGameManager* NetworkGameManager::getInstance() -
trunk/src/lib/network/network_manager.h
r6695 r6981 31 31 inline static NetworkManager* getInstance() { if (!NetworkManager::singletonRef) NetworkManager::singletonRef = new NetworkManager(); 32 32 return NetworkManager::singletonRef; } 33 ~NetworkManager();33 virtual ~NetworkManager(); 34 34 35 35 void initialize(); -
trunk/src/lib/network/network_protocol.h
r6341 r6981 27 27 public: 28 28 NetworkProtocol(); 29 ~NetworkProtocol();29 virtual ~NetworkProtocol(); 30 30 31 31 int createHeader(byte* data, int length, int bufferLength, const Synchronizeable& source); -
trunk/src/lib/network/network_socket.h
r6959 r6981 87 87 88 88 NetworkSocket(); 89 ~NetworkSocket();89 virtual ~NetworkSocket(); 90 90 NetworkSocket(IPaddress ip); 91 91 NetworkSocket(TCPsocket sock); -
trunk/src/lib/network/network_stream.h
r6695 r6981 35 35 NetworkStream(unsigned int port); 36 36 37 ~NetworkStream();37 virtual ~NetworkStream(); 38 38 void init(); 39 39 -
trunk/src/lib/network/server_socket.h
r6139 r6981 37 37 ServerSocket(); 38 38 ServerSocket( unsigned int port ); 39 ~ServerSocket();39 virtual ~ServerSocket(); 40 40 bool listen( unsigned int port ); 41 41 NetworkSocket* getNewSocket( void ); -
trunk/src/lib/parser/ini_parser/ini_parser.h
r5952 r6981 43 43 public: 44 44 IniParser (const char* filename = NULL); 45 ~IniParser ();45 virtual ~IniParser (); 46 46 47 47 /** @returns true if the file is opened, false otherwise*/ -
trunk/src/lib/shell/shell_command_class.h
r5781 r6981 37 37 private: 38 38 ShellCommandClass(const char* className); 39 ~ShellCommandClass();39 virtual ~ShellCommandClass(); 40 40 41 41 static const ShellCommandClass* isRegistered(const char* className); -
trunk/src/lib/sound/ogg_player.h
r6872 r6981 28 28 public: 29 29 OggPlayer(const char* fileName = NULL); 30 ~OggPlayer();30 virtual ~OggPlayer(); 31 31 32 32 bool open(const char* fileName); -
trunk/src/lib/sound/sound_buffer.h
r6836 r6981 18 18 public: 19 19 SoundBuffer(const char* fileName); 20 ~SoundBuffer();20 virtual ~SoundBuffer(); 21 21 22 22 bool loadWAV(const char* fileName); -
trunk/src/lib/sound/sound_source.h
r6634 r6981 19 19 public: 20 20 SoundSource(const PNode* sourceNode = NULL, const SoundBuffer* buffer = NULL); 21 ~SoundSource();21 virtual ~SoundSource(); 22 22 23 23 // user interaction
Note: See TracChangeset
for help on using the changeset viewer.