/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/options/ |
H A D | OptionsModel.cpp | 94 return sim->gravityMode; in GetGravityMode() 96 void OptionsModel::SetGravityMode(int gravityMode) in SetGravityMode() argument 98 sim->gravityMode = gravityMode; in SetGravityMode()
|
H A D | OptionsView.cpp | 121 gravityMode = new ui::DropDown(ui::Point(Size.X-95, currentY), ui::Point(80, 16)); in OptionsView() 122 scrollPanel->AddChild(gravityMode); in OptionsView() 123 gravityMode->AddOption(std::pair<String, int>("Vertical", 0)); in OptionsView() 124 gravityMode->AddOption(std::pair<String, int>("Off", 1)); in OptionsView() 125 gravityMode->AddOption(std::pair<String, int>("Radial", 2)); in OptionsView() 126 gravityMode->SetActionCallback({ [this] { c->SetGravityMode(gravityMode->GetOption().second); } }); in OptionsView() 331 gravityMode->SetOption(sender->GetGravityMode()); in NotifySettingsChanged()
|
H A D | OptionsController.cpp | 40 void OptionsController::SetGravityMode(int gravityMode) in SetGravityMode() argument 42 model->SetGravityMode(gravityMode); in SetGravityMode()
|
H A D | OptionsController.h | 22 void SetGravityMode(int gravityMode);
|
H A D | OptionsModel.h | 33 void SetGravityMode(int gravityMode);
|
H A D | OptionsView.h | 24 ui::DropDown * gravityMode; variable
|
/dports/misc/dartsim/dart-6.11.1/dart/dynamics/detail/ |
H A D | BodyNodeAspect.hpp | 111 bool gravityMode = true);
|
/dports/games/xshisen/xshisen-1.51/ |
H A D | body.h | 116 Boolean gravityMode; member
|
H A D | main.C | 89 offsetof(GlobRes, gravityMode), XtRString, (XtPointer)"False" }, 333 else if (globRes.gravityMode) in main()
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/game/ |
H A D | GameModel.cpp | 695 sim->gravityMode = saveData->gravityMode; in SetSave() 756 sim->gravityMode = saveData->gravityMode; in SetSaveFile() 1063 sim->gravityMode = 0; in ClearSimulation()
|
H A D | GameController.cpp | 838 gameModel->GetSimulation()->gravityMode = (gameModel->GetSimulation()->gravityMode+1)%3; in SwitchGravity() 840 switch (gameModel->GetSimulation()->gravityMode) in SwitchGravity()
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/client/ |
H A D | GameSave.h | 97 int gravityMode; variable
|
H A D | GameSave.cpp | 25 gravityMode(save.gravityMode), in GameSave() 172 gravityMode = 0; in InitVars() 658 CheckBsonFieldInt(iter, "gravityMode", &gravityMode); in readOPS() 1394 gravityMode = ((saveData[3]>>2)&0x03);// | ((c[3]>>2)&0x01); in readPSv() 1456 gravityMode = 0; in readPSv() 2512 bson_append_int(&b, "gravityMode", gravityMode); in serialiseOPS()
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/simulation/ |
H A D | Simulation.h | 110 int gravityMode; variable
|
H A D | Air.cpp | 118 if(!sim.gravityMode) in update_airh()
|
H A D | Simulation.cpp | 504 gameSave->gravityMode = gravityMode; in SaveSimOptions() 3255 switch (gravityMode) in GetGravityField() 3474 switch (gravityMode) in UpdateParticles() 4429 …if (elements[t].Falldown>1 && !grav->IsEnabled() && gravityMode==0 && parts[i].vy>fabsf(parts[i].v… in UpdateParticles() 4496 switch (gravityMode) in UpdateParticles() 4568 switch (gravityMode) in UpdateParticles() 5152 gravityMode(0), in Simulation()
|
/dports/misc/dartsim/dart-6.11.1/dart/utils/sdf/ |
H A D | SdfParser.cpp | 706 bool gravityMode = getValueBool(bodyNodeElement, "gravity"); in readBodyNode() local 707 properties.mGravityMode = gravityMode; in readBodyNode()
|
/dports/misc/dartsim/dart-6.11.1/dart/dynamics/ |
H A D | BodyNode.cpp | 248 bool gravityMode) in BodyNodeAspectProperties() argument 254 mGravityMode(gravityMode) in BodyNodeAspectProperties()
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/lua/ |
H A D | LuaScriptInterface.cpp | 1824 lua_pushnumber(l, luacon_sim->gravityMode); in simulation_gravityMode() 1827 int gravityMode = luaL_optint(l, 1, 0); in simulation_gravityMode() local 1828 luacon_sim->gravityMode = gravityMode; in simulation_gravityMode()
|
/dports/games/powder-toy/The-Powder-Toy-95.0/src/simulation/elements/ |
H A D | STKM.cpp | 141 switch (sim->gravityMode) in Element_STKM_run_stickman()
|