Changeset 10478 for code/branches/core7/src/modules
- Timestamp:
- May 25, 2015, 5:37:15 PM (10 years ago)
- Location:
- code/branches/core7/src/modules
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/modules/docking/Dock.cc
r10465 r10478 184 184 } 185 185 else 186 callStaticNetworkFunction( Dock::showDockingDialog, player->getClientID());186 callStaticNetworkFunction(&Dock::showDockingDialog, player->getClientID()); 187 187 188 188 } … … 201 201 } 202 202 else 203 callStaticNetworkFunction( Dock::showDockingDialog, player->getClientID());203 callStaticNetworkFunction(&Dock::showDockingDialog, player->getClientID()); 204 204 205 205 } -
code/branches/core7/src/modules/notifications/NotificationDispatcher.cc
r10465 r10478 118 118 if(!GameMode::isStandalone()) 119 119 { 120 callMemberNetworkFunction( NotificationDispatcher,broadcastHelper, this->getObjectID(), NETWORK_PEER_ID_BROADCAST);120 callMemberNetworkFunction(&NotificationDispatcher::broadcastHelper, this->getObjectID(), NETWORK_PEER_ID_BROADCAST); 121 121 } 122 122 } … … 148 148 else if(GameMode::isServer()) 149 149 { 150 callMemberNetworkFunction( NotificationDispatcher,dispatch, this->getObjectID(), clientId, clientId);150 callMemberNetworkFunction(&NotificationDispatcher::dispatch, this->getObjectID(), clientId, clientId); 151 151 } 152 152 } -
code/branches/core7/src/modules/objects/Script.cc
r10465 r10478 198 198 for(std::map<unsigned int, PlayerInfo*>::const_iterator it = clients.begin(); it != clients.end(); it++) 199 199 { 200 callStaticNetworkFunction( Script::executeHelper, it->first, this->getCode(), this->getMode(), this->getNeedsGraphics());200 callStaticNetworkFunction(&Script::executeHelper, it->first, this->getCode(), this->getMode(), this->getNeedsGraphics()); 201 201 if(this->times_ != Script::INF) // Decrement the number of remaining executions. 202 202 { … … 210 210 else 211 211 { 212 callStaticNetworkFunction( Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics());212 callStaticNetworkFunction(&Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics()); 213 213 if(this->times_ != Script::INF) // Decrement the number of remaining executions. 214 214 this->remainingExecutions_--; … … 248 248 if(GameMode::isServer() && this->isOnLoad()) 249 249 { 250 callStaticNetworkFunction( Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics());250 callStaticNetworkFunction(&Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics()); 251 251 } 252 252 } -
code/branches/core7/src/modules/pickup/PickupManager.cc
r10465 r10478 214 214 else 215 215 { 216 callStaticNetworkFunction( PickupManager::pickupChangedUsedNetwork, clientId, index, used, pickup->isUsable(), pickup->isUnusable());216 callStaticNetworkFunction(&PickupManager::pickupChangedUsedNetwork, clientId, index, used, pickup->isUsable(), pickup->isUnusable()); 217 217 } 218 218 } … … 318 318 if(this->representations_.find(pickup->getRepresentationName()) == this->representations_.end()) 319 319 { 320 callStaticNetworkFunction( PickupManager::pickupChangedPickedUpNetwork, clientId, index, pickup->isUsable(), this->defaultRepresentation_->getObjectID(), pickedUp);320 callStaticNetworkFunction(&PickupManager::pickupChangedPickedUpNetwork, clientId, index, pickup->isUsable(), this->defaultRepresentation_->getObjectID(), pickedUp); 321 321 } 322 322 else 323 323 { 324 callStaticNetworkFunction( PickupManager::pickupChangedPickedUpNetwork, clientId, index, pickup->isUsable(), this->representations_[pickup->getRepresentationName()]->getObjectID(), pickedUp);324 callStaticNetworkFunction(&PickupManager::pickupChangedPickedUpNetwork, clientId, index, pickup->isUsable(), this->representations_[pickup->getRepresentationName()]->getObjectID(), pickedUp); 325 325 } 326 326 } … … 409 409 else 410 410 { 411 callStaticNetworkFunction( PickupManager::dropPickupNetworked, 0, pickup);411 callStaticNetworkFunction(&PickupManager::dropPickupNetworked, 0, pickup); 412 412 } 413 413 } … … 452 452 else 453 453 { 454 callStaticNetworkFunction( PickupManager::usePickupNetworked, 0, pickup, use);454 callStaticNetworkFunction(&PickupManager::usePickupNetworked, 0, pickup, use); 455 455 } 456 456 }
Note: See TracChangeset
for help on using the changeset viewer.