Changeset 9357 in orxonox.OLD for branches/proxy/src/lib
- Timestamp:
- Jul 20, 2006, 2:33:37 PM (18 years ago)
- Location:
- branches/proxy/src/lib
- Files:
-
- 96 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/collision_detection/aabb.cc
r8724 r9357 19 19 #include "vector.h" 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_detection/aabb_tree_node.cc
r8724 r9357 34 34 35 35 36 using namespace std; 36 37 37 38 38 -
branches/proxy/src/lib/collision_detection/bounding_sphere.cc
r7711 r9357 18 18 #include "bounding_sphere.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/collision_detection/bounding_volume.cc
r7711 r9357 18 18 #include "bounding_volume.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/collision_detection/bv_tree.cc
r7711 r9357 18 18 #include "bv_tree.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/collision_detection/bv_tree_node.cc
r7711 r9357 18 18 #include "bv_tree_node.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/collision_detection/cd_engine.cc
r9110 r9357 34 34 #include "bsp_entity.h" 35 35 36 using namespace std; 36 37 37 38 38 -
branches/proxy/src/lib/collision_detection/obb.cc
r7711 r9357 19 19 #include "vector.h" 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_detection/obb_tree.cc
r9235 r9357 25 25 #include "p_node.h" 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/lib/collision_detection/obb_tree_node.cc
r9347 r9357 33 33 34 34 35 using namespace std; 35 36 36 37 37 -
branches/proxy/src/lib/collision_reaction/collision.cc
r8190 r9357 19 19 #include "debug.h" 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_reaction/collision_event.cc
r8190 r9357 19 19 #include "debug.h" 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_reaction/collision_handle.cc
r9235 r9357 29 29 #include "debug.h" 30 30 31 using namespace std; 31 32 32 33 33 … … 204 204 205 205 // collision reaction calculations (for every collision there will be a reaction) 206 vector<Collision*>::iterator it = this->collisionList.begin();206 std::vector<Collision*>::iterator it = this->collisionList.begin(); 207 207 for(; it < this->collisionList.end(); it++) { 208 208 if( !(*it)->isDispatched()) … … 227 227 bool CollisionHandle::filterCollisionEvent(CollisionEvent* collisionEvent) 228 228 { 229 vector<long>::iterator it = this->targetList.begin();229 std::vector<long>::iterator it = this->targetList.begin(); 230 230 for(; it < this->targetList.end(); it++) 231 231 { … … 276 276 bool CollisionHandle::filterCollision(Collision* collision) 277 277 { 278 vector<long>::iterator it = this->targetList.begin();278 std::vector<long>::iterator it = this->targetList.begin(); 279 279 for(; it < this->targetList.end(); it++) 280 280 { -
branches/proxy/src/lib/collision_reaction/collision_reaction.cc
r8190 r9357 19 19 20 20 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/collision_reaction/cr_engine.cc
r8490 r9357 27 27 #include "debug.h" 28 28 29 using namespace std; 29 30 30 31 31 … … 61 61 this->reset(); 62 62 63 vector<Collision*>::iterator it1 = this->collisionsUnused.begin();63 std::vector<Collision*>::iterator it1 = this->collisionsUnused.begin(); 64 64 for(; it1 < this->collisionsUnused.end(); it1++) 65 65 delete *it1; 66 vector<CollisionEvent*>::iterator it2 = this->collisionEventsUnused.begin();66 std::vector<CollisionEvent*>::iterator it2 = this->collisionEventsUnused.begin(); 67 67 for(; it2 < this->collisionEventsUnused.end(); it2++) 68 68 delete *it2; … … 92 92 // first clear all CollisionHandles 93 93 94 vector<CollisionHandle*>::iterator it = this->collisionHandles.begin();94 std::vector<CollisionHandle*>::iterator it = this->collisionHandles.begin(); 95 95 for(; it < this->collisionHandles.end(); it++) 96 96 { … … 159 159 void CREngine::flushCollisions() 160 160 { 161 vector<Collision*>::iterator it1 = this->collisionsUsed.begin();161 std::vector<Collision*>::iterator it1 = this->collisionsUsed.begin(); 162 162 for(; it1 < this->collisionsUsed.end(); it1++) 163 163 this->collisionsUnused.push_back(*it1); 164 164 165 vector<CollisionEvent*>::iterator it2 = this->collisionEventsUsed.begin();165 std::vector<CollisionEvent*>::iterator it2 = this->collisionEventsUsed.begin(); 166 166 for(; it2 < this->collisionEventsUsed.end(); it2++) 167 167 this->collisionEventsUnused.push_back(*it2); -
branches/proxy/src/lib/collision_reaction/cr_object_damage.cc
r9235 r9357 26 26 #include "debug.h" 27 27 28 using namespace std; 28 29 29 30 30 -
branches/proxy/src/lib/collision_reaction/cr_physics_full_walk.cc
r9235 r9357 33 33 #include "cr_defs.h" 34 34 35 using namespace std; 35 36 36 37 37 -
branches/proxy/src/lib/collision_reaction/cr_physics_ground_walk.cc
r9235 r9357 33 33 #include "cr_defs.h" 34 34 35 using namespace std; 35 36 36 37 37 -
branches/proxy/src/lib/event/key_mapper.cc
r8724 r9357 31 31 32 32 33 using namespace std; 33 34 34 35 35 -
branches/proxy/src/lib/graphics/effects/atmospheric_engine.cc
r8495 r9357 25 25 26 26 27 using namespace std; 27 28 28 29 29 /** -
branches/proxy/src/lib/graphics/effects/cloud_effect.cc
r9235 r9357 40 40 float CloudEffect::fadeTime; 41 41 42 using namespace std; 42 43 43 44 44 SHELL_COMMAND(activate, CloudEffect, activateCloud); -
branches/proxy/src/lib/graphics/effects/fog_effect.cc
r9235 r9357 28 28 SHELL_COMMAND(fadeout, FogEffect, fadeOutFog); 29 29 30 using namespace std; 30 31 31 32 32 CREATE_SCRIPTABLE_CLASS(FogEffect, CL_FOG_EFFECT, -
branches/proxy/src/lib/graphics/effects/graphics_effect.cc
r8495 r9357 23 23 24 24 25 using namespace std; 25 26 26 27 27 -
branches/proxy/src/lib/graphics/effects/lense_flare.cc
r9006 r9357 34 34 35 35 36 using namespace std; 36 37 37 38 38 -
branches/proxy/src/lib/graphics/effects/lightning_effect.cc
r9354 r9357 34 34 SHELL_COMMAND(deactivate, LightningEffect, deactivateLightning); 35 35 36 using namespace std; 36 37 37 38 38 CREATE_SCRIPTABLE_CLASS(LightningEffect, CL_LIGHTNING_EFFECT, -
branches/proxy/src/lib/graphics/effects/rain_effect.cc
r9235 r9357 39 39 SHELL_COMMAND(stopraining, RainEffect, stopRaining); 40 40 41 using namespace std; 41 42 42 43 43 CREATE_SCRIPTABLE_CLASS(RainEffect, CL_RAIN_EFFECT, -
branches/proxy/src/lib/graphics/effects/sun_effect.cc
r8793 r9357 21 21 22 22 23 using namespace std; 23 24 24 25 25 -
branches/proxy/src/lib/graphics/effects/volfog_effect.cc
r9006 r9357 47 47 48 48 49 using namespace std; 49 50 50 51 51 CREATE_FACTORY(VolFogEffect, CL_VOLFOG_EFFECT); -
branches/proxy/src/lib/graphics/effects/weather_effect.cc
r8495 r9357 21 21 22 22 23 using namespace std; 23 24 24 25 25 -
branches/proxy/src/lib/graphics/importer/bsp_file.cc
r9025 r9357 40 40 #include <vector> 41 41 42 using namespace std; 42 43 43 44 44 … … 96 96 if (stat( name , &results) == 0) { 97 97 PRINTF(0)("BSP FILE: Datei %s gefunden. \n", name); 98 ifstream bspFile (name, ios::in |ios::binary);98 std::ifstream bspFile (name, std::ios::in | std::ios::binary); 99 99 bspFile.read(this->header, 260); 100 100 PRINTF(0)("BSP FILE: BSPVersion: %i. \n", ((int *)(header) )[1]); -
branches/proxy/src/lib/graphics/importer/grid.cc
r6467 r9357 18 18 #include "grid.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/graphics/importer/interactive_model.cc
r8490 r9357 20 20 #include "glincl.h" 21 21 22 using namespace std; 22 23 23 24 24 /** -
branches/proxy/src/lib/graphics/importer/md2/md2Model.cc
r9235 r9357 22 22 23 23 24 using namespace std; 24 25 25 26 26 //! the model anorms -
branches/proxy/src/lib/graphics/importer/md3/md3_animation_cfg.cc
r9347 r9357 26 26 27 27 28 using namespace std; 28 29 29 30 30 namespace md3 -
branches/proxy/src/lib/graphics/importer/model.cc
r8316 r9357 20 20 #include "glincl.h" 21 21 22 using namespace std; 22 23 23 24 24 /** -
branches/proxy/src/lib/graphics/importer/primitive_model.cc
r9110 r9357 21 21 #include "debug.h" 22 22 23 using namespace std; 23 24 24 25 25 /** -
branches/proxy/src/lib/graphics/importer/static_model.cc
r8362 r9357 23 23 #include <stdarg.h> 24 24 25 using namespace std; 25 26 26 27 27 … … 178 178 179 179 //! @todo do we really have to delete this material?? 180 list<ModelMaterial*>::iterator modMat;180 std::list<ModelMaterial*>::iterator modMat; 181 181 for(modMat = this->materialList.begin(); modMat != this->materialList.end(); modMat++) 182 182 { … … 358 358 Material* StaticModel::findMaterialByName(const std::string& materialName) 359 359 { 360 list<ModelMaterial*>::iterator modMat;360 std::list<ModelMaterial*>::iterator modMat; 361 361 for (modMat = this->materialList.begin(); modMat != this->materialList.end(); modMat++) 362 362 if (materialName == (*modMat)->material->getName()) -
branches/proxy/src/lib/graphics/importer/vertex_array_model.cc
r8362 r9357 23 23 #include "tc.h" 24 24 25 using namespace std; 25 26 26 27 27 ///////////// -
branches/proxy/src/lib/graphics/render2D/image_plane.cc
r7843 r9357 25 25 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/lib/graphics/render2D/render_2d.cc
r7840 r9357 22 22 #include "element_2d.h" 23 23 24 using namespace std; 24 25 25 26 26 /** -
branches/proxy/src/lib/graphics/shader.cc
r8316 r9357 32 32 #endif 33 33 34 using namespace std; 34 35 35 36 36 -
branches/proxy/src/lib/graphics/spatial_separation/quadtree.cc
r9110 r9357 24 24 #include "debug.h" 25 25 26 using namespace std; 26 27 27 #define QUADTREE_MATERIAL_COUNT 4 28 28 -
branches/proxy/src/lib/graphics/spatial_separation/quadtree_node.cc
r9110 r9357 26 26 #include "util/list.h" 27 27 28 using namespace std; 28 29 29 30 30 -
branches/proxy/src/lib/graphics/spatial_separation/spatial_separation.cc
r6022 r9357 23 23 #include "compiler.h" 24 24 25 using namespace std; 25 26 26 27 27 -
branches/proxy/src/lib/graphics/text_engine/text_engine.cc
r8761 r9357 26 26 #include "font.h" 27 27 28 using namespace std; 28 29 29 30 30 #include <stdlib.h> … … 122 122 void TextEngine::debug() const 123 123 { 124 const list<BaseObject*>* textList = ClassList::getList(CL_TEXT);124 const std::list<BaseObject*>* textList = ClassList::getList(CL_TEXT); 125 125 if (textList != NULL) 126 126 { … … 130 130 PRINT(0)("Reference: %p; Text Counts: %d\n", this, textList->size()); 131 131 132 list<BaseObject*>::const_iterator text;132 std::list<BaseObject*>::const_iterator text; 133 133 for ( text = textList->begin(); text != textList->end(); text++) 134 134 dynamic_cast<Text*>(*text)->debug(); -
branches/proxy/src/lib/gui/gl/glmenu/glmenu_imagescreen.cc
r8316 r9357 27 27 CREATE_FACTORY(GLMenuImageScreen, CL_GLMENU_IMAGE_SCREEN); 28 28 29 using namespace std; 29 30 30 /** 31 31 * @param root The Element to load the GLMenu from -
branches/proxy/src/lib/gui/gtk/gui.h
r8145 r9357 14 14 #define _GUI_H 15 15 16 using namespace std; 16 17 17 18 18 #define GUI_DEFAULT_CONF_DIR "~/.orxonox" -
branches/proxy/src/lib/gui/gtk/gui_element.cc
r8145 r9357 20 20 #include "gui_gtk.h" 21 21 22 using namespace std; 22 23 23 24 24 -
branches/proxy/src/lib/gui/gtk/gui_exec.h
r8145 r9357 15 15 class Widget; 16 16 class CheckButton; 17 using namespace std; 17 18 18 class IniParser; 19 19 -
branches/proxy/src/lib/gui/gtk/gui_gtk.cc
r9110 r9357 32 32 #include <cmath> 33 33 34 using namespace std; 34 35 35 36 36 #include "gui_flags.h" -
branches/proxy/src/lib/gui/gtk/gui_update.cc
r8145 r9357 31 31 #include "globals.h" 32 32 33 using namespace std; 33 34 34 35 35 /** -
branches/proxy/src/lib/gui/gtk/gui_update.h
r8145 r9357 24 24 #include <pthread.h> 25 25 #endif /* HAVE_PTHREAD_H */ 26 using namespace std; 26 27 27 28 28 //! Class that creates the execute-Options. -
branches/proxy/src/lib/lang/class_list.cc
r8783 r9357 23 23 #include <cmath> 24 24 25 using namespace std; 25 26 26 27 27 /** … … 61 61 { 62 62 if (unlikely(classList == NULL)) 63 ClassList::classList = new list<ClassList>();63 ClassList::classList = new std::list<ClassList>(); 64 64 65 65 PRINTF(5)("subscribe a '%s'\n", className.c_str() ); … … 85 85 void ClassList::removeFromClassList(BaseObject* objectPointer) 86 86 { 87 list<ClassList>::iterator cl;87 std::list<ClassList>::iterator cl; 88 88 for(cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 89 89 { … … 110 110 ClassList::classNames.clear(); 111 111 112 list<ClassList>::const_iterator cl;112 std::list<ClassList>::const_iterator cl; 113 113 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 114 114 ClassList::classNames.push_back((*cl).className); … … 213 213 else 214 214 { 215 list<ClassList>::iterator cl;215 std::list<ClassList>::iterator cl; 216 216 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 217 217 { … … 268 268 else 269 269 { 270 list<ClassList>::iterator cl;270 std::list<ClassList>::iterator cl; 271 271 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 272 272 { … … 299 299 void ClassList::whatIs(const BaseObject* object) 300 300 { 301 list<ClassList>::iterator cl;301 std::list<ClassList>::iterator cl; 302 302 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 303 303 if (object->isA((*cl).classID)) … … 359 359 int lenCount = 0; 360 360 361 list<ClassList>::iterator cl;361 std::list<ClassList>::iterator cl; 362 362 for (cl = ClassList::classList->begin(); cl != ClassList::classList->end(); cl++) 363 363 { … … 377 377 { 378 378 PRINT(0)("| Listing Instances:\n"); 379 list<BaseObject*>::const_iterator bo;379 std::list<BaseObject*>::const_iterator bo; 380 380 for (bo = (*cl).objectList.begin(); bo != (*cl).objectList.end(); bo++) 381 381 { -
branches/proxy/src/lib/math/line.cc
r6617 r9357 26 26 #endif 27 27 28 using namespace std; 28 29 29 30 30 /** -
branches/proxy/src/lib/math/plane.cc
r7711 r9357 24 24 #endif 25 25 26 using namespace std; 26 27 27 28 28 /** -
branches/proxy/src/lib/math/rotation_OBSOLETE.cc
r6617 r9357 24 24 #endif 25 25 26 using namespace std; 26 27 27 28 28 /** -
branches/proxy/src/lib/math/vector2D.cc
r6615 r9357 27 27 #endif 28 28 29 using namespace std; 29 30 30 31 31 ///////////// -
branches/proxy/src/lib/network/converter.cc
r8362 r9357 30 30 31 31 /* using namespace std is default, this needs to be here */ 32 using namespace std; 32 33 33 34 34 /*! -
branches/proxy/src/lib/network/data_stream.cc
r8623 r9357 19 19 20 20 /* using namespace std is default, this needs to be here */ 21 using namespace std; 21 22 22 23 23 -
branches/proxy/src/lib/network/message_manager.cc
r9347 r9357 21 21 #include "shared_network_data.h" 22 22 23 using namespace std; 23 24 24 25 25 MessageManager* MessageManager::singletonRef = NULL; -
branches/proxy/src/lib/network/monitor/connection_monitor.cc
r9347 r9357 22 22 23 23 /* using namespace std is default, this needs to be here */ 24 using namespace std; 24 25 25 26 26 /** -
branches/proxy/src/lib/network/network_game_manager.cc
r9347 r9357 46 46 47 47 48 using namespace std; 48 49 49 50 50 NetworkGameManager* NetworkGameManager::singletonRef = NULL; -
branches/proxy/src/lib/network/network_manager.cc
r9347 r9357 34 34 35 35 /* using namespace std is default, this needs to be here */ 36 using namespace std; 36 37 37 38 38 SHELL_COMMAND(debug, NetworkManager, debug); -
branches/proxy/src/lib/network/network_protocol.cc
r6341 r9357 33 33 34 34 /* using namespace std is default, this needs to be here */ 35 using namespace std; 35 36 36 37 37 -
branches/proxy/src/lib/network/network_stream.cc
r9355 r9357 51 51 52 52 53 using namespace std; 53 54 54 55 55 -
branches/proxy/src/lib/network/peer_info.cc
r9347 r9357 24 24 25 25 26 using namespace std; 26 27 27 28 28 -
branches/proxy/src/lib/network/proxy/proxy_settings.cc
r9347 r9357 22 22 23 23 24 using namespace std; 24 25 25 26 26 -
branches/proxy/src/lib/network/shared_network_data.cc
r9347 r9357 20 20 21 21 22 using namespace std; 22 23 23 24 24 -
branches/proxy/src/lib/parser/cmdline_parser/cmdline_parser.cc
r8316 r9357 18 18 #include "src/lib/util/substring.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/parser/ini_parser/ini_parser.cc
r7729 r9357 35 35 #endif 36 36 37 using namespace std; 37 38 38 39 39 /** … … 142 142 if ( (*lineBegin == '#' || *lineBegin == ';')) 143 143 { 144 st ring newCommenLine = lineBegin;144 std::string newCommenLine = lineBegin; 145 145 this->commentList.push_back(newCommenLine); 146 146 continue; … … 242 242 } 243 243 fclose(stream); 244 return true; 244 245 } 245 246 -
branches/proxy/src/lib/parser/preferences/cmd_line_prefs_reader.cc
r8316 r9357 20 20 #include "preferences.h" 21 21 22 using namespace std; 22 23 23 24 24 RegistredArgs CmdLinePrefsReader::regArgs; -
branches/proxy/src/lib/parser/preferences/ini_file_prefs_reader.cc
r7661 r9357 18 18 #include "ini_file_prefs_reader.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/particles/box_emitter.cc
r7198 r9357 25 25 #include "stdlibincl.h" 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/lib/particles/dot_emitter.cc
r7661 r9357 24 24 #include "debug.h" 25 25 26 using namespace std; 26 27 27 28 28 -
branches/proxy/src/lib/particles/dot_particles.cc
r7198 r9357 33 33 ->defaultValues("maps/evil-flower.png"); 34 34 35 using namespace std; 35 36 36 37 37 /** -
branches/proxy/src/lib/particles/engine/particle_engine.cc
r7225 r9357 24 24 #include "util/loading/load_param.h" 25 25 26 using namespace std; 26 27 27 28 28 /** -
branches/proxy/src/lib/particles/model_particles.cc
r7221 r9357 33 33 ->defaultValues("maps/evil-flower.png"); 34 34 35 using namespace std; 35 36 36 37 37 /** -
branches/proxy/src/lib/particles/particle_emitter.cc
r7193 r9357 24 24 #include "stdlibincl.h" 25 25 26 using namespace std; 26 27 27 28 28 /** -
branches/proxy/src/lib/particles/particle_system.cc
r9235 r9357 32 32 #include <algorithm> 33 33 34 using namespace std; 34 35 35 /** 36 36 * standard constructor -
branches/proxy/src/lib/particles/plane_emitter.cc
r7198 r9357 25 25 #include "stdlibincl.h" 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/lib/particles/quick_animation.cc
r7335 r9357 20 20 #include <algorithm> 21 21 22 using namespace std; 22 23 23 24 24 /** -
branches/proxy/src/lib/particles/spark_particles.cc
r7221 r9357 29 29 30 30 31 using namespace std; 31 32 32 33 33 CREATE_FACTORY(SparkParticles, CL_SPARK_PARTICLES); -
branches/proxy/src/lib/particles/sprite_particles.cc
r7221 r9357 33 33 ->defaultValues("maps/evil-flower.png"); 34 34 35 using namespace std; 35 36 36 37 37 /** -
branches/proxy/src/lib/physics/fields/field.cc
r7199 r9357 22 22 #include "util/loading/factory.h" 23 23 #include "util/loading/load_param.h" 24 using namespace std; 24 25 25 26 26 /** -
branches/proxy/src/lib/physics/fields/gravity.cc
r7193 r9357 21 21 #include "util/loading/factory.h" 22 22 23 using namespace std; 23 24 24 25 25 CREATE_FACTORY(Gravity, CL_FIELD_GRAVITY); -
branches/proxy/src/lib/physics/fields/point_gravity.cc
r5357 r9357 18 18 #include "point_gravity.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/physics/fields/twirl.cc
r5357 r9357 18 18 #include "twirl.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/physics/physics_connection.cc
r7221 r9357 27 27 #include "util/loading/load_param.h" 28 28 29 using namespace std; 29 30 30 31 31 CREATE_FACTORY(PhysicsConnection, CL_PHYSICS_CONNECTION); -
branches/proxy/src/lib/physics/physics_engine.cc
r7221 r9357 23 23 #include "util/loading/load_param.h" 24 24 25 using namespace std; 25 26 26 27 27 … … 162 162 Field* PhysicsEngine::getFieldByName(const std::string& fieldName) const 163 163 { 164 list<Field*>::const_iterator field;164 std::list<Field*>::const_iterator field; 165 165 for (field = this->fields.begin(); field != this->fields.end(); field++) 166 166 if (fieldName == (*field)->getName()) … … 199 199 PhysicsConnection* PhysicsEngine::getPhysicsConnectionByName(const std::string& physicsConnectionName) const 200 200 { 201 list<PhysicsConnection*>::const_iterator pc;201 std::list<PhysicsConnection*>::const_iterator pc; 202 202 for (pc = this->connections.begin(); pc != this->connections.end(); pc++) 203 203 if (physicsConnectionName == (*pc)->getName()) … … 218 218 /* go through all the PhysicsInterface(s) and tick them, 219 219 meaning let the fields work */ 220 list<PhysicsConnection*>::iterator pc;220 std::list<PhysicsConnection*>::iterator pc; 221 221 for (pc = this->connections.begin(); pc != this->connections.end(); pc++) 222 222 (*pc)->apply(); … … 225 225 if (this->interfaces != NULL || (this->interfaces = ClassList::getList(CL_PHYSICS_INTERFACE)) != NULL) 226 226 { 227 list<BaseObject*>::const_iterator tickPhys;227 std::list<BaseObject*>::const_iterator tickPhys; 228 228 for (tickPhys = this->interfaces->begin(); tickPhys != this->interfaces->end(); tickPhys++) 229 229 dynamic_cast<PhysicsInterface*>(*tickPhys)->tickPhys(dt); -
branches/proxy/src/lib/physics/physics_interface.cc
r8350 r9357 29 29 #include "stdincl.h" 30 30 31 using namespace std; 31 32 32 33 33 -
branches/proxy/src/lib/util/helper_functions.cc
r7714 r9357 19 19 #include "stdlibincl.h" 20 20 21 using namespace std; 21 22 22 23 23 /** -
branches/proxy/src/lib/util/loading/dynamic_loader.cc
r8362 r9357 23 23 24 24 25 using namespace std; 25 26 26 27 27 -
branches/proxy/src/lib/util/loading/factory.cc
r8362 r9357 19 19 //#include "shell_command.h" 20 20 21 using namespace std; 21 22 22 23 23 //SHELL_COMMAND(create, Factory, fabricate); -
branches/proxy/src/lib/util/loading/resource.cc
r8271 r9357 18 18 #include "resource.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/lib/util/loading/resource_manager.cc
r8724 r9357 50 50 #include <unistd.h> 51 51 52 using namespace std; 52 53 53 54 54 /** -
branches/proxy/src/lib/util/threading.cc
r7847 r9357 18 18 #include "threading.h" 19 19 20 using namespace std; 20 21 21 22 22 namespace OrxThread
Note: See TracChangeset
for help on using the changeset viewer.