Changeset 2761 for code/trunk
- Timestamp:
- Mar 8, 2009, 5:08:57 PM (16 years ago)
- Location:
- code/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/OrxonoxConfig.h.in
r2710 r2761 176 176 #endif 177 177 178 179 /*---------------------------------180 * Various Settings181 *-------------------------------*/182 /* Define a platform independent directory separator */183 namespace orxonox184 {185 #ifdef ORXONOX_PLATFORM_WINDOWS186 const char CP_SLASH('\\');187 #else188 const char CP_SLASH('/');189 #endif190 }191 192 193 178 #endif /* _OrxonoxConfig_H__ */ -
code/trunk/src/core/Factory.cc
r2759 r2761 76 76 getFactoryPointer()->identifierStringMap_[name] = identifier; 77 77 getFactoryPointer()->identifierNetworkIDMap_[identifier->getNetworkID()] = identifier; 78 //std::cout << identifier->getName() << ": " << identifier->getNetworkID() << std::endl;79 78 } 80 79 … … 89 88 // getFactoryPointer()->identifierNetworkIDMap_.erase(oldID); 90 89 getFactoryPointer()->identifierNetworkIDMap_[newID] = identifier; 91 //std::cout << identifier->getName() << ": " << oldID << " -> " << newID << std::endl;92 90 } 93 91 -
code/trunk/src/core/Factory.h
r2759 r2761 63 63 static void add(const std::string& name, Identifier* identifier); 64 64 static void changeNetworkID(Identifier* identifier, const uint32_t oldID, const uint32_t newID); 65 65 static void cleanNetworkIDs(); 66 66 static void createClassHierarchy(); 67 67
Note: See TracChangeset
for help on using the changeset viewer.