- Timestamp:
- Jul 20, 2006, 2:33:37 PM (19 years ago)
- Location:
- branches/proxy/src
- Files:
-
- 171 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/ability.cc
r2043 r9357 1 1 2 2 3 /* 3 /* 4 4 orxonox - the future of 3D-vertical-scrollers 5 5 … … 20 20 21 21 22 using namespace std; 22 23 23 24 24 -
branches/proxy/src/ai/ai.cc
r3481 r9357 20 20 21 21 22 using namespace std; 22 23 23 24 24 -
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 -
branches/proxy/src/orxonox.cc
r9347 r9357 66 66 int verbose = 5; 67 67 68 using namespace std; 68 69 69 70 70 SHELL_COMMAND(restart, Orxonox, restart); -
branches/proxy/src/proto/proto_class.cc
r4838 r9357 18 18 #include "proto_class.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/proto/proto_singleton.cc
r5140 r9357 18 18 #include "proto_singleton.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/proto/proto_world_entity.cc
r6512 r9357 16 16 #include "proto_world_entity.h" 17 17 18 using namespace std; 18 19 19 20 20 -
branches/proxy/src/story_entities/campaign.cc
r8717 r9357 25 25 #include "campaign_data.h" 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/story_entities/campaign_data.cc
r7370 r9357 23 23 24 24 25 using namespace std; 25 26 26 27 27 … … 103 103 int nextStoryID; 104 104 int storyID; 105 list<StoryEntity*>::iterator it;105 std::list<StoryEntity*>::iterator it; 106 106 107 107 nextStoryID = 0; … … 124 124 int nextStoryID; 125 125 int storyID; 126 list<StoryEntity*>::iterator it;126 std::list<StoryEntity*>::iterator it; 127 127 128 128 nextStoryID = this->currentEntity->getNextStoryID(); … … 145 145 StoryEntity* CampaignData::getLevel(int storyID) 146 146 { 147 list<StoryEntity*>::iterator it;147 std::list<StoryEntity*>::iterator it; 148 148 for( it = this->storyEntities.begin(); it != this->storyEntities.end(); it++) 149 149 { -
branches/proxy/src/story_entities/dedicated_server_world.cc
r7193 r9357 28 28 29 29 30 using namespace std; 30 31 31 32 32 //! This creates a Factory to fabricate a DedicatedServerWorld -
branches/proxy/src/story_entities/game_world_data.cc
r9354 r9357 61 61 62 62 63 using namespace std; 63 64 64 65 65 … … 236 236 237 237 Playable* playable; 238 const list<BaseObject*>* playableList = ClassList::getList(CL_PLAYABLE);238 const std::list<BaseObject*>* playableList = ClassList::getList(CL_PLAYABLE); 239 239 if (playableList != NULL && !playableList->empty()) 240 240 { -
branches/proxy/src/story_entities/movie_loader.cc
r7919 r9357 24 24 25 25 26 using namespace std; 26 27 27 28 28 CREATE_FACTORY(MovieLoader, CL_MOVIE_LOADER); -
branches/proxy/src/story_entities/multi_player_world_data.cc
r9347 r9357 53 53 54 54 55 using namespace std; 55 56 56 57 57 -
branches/proxy/src/story_entities/single_player_world.cc
r7287 r9357 30 30 31 31 32 using namespace std; 32 33 33 34 34 -
branches/proxy/src/story_entities/single_player_world_data.cc
r8717 r9357 21 21 22 22 23 using namespace std; 23 24 24 25 25 -
branches/proxy/src/story_entities/story_entity.cc
r8330 r9357 26 26 27 27 28 using namespace std; 28 29 29 30 30 -
branches/proxy/src/subprojects/collision_detection/collision_test_entity.cc
r7711 r9357 25 25 #include "util/loading/factory.h" 26 26 27 using namespace std; 27 28 28 CREATE_FACTORY(CollisionTestEntity, CL_ENVIRONMENT); 29 29 -
branches/proxy/src/util/animation/animation3d.cc
r5115 r9357 25 25 #include "p_node.h" 26 26 27 using namespace std; 27 28 28 29 29 /** -
branches/proxy/src/util/animation/animation_player.cc
r5777 r9357 20 20 #include "compiler.h" 21 21 22 using namespace std; 22 23 23 24 24 … … 100 100 { 101 101 // iterate through all the animations and tick them. 102 list<Animation*>::iterator anim;102 std::list<Animation*>::iterator anim; 103 103 for (anim = this->animationList.begin(); anim != this->animationList.end(); anim++) 104 104 { … … 135 135 Animation* AnimationPlayer::getAnimationFromBaseObject(const BaseObject* baseObject) const 136 136 { 137 list<Animation*>::const_iterator anim;137 std::list<Animation*>::const_iterator anim; 138 138 for (anim = this->animationList.begin(); anim != this->animationList.end(); anim++) 139 139 if((*anim)->getBaseObject() == baseObject) … … 156 156 PRINT(0)("-Animation Information---------------+\n"); 157 157 // Per ANIMATION DEBUG 158 list<Animation*>::iterator anim;158 std::list<Animation*>::iterator anim; 159 159 for (anim = this->animationList.begin(); anim != this->animationList.end(); anim++) 160 160 { -
branches/proxy/src/util/fast_factory.cc
r8350 r9357 21 21 #include <string.h> 22 22 23 using namespace std; 23 24 24 25 25 /** -
branches/proxy/src/util/game_rules.cc
r9347 r9357 27 27 28 28 29 using namespace std; 29 30 30 31 31 -
branches/proxy/src/util/kill.cc
r7486 r9357 19 19 #include "world_entity.h" 20 20 21 using namespace std;22 21 23 22 23 -
branches/proxy/src/util/kill_target.cc
r8495 r9357 21 21 #include "util/loading/load_param.h" 22 22 23 using namespace std; 23 24 24 25 25 CREATE_FACTORY(KillTarget, CL_KILL_TARGET); -
branches/proxy/src/util/mission_goal.cc
r7464 r9357 22 22 #include "util/loading/load_param.h" 23 23 24 using namespace std; 24 25 25 26 26 -
branches/proxy/src/util/multiplayer_team_deathmatch.cc
r9347 r9357 49 49 50 50 51 using namespace std; 51 52 52 53 53 -
branches/proxy/src/util/network_game_rules.cc
r9235 r9357 20 20 #include "network_game_manager.h" 21 21 22 using namespace std; 22 23 23 24 24 -
branches/proxy/src/util/object_manager.cc
r9008 r9357 26 26 #include "debug.h" 27 27 28 using namespace std; 28 29 29 SHELL_COMMAND(debug, ObjectManager, debug) 30 30 ->defaultValues("", 0); … … 117 117 { 118 118 119 list<BaseObject*>::const_iterator node;119 std::list<BaseObject*>::const_iterator node; 120 120 for (node = objectList->begin(); node != objectList->end(); node++) 121 121 if ((dynamic_cast<PNode*>(*node)->getAbsCoor() - center.getAbsCoor()).len() < radius) -
branches/proxy/src/util/singleplayer_shootemup.cc
r7488 r9357 23 23 24 24 25 using namespace std; 25 26 26 27 27 -
branches/proxy/src/util/state.cc
r8271 r9357 25 25 #endif 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/util/track/track_manager.cc
r7221 r9357 32 32 #include <stdarg.h> 33 33 34 using namespace std; 34 35 35 36 36 /** -
branches/proxy/src/util/track/track_node.cc
r6074 r9357 21 21 #include "track_manager.h" 22 22 23 using namespace std; 23 24 24 25 25 /** -
branches/proxy/src/world_entities/character_attributes.cc
r4836 r9357 20 20 #include "stdincl.h" 21 21 22 using namespace std; 22 23 23 24 24 -
branches/proxy/src/world_entities/effects/billboard.cc
r8495 r9357 24 24 25 25 26 using namespace std; 26 27 27 28 28 -
branches/proxy/src/world_entities/effects/explosion.cc
r9235 r9357 27 27 28 28 29 using namespace std; 29 30 30 31 31 CREATE_FAST_FACTORY_STATIC(Explosion, CL_EXPLOSION); -
branches/proxy/src/world_entities/effects/lightning_bolt.cc
r8793 r9357 24 24 25 25 26 using namespace std; 26 27 27 28 28 CREATE_FACTORY(LightningBolt, CL_LIGHTNING_BOLT); -
branches/proxy/src/world_entities/elements/image_entity.cc
r7751 r9357 27 27 28 28 29 using namespace std; 29 30 30 31 31 -
branches/proxy/src/world_entities/elements/text_element.cc
r7221 r9357 25 25 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/world_entities/environment.cc
r7711 r9357 27 27 #include "util/loading/factory.h" 28 28 29 using namespace std; 29 30 30 CREATE_FACTORY(Environment, CL_ENVIRONMENT); 31 31 -
branches/proxy/src/world_entities/environments/building.cc
r7193 r9357 21 21 #include "util/loading/factory.h" 22 22 23 using namespace std; 23 24 24 25 25 -
branches/proxy/src/world_entities/environments/model_entity.cc
r9235 r9357 21 21 #include "util/loading/factory.h" 22 22 23 using namespace std; 23 24 24 25 25 -
branches/proxy/src/world_entities/environments/water.cc
r7954 r9357 32 32 #include "network_game_manager.h" 33 33 34 using namespace std; 34 35 35 36 36 CREATE_FACTORY(Water, CL_WATER); -
branches/proxy/src/world_entities/items/item_container.cc
r6655 r9357 18 18 #include "item_container.h" 19 19 20 using namespace std; 20 21 21 22 22 -
branches/proxy/src/world_entities/movie_entity.cc
r8310 r9357 20 20 #include "util/loading/factory.h" 21 21 22 using namespace std; 22 23 23 24 24 CREATE_FACTORY(MovieEntity, CL_MOVIE_ENTITY); -
branches/proxy/src/world_entities/npcs/door.cc
r9110 r9357 28 28 29 29 30 using namespace std; 30 31 31 32 32 -
branches/proxy/src/world_entities/npcs/gate.cc
r9298 r9357 31 31 32 32 33 using namespace std; 33 34 34 35 35 -
branches/proxy/src/world_entities/npcs/ground_turret.cc
r9235 r9357 31 31 CREATE_FACTORY(GroundTurret, CL_GROUND_TURRET); 32 32 33 using namespace std; 33 34 34 35 35 -
branches/proxy/src/world_entities/npcs/repair_station.cc
r9003 r9357 28 28 29 29 30 using namespace std; 30 31 31 32 32 -
branches/proxy/src/world_entities/planet.cc
r7919 r9357 30 30 #include "primitive_model.h" 31 31 32 using namespace std; 32 33 33 34 34 -
branches/proxy/src/world_entities/power_ups/laser_power_up.cc
r7954 r9357 23 23 #include "primitive_model.h" 24 24 25 using namespace std; 25 26 26 27 27 CREATE_FACTORY(LaserPowerUp, CL_LASER_POWER_UP); -
branches/proxy/src/world_entities/power_ups/param_power_up.cc
r7954 r9357 26 26 #include "network_game_manager.h" 27 27 28 using namespace std; 28 29 29 30 30 CREATE_FACTORY(ParamPowerUp, CL_PARAM_POWER_UP); -
branches/proxy/src/world_entities/power_ups/power_up.cc
r8350 r9357 24 24 #include "util/loading/load_param.h" 25 25 26 using namespace std; 26 27 27 28 28 PowerUp::PowerUp(float r, float g, float b) -
branches/proxy/src/world_entities/power_ups/turret_power_up.cc
r7954 r9357 23 23 #include "primitive_model.h" 24 24 25 using namespace std; 25 26 26 27 27 CREATE_FACTORY(TurretPowerUp, CL_TURRET_POWER_UP); -
branches/proxy/src/world_entities/power_ups/weapon_power_up.cc
r7954 r9357 26 26 #include "util/loading/load_param.h" 27 27 28 using namespace std; 28 29 29 30 30 CREATE_FACTORY(WeaponPowerUp, CL_WEAPON_POWER_UP); -
branches/proxy/src/world_entities/projectiles/laser.cc
r9235 r9357 28 28 #include "debug.h" 29 29 30 using namespace std; 30 31 31 32 32 CREATE_FAST_FACTORY_STATIC(Laser, CL_LASER); -
branches/proxy/src/world_entities/projectiles/rail_projectile.cc
r9235 r9357 28 28 #include "debug.h" 29 29 30 using namespace std; 30 31 31 32 32 CREATE_FAST_FACTORY_STATIC(RailProjectile, CL_RAIL_PROJECTILE); -
branches/proxy/src/world_entities/recorder.cc
r7221 r9357 21 21 #include "state.h" 22 22 23 using namespace std; 23 24 24 25 25 CREATE_FACTORY(Recorder, CL_RECORDER); -
branches/proxy/src/world_entities/satellite.cc
r6222 r9357 24 24 25 25 26 using namespace std; 26 27 27 28 28 /** -
branches/proxy/src/world_entities/skybox.cc
r8037 r9357 30 30 31 31 32 using namespace std; 32 33 33 34 34 CREATE_FACTORY(SkyBox, CL_SKYBOX); -
branches/proxy/src/world_entities/skydome.cc
r9235 r9357 28 28 #define SQR(x) (x*x) 29 29 30 using namespace std; 30 31 31 32 32 -
branches/proxy/src/world_entities/skysphere.cc
r7840 r9357 33 33 34 34 35 using namespace std; 35 36 36 37 37 /** -
branches/proxy/src/world_entities/space_ships/collision_probe.cc
r8724 r9357 24 24 25 25 26 using namespace std; 26 27 27 28 28 CREATE_FACTORY(CollisionProbe, CL_COLLISION_PROBE); -
branches/proxy/src/world_entities/space_ships/space_ship.cc
r9347 r9357 52 52 53 53 54 using namespace std; 54 55 55 56 56 CREATE_FACTORY(SpaceShip, CL_SPACE_SHIP); -
branches/proxy/src/world_entities/spectator.cc
r8708 r9357 25 25 26 26 27 using namespace std; 27 28 28 29 29 -
branches/proxy/src/world_entities/terrain.cc
r8316 r9357 33 33 #include "state.h" 34 34 35 using namespace std; 35 36 36 37 37 CREATE_FACTORY(Terrain, CL_TERRAIN); -
branches/proxy/src/world_entities/test_entity.cc
r9235 r9357 33 33 #include "state.h" 34 34 35 using namespace std; 35 36 36 37 37 -
branches/proxy/src/world_entities/weapons/aim.cc
r7370 r9357 27 27 #include "world_entity.h" 28 28 29 using namespace std; 29 30 30 31 31 -
branches/proxy/src/world_entities/weapons/aiming_system.cc
r9298 r9357 28 28 29 29 30 using namespace std; 30 31 31 32 32 -
branches/proxy/src/world_entities/weapons/aiming_turret.cc
r8777 r9357 29 29 CREATE_FACTORY(AimingTurret, CL_AIMING_TURRET); 30 30 31 using namespace std; 31 32 32 33 33 -
branches/proxy/src/world_entities/weapons/ammo_container.cc
r6846 r9357 22 22 #include <assert.h> 23 23 24 using namespace std; 24 25 25 26 26 /** -
branches/proxy/src/world_entities/weapons/cannon.cc
r8777 r9357 35 35 36 36 37 using namespace std; 37 38 38 39 39 CREATE_FACTORY(Cannon, CL_CANNON); -
branches/proxy/src/world_entities/weapons/crosshair.cc
r7868 r9357 24 24 #include "material.h" 25 25 26 using namespace std; 26 27 27 28 28 -
branches/proxy/src/world_entities/weapons/fps_sniper_rifle.cc
r9235 r9357 36 36 #include "effects/explosion.h" 37 37 38 using namespace std; 38 39 39 40 40 -
branches/proxy/src/world_entities/weapons/hyperblaster.cc
r8777 r9357 34 34 35 35 36 using namespace std; 36 37 37 38 38 CREATE_FACTORY(Hyperblaster, CL_HYPERBLASTER); -
branches/proxy/src/world_entities/weapons/targeting_turret.cc
r8777 r9357 29 29 CREATE_FACTORY(TargetingTurret, CL_TARGETING_TURRET); 30 30 31 using namespace std; 31 32 32 33 33 -
branches/proxy/src/world_entities/weapons/turret.cc
r8777 r9357 29 29 CREATE_FACTORY(Turret, CL_TURRET); 30 30 31 using namespace std; 31 32 32 33 33 /** -
branches/proxy/src/world_entities/weapons/weapon.cc
r8977 r9357 36 36 #include "elements/glgui_energywidget.h" 37 37 38 using namespace std; 38 39 39 40 40 ////////////////////
Note: See TracChangeset
for help on using the changeset viewer.