Home
last modified time | relevance | path

Searched refs:BUILDING_LAB (Results 1 – 5 of 5) sorted by relevance

/dports/games/gigalomania/gigalomaniasrc/
H A Dgui.cpp780 this->button_build[BUILDING_LAB] = new ImageButton(xpos, ypos, game_g->panel_build[BUILDING_LAB]); in setup()
781 this->button_build[BUILDING_LAB]->setId("button_build_lab"); in setup()
783 this->addToPanel(STATE_SECTORCONTROL, button_build[BUILDING_LAB]); in setup()
793 this->addToPanel(STATE_SECTORCONTROL, button_nbuilders[BUILDING_LAB]); in setup()
938 …s->button_nbuilders2[BUILDING_LAB] = new ImageButton(40, 20 + 2*build_step_y_c, 19, build_step_y_c… in setup()
939 this->button_nbuilders2[BUILDING_LAB]->setId("button_nbuilders2_lab"); in setup()
947 this->addToPanel(STATE_BUILD, button_nbuilders2[BUILDING_LAB]); in setup()
1190 if( !gamestate->getCurrentSector()->canBuild( BUILDING_LAB ) ) { in refresh()
1191 this->button_build[BUILDING_LAB]->setVisible(false); in refresh()
1192 this->button_nbuilders[BUILDING_LAB]->setVisible(false); in refresh()
[all …]
H A Dcommon.h27 BUILDING_LAB = 3, enumerator
H A Dgame.cpp1476 panel_build[BUILDING_LAB] = icons->copy(192, 63, 19, 16); in loadOldImages()
1483 panel_building[BUILDING_LAB] = panel_lab; in loadOldImages()
2116 panel_build[BUILDING_LAB] = icons->copy(192, 64, 16, 16); // different size in loadImages()
2123 panel_building[BUILDING_LAB] = panel_lab; in loadImages()
4613 if( sector->canBuild(BUILDING_LAB) ) { in runTests()
4627 if( start_sector->canBuild(BUILDING_LAB) ) { in runTests()
4667 if( !start_sector->canBuild(BUILDING_LAB) ) { in runTests()
4670 start_sector->buildBuilding(BUILDING_LAB); in runTests()
4781 if( !start_sector->canBuild(BUILDING_LAB) ) { in runTests()
4784 start_sector->buildBuilding(BUILDING_LAB); in runTests()
H A Dplayer.cpp778 bool build_lab = sector->canBuild(BUILDING_LAB); in doSectorAI()
842 sector->setBuilders(BUILDING_LAB, pop / split); in doSectorAI()
H A Dsector.cpp561 else if( this->type == BUILDING_LAB ) { in Building()
611 else if( type == BUILDING_LAB ) in getImages()
1096 else if( building_type == BUILDING_LAB ) { in destroyBuilding()
1241 if( type == BUILDING_LAB ) { in canBuild()
1357 if( this->canBuild(BUILDING_LAB) ) { in usedUp()
1391 if( this->canBuild(BUILDING_LAB) ) { in cheat()
1392 this->buildBuilding(BUILDING_LAB); in cheat()
1542 if( epoch > lab_epoch_c && this->getBuilding(BUILDING_LAB) == NULL ) in canResearch()
2278 else if( type == BUILDING_LAB ) { in buildBuilding()
2279 this->buildings[BUILDING_LAB] = new Building(gamestate, this, BUILDING_LAB); in buildBuilding()
[all …]