Changeset 9406 in orxonox.OLD for trunk/src/world_entities/environments
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- Location:
- trunk/src/world_entities/environments
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/environments/building.cc
r7193 r9406 21 21 #include "util/loading/factory.h" 22 22 23 using namespace std; 23 24 24 25 25 -
trunk/src/world_entities/environments/mapped_water.cc
r9235 r9406 374 374 waterColorR->setValue(this->waterColor.x); 375 375 waterColorR->setStep(0.1f); 376 waterColorR-> connect(SIGNAL(waterColorR, valueChanged), this, SLOT(MappedWater, resetWaterColorR));376 waterColorR->valueChanged.connect(this, &MappedWater::resetWaterColorR); 377 377 waterColorBox->pack(waterColorR); 378 378 … … 381 381 waterColorG->setStep(0.1f); 382 382 waterColorG->setValue(this->waterColor.y); 383 waterColorG-> connect(SIGNAL(waterColorG, valueChanged), this, SLOT(MappedWater, resetWaterColorG));383 waterColorG->valueChanged.connect(this, &MappedWater::resetWaterColorG); 384 384 waterColorBox->pack(waterColorG); 385 385 … … 388 388 waterColorB->setStep(0.1f); 389 389 waterColorB->setValue(this->waterColor.z); 390 waterColorB-> connect(SIGNAL(waterColorB, valueChanged), this, SLOT(MappedWater, resetWaterColorB));390 waterColorB->valueChanged.connect(this, &MappedWater::resetWaterColorB); 391 391 waterColorBox->pack(waterColorB); 392 392 } … … 403 403 waterUV->setValue(this->waterUV); 404 404 waterUV->setStep(1); 405 waterUV-> connect(SIGNAL(waterUV, valueChanged), this, SLOT(MappedWater, setWaterUV));405 waterUV->valueChanged.connect(this, &MappedWater::setWaterUV); 406 406 waterUVBox->pack(waterUV); 407 407 } … … 418 418 waterFlow->setValue(this->waterFlow); 419 419 waterFlow->setStep(0.02f); 420 waterFlow-> connect(SIGNAL(waterFlow, valueChanged), this, SLOT(MappedWater, setWaterFlow));420 waterFlow->valueChanged.connect(this, &MappedWater::setWaterFlow); 421 421 waterFlowBox->pack(waterFlow); 422 422 } … … 433 433 shineSize->setValue(this->shineSize); 434 434 shineSize->setStep(1); 435 shineSize-> connect(SIGNAL(shineSize, valueChanged), this, SLOT(MappedWater, resetShineSize));435 shineSize->valueChanged.connect(this, &MappedWater::resetShineSize); 436 436 shineSizeBox->pack(shineSize); 437 437 } … … 448 448 shineStrength->setValue(this->shineStrength); 449 449 shineStrength->setStep(0.1f); 450 shineStrength-> connect(SIGNAL(shineStrength, valueChanged), this, SLOT(MappedWater, resetShineStrength));450 shineStrength->valueChanged.connect(this, &MappedWater::resetShineStrength); 451 451 shineStrengthBox->pack(shineStrength); 452 452 } … … 463 463 reflStrength->setValue(this->reflStrength); 464 464 reflStrength->setStep(0.1f); 465 reflStrength-> connect(SIGNAL(reflStrength, valueChanged), this, SLOT(MappedWater, resetReflStrength));465 reflStrength->valueChanged.connect(this, &MappedWater::resetReflStrength); 466 466 reflStrengthBox->pack(reflStrength); 467 467 } … … 478 478 refraction->setValue(this->refraction); 479 479 refraction->setStep(0.004f); 480 refraction-> connect(SIGNAL(refraction, valueChanged), this, SLOT(MappedWater, resetRefraction));480 refraction->valueChanged.connect(this, &MappedWater::resetRefraction); 481 481 refractionBox->pack(refraction); 482 482 } … … 493 493 lightPosX->setValue(this->lightPos.x); 494 494 lightPosX->setStep(15); 495 lightPosX-> connect(SIGNAL(lightPosX, valueChanged), this, SLOT(MappedWater, resetLightPosX));495 lightPosX->valueChanged.connect(this, &MappedWater::resetLightPosX); 496 496 lightPosBox->pack(lightPosX); 497 497 … … 500 500 lightPosY->setStep(15); 501 501 lightPosY->setValue(this->lightPos.y); 502 lightPosY-> connect(SIGNAL(lightPosY, valueChanged), this, SLOT(MappedWater, resetLightPosY));502 lightPosY->valueChanged.connect(this, &MappedWater::resetLightPosY); 503 503 lightPosBox->pack(lightPosY); 504 504 … … 507 507 lightPosZ->setStep(15); 508 508 lightPosZ->setValue(this->lightPos.z); 509 lightPosZ-> connect(SIGNAL(lightPosZ, valueChanged), this, SLOT(MappedWater, resetLightPosZ));509 lightPosZ->valueChanged.connect(this, &MappedWater::resetLightPosZ); 510 510 lightPosBox->pack(lightPosZ); 511 511 } … … 522 522 waterHeight->setValue(this->waterHeight); 523 523 waterHeight->setStep(4); 524 waterHeight-> connect(SIGNAL(waterHeight, valueChanged), this, SLOT(MappedWater, setWaterHeight));524 waterHeight->valueChanged.connect(this, &MappedWater::setWaterHeight); 525 525 waterHeightBox->pack(waterHeight); 526 526 } -
trunk/src/world_entities/environments/model_entity.cc
r9235 r9406 21 21 #include "util/loading/factory.h" 22 22 23 using namespace std; 23 24 24 25 25 -
trunk/src/world_entities/environments/water.cc
r7954 r9406 32 32 #include "network_game_manager.h" 33 33 34 using namespace std; 34 35 35 36 36 CREATE_FACTORY(Water, CL_WATER);
Note: See TracChangeset
for help on using the changeset viewer.