- Timestamp:
- Dec 6, 2005, 10:06:10 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 4 added
- 17 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile.am
r5915 r5944 21 21 lib/collision_detection/libORXcd.a \ 22 22 lib/graphics/spatial_separation/libORXquadtree.a \ 23 lib/tinyxml/libtinyxml.a \ 23 lib/parser/tinyxml/libtinyxml.a \ 24 lib/parser/ini_parser/libIniParser.a \ 24 25 lib/gui/gl_gui/libORXglgui.a \ 25 26 lib/shell/libORXshell.a … … 36 37 lib/particles/libORXparticles.a \ 37 38 lib/graphics/spatial_separation/libORXquadtree.a \ 38 lib/tinyxml/libtinyxml.a \ 39 lib/parser/tinyxml/libtinyxml.a \ 40 lib/parser/ini_parser/libIniParser.a \ 39 41 lib/gui/gl_gui/libORXglgui.a \ 40 42 lib/shell/libORXshell.a \ -
trunk/src/defs/debug.h
r5930 r5944 27 27 28 28 #include "confincl.h" 29 #include "shell_buffer.h" 29 #ifndef NO_SHELL 30 #include "shell_buffer.h" 31 #endif /* NO_SHELL */ 30 32 31 33 #include <stdio.h> -
trunk/src/lib/Makefile.am
r5822 r5944 15 15 network/libORXnet.a \ 16 16 graphics/spatial_separation/libORXquadtree.a \ 17 tinyxml/libtinyxml.a \ 17 parser/tinyxml/libtinyxml.a \ 18 parser/ini_parser/libIniParser.a \ 18 19 shell/libORXshell.a 19 20 … … 29 30 network/libORXnet.a \ 30 31 graphics/spatial_separation/libORXquadtree.a \ 31 tinyxml/libtinyxml.a \32 32 shell/libORXshell.a \ 33 33 $(GTK2_LIBS) $(GTHREAD_LIBS) $(CURL_LIBS) … … 37 37 lang/base_object.cc \ 38 38 lang/class_list.cc \ 39 util/ini_parser.cc \40 39 util/substring.cc \ 41 40 util/color.cc \ … … 53 52 graphics/render2D/render_2d.h \ 54 53 lang/class_list.h \ 55 util/ini_parser.h \56 54 util/substring.h \ 57 55 util/array.h \ … … 75 73 collision_detection \ 76 74 network \ 77 tinyxml\75 parser \ 78 76 shell \ 79 77 gui \ -
trunk/src/lib/event/key_mapper.cc
r5936 r5944 24 24 25 25 #include "globals.h" 26 #include " ini_parser.h"26 #include "parser/ini_parser/ini_parser.h" 27 27 #include "key_names.h" 28 28 #include "debug.h" -
trunk/src/lib/graphics/graphics_engine.cc
r5857 r5944 26 26 #include "debug.h" 27 27 28 #include " ini_parser.h"28 #include "parser/ini_parser/ini_parser.h" 29 29 #include "substring.h" 30 30 #include "text.h" -
trunk/src/lib/graphics/light.cc
r5750 r5944 22 22 #include "glincl.h" 23 23 #include "vector.h" 24 #include " tinyxml.h"24 #include "parser/tinyxml/tinyxml.h" 25 25 #include "load_param.h" 26 26 #include "factory.h" -
trunk/src/lib/graphics/render2D/element_2d.cc
r5783 r5944 23 23 #include "graphics_engine.h" 24 24 #include "load_param.h" 25 #include " tinyxml.h"25 #include "parser/tinyxml/tinyxml.h" 26 26 #include "class_list.h" 27 27 -
trunk/src/lib/gui/gtk_gui/gui_exec.cc
r5938 r5944 27 27 28 28 #include "resource_manager.h" 29 #include " ini_parser.h"29 #include "parser/ini_parser/ini_parser.h" 30 30 31 31 #include <string.h> -
trunk/src/lib/parser/ini_parser/ini_parser.cc
r5943 r5944 24 24 #include <string.h> 25 25 26 #if HAVE_CONFIG_H 27 #include <config.h> 26 #if HAVE_CONFIG_H 27 #include <config.h> 28 28 #endif 29 29 30 30 #ifdef DEBUG 31 #include " debug.h"31 #include "../../../defs/debug.h" 32 32 #else 33 33 #define PRINTF(x) printf … … 68 68 { 69 69 IniSection section = this->sections.front(); 70 70 71 71 // in all entries of the sections 72 72 while(!section.entries.empty()) … … 107 107 108 108 /** 109 * @brief opens a file to parse 109 * @brief opens a file to parse 110 110 * @param fileName: path and name of the new file to parse 111 111 * @return true on success false otherwise; … … 217 217 { 218 218 fprintf(stream, "\n [%s]\n", (*section).name); 219 219 220 220 std::list<IniEntry>::const_iterator entry; 221 221 for (entry = (*section).entries.begin(); entry != (*section).entries.end(); entry++) … … 316 316 bool IniParser::nextVar() 317 317 { 318 if ( this->sections.empty() 318 if ( this->sections.empty() 319 319 || this->currentSection == this->sections.end() 320 320 || this->currentEntry == (*this->currentSection).entries.end()) … … 342 342 { 343 343 std::list<IniSection>::iterator section; 344 344 345 345 if (sectionName != NULL) 346 346 { … … 402 402 else 403 403 section = this->currentSection; 404 404 405 405 if (section == this->sections.end()) 406 406 { … … 414 414 return (*entry).value; 415 415 PRINTF(2)("Entry '%s' in section '%s' not found.\n", entryName, sectionName); 416 416 417 417 } 418 418 else … … 425 425 426 426 /** 427 * @returns the name of the Current selected Section 428 */ 429 const char* IniParser::getCurrentSection() const 427 * @returns the name of the Current selected Section 428 */ 429 const char* IniParser::getCurrentSection() const 430 430 { 431 431 if (!this->sections.empty() && 432 this->currentSection != this->sections.end()) 432 this->currentSection != this->sections.end()) 433 433 return this->currentSection->name; 434 434 else … … 437 437 438 438 439 /** 440 * @returns the current entries Name, or NULL if we havn't selected a Entry 439 /** 440 * @returns the current entries Name, or NULL if we havn't selected a Entry 441 441 */ 442 442 const char* IniParser::getCurrentName() const … … 451 451 452 452 /** 453 * @returns the current entries Value, or NULL if we havn't selected a Entry 454 */ 455 const char* IniParser::getCurrentValue() const 453 * @returns the current entries Value, or NULL if we havn't selected a Entry 454 */ 455 const char* IniParser::getCurrentValue() const 456 456 { 457 457 if (!this->sections.empty() && … … 460 460 return (*this->currentEntry).value; 461 461 else 462 return NULL; 462 return NULL; 463 463 } 464 464 -
trunk/src/lib/particles/particle_engine.h
r5447 r5944 12 12 #include "particle_emitter.h" 13 13 14 #include " tinyxml.h"14 #include "parser/tinyxml/tinyxml.h" 15 15 16 16 // FORWARD DECLARATION -
trunk/src/lib/particles/particle_system.cc
r5750 r5944 30 30 #include "shell_command.h" 31 31 32 #include " tinyxml.h"32 #include "parser/tinyxml/tinyxml.h" 33 33 34 34 CREATE_FACTORY(ParticleSystem, CL_PARTICLE_SYSTEM); -
trunk/src/lib/physics/physics_engine.cc
r5779 r5944 20 20 #include "class_list.h" 21 21 #include "list.h" 22 #include " tinyxml.h"22 #include "parser/tinyxml/tinyxml.h" 23 23 #include "factory.h" 24 24 #include "load_param.h" -
trunk/src/lib/sound/sound_engine.cc
r5930 r5944 27 27 #include "resource_manager.h" 28 28 #include "debug.h" 29 #include " ini_parser.h"29 #include "parser/ini_parser/ini_parser.h" 30 30 #include "globals.h" 31 31 -
trunk/src/lib/util/executor/executor_specials.h
r5754 r5944 10 10 11 11 #include "compiler.h" 12 #include " tinyxml.h"12 #include "parser/tinyxml/tinyxml.h" 13 13 // FORWARD DECLARATION 14 14 -
trunk/src/orxonox.cc
r5930 r5944 33 33 34 34 #include "world.h" 35 #include " ini_parser.h"35 #include "parser/ini_parser/ini_parser.h" 36 36 #include "game_loader.h" 37 37 -
trunk/src/subprojects/framework.cc
r5819 r5944 24 24 #include "resource_manager.h" 25 25 #include "camera.h" 26 #include " ini_parser.h"26 #include "parser/ini_parser/ini_parser.h" 27 27 #include "globals.h" 28 28 -
trunk/src/util/loading/factory.h
r5750 r5944 25 25 class BaseObject; 26 26 27 #include " tinyxml.h"27 #include "parser/tinyxml/tinyxml.h" 28 28 #include "base_object.h" 29 29 #include "debug.h" -
trunk/src/util/track/track_manager.cc
r5767 r5944 28 28 29 29 30 #include " tinyxml.h"30 #include "parser/tinyxml/tinyxml.h" 31 31 #include "substring.h" 32 32
Note: See TracChangeset
for help on using the changeset viewer.